Slashdot Mirror


User: Camel+Pilot

Camel+Pilot's activity in the archive.

Stories
0
Comments
1,370
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 1,370

  1. Re:because perl is a pig that runs out of memory on Wicked Cool Shell Scripts · · Score: 1

    perl thrashes and crashes trying to crunch seriously large amounts of data.

    Insightful? What every is happeing to moderation these days.

    I have processed large (>300Mb) binary data files, demultiplexing floating point data and converting from big to little endian without a problem. Wrote a C program to do the same. Performance was with 5% percent.

  2. Re:Why shell? on Wicked Cool Shell Scripts · · Score: 1

    CormacJ what does bash have that perl does not? I am curious here.

    I cannot think of anything that can be done in bash that could not be done line-for-line in perl.

  3. Re:Why shell? on Wicked Cool Shell Scripts · · Score: 3, Interesting

    O.K. I will call your bluff!

    Show me a shell script that takes more lines of code to do the same job in Perl. Perl has many more features like grep, map, hashes, , symbolic references, etc. that make short work of simple tasks that do not exist in shell.

    More likely the reduction of lines of code would be converting from shell to perl.

    I bet your boss know shell and Perl and has (in my humble opinion) make the right choice in standardization.

    I would recommend that you spend a little time with Perl (or python or ruby) and bet you would change your mind in short time.

  4. Re:ldd `which perl` on Wicked Cool Shell Scripts · · Score: 1

    then you would not be booting in sh either...

    $ ldd /bin/sh
    libtermcap.so.2 => /lib/libtermcap.so.2 (0x4002a000)
    libdl.so.2 => /lib/libdl.so.2 (0x4002e000)
    libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
    lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

  5. Re:Why shell? on Wicked Cool Shell Scripts · · Score: 4, Interesting

    Well yes obviously perl would have to be in /bin, but I don't see what is wrong or difficult with that? I just looked and bash is over 600k so it is not like it is lightwieght or anything.

    Libraries other than the standard set of libraries are not be required for doing the simple tasks that shell scripts often do. I am sure the entire functionality of bash is well within the core of Perl.

    It's easy to have readable, reliable shell scripts with scoping, it's just not something you are used to doing apparently.

    No I admit I do very little in shell scripting mainly because I do not see the need. Perl supports many many features that ease program and script development.

    Also perl has builtins like open, readdir, socket, etc. In shell programming would you not have to do things like `cat file` to read file? Does this not increase the overhead of shell scripts by forking another shell?

    Eventhough my original post was mod'd flamebait it is not just a curious enquiry.

  6. Re:Why shell? on Wicked Cool Shell Scripts · · Score: 0, Flamebait

    Good question. I was just exploring rc.sysinit which is written in /bin/bash however some of the scripts in init.d are /bin/sh. Why is Perl not used exclusively? (or for that matter any of the higher level scripting tools)

    Perl has higher level programming constructs such as variable scoping, references, hashes, reg exp, etc that make programming some much more capable and readable, understandable.

  7. Darl McBride Doctor on 'They Can Sue, But They Can't Hide' · · Score: 3, Insightful

    What if you were a Doctor and Darl McBride was your patient? How would feel about treating him? Knowing that sooner or later he would sue you if you made the slightist miscalulation - like not ordering an entire body CAT scan after he complained of cold related symptoms.

    Also, Remember the lady that was supposedly stampeded at a Walmart sale around Christmas? Well it turns out that she has been pulling that stunt on several occasions and reaping a settlement each time. Would you like to treat her as a Doctor?

    There are, it seems people that are born to sue.

    The creation of this list is just a defensive reaction against are increasing litigious society.

  8. Re:No Surprise on SCO Postpones Lawsuit, Now Threatening Two · · Score: 4, Insightful

    each company they sue can countersue for defamation

    Unfortunately the worst enemy is one who has nothing to lose. SCO knows all their bases belong to IBM and if they lose (which they will) there will be nothing else left.

    This example should have people questioning the protection that a corporation provides. When it comes to reckless and slanderous behavior the liability needs to extend to the perpetrators personally and the officers of the corporation.

    If the board felt that their own fortunes could be threatened by Darl and crew's actions you would see some a very different course of events.

  9. Re:I don't think they quite get contract law.... on SCO Identifies EV1Servers as Linux Licensee · · Score: 1

    Well my company is in the process of looking for a new hosting server and EV1 was our top choice and we just removed them from our list all together.

    I could and would not (sorry I went to a Dr Suess birthday party this weekend) use our dollars to contribute to the legal defense fund of a greedy organization that is SCO...

  10. Re:My letter to them today (sent a few hours ago) on SCO Identifies EV1Servers as Linux Licensee · · Score: 1

    Don't be such a snob. It is open souce so grab the letter fix the spelling and grammer mistakes and republish for all to benefit...

  11. Something stinks about this on SCO Identifies EV1Servers as Linux Licensee · · Score: 4, Interesting

    If this was a legit transaction their stock price would be rocketing - however I just checked at the stock is langishing and even the volume is moderate. I suspect more details will emerge on this one and we will find out this like the "partner" announcement last week.

    In the meantime anybody hosting at this company? time to move away folks. I do not want to host my business at a company who lacks basic judgement.

  12. Re:Hmm... on Fuelless Flight with Air Submarine? · · Score: 3, Insightful

    "We humans can rarely invent any process that nature does not already use."

    Lets start with the wheel.

  13. Re:Is it just me... on Utah Leads the Way Toward RFID Privacy Legislation · · Score: 3, Informative

    Not to mention the best and insightful press coverage on SCO shenanings have come from Utah newspapers.

    I am not mormon but have lived in southern Utah (actually close to Colorado City) and I must say Utah is one of the best states in the union (just bring your own beer)!

  14. Re:The Real Reason for Patents on Amazon Sued for Patent Infringement · · Score: 1

    Umm Darl is that you? because the twisted non-sequitur logic sounds very familar.

    Patents take time and money to obtain. Large corporation acquire them by the gross where as patents are often outside the realm of an individuals or small companies.

  15. Pagerank rules on Yahoo! Vs. Google: Algorithm Standoff · · Score: 1

    Someone help me out here. Google heavly relies on pagerank and thus keyword relevance based on volume and quality of links pointing to you. Could it be that word density is completely irrelevant?

    Is this not a classic case of correlation not equal to causation?

  16. Relative Threats on Viet Dinh Defends The Patriot Act · · Score: 2, Insightful

    I think right now at this time and this place the greatest threat to American liberty comes from al-Qaida and their sympathizers

    Actually according to a pentagon report the greatest threat is from a changing environment and it's consequences on global societies.

    The terrorist threat is arguable greater today then it was 3 years ago. Fighting "terrorist" militarily is like squeezing a pimple it only makes it worse and takes longer to heal. Terrorism is best countered by emphasizing ideas (such as liberty , equality, education) and centering a foriegn policy more on these ideals then self-interest.

  17. Diet coke on Microsoft's Platform Strategist Speaks On Linux · · Score: 4, Funny

    Ah crap... when I read his McDonald's analogy I just blew mountain dew all over my "diet coke" workstation.

  18. Re:more information on Subversion 1.0 Released · · Score: 1

    Kudo's to these folks and the rest of the development team. I experimented awhile back with svn in the 0.8x days and was pleased with what I found. I have been waiting for 1.0 before I start the transition from CVS and Razor at work.

  19. Re:Will SCO Provide Indemnification on SCO Licenses Now Available · · Score: 4, Interesting

    This is a question I hope the press will be asking.

    Also I wish journalist would ask if SCOX is going to indemnify Unixware (or whatever their product is) customers against IBM claims of patent infrigement.

  20. Re:Also... on SCO Licenses Now Available · · Score: 5, Funny

    This would almost entice be to buy one of the licences (A much better risk/reward ratio then a share of SCOX). However before I would buy I would have to be ensured that if SCOX went broke that McBrib^des personal retirement account is attachable.

  21. Re:Correction... on U.S. Air Force Plans for War In Space · · Score: 1

    If one were to take the ratio of "women and children" to combatants killed by both sides to date who do think would have the higher ratio? In fact several of the suicide bombers targeted places were young people (kids) are concentrated.

    The Paletestian leadership are leading their people to hell and not to the future. You cannot foster and teach hate for a generation and expect good things. Again the Palestinians ruling class will not allow a dissenting or opposing view within their ranks. Anybody proposing constructive steps toward peace is considered a traitor.

  22. Re:Correction... on U.S. Air Force Plans for War In Space · · Score: 2, Insightful

    seriously consider non-violent solutions

    Been there done that. The ruling Palestineans do not want peace they want annilation.

    Israel does have a free press and does hold reasonable free and open elections something that no other middle eastern country can boast.

    Also, while there are moderate (even peacenik) Israelies there are few to none moderate Palestineans - Why? Because any moderate or peace loving Palestinean are executed as a traitor.

  23. Mod the parent up on Perl's Extreme Makeover · · Score: 1

    I am struggle with some wild-ass C code right now trying fix some old bugs. C can be as ugly as Perl anyday.

    One cool feature of Perl is introspection - or the ability to display the current symbol table of the name space (ie package) you are trying understand (ie %main::).

  24. Re:Broadcasting dead... on Space Burial · · Score: 5, Interesting

    Too bad getting getting your DNA sequenced still costs too much.

    Would be kinda cool to send the instructions to build youself out into the cosmos. I am sure one could calculate the probability of a significantly advanced live form to intercept your message and build a clone of you just for the heck of it.

    Hmmm i think i smell a great plot for sci fi story.

  25. Are you a "tinker" or "ankle biter"? on Windows 2000 & Windows NT 4 Source Code Leaks · · Score: 1

    Since OSS folks only come in two colors.

    If I was Mrs Darl McBride i would be mighty suspicious that Darl is having an affair with Laura. After all they seem to have access to the same drugs.