| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Comments:
<0> Yaakov: Shiira... haven't heard of that one <1> well, not so much "other things". C is actually a very simple language ;) <2> simcop2387: Safari has its troubles but it isn't the nasty pig that firefox is. I use IE with Windows and Safari or Shiira with OS X <3> Paladin`: think quick and dirty <2> simcop2387: OS X only, very nice. <4> pravus: think wrong and broken <0> Yaakov: hmm i'll look into it, too bad i can't use it <2> simcop2387: Uses webkit, so it is 80% Safari. <4> >:> <3> Paladin`: depends on how much time you want to spend on a job. if it only runs once and works good enough ;) <0> FINALLY php is done building <2> simcop2387: Soon you will be able to download a cracked version of OS X! <2> simcop2387: And run it on your Intel box. <0> Yaakov: not until it can do xen virtualization <5> cracked version of an OS??
<1> eDhat: you say this like it's a new thing <0> actually... you might be able to do taht with OSX <5> yeah, i never knew about that <2> The main thing will be drivers, since they are certainly going to limit the hardware support. <2> But with Darwin out there already... <0> thats where xen virtualization comes in <2> I run Linux on my prosthetic spleen. <2> It keeps locking up. <6> hmm suddenly I wish I was using Haskell :P <7> kernel panics: not good <8> Khisanth: omg lisp is better <6> no it isn't <1> sili: not <8> Khisanth: yes it is <8> Khisanth: it does everything haskell does <8> and if it doesn't, you could add it real easy! <3> is there something called "defun" in lisp? <8> except for stronger typing... that'd be tricky <8> plus it'd be pretty slow <8> so maybe lisp does **** :( <9> pravus: yes? <0> lisp is teh <blink>****</blink><antiblink>hotness</antiblink> <9> (defun is in elisp and common lisp ; define is in scheme) <2> I can't understand Lisp. <8> Yaakov: it's omg easy <2> All the keywords are slurred. <0> Yaakov: take normal code, add about 4,000,000 parenthensis <9> lisp is fairly parallel to perl <9> (defun foo () 2) <--> sub foo { 2 } <3> bpalmer`: ahh... i knew about define <3> for some reason every time i see the word lisp, defun pops into my head <2> (((((((((print("hello"))))))))))) <8> Yaakov: ! <8> (format nil "hello") <8> or something. <0> unlambda for all! <2> I need to invent a language. <8> Yaakov: can i help? <2> I will call it hobbs. <0> Yaakov: make it fun like unlambda <0> Yaakov: make its implementation called calvin <1> yay. fame. <2> I can't beat Piet, though. <0> the first implementation anyway <1> simcop2387: no, "calvinball" :) <2> Piet is too great. <0> Piet? <10> lisp is only good for writing emacs macros. <1> simcop2387: it's an abstract-art programming language <0> ah oh yea that one, i've been wanting to play with that one <9> does it support dada? <0> alter it to be useful for stenography <1> bpalmer`: there is only de stijl! <2> stegonography? <1> stenography is something entirely different ;) <2> Yes, quite. <2> Though there were a lot of nice stenographers. <9> a lot of mean ones, too <11> Johann Gutenberg comes to mind <12> If we don't save the result from fork is there any way to determine if we are parent or the forked child? <11> he was a right bastard
<12> (and don't save our PID from before the fork) <1> var1ety: don't throw away useful information :P <12> my situation is like this : in this codebase we fork a process to run a long function. this function has its own error handling and on an error doesn't return to the controlling process. If we're a forked process I'd like to mail the information, but I have to determine this without the help of anything from the time at which I first forked. I was thinking that maybe I could examine STDOUT/STDERR to see if they're pointing at /dev/null <13> var1ety: Don't you only call the function in the child? <12> buu: it's sometimes called by the parent. It's confusing, and it wasn't designed with forking in mind. <8> i like how php leaks like a bitch and eventually all the apache processes are 120mb <2> Shabbos is nearly here. <1> var1ety: so why can't you just change it to keep the return value of fork again? <14> sili: not very memory efficient, is it <1> var1ety: or even do $::XXXHACK_THIS_IS_A_FORK=1; as the first line of code in the child :) <8> SimonRaven: it's the ****ing worst <8> i ****ing hate php <12> hobbs: Is that the syntax to access a global variable from a module? <14> even mod_perl on a bad day does a better job <15> using Getopt::Std, getopts('oif:'); gives all boolean arguments. Does getopts(':oif'); make them all non-boolean? <8> rasmus and andy are a ****ing joke <8> die bitches <1> var1ety: yeah. Well, more or less <12> hobbs: Thanks, I think that would be the best solution in this specific instance, so I will look further into that. <15> nevermind, i see how it works now <16> perldoc splice <17> perldoc -f splice <18> The perldoc for splice is at http://perldoc.perl.org/functions/splice.html <16> ah, ok <19> >> <19> scheme is deceptively hard to parse <16> I need help with splice: http://paste.ubuntu-nl.org/8456 <19> uhh <19> splice(LIST, START, NUMBER) <19> not splice(LIST, START, END) <20> does LWP:: have a http server? <19> splice(@array, $x, 1) # removes 1 element, starting at $x <1> Pete_I: no, HTTP:: does :) <20> right, right, thanks <1> Pete_I: or better, POE:: does (it's so nice, you don't even have to understand POE to use it, and you _also_ don't have to worry about methods for forking) <20> ok <1> that's PoCo-Server-HTTP of course. It's like a baby apache! <0> who wants a free webmail account that can't send or recieve SMTP traffic? <1> simcop2387: so it's only good for talking with other people on that service, is that the idea? <16> I need help with splice: http://paste.ubuntu-nl.org/8456 <1> pianoboy3333: you need to not repeat and read the answers you were given <19> hobbs: nah <19> oh, wait, nevermind <19> I misread that <19> pianoboy3333: I answered you already <0> hobbs: no it can't even do that currently <19> the format is splice(LIST, START, COUNT), nor splice(LIST, START, END) <0> hobbs: if i could get real SMTP out i'd set it up to come in <19> *not <1> simcop2387: oh. heh. I thought you meant this was a _feature_ ;) <2> ELLY <2> DON'T DIE SOON <5> any one have a hacker game script? <2> LOVE, <2> YAAKOV <0> hobbs: nah, mostly a PITA because of spam, if i can get it setup to send and recieve mail i'll give a few people accounts because it can also do calendars, notes, tasks and other things like that <19> YAAKOV <19> OKAY <19> LOVE, <19> ELLY <2> Yay! <5> so anyone have one? <19> eDhat: uhh...what does a 'hacker game script' do? <2> IT MAKES THINGS DO STUFF MOSTLY <2> OR NOT <5> its a hacker game (all text) <0> hobbs: i could however set it up to grab a yahoo account and provide you with IMAP access and webmail still, along with better spam filtering, but still the problem of sending mail :( <19> you could write one <19> Perl is good at text <0> well dinner time <1> simcop2387: I dig. But no, I don't need anything like that right now <5> Elly: i know, i just starting perl, so i would like some source to read from, and using that make one of my own :)
Return to
#perl or Go to some related
logs:
kde-devel livna #suse #oe #gentoo #sed bittorrent-curses quit runuo 1.9 bug #perl ubuntu missing gnome-config #centos
|
|