| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Comments:
<0> heh <1> Liandrin: yeah, I hate programmers like that <1> readable comes BEFORE efficient in the priority scales <0> havent seen that one yet. *reads* <2> http://video.google.com/videoplay?docid=-3448226638968914883 <1> admitedly, there's a lot of hard-to-read java out there <3> tavi-san: will you help me. or you have got bussy with some other. Asking because i was waiting here. <4> Do I hear Java? Speaking of which: I just managed to setup my first threading cl*** 8) <0> Lion-O: OUCH <0> Liandrin: ^^ <4> Ph33r: if (message.contains("tutor")) { irctutorial irctut = new irctutorial(channel, sender); new Thread(irctut).start(); } <5> smsie, s/cud/cut? <1> vIkSiT: yeah, that <5> but awk '{ print $1 " " $2 " " $3 }' works much better!
<0> Lion-O: w00. now make that code threadsafe :P <1> ssta@yaffle:~$ echo "1"| cut -d " " -f -3; echo "1 2 3 4 5"| cut -d " " -f -3 <1> 1 <1> 1 2 3 <1> works the same <1> if you prefer awk, use awk <4> Jostein: hm, hm :P <5> smsie, ah, but that very command didn't work on the pasted file i put above <5> i was getting junk <5> as in, random lines <1> vIkSiT: depends what your delimiter is <0> Lion-O: your code is -horrid- though <4> Jostein: is it? <5> yeah, i think the problem might've been with some doublespaces and some singles. a s/ / /g made it work though <0> Lion-O: you dont store the reference to the thread, so you cant control it later on, if it becomes necessary :P <1> most code is horrid <2> Jostein: if you think that is bad, don't look at http://dev.kfwebs.net/log.sh.txt <0> Lion-O: like thread.kill at application exit <4> Jostein: actually I can. The thread's name is "irctut" which should be managable. <0> Lion-O: still doesnt sound very "clean" <4> Jostein: besides; thread.kill (Thread.destroy()) routines are obsoleted anyway these days. <0> K_F: which is why I dont code bash for a living>:) <0> Lion-O: not in my apps, they're not *grin* <4> Jostein: eeew :P According to this jdk documentation that can lead to deadlocks. On java anyway 8) <0> Lion-O: oh well. Java is OK ish, but I havent coded anything in java since J2EE :P <1> hat do you mean "since"? <0> well. Ive heard about "java 5" or some crap lately <1> so? <0> whatever Sun's versioning system means <1> that's still j2se and j2ee <6> Sun's versioning -****s- <0> I just figured that it had evolved, thats all <1> j2ee is just "enterprise edition" <0> smsie: fine. since version 1.3 something <1> 1.5 is really very nice <1> adds stuff the lnaguge badly needed <1> not enough stuff, but it's an improvement <0> well.. finest thing I saw in 1.3 was that java.awt was finally obsolete/deprecated :P <1> java.awt is still there though. and frankly, swing isn't a lot beter <1> the java gui model ****ing ****S <0> I like having the layouts IMHO <7> swing rulez :D <0> much better than the pixelwise layout stuff they do in .NET <0> even though .NET is finally getting some layout-ish containers as well <1> Jostein: layout managers universally **** in java <0> so... what's the -nice- stuff you're talking about? <1> templates <1> enumerated types <0> enumerated types rule <0> I love those :) <8> i need some decoder music for linux pls <9> i just instaled linux slackware i'm booting whith lilo i chose linux booot i loggin to root and then type start x and nothing ny notitor goes black what;s wrong some help plz <0> smsie: any delegates / method pointers yet? <0> One of my favorite language hacks ever <1> Jostein: java.lang.reflect is about all <1> which isn't the same really <0> oh well. <0> the 100% guaranteed always threadsafe trick I learnt today, utilzed a generic, on-the-fly generated function pointer <0> sounds dirty, looks neat <9> i just instaled linux slackware i'm booting whith lilo i chose linux booot i loggin to root and then type start x and nothing ny notitor goes black what;s wrong some help plz <0> Sim_Paticul: how about configuring Xfree, ey? now read some docs
<0> Sim_Paticul: Im pretty sure the slackware manual mentions this very specific part <1> dirty tricks are generaly bad <0> smsie: allow me to rig a demo. this one aint <8> i need some decoders for music pls <1> mainly because I'm a crap programmer and in 6 months time, I won't have a ****ing CLUE how that neat trick I did works <1> so I comment LOTS, I document LOTS, I aim to write code that most anyone with any programming experience can read <8> ok ok <1> if a crap programmer can read it easily, that's perfect...means when I have to maintain it later, I won't have any problems <1> I think I'll go get some food <10> smsie: need food too!!! <0> smsie: http://omega.ed.ntnu.no/~kjonigse/threadsafe.cs <1> tavi-san: eat your left testicle <0> smsie: pretty clean, ey? :P <5> hmm .. double sided printing with lp - i was wondering if its lp -zduplex, lp -o duplex or lp -2 -o 'duplex 2up' ? <11> Option "ZAxisMapping" "4 5" <11> is this the correct spelling? <1> Jostein: can't say I understand it, but if you say so <5> (i don't have enough sheets to test on!!) <12> guys need a minor help using cfdisk in slackware 10.2.....i had multiple partitions specifically 3 for fat/ntfs part... when i tried to create 2 create 2 partition 1 for the root and a swap.it can only make 1 partition 1 for the root the other is unusable...cre to help? <0> smsie: basicly its a neato way to make -any- code threadsafe. the key being the "delegate" which is a function pointer <1> Jostein: I'll take your word for it <0> smsie: anything inside the inner brackets will be clean. <0> best freakin' C# trick I've ever seen <3> i am facing problem on my network for the voice on msn messenger. here is the script of my iptables for msn please need help. http://paste.getlinuxhelp.org/2030 <0> lets just say MS's recomnded/documented way involves 10 times more code, and you may see why I appreciate it :) <10> smsie: that was mean :) <0> tavi-san: nothing on irc is mean :P <0> Sarthor: didnt you just say so less than an hour ago? <2> Jostein: I think he did... :) <0> K_F: does the "polly want a cracker thing" work if spanned over an hour? :P <2> who knows.. <0> he can only get 3 types of beer. lol <0> K_F: sounds nice, ey? <2> Jostein: hehe <2> Jostein: depends what kind he can get in the first place <0> K_F: nordlands, grans and Macks <0> heh <2> bah <0> no Urquel for him <0> But then again, he only payed 420k NOK for a full house <0> still dont know if I'd say it's "worth it" <2> golden color.. <0> Hansa? <2> screw Hansa <6> hey whyzzyrd <13> evening. <0> K_F: then I have no idea <2> me neither, can't remember the name <0> K_F: aas? <0> CB? :P <2> some pilsner anyways <0> yeah <6> Strider: those never really go away, they just go into hiding... <14> Liandrin: precisely <0> Strider__: I dont. Unless they show up again in the weekends and require immidiate attention :P <15> Jostein: this is a system we're sending off to Tanzania... <6> a bug that "goes away" is comparable to a depth charge or a land mine or a time bomb <0> Strider: ow <6> some day, when you're least expecting it, and when you also don't have time to -do- anything about it, it -will- come back to bite you on your ***, -hard- <15> (it snowed last night, and the hill was slipery) <15> cute sounding girl from Bahgdad mind you <0> Strider: "cute sounding"? that never ends well <0> *grin* <15> Jostein: eh, she's in the army... <8> boys if i downloud some decoders from internet on the hardware haw can i instal it ? <15> there's a certain level of physical fitness required. :)
Return to
#linux or Go to some related
logs:
injektah site:www.quotesdb.info rotards
teman tidur x11-drm not working #php how to install linuxdcpp on debian #skype #linuxhelp #linux #skype
|
|