Slashdot Mirror


User: jrockway

jrockway's activity in the archive.

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

Comments · 2,859

  1. Re:what's the purpose of a language, anyway? on PHP Application Insecurity - PHP or Devs Fault? · · Score: 1

    > Is it really that PHP makes it that hard to be secure

    Yes, it really is. Perl has had "taint mode" forever. This forces the programmer to validate all input before passing it to things like database queries or open(), system(), etc. Instead of a coding error causing you to lose all your data and take out your web server, the program will just exit. Having the compiler double-check your work is always easier than wondering if you got everything.

    Adding to that is the fact that PHP has never had a sane database interface, even though it's freakin' designed to interface with databases! Code like: mysql_query("SELECT * FROM foo WHERE bar='". sqlClean($bar). "'") is just plain hard to read and is just plain prone to error. Give me something like query("SELECT * FROM foo WHERE bar=?", $bar) any day. The compiler should do the heavy lifting for me -- as a programmer I should worry about solving problems. Navigating through spaghetti like "'".clean($var)."'" is not something I ever want to do.

    Obviously, this is just the tip of the iceberg... I could write 1000s of pages about PHPs failings.

  2. Re:Right... on No Third-party Apps on iPhone Says Jobs · · Score: 5, Insightful

    > nor the iPod were conceived for the purpose of being able to install 3rd party applications

    The iPod is pretty neat straight out of Apple, but the true possibilities of the device aren't really reached. Take a look at the Rockbox firmware for iPods -- it adds tons of features that Apple said were "technically impossible" or that "nobody wants". Right now I'm listening to a gapless FLAC album with a bit of crossfeed, and it's wonderful. Fuck you, Jobs. You don't know what I want. Stop telling me what to do!

    With respect to phones, I think the iPhone is going to be a flop. When it's all said and done, it's a $3000 phone (can't get one without 2 years of Cingular's worthless service) that plays mp3s and has a calendar with pixmaps borrowed from OS X.

    I'm holding out for Trolltech's Greenphone. It runs Linux, and the point is openness... you can recompile the kernel if you want! Paired with KDE 4, I think it's going to blow the iPhone out of the water... at least for people that want a useful, hackable mini-computer and not a $3000 status symbol.

  3. Re:My fix - avoid vendors that act like assholes. on Unofficial Win2K Daylight Saving Time Fix · · Score: 1

    > So tell me, are Redhat producing updates for 10 year old linux installs?

    Windows 2000 came out in 1997?

  4. Re:ZOMG!! on MPAA Caught Uploading Fake Torrents · · Score: 5, Funny

    > attempted copyright infringement

    No, it's called "conspiracy to conspire about thinking about thinking about a thought crime". Just turn yourself in now.

  5. Re:Great news on The Astronomical Event Search Engine · · Score: 1

    Nah, Google is going to rename Uranus in 2036 to end that stupid joke once and for all.

  6. Re:I for one.... on Apple's Macworld Looking To Corporate Users · · Score: 1

    Yeah, that's insane. It only works for one model, and it's EXPENSIVE. Dell's replicators work with pretty much every model of laptop, and they're pretty cheap. Cheap is good. Generic is good.

  7. Re:Nothing for me to worry about on US Visitor Fingerprints To Be (Perhaps) Stored by FBI · · Score: 3, Funny

    Exactly. If you have nothing to hide, why worry? In other news, all walls will be removed from your house and replaced with glass, and security cameras that monitor your every movie will be installed. If you're not doing anything wrong, you should be happy to have this opportunity to show the world!

  8. Re:Prive entities can demand to see your ID. on Gilmore Loses Airport ID Case · · Score: 2, Insightful

    Hi. The Department of Homeland Security is the government, not a private company. If an airline wants to see my ID, that's great. I can fly on his competitor instead.

  9. Re:I for one.... on Apple's Macworld Looking To Corporate Users · · Score: 1

    > Why should everyone else pay for a docking connector that only a small percentage of users want? Is there even a docking connector that supports DVI, 800 Mbps Firewire, Gigabit Ethernet, USB and optical audio?

    Uh, yes. The one that comes standard on every Dell (business) laptop. (No Firewire 800; but even Apple doesn't ship Firewire 800 anymore.)

  10. Re:If the internet works as advertised on YouTube Blocked in Brazil · · Score: 3, Informative

    www.youtube.com has address 208.65.153.251
    www.youtube.com has address 208.65.153.253
    www.youtube.com has address 208.65.153.241
    www.youtube.com has address 208.65.153.242
    www.youtube.com has address 208.65.153.245

  11. Re:Perhaps some labels aren't for real. on 10th Annual Wacky Warning Labels Out · · Score: 1

    > Celine Dion has a song, "Le Fils De Superman" about this.

    What's there to sing about? Lalala fell out the window lalalala?

  12. Re:Do not iron? Good idea! on 10th Annual Wacky Warning Labels Out · · Score: 1

    > Seriously, what the sweet christ are people ironing PAPER PRODUCTS for? Sounds like a great way to start fires.

    Most irons transfer heat via steam. Try lighting a glass of water on fire, and you'll see that this isn't as hazardous as you would guess. It is a waste of time, though.

  13. Re:I've been using vi for so long... on The Birth of vi · · Score: 1

    Well, some other editors anyway. Emacs uses C-n, C-p, C-f, C-b. Much faster than using the arrow keys. (Using C-h as backspace is also faster than hitting backspace.)

    Speaking of which, who decided that vi would use hjkl instead of jkl;?

  14. Re:I for one.... on Apple's Macworld Looking To Corporate Users · · Score: 1

    Well, it may be 8 seconds but I thought Apple computers were supposed to make my life EASIER. Why should I pay more for less features, even ones that I "don't" need?

  15. Re:I for one.... on Apple's Macworld Looking To Corporate Users · · Score: 2, Insightful

    Yes. Because there aren't wireless monitors. Nobody wants to sit at a desk all day staring at a 12" screen that's a centimeter away from the keyboard. Also, many enterprises require a wired Ethernet connection.

  16. Re:Easy Solution on Modernizing the Common Language - COBOL · · Score: 1

    > Brian Kernighan wrote, "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."

    Basing your life on a cute saying is probably a bad idea.

  17. Re:We just need customers on Apple's Macworld Looking To Corporate Users · · Score: 3, Insightful

    > There's no excuse in this day an age for anything other than system software and utilities to be platform-dependent.

    Yes there is. Having your code compile on another platform doesn't count as "platform independence". Apple users expect your app to integrate with their other Mac apps. If you've written your app according to MS's HIG, then it's not going to work. Now you have to maintain two user interfaces (and if you have a UNIX version, 3 or 4!). Making a crap product is easy these days, but it's still hard to make a good one.

  18. Re:I for one.... on Apple's Macworld Looking To Corporate Users · · Score: 3, Insightful

    Apple needs to put docking connectors on their laptops before they're going to be taken seriously in the enterprise. I switched from Apple to Dell for this reason alone. (OK, and Dells were $1000 cheaper at the time for the same system. Now that the price gap has closed, I'd be willing to switch back to Apple.)

  19. Re:Easy Solution on Modernizing the Common Language - COBOL · · Score: 2, Insightful

    Java is popular because strong typing prevents bad programmers from being stupid. If your application is designed by one intelligent architect, most of the coding can be done by code monkeys without causing too much damage (especially if the architecture team writes good automatic tests). With PHP, the code monkeys are going to make a mess. The compiler won't tell them that you can't return strings from functions that are supposed to return integers, etc. If it compiles, you know they're going to ship it. Java does strict checking and won't let people screw things up too badly.

    OTOH, if your team is a bunch of good programmers, though, then Java's probably not a good solution. Use something like Perl or Haskell and everyone will be much happier. When you have people that know how to properly bend the rules and understand the consequences, Java is too constraining. (Which is why I use Perl for my personal projects. Wonderfully expressive.)

  20. Re:stupid - not so stupid on DNA So Dangerous It Doesn't Exist · · Score: 1

    > Discoveries such as these don't necessarily have to spell destruction to the world.

    WON'T SOMEBODY PLEASE THINK OF THE TERRORISTS?

  21. Re:I don't see how people can... on RIAA Admits 70 Cent Price is 'In the Range' · · Score: 1

    > Uhm, you might want to read up on what "fair use" means. It doesn't mean stealing.

    And "piracy" means violently taking over a ship at sea. What's your point?

  22. Re:speaking of wiping data on Memories of a Media Card · · Score: 1

    Pretty much every modern OS encrypts your swap. OpenBSD and most linux distros do, anyway.

  23. Re:Good for Google on Starbucks Responds In Kind To Oxfam YouTube Video · · Score: 1

    This is the usual troll comment that I hear, but honestly I've never seen a ripped TV show on youtube. 99% of the videos are of the "my cat is flushing the toilet" variety, but that's what I visit youtube for. If I wanted to watch shitty TV shows, I'd get them from Usenet. (But here's the thing... I don't want to watch them.)

  24. Re:This is going to.... on Near-Future Fords to Feature Windows Automotive · · Score: 1

    No, but it does mean that regular font styles stop working.

  25. Re:I thought... on U.S. Gov't To Use Full Disk Encryption On All Computers · · Score: 1

    You misunderstood my comment.

    My point was: it's easy for you to get that information if I don't make an effort to keep it away from you. If I tell you, then everybody will eventually know.

    You wanting some information to be free and "information wants to be free" are two completely different concepts.