[01:12] Kernel: Warning, IRC conversation level dangerously low [01:12] BUKKITS! [01:12] .match skippy generate [01:12] I don't know anything about skippy matching generate. [01:12] .match skippy asking [01:12] [skippy] (1/1) * skippy takes note: asking stupid questions and generally being clueless about something creates activity in chat channels... [01:13] Where's mai bukket? [01:13] mmm [01:13] right [01:13] * silentcoder hides Myke's bukkit [01:13] Myke: /dev/null/ [01:13] rofl [01:13] (or did you want something other than the bit bucket?) [01:13] UmbralRaptor:++ [01:14] cat /dev/random >> /dev/null/ [01:14] that should fill mah buckkit! [01:14] cat | icanhascheezburgr.coom [01:15] hah [01:16] cat /dev/lol ? [01:17] heh [01:16] cat /dev/lol ? [01:17] heh [01:17] /dev/lol! [01:17] someone needs to make a patch [01:18] [19:17:52] 0 root@fulgidous:/dev$ file /dev/lol [01:18] /dev/lol: character special (0/0) [01:18] mmm, I reckon /dev/lol should be randomly symlinked to another device file on any stat call [01:19] so if you cat to or from /dev/lol you can never predict what exactly will happen [01:19] Myke: I'd so do that if I had the time. [01:19] you could dump /dev/fb to a file [01:19] or overwrite /dev/sd1 [01:19] Or send output to /dev/monitor ? [01:20] ;p [01:20] funny no ? [01:20] that's no lol [01:20] guys [01:20] c'mon [01:20] shminux: it is if you like to live dangerously [01:20] oh, and default to world writeable [01:20] $ cat /dev/lol [01:20] It's a lolcat [01:20] ... [01:20] I invented it [01:20] I know that [01:20] hah I got it [01:21] ... [01:21] /dev/lol should on read fetch the latest lol from icanhazcheezburger.com [01:21] and then parse it through aalib [01:21] and output the result [01:21] ! [01:21] You'd need a daemon or some serious kernel code [01:21] well you'd need a driver [01:22] and your driver would need some low level http stuff [01:22] but it's not THAT hard [01:22] not necessarily [01:22] simpler than most file systems [01:22] FUSE? [01:22] krikkert: mmm that would make it a block device though [01:23] I don't think so. [01:23] or rather, require it to be [01:23] you can cron retrieve the last lol and put it in /dev/lol [01:23] and still not quite work [01:23] shminux: well then you're faking it with a simple script in cron.hourly [01:23] will work [01:23] but won't be a device file [01:23] ease-of-implementation wins out if you ask me [01:24] it's the result that counts [01:24] actually the FUSE implementation could work [01:24] wget -o - $LOLURL | aalibconversionproggie [01:24] I've been fussing with FUSE quite a bit lately [01:24] cmantito: how do you get FUSE to give you a device file ? [01:24] FUSE is good for mounting something that ISN'T a device [01:25] that's not as easy, but it is possible [01:25] and getting filesystems from daemons and stuff, [01:25] what you tell me now is new to me [01:25] yeah, I've been using it for tinyurlfs [01:25] advantage of the cron job version of course is [01:25] it will work on ANY unix [01:25] well, theoretically is you can fake a device that's mountable with fuse, and when /dev/lol is mounted it would trigger the fuse to mount [01:25] the problem is, you'd be mounting /dev/lol, which means it should have contents of some sort [01:26] which isn't really waht you're going for. [01:26] nope [01:26] short of a kernel module, or a seriously intense UDEV hack [01:26] (which is again, linux specific) [01:26] mm [01:26] I'd say you can't get a real chardev/blockdev to do it [01:27] but a cronjob that saves to /dev/lol will fake it well enough for most purposes [01:27] you could make /dev/lol a fifo buffer and have the cronjob feeding it through it.. [01:27] yeah, that was my thought [01:27] but then there is no point [01:27] that is better yeah [01:28] yeah [01:28] and you'd only be able to read it once, ideally. [01:28] why? [01:28] couldn't you make /dev/lol just a named pipe from your script ? [01:28] you could [01:28] <- mostlyharmless has left this server (Quit: They got some kind of freaky EMP down there! Getting clipped just saved your ass marine!). [01:28] why not have lolcats served over a unix socket? [01:28] well, next task: implement it, make a screenshot, then submit to ICHC [01:29] make /dev/lol a UNIX socket, and an ichcd [01:29] that's what I was thinking [01:29] and you can even use the RSS feed [01:30] then you don't need to parse the latest HTML [01:30] hell, this would take all of 5 minutes in Perl. [01:30] get crackin'! [01:30] but I'm busy with tinyurlfs! [01:30] oh fine, I can take a break. [01:31] in ichc they credit the photographer usually [01:31] ...do I get that credit ? [01:31] I think the channel gets the credit ;) [01:31] but I was the first to suggest: cat /dev/lol [01:31] but I'm implementing [01:31] let's just call it open source [01:32] silentcoder gets 10% of all profits [01:32] and stick everyone's names in AUTHORS [01:32] sounds good. [01:32] the rest goes to the community (#SPORKS) [01:33] what caption for the screenshot ? Just a blow-up of the command ? cat /dev/lol [01:33] (and probably include the URL for the program somewhere) [01:36] * shminux wonders if the whole brainstorming lolsession gets qdb'd [01:36] shouldn't. [01:36] but silentcoder will inevitably 'blog it [01:37] * cmantito resumes Perling [01:37] Myke: I could do that [01:37] also, I'm implementing this Perl style, which means I'm making a module for ICHC [01:37] apparently there is something like /usr/lolcat [01:39] don't care, busy with this ;) [01:39] will be the top download from CPAN? :) (Source: http://silentcoder.co.za/silentcoder/?p=317)