| [00:37] | <mp0> | <--- is happy to get AZ compiled and running on an NFS share |
| [01:04] | <crweb> | mp0: excellent news :) |
| [01:31] | <mp0> | crweb, does AZ support samba shares? |
| [01:36] | <crweb> | mp0 yes |
| [01:39] | <mp0> | hmm, do you know if it likes running on a read-only nfs share, or if it requires a writeable volume? |
| [01:59] | <nerochiaro> | mp0: it runs on NFS just fine. it's running that way right now |
| [01:59] | <nerochiaro> | mp0: you have to export an extra rw share though |
| [01:59] | <mp0> | ah... how is that one set up? |
| [01:59] | <nerochiaro> | /srv/neuros/fs 192.168.1.0/24(ro,sync,no_root_squash,no_subtree_check) |
| [01:59] | <nerochiaro> | /srv/neuros/fs/nfs-debug-extended-area 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check) |
| [01:59] | <nerochiaro> | that's what i use |
| [02:00] | <mp0> | how does it know to use the extended share? |
| [02:00] | <nerochiaro> | it's built-in in the firmware |
| [02:01] | <mp0> | oh, I see, stupid question on my part... let me try that out. |
| [02:05] | <nerochiaro> | there's no stupid question, don't worry |
| [02:10] | <mp0> | my samba shares work great with the debug-extended-area mounted rw. |
| [02:14] | <nerochiaro> | what was the problem before ? |
| [02:18] | <mp0> | It wouldn't connect to them, claiming a network error. In reality, it probably couldn't save the info about it. |
| [02:18] | <nerochiaro> | how did you boot previously ? NFS, but without the rw export ? or did you boot all from flash + CF card ? |
| [02:19] | <mp0> | I booted NFS but without the rw export |
| [02:19] | <mp0> | I didn't use flash + CF card because of the bug where it doesn't boot from 128 MB CF cards. |
| [02:19] | <nerochiaro> | should be fixed now, if i recall correctly the patches i saw recently |
| [02:20] | <mp0> | yes, I think it is fixed. |
| [02:20] | <nerochiaro> | but yes, if you NFS boot, you should have the extra rw share, or many things will fai |
| [02:20] | <nerochiaro> | fail |
| [02:20] | <mp0> | besides, I kinda want to do some development :-) |
| [02:20] | <mp0> | namely get CC support working. |
| [02:20] | <mp0> | It's rather useless for me otherwise. |
| [02:20] | <nerochiaro> | mp0: do you mind adding this info about the rw share for arizona NFS boot to the wiki ? |
| [02:20] | <nerochiaro> | what is CC ? |
| [02:20] | <mp0> | close captioning |
| [02:21] | <mp0> | I can't hear very well so it's important to me. |
| [02:21] | <nerochiaro> | is that embedded in the TV signal ? |
| [02:21] | <mp0> | yes, it's in line 21 |
| [02:21] | <mp0> | but it doesn't get passed through the encoder/decoder |
| [02:21] | <mp0> | the encoder chip has the capability to get at the info via i2c... so *crosses fingers* |
| [02:22] | <nerochiaro> | it has such ability. but do you have any docs on how to access it ? AFAIK these docs are all closed |
| [02:22] | * mp0 checks... | |
| [02:25] | <mp0> | according to the forums, the Neuros uses TI's TVP5150 chip |
| [02:25] | <mp0> | and the datasheet for that is... |
| [02:25] | <mp0> | here: focus.ti.com |
| [02:26] | <mp0> | I assumed that was all I need... are there are other closed interfaces between me and that chip? |
| [02:29] | <nerochiaro> | the tvp5150 i2c driver in kernel is closed source, unfortunately |
| [02:30] | <mp0> | I guess I will need to investigate it further. |
| [02:31] | <crweb> | mp0: i guess the nfs being readonly was causing the samba mount fail? |
| [02:31] | <mp0> | correct. |
| [02:31] | <crweb> | excellent |
| [02:31] | <crweb> | err.. well.. you know what i mean |
| [02:33] | <mp0> | also, building from debian requires installing zlib1g-dev... I think the best place to put this information is Derobter's guide to hacking the OSD. Would he terribly mind the additions? |
| [02:33] | <nerochiaro> | mp0: absolutely not. please add anything you want |
| [02:34] | <nerochiaro> | mp0: don't be scared by the "derobert's" title. he shouldn't have put it there in the first place. it's a wiki, it's all public |
| [02:34] | <nerochiaro> | community edited, so please go ahead and add any useful info you think people should know |
| [02:35] | <crweb> | nerochiaro: i'm just going to commit the new lighttpd binaries |
| [02:35] | <crweb> | since.. patch won't really show anything |
| [02:35] | <nerochiaro> | i approved that patch, anyway :) |
| [02:36] | <gremlin[it]> | ping crweb |
| [02:36] | <gremlin[it]> | hi all |
| [02:36] | <nerochiaro> | crweb: which means i approved the binaries too |
| [02:36] | <crweb> | anti-pong |
| [02:36] | <nerochiaro> | hi gremlin[it] |
| [02:37] | <gremlin[it]> | hi nerochiaro ... |
| [02:37] | <gremlin[it]> | hi crweb |
| [02:37] | <gremlin[it]> | i still have trouble ... |
| [02:37] | <gremlin[it]> | but ... |
| [02:38] | <crweb> | gremlin[it]: you didn't hear it from me. but the big man on top is becoming very interested in your OE work. |
| [02:38] | <gremlin[it]> | if after login into neuros i chroot on mtdblock4 and execute /etc/init.d/rcS all seem to work ... |
| [02:39] | <gremlin[it]> | so i suppose there is just something i do in the wrong order or something i miss ... but i don't understand what ... |
| [02:39] | <crweb> | what is the problem? |
| [02:39] | <crweb> | it won't run on startup? |
| [02:39] | <gremlin[it]> | exactly |
| [02:39] | <crweb> | this has to do with inittab |
| [02:39] | <gremlin[it]> | if i execute by hand |
| [02:40] | <crweb> | # Run the System Initialization Script |
| [02:40] | <crweb> | ::sysinit:/etc/init.d/rcS |
| [02:40] | <gremlin[it]> | mainsetup start |
| [02:40] | <gremlin[it]> | yes i know ... |
| [02:40] | <crweb> | /etc/inittab |
| [02:40] | <nerochiaro> | crweb: Gao ? |
| [02:40] | <crweb> | nerochiaro: yes |
| [02:40] | <nerochiaro> | crweb: didn't know. that's cool |
| [02:40] | <nerochiaro> | gremlin[it]: see what i told you ? |
| [02:40] | <nerochiaro> | ;) |
| [02:40] | <crweb> | nerochiaro: i pushed very hard today for a non neuros-bsp for new stuff |
| [02:41] | <nerochiaro> | crweb: you can count me as an ally there |
| [02:41] | <crweb> | i don't know enough info for a full sale though |
| [02:41] | <gremlin[it]> | there is a doc that explain the sequence of software to start ? |
| [02:41] | <crweb> | so i imagine you know who is in channel to pick up some gremlin[it]'s info |
| [02:42] | <gremlin[it]> | nerochiaro, probably no ... |
| [02:42] | <crweb> | gremlin[it]: its standard linux startup. Busybox scans /etc/inittab at boot and start init |
| [02:42] | <gremlin[it]> | crweb, happy to know someone interest my work :P |
| [02:43] | <gremlin[it]> | yes i notice is about standard ... but i lack something |
| [02:43] | <gremlin[it]> | for example who start nanox ? |
| [02:43] | <crweb> | gremlin[it]: the init script system |
| [02:43] | <crweb> | /etc/init.d/rcS will call the startup script system /etc/init.d/rc |
| [02:44] | <crweb> | first with runlevel S |
| [02:44] | <crweb> | for startup, which runs all scripts in /etc/rcS.d |
| [02:44] | <crweb> | then it will call 5 (run level 5) which runs all scripts in /etc/rc5.d |
| [02:44] | <gremlin[it]> | there is a nanox script in /etc/init.d but no in /etc/rcS.d or /etc/rc5.d |
| [02:44] | <crweb> | oh, that would be deskmon |
| [02:44] | <crweb> | sorry |
| [02:45] | <nerochiaro> | gremlin[it]: if you have time, there's a message in mailing list right now called "Build system setup" where you should really jump in and advertise your work on OE |
| [02:45] | <gremlin[it]> | deskmon script in /etc/init.d or deskmon binary application ? |
| [02:45] | <nerochiaro> | gremlin[it]: are you on the mailing list, right ? |
| [02:45] | <crweb> | gremlin[it]: the binary starts nano-x and /usr/local/bin/desktop |
| [02:45] | <gremlin[it]> | problably no nerochiaro :( |
| [02:45] | <crweb> | gremlin[it]: its a monitor, it keeps them running at all times |
| [02:45] | <crweb> | so "crash" will restart them |
| [02:45] | <gremlin[it]> | ok maybe i understand now ... |
| [02:46] | <crweb> | they can be started with init.d/nano-X and init.d/desktop though |
| [02:46] | <gremlin[it]> | i moved some binary from /usr/bin to /usr/local/bin ... and if path is hardcoded all fail :S |
| [02:47] | <nerochiaro> | gremlin[it]: it would be really nice if you could subscribe to the ML and post a message about the OE work. it will help push it forwards. groups.google.com |
| [02:47] | <crweb> | all our binary goes to /usr/local/bin |
| [02:47] | <nerochiaro> | gremlin[it]: this is the specific post: preview.tinyurl.com |
| [02:47] | <crweb> | deskmon is made specificially for our setup |
| [02:48] | <gremlin[it]> | ok i'll try to copy all in the right place ... |
| [02:49] | <crweb> | gremlin[it]: you will also want to sync with svn for etc/init.d/rc |
| [02:49] | <crweb> | gremlin[it]: i just fixed large problem (syn in like 15 minutes, nerochiaro still has to ok patch) |
| [02:49] | <gremlin[it]> | any other suggestions about plugins and/or "special" library ? |
| [02:50] | <crweb> | nothing that i can remember off hand |
| [02:51] | <crweb> | i wrote all that startup script stuff like a year and a half ago |
| [02:52] | <nerochiaro> | crweb: i did |
| [02:53] | <crweb> | so did i |
| [02:53] | <crweb> | might take a while for USA to sync |
| [02:53] | <nerochiaro> | 15 minutes IIRC |
| [02:53] | <crweb> | see how about that. |
| [02:53] | <crweb> | right even with mistake :) |
| [02:53] | <nerochiaro> | maybe 10, i forgot |
| [02:54] | <nerochiaro> | crweb: writing up big message about how/if to handle the format of the ext area |
| [02:55] | <crweb> | good. cause with OE, a lot will be changing |
| [02:55] | <crweb> | you'll want to format |
| [02:56] | <crweb> | (much like desktop version stuff) |
| [02:56] | <mp0> | nerochiaro, I see what you mean. All the fun stuff is packaged in .ko binaries. |
| [02:56] | <nerochiaro> | crweb: i know your opinion, but we already saw it's more complex than that. |
| [02:57] | <nerochiaro> | mp0: well, not all, but some of it yes. all the stuff you see in neuros-bsp/kernel/kos_64 |
| [02:58] | <mp0> | what's the difference between kos and kos_64? |
| [02:58] | <nerochiaro> | kos is actually obsolete. should be deleted really |
| [03:04] | <crweb> | gremlin[it]: so inittab is working correctly? |
| [03:04] | <mp0> | That'll make things a little tricky. |
| [03:04] | <gremlin[it]> | nerochiaro, done ... i reply also about packaging system |
| [03:05] | <nerochiaro> | gremlin[it]: thanks ! |
| [03:05] | <gremlin[it]> | yes .. the OE inittab work fine :) ... i copy someof the /etc/init.d/ stript from cramfs and worked ... |
| [03:05] | <crweb> | gremlin[it]: did you complete cooler convert to autoconf? |
| [03:05] | <gremlin[it]> | nerochiaro, i confirm that with OE number generator work :) |
| [03:06] | <gremlin[it]> | crweb, no ... i try to follow the faster way to have something barely working to show at fosdem :s |
| [03:07] | <nerochiaro> | mp0: i see it can really be a problem. if you want, we can probably let you sign an NDA to see the code of these closed modules, and contribute the CC modifications to them.but they have to stay closed :( |
| [03:07] | <gremlin[it]> | nerochiaro, also using kernel from flash (so original one) ... |
| [03:07] | <nerochiaro> | mp0: or you can write open versions of them, but they need to be compatible with the ones we use now |
| [03:07] | <crweb> | gremlin[it]: do you know what made number generator work? |
| [03:07] | <nerochiaro> | gremlin[it]: sorry, i didn't understand |
| [03:10] | <gremlin[it]> | crweb, no i didn't investigate |
| [03:11] | <gremlin[it]> | nerochiaro, i try to boot with the kernel present in the flash of OSD ... that is the original neuros's one |
| [03:12] | <crweb> | gremlin[it]: any way i can get this working version from you so i can investigate and enable in current firmware? |
| [03:12] | <crweb> | just the rootfs would be ok |
| [03:12] | <mp0> | nerochiaro, I'll try the second option first... we'll see how little I have to rewrite to get what I need. |
| [03:12] | <nerochiaro> | gremlin[it]: what is the problem with that ? |
| [03:14] | <nerochiaro> | mp0: my point regarding that option was that if you only write it for your own use, then ok. but if you want to make it work with the rest of the system (so that neuros media framework is able to read video input) then you need to write it compatible with it |
| [03:14] | <mp0> | yes |
| [03:14] | <nerochiaro> | mp0: but i'll tell you one thing: if you make it read the CC data in a re-usable way, we can take your code to read CC and add it to the neuros driver |
| [03:15] | <gremlin[it]> | crweb, mid term : as soon I'll publish some OE setup that work :) |
| [03:15] | <mp0> | okay |
| [03:15] | <nerochiaro> | mp0: anyway, feel free to ask for info if you need help |
| [03:15] | <gremlin[it]> | crweb, short-term : i send you my OE image (less then 10MBytes) and you can try booting from CF as i do |
| [03:15] | <mp0> | alright, thank you for the info. |
| [03:15] | <crweb> | gremlin[it]: i got it to work. nvrmind |
| [03:16] | <nerochiaro> | mp0: you're welcome |
| [03:17] | <gremlin[it]> | crweb, if u give me your email i can put the image on my web site |
| [03:18] | <crweb> | gremlin[it]: ok, tbruno at neuros dot us |
| [03:18] | <crweb> | gremlin[it]: i found the missing link already |
| [03:18] | * crweb is enabling random now | |
| [03:19] | <nerochiaro> | crweb: where does it fill entropy from ? |
| [03:20] | <crweb> | nerochiaro: I'mnot sure. seems to work now though |
| [03:20] | <crweb> | nerochiaro: before it would just be 0 |
| [03:20] | <nerochiaro> | would be nice to know, though |
| [03:20] | <crweb> | we can at least enable it |
| [03:20] | <nerochiaro> | sure |
| [03:20] | <nerochiaro> | random or urandom ? |
| [03:20] | <crweb> | right now, you can't even access it |
| [03:21] | <crweb> | id idn't try urandom. I'll make it now |
| [03:21] | <nerochiaro> | urandom should be the one used by ssh, IIRC |
| [03:21] | <crweb> | its working |
| [03:21] | <crweb> | plenty of output i think |
| [03:21] | <crweb> | before it was NULL |
| [03:21] | <nerochiaro> | cool |
| [03:22] | <crweb> | maybe we were trying old device nodes or something.. |
| [03:25] | <crweb> | could possibly make someone happy |
| [03:26] | <gremlin[it]> | heheh :) |
| [03:27] | <crweb> | nerochiaro: how long do you let your tea bags in the drink? |
| [03:27] | <nerochiaro> | crweb: depends on kind of tea |
| [03:27] | <nerochiaro> | crweb: some need less than a minute, some up to three |
| [03:27] | <crweb> | so.. 45 mintues will do... |
| [03:28] | <crweb> | heh |
| [03:28] | <nerochiaro> | crweb: sure, it will taste bitter as vengeance, though |
| [03:28] | <crweb> | aye.. |
| [03:29] | <nerochiaro> | it is also said you destroy most of its theine content if you do that (never experimentally confirmed it though) |
| [03:29] | <crweb> | i had jsut forgot about it |
| [03:29] | <crweb> | i usually go for 2-5 |
| [03:30] | <crweb> | and yeah.. not good |
| [03:30] | <nerochiaro> | i know, it happens to me a lot too. i usually just make another |
| [03:31] | <nerochiaro> | you made me crave for a cup of Gao's tea. i'm going to setup the water. |
| [03:36] | <crweb> | i want some swoag tea |
| [03:36] | <gremlin[it]> | nerochiaro, i hear that if tea is infused for too long time it can be bad for health, is true? |
| [03:40] | <crweb> | wooo.. sugar doesn't even help the 45 min brew |
| [03:40] | <nerochiaro> | gremlin[it]: maybe. from what i read, it gets high content of "tannin" substances if you leave it too long. in huge quantities tannins can be not so good for health. but i'm not a (bio)chemistry scientist ;) |
| [03:41] | <nerochiaro> | gremlin[it]: en.wikipedia.org for the bad effects |
| [03:43] | <crweb> | With the exception of tea, long-term and/or excessive use of herbs containing high concentrations of tannins is not recommended. |
| [03:44] | <crweb> | i'm asuming this is because no trace tannin acid is found in teas |
| [03:45] | <nerochiaro> | right, didn't read that part. interesting |
| [03:45] | <nerochiaro> | long bitter brews are safe then ;) except for the vile taste, of course |
| [04:23] | <crweb> | nerochiaro: say you had a piece of code that "Has to output data" |
| [04:24] | <crweb> | and the data goes to stdout |
| [04:24] | <crweb> | and it printf(data) and then never exists |
| [04:24] | <crweb> | it only output 2 lines, which does not cause the buffer to flush |
| [04:25] | <crweb> | the App needs to phsyically flush its buffer before it goes into its infinite loop, yes? It is no one elses job to do so? |
| [04:25] | <nerochiaro> | app does it |
| [04:26] | <crweb> | ok. aparently something went down between two devs and one says its not "Apps" job and "App" should not be changed. |
| [04:26] | <crweb> | but, i took care of it. |
| [04:30] | <nerochiaro> | ok |
| [04:30] | <crweb> | something to do with led blinking during update or something |
| [04:39] | <nerochiaro> | crweb: i don't know about that, sorry |
| [04:40] | <crweb> | well, incase you get blind sided ;) |
| [04:41] | <nerochiaro> | ha! blindsided, me ? pfff |
| [04:41] | <nerochiaro> | ;) |
| [04:57] | <nerochiaro> | gremlin[it]: still around ? |
| [04:58] | <nerochiaro> | gremlin[it]: can you receive PM messages ? |
| [05:06] | <gremlin[it]> | here i'm ... |
| [05:06] | <gremlin[it]> | what's PM message ? |
| [05:07] | <gremlin[it]> | nerochiaro, |
| [05:24] | <nerochiaro> | gremlin[it]: private message, in IRC |
| [05:24] | <gremlin[it]> | ah yes yes |
| [06:34] | <gremlin[it]> | crweb, where u live ? |
| [06:34] | <crweb> | I'm 6 hours south of Chicago IL, usa |
| [06:35] | <gremlin[it]> | 6h south ! ... same level of philadelphia ? about |
| [06:36] | <crweb> | yeah probably pretty close |
| [06:37] | <crweb> | I'm about an hour from the southern border of Illinois |
| [06:37] | <nerochiaro> | are you close to St.Louis, right ? |
| [06:37] | <crweb> | about 90 miles south east |
| [06:37] | <crweb> | no wait |
| [06:37] | <crweb> | thats parents |
| [06:38] | <crweb> | about 120 miles south east (but more south) |
| [06:38] | <crweb> | Carbondale IL |
| [06:38] | <nerochiaro> | google maps says 105, and it's in a very roundabout way |
| [06:38] | <crweb> | eh, give or take |
| [06:39] | <gremlin[it]> | ohhh south ... was a my dream to visit St.Louis ... before katrina ... i like soul music ! |
| [06:39] | <crweb> | katrina was about 15 hours south of St. Louis |
| [06:40] | <nerochiaro> | wasn't it new orleans ? |
| [06:40] | <crweb> | New Orleans |
| [06:40] | <crweb> | yeah |
| [06:41] | <crweb> | st. louis is home of the gateway arch, and that one famous person in a plane that flew around the world or something |
| [06:42] | <gremlin[it]> | hahah my fault right !!!! |
| [06:43] | <gremlin[it]> | spirit of St.Louis ... probably first direct fly over Atlantic ocean ... |
| [06:43] | <crweb> | yeah thats it |
| [06:45] | <crweb> | new orleans is fully functioning now i hear |
| [06:47] | <gremlin[it]> | ah good ... i saw something on TV recently but said isn't as before ... still a lot of empty blocks ... |
| [07:07] | <nerochiaro> | crweb: still there ? |
| [07:07] | <crweb> | yes |
| [07:07] | <nerochiaro> | regarding that thing of not creating a window more than once, what about using deleteonclose and a QT guarded pointer ? |
| [07:08] | <crweb> | guarded pointers use templates. I agree with what he did |
| [07:08] | <nerochiaro> | but would that work ? |
| [07:08] | <nerochiaro> | the guarded pointer |
| [07:08] | <crweb> | yes |
| [07:09] | <nerochiaro> | so why not use that ? |
| [07:09] | <crweb> | avoid templates at all costs. they are the c++ performance drop |
| [07:09] | <nerochiaro> | so let's drop all QList |
| [07:10] | <crweb> | well |
| [07:10] | <nerochiaro> | maps, hashes |
| [07:10] | <nerochiaro> | hmm ? |
| [07:10] | <crweb> | theres to many features that depend on lists |
| [07:10] | <crweb> | thats actually worth it |
| [07:11] | <crweb> | this is trivial work, and even if used guarded pointer, the functions will look exactly the same |
| [07:11] | <crweb> | oh wait.. you mean use guarded pointer.. if ! deleted, show |
| [07:11] | <crweb> | instead of setting up a connection ? |
| [07:12] | <nerochiaro> | with a guarded pointer, you don't have to connect to the event when the window goes down so you can NULL the pointer |
| [07:12] | <nerochiaro> | that's actually good, if possible |
| [07:12] | <crweb> | i don't like it. but it would simplify the class logic |
| [07:13] | <crweb> | i really like having a open handler, and close handler for every window created. |
| [07:13] | <crweb> | in most cases you have to end up taking action on close() of a window anyway |
| [07:14] | <nerochiaro> | when you don't, the guarded pointer avoids a lot of useless code |
| [07:14] | <crweb> | ok |
| [07:14] | <nerochiaro> | plus, frankly, i'm not really all that convinced that templates == automatic perf drop |
| [07:14] | <crweb> | well, thats not what we told him to do |
| [07:14] | <crweb> | err sorry |
| [07:14] | <crweb> | mis read |
| [07:15] | <crweb> | and yes, it is |
| [07:15] | <crweb> | thats pretty common knowledge |
| [07:16] | <crweb> | though.. now that i think about it that could have been compile time |
| [07:16] | <nerochiaro> | pointers to reliable articles that demonstrate this in scientific way ? |
| [07:17] | <nerochiaro> | otherwise, it's witch lore |
| [07:17] | <nerochiaro> | ;) |
| [07:17] | <crweb> | well, hold on a sec. i have a few |
| [07:17] | <crweb> | they are in embedded c++ books |
| [07:21] | <crweb> | The features of C++ that are typically to expensive for embedded systems are templates, exceptions, and runtime type identification. All three of these negatively impact code size, and exceptions and runtime type identification also increase execution time. |
| [07:21] | <crweb> | page 261, Limiting the Impact of C++ |
| [07:22] | <crweb> | Programming Embedded Systems with C and GNU Development Tools, O'Reilly, Michael Barr & Anthony Massa, 0-596-00983-6 |
| [07:24] | <crweb> | www.embedded.com |
| [07:24] | <crweb> | * Templates are omitted. |
| [07:24] | <crweb> | embedded c++ compiler |
| [07:25] | <nerochiaro> | code size, well ok. that's probably right. |
| [07:25] | <crweb> | code size does effect runtime exec |
| [07:26] | <crweb> | when it takes 2x steps to do a task |
| [07:26] | <crweb> | add that to the overhead of a guarded pointer |
| [07:27] | <nerochiaro> | sure, but it's not like you're checking them in a tight loop. it's checkeing them once in a while. plus you can always check the real pointer directly, when you don't need the guard |
| [07:28] | <nerochiaro> | all i'm saying it "should be avoided at all costs" was a bit brutal of a statement |
| [07:28] | <crweb> | ok. obviously we have to use templates for apsects like lists, iostream, etc |
| [07:29] | <crweb> | with our already loaded system, i don't want to add any more overhead, thats for sure |
| [07:29] | <crweb> | if he had done it more correctly, we could have eliminated the if all together |
| [07:31] | <nerochiaro> | for example ? |
| [07:32] | <crweb> | connected it to a slot that run when THAT window was closed |
| [07:32] | <crweb> | no need to check, the only way it was run was for that window |
| [07:33] | <nerochiaro> | i don't understand |
| [07:33] | <crweb> | he connected the destory to a generic destroy function |
| [07:34] | <crweb> | then he had to check to see which window was destroyed |
| [07:34] | <crweb> | if he had just connected to, mywindowXDestroyed(), he wouldn't have had to check to see which window was destroyed |
| [07:36] | <nerochiaro> | oh, ok, but he still would've had to connect it |
| [07:36] | <crweb> | yes |
| [07:36] | <nerochiaro> | which is an overhead just like the guard is. so really, no major loss |
| [07:36] | <crweb> | but the guard adds way more code |
| [07:36] | <crweb> | we just dont "see it" |
| [07:36] | <nerochiaro> | we don't see the code to connect signals and other QT stuff either |
| [07:37] | <crweb> | yeah you do. its in the moc file |
| [07:37] | <crweb> | its just function pointers |
| [07:37] | <nerochiaro> | you have a point |
| [07:41] | <nerochiaro> | but anyway, for this case, it think we won't lose much with the guard |
| [07:41] | <crweb> | but you open a can of worms I close ;) |
| [07:41] | <crweb> | err closed |
| [07:42] | <crweb> | its ok. i agree with you completely. I just really don't want to start using templates unless we need to. |
| [07:42] | <crweb> | and as i said. most of the time you have to connect a closeWindow slot anyway. or you should rethink why you are opening a new window |
| [07:44] | <nerochiaro> | sure |
| [07:44] | <nerochiaro> | let's just prevent over-use, and we should be fine |
| [07:45] | <crweb> | what i def dont' want to see is guarded pointer AND connection |
| [07:45] | <crweb> | we'll have to watch out for that |
| [07:45] | <nerochiaro> | ok |
| [08:32] | * MattJ wonders if he should try AZ again today | |
| [08:39] | <nerochiaro> | MattJ: everyday is a new day for AZ :P |
| [08:39] | <MattJ> | So what ejding today? 2j? :) |
| [08:39] | <MattJ> | *ending |
| [08:39] | <MattJ> | It complained the package was corrupt, yesterday |
| [08:42] | <nerochiaro> | add one letter |
| [08:42] | <nerochiaro> | to yesterday |
| [08:42] | <nerochiaro> | it shouldn't have complained. something was wrong, definitely. please try again today |
| [08:43] | <nerochiaro> | and if corrupt again, please let me know |
| [08:43] | <MattJ> | Ok |
| [10:01] | <MattJ> | "Unable to upgrade" "Update package corrupted!" |
| [10:01] | <nerochiaro> | where are you putting the package ? |
| [10:01] | <nerochiaro> | card ? |
| [10:02] | <MattJ> | CF card |
| [10:02] | <nerochiaro> | isntalling AZ to CF card from CF card ? seems wrong |
| [10:03] | <nerochiaro> | do you have other cards ? |
| [10:03] | <MattJ> | To quote the wiki: "Load it onto a USB, SD or CF card, and plug that card into your Neuros OSD." |
| [10:03] | <MattJ> | I don't have an SD card free |
| [10:03] | <nerochiaro> | oh, you are not doing that via uboot |
| [10:04] | <MattJ> | I have a USB stick |
| [10:04] | <nerochiaro> | you are doing it via the GUI |
| [10:04] | <MattJ> | and I have it on a network share |