| |
| |
| |
|
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
Comments:
<0> bet there is a module for it though ;) <1> __Ace__ - are you *still* obsesssing <1> please stop. :( <0> obsessing? <1> Yes you can do CS101 in Perl <1> should yo, probably not. <1> get over it. <0> ? <1> the P in Perl stands for Practical <1> if you have a real world task that needs optimizing, ask the question <2> Pasta <1> bringing your baggage in here doesn't help <3> __Ace__: do what you want... just realize that Perl is a language that abstracts those kinds of things for you <4> For CS101 in perl see Mastering Algorithms with Perl by Orwant et al. <1> exactly <1> been there done that
<4> bought the t-shirt <5> Maybe I should read that. <3> ate the gravy? <4> heh. <0> um, yea, but I love working in Perl.. although it may be best do to some kind of binding to C if one wanna do a LL <1> WHY do you want to do a LL!? <1> ARGH! <4> __Ace__: perl is all about AVOIDING that kind of pain. <1> stop it <3> merlyn: because they are cool! give it up! <1> LL is just a strategy <0> I was just asking cuz of http://perlmonks.com/?node_id=30939 <1> and Perl has better strategies <1> Stop obsessing on the opinion of one node. <1> it's just an opiunion! <3> use a profiler if you think performance is bad <0> man, someone woke up on the wrong side <6> I know I did. <3> otherwise <theo_de_raadt>stfu and code</theo_de_raadt> <0> but thanks for feedback <1> you're guilty of prmature optimization <3> merlyn: what if the goal is learning? <1> then get that book from orwant <1> but don't talk about it like "I need it for speed" <1> show me the profiling output before you got there <3> you can't learn from a book alone <1> Right. get the book, play with it <1> but stop talking about it here like "perl's not fast enough... I need LL" <1> I say show me the profiling <0> I wasnt saying that <3> well, if you are worried about speed, perl isn't the lang anyways <7> pravus: unless for you speed means time spent writing+time spent running <1> Well - yes, Perl's just fine <1> but you need to optimize only WHEN you need it. <3> dondelelcaro: true... i was talking execution speed though <0> obviously, if the array would be > 1000000 I would surely use some kind of db anyway <1> write the code, get it right first. <1> then profile, and see where you NEED to fixt things <1> odds are, you're talking network these days anyway <7> pravus: I suppose; but I'd rather have results faster. ;-) <1> and it's not you that's the bottleneck <0> so much data -> so much mem used <1> if you're worried about mem, use PDL <1> PDL buils compact data structures <0> cool <0> gotta check it out <0> ah <1> But Stop With The LL Talk <1> please. <0> what? I offended you? <5> YES <0> um.. sorry then <4> The Global WE is Offended. <4> 24 DEMERITS! <0> really? <0> damn <5> (__Ace__)-- <4> 100 DEMERITS and WE CUT YOUR CL*** TIE! <0> Tie::Ace ? <3> going once... going twice... <0> hmm
<0> why isnt there a op here? <0> *an <3> __Ace__: who needs ops? <0> ab, nice. "we're all on same level" <0> *ah <4> one will appear should one be needed. <4> it's magical <3> not really... you will be +b'd if you step over the line <3> but it's fairly rare <0> my god really, I didnt really expect anyway to be offended by that <0> *anyone <0> actually, Im all for Perl :) <3> __Ace__: i don't really think anyone took offense <0> hmm <3> at least, i didn't... but i have no personal stake in perl either <7> we're just violently interested in you doing the right thing, instead of wasting your time. <4> DBD::SQLite::db do failed: not an error(21) ?!??! <0> actually, Im doing stuff almost always in Perl.. <3> cfedde: 21 is a drinking age... not an error... ;} <4> pravus: apparently so. <0> most of the time I dont need to control every byte <3> __Ace__: perl kind of dictates a different philsophy on solving problems <0> yea? <3> __Ace__: i came from a primarly C background and it took me a while to think in perl <0> can you elaborate? <3> the way you solve problems is just a bit different <3> one thing: there are no character arrays <3> you can emulate them with split //; but that's normally not needed. <3> you find other ways to solve problems... perl ways <3> you bend perl to your will <3> when it wants to bend that is <0> the thing with Perl is that you can concentrate more on the problem to be solved using perl than other problems using i.e C <3> __Ace__: yeah. you tend to think higher-level in perl than in C <0> yea <0> but a C background can be good to have <3> it's a bit different... and i'm still adjusting <3> personally, i think a C/asm background is great, but i'm not always in the majority on that one <2> a black background is the best <2> easy on the eyes <3> now we just need the black language <1> I hate reading light on black <1> I hate websites that force that on me <1> I hate even more, onces that force $random_light_color on black <0> actually, websites with white background are easier to read on when its daylight <1> or even $random_light_color on $ugly_contrasting_dark_color <3> i prefer a light background... unless it is a terminal window <4> even then. <1> I'm typing this in a terminal window that is black text on white, which is absolutely my choice. <0> mirc's default ;) <3> merlyn: for some reason i cannot stand that... *shrug* <5> Ouch, I like light grey on black background - so much easier on the eyes. <3> ahh... the memories of mIRC... how i used to hack thee <3> dec++ <8> I have black on #CCCCC for webbrowsing and a browser that forces that on all webpages, I find it easiest to read <1> maybe it's because I read a lot of *real* paper as a kid. :) <8> although my IRC is a slightly lighter grey background <3> white on blue is not bad though <4> I like light amber on black. especialy if I can get light diagonal sync lines across the screen. <0> I love pink on yellow <0> lol <4> though phosphor green is fun too. <3> amber, grey, green on black is good for me <1> red on green! <4> Yowza <5> (Christmas theme)++ <3> i need to get my terminal working again! <1> "my eyes - the goggles do nothign!" <0> btw <4> I like ink on paper pulp <5> merlyn++ #simpsons references <0> something totally not perl related.. anyone here know a shell which one can "maximise" in windows? <0> aka cmd <3> __Ace__: cygwin? <0> hmm
Return to
#perl or Go to some related
logs:
ubuntu www-data bash_profile #gentoo xorg +xmanager simcop what is? ethernet fc5 ADDR CONF(NETDEV_UP): eth0: link is not ready ERROR 2002 HY000 Can connect to local MySQL server through socket /var/run/mysql after logout ati xpress 200 ubuntu belkin fd7050 ubuntu uninstall ie4linux what use port 80 ubuntu
|
|