Slashdot Mirror


User: cloudmaster

cloudmaster's activity in the archive.

Stories
0
Comments
2,312
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 2,312

  1. Re:OUTRAGEOUS cost on Michigan Police Could Search Cell Phones During Traffic Stops · · Score: 1

    Plug it in, and start writing up that seatbelt ticket. In 1.5 minutes, you've got all the data and can peruse it later.

  2. Re:Why are there still shell scripts anyways? on Book Review: Linux Shell Scripting Cookbook · · Score: 1

    People always hold Bash up as the pinnacle of shell scripting capabilities. Those people should try ksh93 sometime. The ksh coprocesses are really nice, and with ksh93 you get things like variable namespaces, keystroke bindings, good performance (it's actually faster running shell scripts than most other Bourne shells), and the ability to load in C-compiled modules (and shell functions) at runtime. So you can do stuff like writing a simple LDAP module in C which exposes functionality as native shell functions; most of the slow in shell scripts comes from having to fork and exec external programs repeatedly; if you learn how to use the string manipulation stuff, control $IFS and use read, and learn arrays, you can do amazing stuff with pure shell. Bash has cool stuff, too, but it's all (aside from some near-worthless things like that really annoying >& redirect Bash has) in ksh93 as well. I've personally written some multi-thousand line programs with the Korn shell which can get performance on-par with well-written Perl programs.

    Anyway, AT&T put ksh93 under a decent license, so most distros actually have a good korn shell available now (pdksh is *not* a good Korn shell). It's worth trying out for shell scripts. Bash maybe has the upper hand in interactive use due to programmable completion, but then zsh comes along and beats Bash for that too. Besides, Bash's vi mode is awful. :)

    Regarding perl's complexity and tendency for errors, every perl script under any kind of development should have "use strict; use warnings;" at the top, and should have "perl -c" run repeatedly until it doesn't complain at all. ;)

  3. Re:Them new DE's, man on 5 Out of 11 Crashed Unity In Canonical's Study · · Score: 1

    All they need to do is come read Slashdot - everyone here knows exactly what's wrong with all the desktop environments. I guess everyone here took that one-hour UI course.

  4. Re:Why are there still shell scripts anyways? on Book Review: Linux Shell Scripting Cookbook · · Score: 1

    Because I don't want to pay for more RAM in my device just because you're too lazy to use the right tool for the job? :)

  5. Re:Why are there still shell scripts anyways? on Book Review: Linux Shell Scripting Cookbook · · Score: 1

    You listed the options backwards. Most UNIXes (you might be shocked to find that Linux isn't the only Unix variant people use) do not ship with Python, and I do everything I can to avoid having Ruby installed on even my Linux systems. And while I love perl, you are the first person I've heard describe its syntax as sane. :)

  6. Re:It's a sports car, not a family car on Top Gear Fights Back At Tesla · · Score: 1

    Because everyone is exactly the same everywhere under all circumstances. Now pardon me while I go drive my 534 flywheel horsepower truck to the grocery store - we're out of cranberry juice.

  7. Re:What's funny is on Drug Runners Perfect Long-Range Subs · · Score: 1

    Specifically in "fun quantities" as I mentioned - a glass of wine with supper isn't "fun" - it's just good. ;)

  8. Re:What's funny is on Drug Runners Perfect Long-Range Subs · · Score: 1

    Can you find the place where I suggested that alcohol was good for you? :)

  9. Re:What's funny is on Drug Runners Perfect Long-Range Subs · · Score: 1

    Palm Pixi; iPhone is too manly of a name for me. :) And, now that I'm on a real computer, I will need to bookmark that image. :)

  10. Re:What's funny is on Drug Runners Perfect Long-Range Subs · · Score: 1

    Are you actually trying to have a serious argument about whether or not "legalize it" would save crackheads money? That wasn't a serious comment, but, well, OK. :/ Accepting that this is now a valid, let's consider that the price of a dime bag does not currently include the cost of keeping prisons open, so we can ignore that (and the cost of retraining police to focus on other ways to harass people) until the discussion inevitably shifts to the cost to society. The proposed taxes would make things more expensive to the consumer, not less. Paying inspectors is also something that would increase the cost of production and the cost of a product. And enforcing cleaner production methods would also cost more, which gets passed along to the customer.

    So, those are all good arguments that the price will increase. Now try making some that the price will decrease. :) Hint: decreased importation costs would be a good one. Volume production without having your factory blown up or burned down every few years would also be a good one.

  11. Re:What's funny is on Drug Runners Perfect Long-Range Subs · · Score: 1

    The price would still be astronomical, but if they were legal it'd be because of all the lawsuits people would bring due to all of the side effects of things like Cocaine or Meth or whatever / all the extra regulation that'd go into their manufacture. Mary Jane may be pretty much fine, but the bulk of the others are not just illegal; they're super bad for you in any kind of fun quantity. And right now they can be made in the bed of a pickup truck by a guy losing hair into the mix; it'd cost a tad more to make if you required even minimal things like "a building" and "hair nets".

    I'd honestly bet that illegal drugs legalized and regulated would very likely cost the same or more as now.

  12. Re:Lesson... on $110,000 Fine Is First Under MA Data Privacy Law · · Score: 1

    I meant easier for the government. I pay taxes on /my/ income, so I'll be damned if I'm gonna leave cash for a waiter just so he can cheat on his. Waiters can just learn to cheat their taxes through abusing the complex tax code like the rest of us.

  13. Re:Lesson... on $110,000 Fine Is First Under MA Data Privacy Law · · Score: 1

    Depends on the restaurant; some place have each server log in and take the cards so the tip definitely goes to the right place - and their taxes are easier. Other places, where they just have the cheap card reader separate from the register, may not get stuff properly distributed.

  14. Re:What about CentOS? on Red Hat Nears $1 Billion In Revenues, Closing Door On Clones · · Score: 1

    Isn't it past your bedtime, Grandpa?

  15. Re:So... what? on University Switches To DC Workstations · · Score: 1

    120 Amps? What kind of little girl's car do you drive? The [admittedly oversized] battery in my station wagon is rated at 1200 cold cranking amps / 1350 cranking amps, and even the smallest car batteries are in the 500-600A range. You're more in-line with the puny little battery in my motorcycle.

    But yes, with a sweaty arm leaning on the positive terminal you can get a minor tingle.

  16. Re:accesibility standard: no javascript on Advocacy Group For the Blind Slams Google Apps · · Score: 1

    If only there was some sort of Interface, perhaps one which used a Common Gateway, through which web pages could communicate with a server.

    Logic doesn't have to be on the client side. In fact, given that web apps are usually called "thin clients", the work should be done on the server side. :)

  17. Re:Disabled people on Advocacy Group For the Blind Slams Google Apps · · Score: 1

    As if accessibility is the only thing people don't do which are actually easy. Standards compliance, interface adherence, etc - these are all things that your typical half-ass developer screws up, either because they're lazy or they don't know about those things. Accessibility probably falls into one of those two things way more often than bloat - particularly considering how many programs don't care about efficiency either. :)

  18. Re:PLATO chuckle! on Gates' Future of Education Straight Out of '60s · · Score: 1

    I hated PLATO (which was, to be fair, most likely actually hatred for the garbage content which poorly used the system), but I remember being amused by AIDS.

  19. Re:Slef-paced education is not a panacea on Gates' Future of Education Straight Out of '60s · · Score: 1

    My school didn't have any kind of advanced classes. Through 6th grade, we just had "classes". Starting in 7th grade, we had "dumb" and "not as dumb". I had the outstanding opportunity to study in the less dumb courses. When I got to college, I heard people talking about AP courses and such, and it took me a while to finally put together that these were advanced courses that some schools offer; it's not like anyone ever explained what they were, since most people were from places with larger populations (obviously) and just assumed that everyone knew about these things.

    Meanwhile, in college I learned just enough to be able to better identify what I don't know. That's what I got out of college - practice locating information which can start actual learning. Too bad they don't just offer that for a couple of semesters instead of demanding that you slog through the crap they feed people for 4-5 years.

  20. Re:this is why i never buy movies or music on Man Arrested For Linking To Online Videos · · Score: 1

    Ok, that'll be just fine by me. I don't care how much fun some people I don't know are having while they play a game, nor do I care which of those people wins the game.

  21. Re:Making the Same Bad Assumptions, Over and Over on Man Arrested For Linking To Online Videos · · Score: 1

    Please stop using the term "throwing your vote away" - that's a self-fulfilling prophecy, and people who believe that are the reason we have the problem we currently have. Damn it, nothing gets done when people think that the most important thing is making sure that they vote for the person who wins. :)

    Every vote counts, even if you're not Kevin Costner in that stupid-ass movie (Swing Vote?) from last year. But please vote as if you are.

  22. Re:Misleading Title on 41% of Facebook Users Willing To Divulge Personal Info · · Score: 1

    Facebook does have the capability to do grades. You can create groups, and set up permissions based on group membership. I do it with a couple of groups - mostly to segregate some information from friends I'm not that close to or who I know are computer illiterate and will get every possible virus.

  23. Re:After convictions, ok. After arrests == bullshi on DNA Testing Proposed For All Felony Arrests In New Mexico · · Score: 1

    Because once it's in the papers, it's the truth.

  24. Re:You overlooked something... on US House Subcommittee Votes To Kill Net Neutrality · · Score: 1

    Actually, the point was that the people who are 20 now are overall too lazy to actually get out and vote; the only way they'll change things is if they can stay at home and click buttons, etc. I figured that surely someone with a handle of TheOldFart would catch that. :D

  25. Re:You overlooked something... on US House Subcommittee Votes To Kill Net Neutrality · · Score: 1

    That will only work if we get some kind of online voting.