| [01:25] | * chreekat points to pitt22's residual image | |
| [01:26] | <chreekat> | That guy is interested in the port. Yay |
| [01:28] | <Yono> | chreekat: in C, typedef enum goes in main(), right? |
| [01:28] | <unknown_lamer> | Yono: No. |
| [01:28] | <unknown_lamer> | typedef's occur outside of function bodies. |
| [01:28] | <Yono> | before function prototypes then? |
| [01:28] | <unknown_lamer> | Yeah |
| [01:34] | <zion> | they can occurr anywhere |
| [01:34] | <zion> | unless thats a c++ only feature, which I doubt |
| [01:34] | <unknown_lamer> | Well |
| [01:34] | <unknown_lamer> | typedef can only occur in the global scope |
| [01:35] | <unknown_lamer> | So you can use enum by itself inside of a function |
| [01:35] | <zion> | I have typedefs in function scope |
| [01:35] | <unknown_lamer> | Hrm |
| [01:35] | <unknown_lamer> | That is a lie of the liberal media. |
| [01:35] | * unknown_lamer <== only uses C for school now, does Lisp the rest of the time | |
| [01:35] | <zion> | that might be a c++ only feature, but I would be really shocked |
| [01:35] | <unknown_lamer> | It probably is C++ only |
| [01:36] | <zion> | hrmmmmm |
| [01:36] | * zion tries | |
| [01:36] | <unknown_lamer> | Oh, I guess it does work. oops/. |
| [01:37] | <zion> | yep |
| [01:37] | <unknown_lamer> | Stupid me |
| [01:37] | <unknown_lamer> | Time for dinner. |
| [01:40] | <chreekat> | I was gonna say, I doubt there is anything special about the global scope |
| [01:51] | <unknown_lamer> | Well |
| [01:51] | <unknown_lamer> | It's not so much scope as where C allows things to go. |
| [01:51] | <unknown_lamer> | being the retarded language it is. |
| [02:25] | <zion> | thats a pretty bold statement about one of the most popular languages |
| [02:26] | <unknown_lamer> | It is. |
| [02:26] | <zion> | I assume that since you use lisp, you have become a zealot |
| [02:26] | <unknown_lamer> | It was designed on the PDP minicomputers. It is obsolete and shouldn't be used except for kernel programming. |
| [02:26] | <unknown_lamer> | No. |
| [02:26] | <unknown_lamer> | C is terrible. |
| [02:26] | <unknown_lamer> | C++ is only slightly better. |
| [02:27] | <zion> | and what do you consider a sane language? |
| [02:27] | <unknown_lamer> | Lisp, SML, |
| [02:27] | <unknown_lamer> | Haskell |
| [02:31] | <unknown_lamer> | Even something like Python. |
| [02:31] | <zion> | maybe you can help me get into lisp then... have been poking at it for a month or so |
| [02:32] | <zion> | I just don't get the various libs... how to install them and then use them |
| [02:32] | <unknown_lamer> | Common Lisp? |
| [02:32] | <zion> | have sbcl installed |
| [02:32] | <unknown_lamer> | Debian handles all of that for me |
| [02:33] | <zion> | I get the language, I just don't the 'system' |
| [02:33] | <unknown_lamer> | Yeah |
| [02:33] | <zion> | and if its not in debian? |
| [02:33] | <unknown_lamer> | I let Debian's common-lisp-controller deal with package installation and stuff |
| [02:33] | <unknown_lamer> | Well, I don't do much CL |
| [02:33] | <unknown_lamer> | I spend more time with Guile |
| [02:35] | <zion> | what I need is a "how to use lisp in the real world" doc |
| [02:35] | <zion> | all of them are purist/academic |
| [02:36] | <unknown_lamer> | paulgraham has stuff on that |
| [02:36] | <zion> | how do you manage large projects? |
| [02:36] | <zion> | a decent build system? |
| [02:36] | <unknown_lamer> | Modules |
| [02:36] | <unknown_lamer> | + something like scons |
| [02:36] | <unknown_lamer> | www.scons.org |
| [02:37] | * zion looks | |
| [02:38] | <zion> | ah... its yet another make |
| [02:39] | <zion> | I have no issues with make |
| [02:39] | <zion> | or... another unnecessary dependency for users |
| [02:39] | <unknown_lamer> | Yeha |
| [02:43] | <zion> | I guess my problem with lisp is that it lives in its own little world outside of the rest of us. there is not ./configure && make && make install |
| [02:43] | <zion> | or at least a compliment |
| [02:43] | <zion> | and that is a *huge* con |
| [02:44] | <zion> | so... while lisp might be the ideal language, if it can't interface with the real world then its next to useless imo |
| [02:50] | <unknown_lamer> | Maybe. |
| [02:50] | <unknown_lamer> | The real world is overrated. |
| [02:51] | <Yono> | lol |
| [02:56] | <chreekat> | lisp's problem, from my limited view, is that side-effects are a hack. But, maybe it was just introduce to me that way. |
| [02:56] | <chreekat> | Really, I haven't seen it outside of one language class, and a little tinkering on the side |
| [03:06] | <unknown_lamer> | chreekat: You don't need side effects. |
| [03:06] | <unknown_lamer> | just create a new value |
| [03:07] | <chreekat> | I meant side-effects that affect the machine state. read/write files, ports, register bits, |
| [03:08] | <chreekat> | Of course, now is when you tell me such things are amply provided for by methods with which I'm not familiar. :) |
| [03:08] | <chreekat> | ack! I'm ignoring my school work again. |
| [03:08] | <unknown_lamer> | Reading and writing ports/streams is easy. |
| [03:08] | <chreekat> | bbl |
| [03:09] | <unknown_lamer> | But like ... modifying machine registers is bad style. |
| [03:09] | <unknown_lamer> | If you have to do stuff like that then you should write that low level code in C |
| [03:09] | <unknown_lamer> | and bind it into Lisp. |
| [23:01] | <sgomes> | hi all |
| [23:01] | <gernika> | hi sgomes |
| [23:02] | <noiz> | hey sgomes |
| [23:03] | <sgomes> | hey gernika, noiz :) |
| [23:03] | <sgomes> | oh man, can't believe I missed the lisp/c/c++ discussion |
| [23:05] | <mbishop> | hello sgomes |
| [23:06] | <sgomes> | hey mbishop |
| [23:06] | <mbishop> | are you the same sgomes I know from #hackermind? |
| [23:06] | <sgomes> | hmm, no |
| [23:06] | <sgomes> | there's anotther one? |
| [23:06] | <mbishop> | oh, hmmm |
| [23:06] | <sgomes> | jeez |
| [23:06] | <mbishop> | you don't know lattera do you? |
| [23:06] | <sgomes> | nope |
| [23:07] | <mbishop> | guess I'm thinking of someone else |
| [23:07] | <sgomes> | was it here on freenode? |
| [23:07] | <mbishop> | #hackermind was on another network |
| [23:07] | <sgomes> | ah, ok |
| [23:08] | <noiz> | anyone know if theres a way to mount a .bin file in linux instead of burning it on a cd? kinda like how you can mount a .iso file |
| [23:08] | <mbishop> | loopback? |
| [23:08] | <mbishop> | think that only works for .iso though |
| [23:08] | <mbishop> | there are bin2iso converters I believe |
| [23:08] | <sgomes> | I think you need cdemu |
| [23:08] | <sgomes> | or yeah, you could convert |
| [23:09] | <noiz> | and what about a .img file, could i mount that |
| [23:09] | <mbishop> | portage has bin2iso, dunno about .img |
| [23:10] | <sgomes> | hmm, I don't think cdemu works with .img |
| [23:10] | <sgomes> | anyway, cdemu is a bit of a hack |
| [23:10] | <sgomes> | it's a kernel module |
| [23:10] | <sgomes> | never compiled properly for me |
| [23:11] | <sgomes> | I just gave up and converted the file to iso |
| [23:11] | <noiz> | googling said this should work, "mount -o loop foobar.img /mnt/image" |
| [23:11] | <noiz> | think it would? |
| [23:12] | <sgomes> | no harm in trying, I guess |
| [23:12] | <sgomes> | it does work for floppies |
| [23:12] | <sgomes> | no idea about CDs though |
| [23:12] | <noiz> | well, its kinda being downloaded, but its totally "legal" since i did own the cd, its just scratched now :( |
| [23:13] | <sgomes> | you can always convert it if it doesn't, no problem there |
| [23:15] | <noiz> | k |