/srv/irclogs.ubuntu.com/2012/05/31/#ubuntuone.txt

mmccmmcc: just solved that Qt image plugin packaging issue. We might be out of the woods...05:40
JamesTaitMorning all! :)08:29
mandelmorning!08:46
ryeanybody here uses U1 with proxy?09:33
ryemandel: I have several users who repetedly enabled and disabled file sync status for a folder from the control panel because the latter was seemingly not reacting to the click (and the user has just confirmed that the flag appeared after 5 seconds). Is it known?09:59
mandelrye, I can test thing if you need me regarding proxy, and the second question..10:04
mandelrye, what is the later? what OS?10:05
mandelrye, is that ubuntu? is the falg the one from nautilus?10:05
ryemandel: no, the control panel, on Ubuntu10:10
ryemandel: i got this once but i was not able to reproduce. Apparently, some succeed at this10:10
mandelrye, and when you say the later what does it mean 'I have several users who repetedly enabled and disabled file sync status for a folder from the control panel because the latter was seemingly not reacting to the click'10:12
mandelrye, sorry I'm a little lost in translation :)10:12
mandelrye, and my context switch from mac to this is not that good hehe10:12
ryemandel: i am context-switching every 5 minutes and already have problems recalling things, i understand. So, you click a folder checkbox in control panel. Nothing appears to happen. You click again, nothing (during this time SD has enabled and then disabled folder syncing) but CP does not show anything.10:13
ryekarni: hi, is there a reason why we prohibit moving the application to SD card for those who have less than 0 free bytes on the internal flash :) ?10:14
mandelrye, ah, ok, and the checkbox does not show the 'check' correctly ?10:15
ryemandel: it shows the check but after a looooooong delay10:17
mandelrye, ok, so that operation is async, that is, the message gets sent to sd when sd process the action it then sends a signal over dbus to control panel10:18
mandelrye, so, we can have the delay because a: dbus message from cp to sd is slow, b: the action is push to the reactor thread and there stays a little 'til processed, c the signal is slow10:19
mandelrye, and I have had no info about this happening before, is a first to me10:19
ryemandel: e.g. when it is syncing something... Grrr. I need to have my account fixed10:22
mandelrye, well uploading/downloading/hashing are done in diff threads but maybe there is something blocking there10:23
mandelrye, or is a ui problem.. it can be that the main loop qt does not get the signal on time from the deferred and there is an issue there10:23
ryemandel: i thought that meta queue items are still executed consequently, so e.g. if there are lots of MakeFile/MakeDirs, adding a new request to get volume list (or whatever enabling share is using) will be added to the end of the queue...10:52
mandelrye, yes, I think that meta queue is in the reactor main thread10:53
mandelrye, all event processing is there too10:53
karnirye: Yes, multiple support requests of the need to log in whenever they mount USB storage/restart their phone, or pictures not syncing. People just don't get the limitations of apps running on SD card.10:53
karnirye: It wasn't an easy decision and it took me time to decide to revert to internal storage only, but it was thought out and intentional. Sorry if it upset a few folks. Certainly less than the trouble associated with having app2sd enabled.10:54
ryekarni: and with MTP-only access on the newer phones. I understood that :)10:57
karnirye: right, newer phones have large internal storage only, so that's less of an issue.10:58
gatoxgood morning!11:10
ryekarni: another quesiton - are the changes to make the files already downloaded and changed on the phone to be uploaded automatically planned for u1f?11:22
karnirye: yes, sync is indeed on the roadmap. (I'll finally stop complaining, how people expect sync, while we never said the Android app had it, anywhere ;))11:24
karnirye: FWIW, keeping files from U1 with those on the phone (re-downloading) is pretty darn easy to implement. I didn't add it this week only because I knew if we have sync, it has to be _sync_ and not a partial solution.11:25
ryekarni: the user actually edits the files on the phone11:28
ryekarni: oh, while I got your attention - any reason why our music app does not stream flac files?11:29
mandelgatox, morning!11:29
mandelgatox, can you give me a hand with something?11:30
gatoxmandel, of course.... shoot11:30
karnirye: Right, noticing local changes will either require rescan or FileObservers on each of the files "of interest"11:31
mandelgatox, if you have the following (char *)&(kevent_arg->data.str) where data is a union, what do you think str should be, and the answer is not a char*11:31
mandelgatox, I'm getting a little confuse with all this address/pointer operations :(11:31
karnirye: Not that I know of. I'll sync with Chad when he's around.11:31
gatoxmandel, let me see11:32
mandelkevent_arg is an array of a struct that has two ints and the data union11:32
gatoxmandel, "str" is something like __repr__11:33
gatox?11:33
mandelgatox, let me paste the struct definition, one sec11:34
gatoxmandel, maybe i'm wrong, but i assume what you are getting a reference to some structure... and then obtaining a pointer to the first byte of that structure11:35
mandelgatox, so, if I wanted to recreate the structure (bloody tests!!!) how would it be done?11:35
mandelgatox, going data.str = "blah" is not correct11:36
gatoxmandel, asking the sizeof of the union and creating a char* array as big as that? starting from the first byte as you have now?11:37
mandelgatox, http://paste.ubuntu.com/1016244/11:38
gatoxmandel, if i'm talking nonsense, show me some code11:38
gatoxthat :P11:38
mandelgatox, that is the struct def11:38
gatoxahhhh i understand better now what you mean11:39
gatoxmandel, and *str is not ending in \0?11:40
mandelgatox, is ac string, so it should11:41
gatoxmandel, that would be a way to obtain the complete string, doesn't it?11:41
mandelgatox, the problem I have is that I want to create such a struct to be used in the tests yest when I do data.str = 'blah' is not correct and get some random mem info11:42
mandelgatox, and the kernel sends the string that way  (char *)&(kevent_arg->data.str) so I cannot remove it because that makes the daemon to segfault11:43
gatoxmandel, i'm trying to think some options..... but..... i'm kind of rusty :S11:51
mandelgatox, same here!11:52
mandelgatox, I might as well ask dobey, I'm sure he is better than us at this11:52
gatoxmandel, yep..... he is the guy11:52
alecurye, mandel: regarding the delay when marking folders to be synced: it sounds like the user is transferring a lot of files (more than 200?) so SD buffers are full and the "suscribe" operations need some download to finish before they are executed on the server.12:17
ryealecu: oh, that's fun12:18
mandelalecu, nice!12:18
alecurye, mandel: they also could happen when more than the limit of concurrent transfers (10 is the default), but in that case the wait would be much smaller.12:18
ryealecu: i guess we need to somehow show the operation is in progress. There were 4 users today who spent a several days enabling/disabling the folders12:18
alecurye, in any case we *should* fake that a little bit better on the UI side.12:18
alecuI think that we should be ticking the checkbox as soon as the user clicks on it... or mark it as grayed, or something.12:19
alecurye, did you got any more info on the "chrome download gone" that was in fact a "mind map file gone"?12:20
ryealecu: ticking immediately looks good unless restarting the control panel shows it is not flagged. In any case we should not queue the request for toggling and do only action that is intended12:21
ryealecu: I am afraid i am swampted with other requests and I am physically not able to follow up on some of these tickets12:21
alecurye, I understand :-(12:21
mandelalecu, question, do you know what is str mean to be here: http://paste.ubuntu.com/1016244/ in the daemon code we do  (char *)&(kevent_arg->data.str) but in the tests when a do data.str = "char" I'm not getting the correct string out, any idea?12:22
mandelalecu, my pointers knowledge is rusty (at least at this level)12:22
alecumandel, never venture into C land with a rusty knowledge o' pointers!12:23
gatoxalecu, i'm back on fsevents (finish with the u1-cp and u1-client high issues), can you remind me where is (or just the name) of the function in linux where we wait when a new folder is added before start listening to fsevents?12:24
mandelalecu, yes, I know.. my fault, I understand what is doing but I'm puzzled on how to recreate the strcture for the tests12:24
alecumandel, please show me where you do "(char *)&(kevent_arg->data.str)" in our code.12:25
mandelalecu, sure, give me a sec12:26
mandelalecu, https://bazaar.launchpad.net/~mandel/ubuntuone-fsevents-daemon/add-run-tests/view/head:/objc/FsEvents/FsEvents/FSEvent.m#L10812:28
mandelalecu, I want to recreate the arg structure to have tests to ensure that is correctly parsed12:28
gatoxalecu, "new_local_dir"?12:29
mandelalecu, I'm off to have lunch, I'll be back asap12:32
alecumandel, got a sec?12:33
mandelalecu, yes, sure12:33
alecumandel, (char *)&(kevent_arg->data.str) is wrong12:34
alecumandel, it should be: (char **)&(kevent_arg->data.str)12:34
alecumandel, kevent_arg->data.str is the pointer to the string12:34
alecumandel, &(kevent_arg->data.str) is a pointer to the pointer to the string12:35
mandelalecu, yes, and I have tried to simple remove (char *)& because arg->data.str is already a char* but if I do that, when I run the daemon I get a segfault accesing the wrong memory12:35
alecumandel, so, with &(kevent_arg->data.str) you are getting a pointer that points inside your  kfs_event_arg struct (probably to the 4th byte, since the first four are the two uint_16s)12:36
alecumandel, well, I need to "C" that "see" code.12:36
mandelalecu, puf.. terrible joke hehehe12:37
alecumandel, yes, probably my worst this week.12:37
alecumandel, but it surely beats your best this month :-)12:37
mandelalecu, ha, I've got great jokes! hehe12:38
mandelalecu, let me have lunch and I'll take a look at the original c code and find out what that is really doing...12:38
mandelalecu, maybe my struct in the test is wrong and breaking everything12:39
alecumandel, go ahead, have lunch.12:41
mandelalecu, ok, I'll be back asap12:41
ralsinagood morning!12:44
mandelok, really going now.. will be back in a few mins12:44
ralsinaalecu: I am pretty sure of it, but bug #732255 is a non-issue now, right?12:45
ubot5Launchpad bug 732255 in ubuntuone-client (Ubuntu) "ubuntuone-syncdaemon crashed with ImportError in /usr/lib/python2.7/dist-packages/twisted/internet/gtk2reactor.py: No module named interface" [Medium,New] https://launchpad.net/bugs/73225512:45
ralsinaalecu: Also, why is the UBuntu Foundation bug's bt changing the priority of our old bugs?12:45
ralsinathat was not alecu-specific :-)12:46
alecuralsina, it looks very old, and looks like it should be fixed already.12:48
ralsinaalecu: what I thought12:49
ralsinaif it still happened, I would have seen it in the last year12:49
alecuralsina, I didn't know there was a "ubuntu foundation" tough :P12:49
ralsinaalecu: and it has robots!12:49
dobeyralsina: because the priority was probably unset, and something got fixed in the bot, so it sets crashers to medium by default like used to happen12:49
ralsinadobey: interesting12:50
dobeyalso, note it's only setting the severity on bugs filed against the ubuntu packages, not the upstream project12:50
dobeyand yes, there's an "ubuntu foundations" team :) (though i think maybe it's called platform or somethng now)12:50
ryealecu: PROXY!12:51
ryealecu: i found that proxy does not work with syncdaemon12:51
alecurye, tell me more12:51
ryealecu: STR: install win7, install squid on another machine. prohibit windows from accessing the internet directly, configure proxy in windows internet explorer -> control panel works, SD fails to connect12:52
ryealecu: i can give you rdp access to the instance if you want to have a look12:53
ralsinarye: that happens when you don't have DNS on the client box, yes, known bug12:53
ryeralsina: DNS works12:53
ryeor12:53
ryewait12:53
dobeyi guess it's a problem with the SRV magic12:54
dobeywhich the http stuff doesn't use12:54
ryedobey: no, SRV fallbacks to a host...12:54
ryeralsina: how was the proxy support tested then?12:55
ryeralsina: dns works12:55
ralsinarye: I tested it but I had a local resolving DNS12:56
ralsinarye: works? Ok then it's not that bug12:57
alecurye, can you give me rdp access?12:57
gatoxonly 4 erros in test_filesystem_notifications in mac \o/ (happy news for me :P)12:57
ralsinagatox: yay12:57
ralsinaI am tempted to do a blanket WONTFIX for desktopcouch12:58
ralsinait has 75 bugs which we won't, you know, fix.12:58
gatoxrye, did you have the chance to read my comment in the Bug #100632912:59
ubot5Error: Launchpad bug 1006329 could not be found12:59
dobeyralsina: unfortunately, we do sort of have a contract to support it for some versions of ubuntu12:59
ralsinadobey: we could provide emotional support...12:59
dobeyi don't think that's what LTS means12:59
ralsinadobey: and I am pretty sure the contract doesn't say we are going to fix any bugs13:00
ralsinaok, it has 156 bugs, launchpad was lying by omission a bit there13:00
dobeyand changing them to wontfix, won't stop you getting e-mail for them13:00
ralsinathe 1st page doesn't show the total bug count, says "75 bugs" instead of "75 of 156 bugs", but it works on the second. Reporting...13:01
ralsinaworse, it says "75 of results"13:02
dobeyeh?13:02
dobeyit works fine here13:02
ralsinadobey: http://www.flickr.com/photos/ralsina/7307958708/in/photostream13:05
dobeyralsina: what browser/os?13:08
ralsinadobey: ubuntu + chromium13:08
ralsinadobey: but the number is not there in the HTML, so it's not a browser issue13:08
ralsinaOTOH, it's JS so it may be13:09
dobeyhrmm13:11
dobeychromium also is broken there13:11
dobeyfor me13:11
dobeyoh weird13:11
dobeyit's there, and then gets hidden, in chromium and epiphany13:12
dobeythat is really weird13:13
dobeybecause it's not in a separate div or anything13:13
dobeynot sure how this isn't a webkit bug though13:14
ralsinadobey: if any thing that looks off in a page is to be fixed upstream, web devs would have it much easier than they do ;-)13:15
dobeyralsina: it /could/ be a YUI bug perhaps, but again, looking at the source for the page, i don't really see how13:23
ralsinadobey: it's reported and now I know it's there, so I don't care anymore13:24
ralsinawe have enough bugs with our names on them :-)13:24
* mandel bacj13:43
mandelups, back13:43
ralsinarye: forbug #1006899 how did you test DNS connectivity?13:43
ralsinarye: for bug #1006899 how did you test DNS connectivity?13:43
ubot5Launchpad bug 1006899 in Ubuntu One Client "[Windows] Ubuntu One syncdaemon tries to connect directly even when proxy is used (3.0.1)" [Undecided,New] https://launchpad.net/bugs/100689913:43
ryeralsina: nslookup google.com -> LOTS OF IPs13:45
ralsinarye: ok13:45
ryeralsina: sent you rdp details privately13:48
ralsinarye: thanks!13:49
ralsinadobey: you remember the bug # for the empty dict in dbus signature you fixed?14:17
ralsinadobey: I think it has 2 dups, 1006932 and 95140614:18
dobeythe ubuntuone-login issue?14:18
ralsinadobey: I think so14:18
dobeyoh, control panel14:19
dobeyhmm14:20
dobeyralsina: 711162, marked both as dup14:22
ralsinathx dobey!14:23
alecuralsina, I was able to reproduce the bug that rye reported re: proxy. I get very different behaviour on a pristine vm vs my dev env.14:32
ralsinaalecu: yikes14:32
alecuprobably different versions of twisted, or something like that.14:32
alecuralsina, my dev-env connects; the pristine vm with 3.0.1 does not.14:32
ralsinaalecu: well, if it's that, it's easy to fix at least14:32
ralsinaalecu: you can ask briancurtin for the versions used in the package14:33
briancurtinalecu: i'll get them right now - which versions do you need?14:33
ryeyay14:33
ryebugs14:33
ryefixs14:33
alecubriancurtin, I'd like to know which version of twisted is used to build the package.14:34
briancurtinalecu: twisted 11.1.014:34
alecuHmmm... I'm on 11.0.0. I don't think that should be the cause.14:35
ralsinaalecu, dobey, briancurtin, gatox, thisfred, mmcc, mandel: remember team call in 5 minutes14:55
gatoxack14:55
* alecu is already on mumble14:55
mmccaaaaaaack14:55
thisfredackack14:56
dobeyremember remember, it's not november14:56
thisfredcamembert14:56
dobeyis there a duck in the room?14:56
mandelack14:57
thisfredat least we dispelled the myth that duck's quacks don't have echoes14:57
ralsinajoshuahoover: you're welcome to our call too!15:01
ceed^Hi, I've set autouploa of pictures from my phone to a folder within the Ubuntu One folder. Will that cause any problems?15:13
ceed^autoupload even15:13
dobeykarni, qengho: ^ can you answer ceed^ please?15:33
karniyes, just a sec15:34
ceed^I can wait :)15:34
ceed^Kinda difficult moving it all from Dropbox and make it work right.15:34
qenghoceed^: that sounds normal to me, if I understand you.15:35
ceed^qengho: I created a folder within the Ubuntu One folder called "From Phone" and set the Android app to upload there. But since the Ubuntu One folder is auto synced I wonderd if there would be problems.15:37
karniI'm here, sorry.15:40
* karni reads up15:40
karniceed^: Of course, no problem with auto uploading to a folder within ~/Ubuntu One15:41
karniceed^: Why don't you give the latest U1F a try :) http://t.co/gs7SVdf8 (QR: http://t.co/gs7SVdf8.qr )15:41
ceed^Thanks. I know all little details about Dropbox, but U1 is still a little akward for me15:42
karniceed^: What do you find akward about it? :)15:42
qenghoceed^: nothing "owns" that folder, and it shouldn't pull files down to your device and then try to send it back up.  No worries.15:43
ceed^What happens if you create folders within a folde already set to autosync. Will that new folder be autosynced by default?15:43
qenghoI think we may need to define "autosync" better, karni.15:43
karniceed^: There's to sync, nor auto sync :)15:43
karniIt is Photo Auto-Upload15:44
* briancurtin brb, need to run to the copy shop to fax something...gas company won't let me email this form and i want hot water again15:44
karniwe never ever used sync anywhere around Android, but (sadly) users still fail to understand Android app is quite limited compared to what the PC version is.15:44
karniSo, ceed^, let me explain :)15:44
karniceed^: Auto-Upload allows to automatically upload photos from (selected) folders from your phone to Ubuntu One15:45
mmccmandel, line 108 in FSEvent.m doesn't look right, shouldn't it be string_value = kevent_argument->data.str;15:45
karniceed^: Currently Ubuntu One Files will not automatically download nor _sync_ any files15:45
ceed^Yes, all pictures in folders on the phone are uploaded to a folder in U1. If that upload folder is within a folder set to sync will the upload folder also be synced to the computer?15:45
mandelmmcc, apparently no, if you do that you get a segfault, and that is exactly the thing I have been fighting with15:45
karniceed^: If it notices a change in a file in the cloud (say, you made a change on your computer), it will remove the old file from your phone, if it has been downloaded, so it doesn't get used by the user.15:45
karniceed^: Yes, that is correct :)15:46
karniceed^: If you upload your pics to ~/Ubuntu One/My mobile pictures, everything under ~/Ubuntu One cloud folders gets synced to your comptuers15:46
karniqengho: Hi, nice to meet you :) Are you a community person, or just Canonical?15:46
qengho...and web site.15:46
karniWell, yes. The web site represents whatever should be on the computers :)15:47
ceed^Thanks! that's what I wanted to know. Now I just have to wait to get all my 80gb pics uploaded. Gonna take days... :)15:47
karniHahahahah15:47
qenghokarni: you already know me.15:47
ceed^I also wonder why you can't share folders, only files15:47
karniceed^: Do you have 80 GB available in U1?15:47
mmccmandel: hrm. but data.str is a char*. data.vp is a struct vnode* vp. if you want a char* you should use .str  -- the segfault is probably something different. ergh, wish I had this building on 10.615:47
ceed^karni: yes, purchased tonse of storage15:48
ceed^tons even15:48
alecumandel, I agree with mmcc15:48
karniceed^: Awesome :)!15:48
ceed^Keeping my Dropbox until I know it works :)15:48
alecumandel, stringWithUTF8String takes a char*, so .str is the right thing to pass.15:48
karniceed^: Are ou asking about sharing from the Android app, or within U1 in general?15:48
mmccalecu, mandel, of course, .vp is the same address, so casting it to (char *) is basically the same thing! :) just uneccessary15:49
dobeymandel: can we get my branch unblocked please? :)15:49
karniceed^: You can share whole folders to your friends, and (currently) only publish files from the Android client. The API the Android app uses does not expose shared folders yet.15:49
qenghoceed^: we're always eager to hear suggestions or feedback.  email or irc.15:49
mandeldobey, sure, can I have the mp link please15:49
ceed^And I miss the photo album functionality in Dropbox15:49
mandelalecu, mmcc it is a union, so the addresses are indeed the same15:50
ceed^Consider that a feature request :)15:50
dobeymandel: https://code.launchpad.net/~dobey/ubuntuone-installer/new-logo/+merge/10728015:50
mmccmandel, is that code in FSEvents.m:108 segfaulting?15:50
karniceed^: Considered! :)15:50
qenghoceed^: we have smart people thinking about that right now.15:50
karni;)15:50
dobeymandel: thanks15:50
ceed^And sharing of folders although I found a python script that will do it15:50
alecummcc, is there a way that line 108 can segfault? I can't find it.15:50
mandelmmcc, the code as it is works, if you use the ->data.str directly it segfaults15:51
mmccmandel, what exactly is the code that will segfault?15:51
* ceed^ likes smart people to think when his data backup is on the line15:51
alecummcc, oh, if kevent_argument has an invalid value.15:51
karniqengho: You mind telling ceed^ how to share a folder with somebody? (I totally forgot xD)15:51
mmccalecu, yeah but it'd segfault in the switch if kevent_argument was invalid, so i guess 108 can't15:52
mmccmandel, I mean, can you show me the exact line that causes a segfault?15:52
mandelalecu, mmcc, if it points to a random address we go bananas, so it indeed can segfault15:52
alecummcc, you are right on the switch segfaulting first.15:53
mandelmmcc, I have not managed to get the daemon to run as root using lldb so I can only guess15:53
ralsinacan I get a second review for https://code.launchpad.net/~ralsina/ubuntuone-control-panel/decrypt-errors-3-015:53
ceed^I would also like a U1 icon in the notification area like Drobox :)15:54
ceed^so I can see what's going on15:54
qenghoceed^, karni, on linuxes, u1sdtool is a command-line tool for doing things like that.  Sharing something is (probably) just two steps, of looking up its ID and then sharing that ID.15:54
ceed^ah ok15:54
mmccmandel, oh ouch. well at least there should be a core dump somewhere... let's see - look in /cores ?15:54
dobeyralsina: i need to take an extra long lunch today. meeting ran long, and i have an appointment in 1hr, so i'll be back in about 1.75-2 hrs, and work a little longer tonight15:54
karniqengho: I meant.. with a mouse ;D15:54
karniqengho: Is it under the context menu?15:54
ralsinadobey: np15:55
karniqengho: Or only of synced folders context menu?15:55
dobeybbiaw15:55
mmccmandel, actually, if kevent_argument->type is FSE_ARG_VNODE, then kevent_argument->data won't be a string - that code shouldn't be expecting a string anywhere15:55
mmccer, I mean kevent_argument->data.str is undefined... you shouldn't use .str if that's the type...15:56
mandelmmcc, kevent_argument->data will the the union pointing to the vnode struct15:56
mmccmandel right - and the vnode struct isn't a char* but that code is treating it like it is15:56
mandelmmcc, yes, that is one of the errors in the code.. the question is, do we care about vnodes.. I think we don#t15:57
mandeldon't15:57
mmcchmm15:58
qenghokarni: any place in your home directory, you can right-click in Nautilus and "synchronize".  Once the server knows of it that way, you can share contents.15:59
karniqengho: Thanks! ceed^ ↑15:59
mandelmmcc, I'll look into cleaning that code in the next branch that adds tests for the event arguments15:59
* alecu will have some lunch16:05
mmccmandel: ok.. I'm still curious about exactly what the code is when it doesn't work. is it  = (char *)&(kevent_argument->data.str) or just = kevent_argument->data.str ? because you shouldn't need the '&' - .str is already a char*, and with the & you're getting a char**, the address of the address of the char...16:06
mmcc... so does line 117 work? it's doing the same thing and looks like it should be creating a string from the wrong place.16:07
ceed^the music streaming has tough competition comapred to Google Music (which also rund on Linux)16:09
mandelmmcc, does work, it shouldn't16:10
mmccweird, I see fslogger also did that, so I guess I'm confused?16:11
mandelmmcc, you are not the only one, I'm too16:11
mandelmmcc, for me it is getting a char ** and not a char * since str is a char* and therefore applying & gets you the pointer to the pointer16:12
mandelmmcc, I'm going to fill the things with nNSLog and see wtf is going on16:12
ceed^I have one more question, is there a way to see what is going on with U1 like a log?16:13
mmccmandel right, so when you then send that pointer to stringWithUTF8String, it should get garbage. unless we're really (un)lucky with memory layout. I suppose that if the storage for the string is malloc'd right after the storage for the struct, you might get something that almost works, depending on the utf8 value of the address in the struct :\16:14
mmccbut I could be making that up16:14
mandelmmcc, is something I grabbed form fslogger and I'm working on cleaning up + adding tests16:15
mmccmandel, right, I am looking at the code in fslogger now. I'm just puzzled. You're on it, so I'll leave you alone :)16:16
mandelmmcc,  :)16:16
mandelmmcc, I'm going to EOD soom, so I'll ping you tom with what I have and we can take a closer look at the mem allocation16:16
mmccmandel: one more thing: did you try just running lldb as root?16:17
mandelmmcc, yes, bad things happened16:17
mmccmandel ok hrm, I thought that should work. oh well. gdb might also still work...16:17
mandelmmcc, yes, I have to try with gdb, specially because I know the commands :P16:18
ralsinaLUNCH!16:22
elopiohey team. How can I help translating the control panel?16:32
elopioon launchpad it says that there are no translations.16:32
mmccmandel BTW, for interpreting C variable type decl gibberish, http://cdecl.org can be useful... (cc thisfred )16:32
thisfredthx16:33
thisfredmmcc: is that the same one that is in the kernighan ritchie book? :)16:34
mandelmmcc, haha good one!16:34
thisfredI think I got it mostly, and vim usually warns me when I get it wrong16:35
mmccthisfred: yeah, it's just a thing that's useful to know exists...16:35
thisfredsure16:36
* gatox lunch16:36
=== gatox is now known as gatox_lunch
mmccit handles blocks, which is nice for macos stuff, and I've occasionally needed it when passing function pointers as void*...16:36
mmccand then recasting them16:36
mandelmmcc, specially when you have (char *)&(char*) or at least is what I understand :P16:36
mandelok, EOD (mainly walking the dog)16:37
mandelcatch you all tom!16:37
mmccbye, tom16:37
mandelmmcc, I hope my morning is useful for the funny mem thing :)16:37
mmccmandel, me too. I've been running fslogger for a while now - no VNODE args ever showup.. maybe we don't care. but the author's site shows a trace with them in there, soo....16:38
mmccand at least in freebsd source, struct vnode* does not start with a char*, so ... Amit Singh knows something I don't :)16:38
mmccanyway, have a good walk, see you tomorrow16:39
mmccfor future reference -- lsyncd ignores any arguments that aren't a string, and has a different structure, it checks the argtype and does different things with a string argument depending on the argtype. It's GPLv2, and the code is here: http://lsyncd.googlecode.com/svn/trunk/fsevents.c16:43
=== salgado is now known as salgado-lunch
* mmcc lunches17:23
=== gatox_lunch is now known as gatox
briancurtini wonder if HR will ever mail me back about anything...17:37
ralsinabriancurtin: aything I can help you with?17:37
briancurtinralsina: one is just a benefits question, the other is that half-day i entered but didn't use. i just mailed for the second time about the day off17:38
ralsinaok17:38
ralsinaabout the half-day we can always just handle it unofficially as an exception17:38
briancurtinralsina: yeah that was my next plan. if i dont hear back from them in the next few days i'll just schedule a half-day in the near future so i dont forget it17:39
dobeysigh. that took a little longer than expected18:33
ralsinaschool run!19:18
gatoxok...... eod for me people!! see you on monday!! and some of you see you on UbuConLA :D20:04
mmccbye gatox, have a good trip!20:05
ralsinaEOD for me20:33
ralsinasee you all tomorrow!20:33
=== salgado is now known as salgado-afk
mmccok, heading out. everyone quiet down22:17
* mmcc leaves22:17

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!