Slashdot Mirror


User: kwerle

kwerle's activity in the archive.

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

Comments · 1,635

  1. Re:Review Ruby for the perl enthusiast please on Ruby 2.0.0 Released · · Score: 1

    Yeah, sounds like the project is a rewrite.

    As for syntax changes, I think that 1.8 is forward compatible to 1.9 (though strings became UTF compliant?), so maybe some edges in there. Last time I tried my 1.9 app in 2.0.alpha/beta/whatever, it just worked. In general the language has been very forward compatible and the revs have only happened every few years. Rails has a history of slapping developers around for major releases, but for the progress they're making and with the historical support, I don't mind at all.

  2. Re:Review Ruby for the perl enthusiast please on Ruby 2.0.0 Released · · Score: 1

    I'm sorry you got handed a poorly written project.

    If you do a lot of number crunching, you might want to check out JRuby. Porting is often trivial, and number crunching (or adding pure java functionality) may speed things up a lot.

    But the first thing I'd do is write a bunch of unit (and integration) tests so that you know where you stand.

    Good luck!

  3. Re:Review Ruby for the perl enthusiast please on Ruby 2.0.0 Released · · Score: 4, Informative

    (sorry if this is double-posted - slashdot is choking)

    Perl is way faster. Like twice as fast. Check out my test:
    % time (echo | ruby)
    ( echo | ruby; ) 0.01s user 0.00s system 91% cpu 0.016 total
    % time (echo | perl)
    ( echo | perl; ) 0.00s user 0.00s system 84% cpu 0.007 total

    Though this is ruby 1.9.3. I don't think 2.0 is twice as fast as 1.9.3.

    But I've looked at ruby syntax a bit and it looks like it might have the advantage perl has for quick ad hoc text parsing but an overall cleaner syntax.

    What I don't care a lot about is fancy pants modules like rails. If I want to do something serious there's python.

    If you're happy shredding text with perl, I see no reason to change. If you're happy doing serious work with python, I see no reason to change.

    Ruby is a, dynamic, duck-type OO language with closures, exceptions, and a debugger.
    It has nice library infrastructure: http://rubygems.org/
    It is generally a little less popular than Python and Perl, depending on your yardstick: http://www.langpop.com/

    There are a few implementations of ruby, including one in java (with great bridging to java classes), one for iOS (with great bridging to iOS libraries), and one based on .net (with great bindings there). So if you have a particular target platform, one of those may interest you.

    But here's the cononical answer to your question:
    http://c2.com/cgi/wiki?PythonVsRuby

    You might be interested in JRuby and Jython and their ability to communicate...

    I code in Ruby for a living (Rails), and I think it's a really fun language. Which is something a fair number of rubyists say, and which is something you don't hear a lot of other folks say about their language of choice. For what that's worth...

  4. Re:Cool idea, but never happen... on NASA's Basement Nuclear Reactor · · Score: 1
  5. Umbrella? on al-Qaeda's 22 Tips and Tricks To Dodge Drones · · Score: 4, Interesting

    Seriously.

    I wonder why using an umbrella hasn't become a political statement in countries where drone strikes are a concern. A couple of 10's of thousands of black umbrellas with a picture of a fist, middle finger raised, printed on the top so they're all identical. Just leave 'em at the doors to be picked up by the next person leaving.

    And it protects you from the sun!

  6. Re:Isn't there an OS box that'll solve this? on Ask Slashdot: Dealing With an Advanced Wi-Fi Leech? · · Score: 1

    Thank you so much! I knew someone had to have invented this wheel. Looks like just the ticket!

  7. Re:Isn't there an OS box that'll solve this? on Ask Slashdot: Dealing With an Advanced Wi-Fi Leech? · · Score: 1

    Let me see if I've got this right - you want a Linux-based blackbox that does exactly what you want it to do, but you're not willing to make it yourself, based on your perception that someone else should have already done the work for you?

    Yeah. I can't be the first person to think this is a good idea...

    Methinks maybe you should just stick to Windows boxes.

    I don't have one of those. Do you think it'd help?

  8. Re:Isn't there an OS box that'll solve this? on Ask Slashdot: Dealing With an Advanced Wi-Fi Leech? · · Score: 1

    Yeah - I don't happen to have one of those routers. Which is why I'd love to see a disk image.

    You could also consider rolling your own solution, if you have a particular program or suite of apps in mind; basically, just install the distro of your choice, install and configure your apps, then add them to cron.

    Right. But this seems like such an obvious and common problem - everyone has a router and many many geeks have a server box of some kind - that it seems like there should already be a pretty full-blown solution without my having to roll one.

  9. Re:Isn't there an OS box that'll solve this? on Ask Slashdot: Dealing With an Advanced Wi-Fi Leech? · · Score: 1

    This, perhaps?

    Uh. Nope. I'm looking for a disk image I could fire up on a tiny pc (or in a VM) that'd meter wifi...

  10. Isn't there an OS box that'll solve this? on Ask Slashdot: Dealing With an Advanced Wi-Fi Leech? · · Score: 2

    Isn't there FreeBSD or Linux disk image that'll solve this?
    <WIFI> <=> [Router] < routes only to > [IP address of solution]
    Where the solution does something like the standard coffeeshop login +
    * Special account gets unlimited time & bandwidth
    * Non-special account needs to sign up every hour & gets diminishing bandwidth (if you want to allow visitors)

    Something like http://dev.wifidog.org/, but under active development?

  11. Re:This will end badly on Tesla, Ford, Amazon Hint At Cloudy Future For Cars · · Score: 1

    Self-driving cars are not a bad idea. Self-driving cars that roll on tires are stupid.

    Why?

    PRT is the answer

    I'll bite.

    To start with: what do you propose we make those rails out of, and how much will we need?

  12. Re:This will end badly on Tesla, Ford, Amazon Hint At Cloudy Future For Cars · · Score: 4, Funny

    That's some impressive FUD you've got going, there. But that's all it is.

    http://www.usacoverage.com/auto-insurance/how-many-driving-accidents-occur-each-year.html

    And if it’s all summed up in a yearly basis,there are 5.25 million driving accidents that take place per year. Statistics show that each year,43,000 or more of the United States’ population die due to vehicular accidents and around 2.9 million people end up suffering light or severe injuries. In a certain five year period, there had been recorded a 25% of the driving population who encountered or were involved in car accidents. It is also affirmed that car accidents kill a child every 3 minutes.Statistics on the number of car accidents taking place in every state or country is normally based on medical or insurance records filed.

    But you're right, I'm sure. People are /such/ good drivers. There's no way we could improve on those numbers. It's probably not even worth trying.

  13. Re:I hope they figure it out on Tesla, Ford, Amazon Hint At Cloudy Future For Cars · · Score: 1

    we recently bought a Prius with some web-enabled computer thingy in the dashboard... with our iPhones. Basic things such as MP3 song time display are missing.

    That sounds wrong. Certainly our prius and iDevices communicate track information correctly.

  14. Re:Yeah, right on Facebook's Graph Search: Kiss Your Privacy Goodbye · · Score: 1

    "Social media" information however by enlarge unregulated data that is being sold/traded/hacked. That is what most of us who know more than just, "Durrrrr your information is out there anyway so who cares what I do online," understand. And why we tend to have some serious issues that we feel need to be discussed about the way this data is being gathered and analyzed without any oversight.

    Do we?

    Why?

  15. Re:Yeah, right on Facebook's Graph Search: Kiss Your Privacy Goodbye · · Score: 2

    No, you kissed your privacy goodbye when you started interacting with others.

    Your friends all submitted their email accounts so that facebook could mine them for friends. You are connected to all your friends' accounts on facebook (though not visibly to the outside), and they can mine your address for associations and know to a great degree who you are, what you like, etc - because they know who your friends are and what they like.

  16. Re:Google does whatever it does on Ask Slashdot: How Do You Handle SPF For Spam Filtering? · · Score: 1

    I'm not a business and I love it. And the business I work for uses google (thank goodness we no longer use some Exchange product).

    I'd say that if you're in a grey market, using any cloud service is a grey area right now. Frankly, if you're Mr. Dotcom and don't encrypt all your email, you're just asking for trouble. Hell, you're asking for trouble in any case. Any server he was using was going to be confiscated - may as well leave it in the cloud unless you have a deadman switch on your server room (which seems like a good idea in his case).

  17. Google does whatever it does on Ask Slashdot: How Do You Handle SPF For Spam Filtering? · · Score: 1

    Thanks, Google!

    I can't be bothered to run my own damn SMTP/IMAP/etc any more.

  18. Re:Gripe about steam (kinda OT): ratings on Gabe Newell: Steam Box's Biggest Threat Isn't Consoles, It's Apple · · Score: 1

    Rating games on metacritic doesn't seem to do what I want. There are plenty of great first person shooters that I would never wanna buy. Not because they're bad, per se, but because I don't generally like those kinds of games.

    I want scores that reflect my tastes.

  19. Re:integrated ratings vs. metacritic on Gabe Newell: Steam Box's Biggest Threat Isn't Consoles, It's Apple · · Score: 1

    On the flip side: I really like some simplistic strategy games that are well done. I really don't care for 99% of first person shooters. So I would very much like to see ratings reflect the kinds of choices I've made in the past. Metacritic doesn't seem to do that for me.

    Netflix DOES let you see what other folks said about a movie. Not that I care. What I DO want from netflix that I do not have is the rotten tomato score.

    Which is exactly what I want from steam: metacritic score for games (which is like RT) AND a personalized best guess score based on how I have scored games in the past.

    There's no consumer-based reason not to have both (and the ability to hide one/both). The only reasons I can think of is lack of developer time and/or desire to sell really crappy games.

  20. integrated ratings vs. metacritic on Gabe Newell: Steam Box's Biggest Threat Isn't Consoles, It's Apple · · Score: 1

    Several posts recommending metacritic. Which is sucky for the PC and a loser for the living room. If steam wants to be in the living room, they should have a UI that is just as good (at least) for picking new games as netflix has for picking shows to watch. Integrated.

    Still - I appreciate the metacritic pointers and will dig into that.

  21. Gripe about steam (kinda OT): ratings on Gabe Newell: Steam Box's Biggest Threat Isn't Consoles, It's Apple · · Score: 0

    Know what I hate about steam? I know you wanna know!

    No ratings.

    At least Apple lets me rate apps! Steam doesn't even let you do that. I know they feel they can't afford it, because then folks will stop buying the 99% crap games. But unless they get their act together, I'd be happy for iOS to kick steam's ass.

    And if steam wanted to do it right, they'd use something like the netflix rating system - where folks that like the same kinds of games I like will inform predicted scores for other games.

    I mean -- how hard is that? Netflix has these competitions for ratings prediction, and the top few are always within a few percent of each other. Pick up the scraps and implement it!

  22. Of course it will! on Will Renewable Energy Ever Meet All Our Energy Needs? · · Score: 1

    Eventually, everything else will run out.

    And then the 'renewable' sources will run out.

    You just have to take the long term view. Really long term.

  23. Re:Nevermind that 'reality' thing on Free Wi-Fi: the Movement To Give Away Your Internet For the Good of Humanity · · Score: 1

    As long as it's read only access, I don't really see a problem. Maybe it has to be read/write? I guess I'm just not familiar with those products... I suppose I would VPN the hell out of something like that.

    After all, if your friend comes over and uses your network and his machine happens to be pwned...

  24. Re:Laudable idea but... on Free Wi-Fi: the Movement To Give Away Your Internet For the Good of Humanity · · Score: 1

    And therefore you should do the same? Meh. Not for me. Park in front of my place - free wifi.

  25. Re:Nevermind that 'reality' thing on Free Wi-Fi: the Movement To Give Away Your Internet For the Good of Humanity · · Score: 1

    1) http://en.wikipedia.org/wiki/Traffic_shaping

    2) Don't have open (insecure) systems. Ever.

    3) FUD