Team Chat Logs

March 16, 2010

2010 2
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

[04:13:14]<arg>nsz: recession in .sk
[04:13:23]<arg>moin btw
[05:23:30]<nsz>morning
[07:38:04]<srm>morrn
[07:38:20]<raph_ael>mournschnen
[08:03:37]<toumbia>moin
[11:00:43]<apo_>woot woot.
[11:00:58]<apo_>Just finished my project
[11:01:16]<apo_>I call it "half a fucking IMAPS client just so I can get the number of new mails from my server"
[11:01:21]<apo_>And it's incredibly ugly. :P
[11:44:14]<dibb>apo_: beats most of the names gnu comes up with :)
[12:42:04]<apo_>dibb: :D
[12:48:42]<zcram>link?
[13:15:10]<apo_>zcram: ?
[13:26:16]<zcram>you should make your code snippets public.
[13:26:28]<zcram>Well, perhaps not.
[13:36:53]<Rasi>n0nsense: naja, nicht seit gestern
[13:43:22]<apo_>zcram: Dunno, it's incredibly hacky
[13:43:29]<apo_>I'm not sure I want that to be public
[13:44:15]<n0nsense>here be porn
[13:44:22]<n0nsense>Rasi: moin
[13:49:16]<zcram>I'd certainly find something like that (I suspect it's scriptable) very useful for my own usage. Hehe.
[13:53:36]<apo_>It's not scriptable, it's part of my statusbar program
[13:53:39]<apo_>And written in C :P
[13:54:47]<zcram>I mean, it's possible to call it from a script, to display said number of unread messages on the status bar.
[13:55:09]<apo_>Well, you'd have to adjust the source for that...
[13:55:18]<apo_>And it's probably better to have it run all the time :P
[14:02:03]<apo_>zcram: http://sprunge.us/YOLj have fun :P
[14:02:54]<apo_>zcram: config.h just defines MAIL{DELAY,SERVER,PORT,USER,PASS}
[14:03:38]<zcram>Nice, thanks
[15:58:39]<apo_>Hm...
[15:59:38]<apo_>Just commented if(m == selmon) in drawbar(), but it's not updating the text on !selmon
[15:59:42]<apo_>Bah.
[16:03:12]*apo_!~apo@dslb-088-067-197-082.pools.arcor-ip.net pokes arg
[16:19:12]<cmarcelo>apo_: just a wild guess... propertynotify() -> when WM_NAME changes, it seems to only call drawbar() and not drawbars()
[16:20:11]<cmarcelo>bah
[16:20:18]<cmarcelo>forget it
[16:20:25]<cmarcelo>was looking in the wrong place..
[16:21:18]<cmarcelo>change in root's WM_NAME will call updatestatus() which just call drawbar(selmon)...
[16:21:45]<cmarcelo>maybe you want drawbars() to be called there..
[16:23:40]<apo_>oh ~_~
[16:23:41]<apo_>Thanks.
[16:24:22]<cmarcelo>(it's still a wild guess hehe, not tested)
[16:24:33]<apo_>It's working :)
[16:24:39]<cmarcelo>\o/
[16:25:07]*apo_!~apo@dslb-088-067-197-082.pools.arcor-ip.net unpokes arg
[16:28:01]<apo_>halfafuckingimapclient is working quite nicely \o/
[16:32:49]<n0nsense>what's that?
[16:33:14]<apo_>halfafuckingmailclientjustto_getnewmail()
[16:33:21]<apo_>Gets the number of unread mails over IMAPS
[16:49:15]<n0nsense>C library?
[16:51:30]<kfx_>no that's libhalfafuckingmailclientjustto_getnewmail
[16:52:30]<apo_>n0nsense: ?
[17:02:50]<apo_>oops, forgot va_end() ~_~
[18:52:57]<n0nsense>I mean... did you implement a minimal imap client in C?
[18:54:28]<apo_>No, I implemented a function that opens an SSL connection to an IMAP server, logs in (plaintext), then does LSUB "" * to get all maildirs, and does SELECT; SEARCH UNSEEN on all of them to find new mails.
[20:24:54]<smkim>whois smkim
[20:44:10]<chairmanK>set alternate_nick=chairman_K
[20:56:13]<MP2E>heh?
[22:33:54]<apo>oh wow, glibc is hideous
[22:36:04]<srm>[Dexample!1
[22:38:26]<apo>Holy crap, 293 lines for pow()
[22:38:34]<apo>I'm not reading through that
[22:41:47]<chrisb_>dietlibc
[23:58:51]<JohnWittle>To apply patches to dwm, all I have to do is have mercurial installed, cd to my dwm directory, and type "hg patch ~/path/to/diff" correct?