Slashdot Mirror


User: NonUniqueNickname

NonUniqueNickname's activity in the archive.

Stories
0
Comments
222
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 222

  1. Re:Nice hacker on GitHub Hacked · · Score: 1

    I was thinking sanitation as in string sanitation and SQL injection as in '); drop table students; --. Thanks for pointing out the bigger picture, TheNinjaroach, vlm. I retract the word "NOTHING" from my previous post.

  2. Re:Nice hacker on GitHub Hacked · · Score: 5, Insightful

    This is NOTHING like lack of sanitizing or SQL injection.

    Suppose your object has fields "name" and "is_special", and the web form only exposed "name" because "is_special" isn't supposed to be changed by regular users. The hacker who knows "is_special" exists, adds an "is_special" field to the web form on his browser and submits it. The developer probably uses "update_attributes" to process the form, and with default Rails settings it will commit the new "is_special" value to the database (properly sanitized, of course).

    To prevent this, the developer may switch the settings to white-list, and provide a list of safe attributes for mass-assignment (update_attributes being one of the mass-assignment methods). Some people believe white-list mode should be the default settings. The hacker, probably being one of these people, found a great way to make his point that even seasoned Rails developers could use a push towards using white-lists.

  3. Re:Scratch on Khan Academy Chooses JavaScript As Intro Language · · Score: 2

    Scratch is a nice intro to variables, events, loops, branches. But sadly, there are no methods/functions in Scratch. You cannot structure code, you cannot reuse code, any attempt to increase the scale of your Scratch project will result in frustration and very bad habits. It's alright to play with Scratch for a week or so. After that either give up on programming or move to the real deal.

  4. Re:The Real Story on Megaupload Founder Dodges Jail Again; Wife Under Investigation · · Score: 4, Informative

    He's Kim Dotcom. She's Mona Dotcom.

  5. Re:Digital Rothschilds on Schmidt: Google Once Considered Issuing Currency · · Score: 1

    It was held by the brits from the second world war

    First World War, not Second World War.

  6. Re:Defaults still insane? on Apache 2.4 Takes Direct Aim At Nginx · · Score: 1

    Well said. MySQL ships with a few default config files for different scenarios, why not Apache? Apache could ship with a set of default configs (small_lamp being one of them) and save deployers a lot of frustration. A tl;dr manual for small_lamp would be a welcome addition as well. I totally understand if the good people at Apache have been too busy over the last 10 years to produce a small_lamp config. I've been too busy as well, which is why I deploy on nginx.

  7. Re:What can go wrong... on DARPA Researches Avatar Surrogates · · Score: 1

    Don't worry, it has a kill switch.

  8. Re:It's all the customers' fault... on AT&T On Data Throttling: Blame Yourselves · · Score: 1

    Not quite as profitable as selling insurance, but AT&T has the second-best thing: SMS. Astronomical margins, barely takes any airtime. If it were up to AT&T they'd probably be happy to get more text-loving customers and ditch all the data-loving customers.

  9. Re:And to the public... on FBI File Notes Steve Jobs' Reality Distortion Field · · Score: 4, Funny

    I went to actually RTFA

    You've learned your lesson, I hope.

  10. Re:Eh on Google Asks Court Not To Enjoin ReDigi · · Score: 5, Funny

    MP3 files are both a wave form and a particle stream, but not simultaneously. The RIAA will tell us which and when.

  11. Re:Not made in China! on Pirate Bay To Offer Physical Item Downloads · · Score: 1

    Step 1 - Buy a made-in-China 3D printer.
    Step 2 - Disassemble the printer and model all its parts in 3D.
    Step 3 - Re-assemble the printer and print all the parts.
    Step 4 - Assemble your very own not-made-in-China 3D printer.
    Step 5 - ...
    Step 6 - Profit!

  12. Re:Normally, I oppose botnets and other malware st on Koobface Malware Traced To 5 Russians · · Score: 4, Funny

    "Librum facium"? Your Latin skills deserve in faciem palma.

  13. Re:well on Do Slashdotters Encrypt Their Email? · · Score: 1

    "1234567890" and "12345678910" will be attempted as part of a dictionary attack. "1234567891011" is oddly safe =)

  14. Re:well on Do Slashdotters Encrypt Their Email? · · Score: 5, Funny

    May I suggest changing your password to "12345"? It is an order of magnitude safer.

  15. The lifetime of Russian nuclear power reactors, by design, goes up to 140%.

  16. Re:Pffft. on Why We Need More Programming Languages · · Score: 1

    Ohhhhhh, flamebait Friday!
    So that's why /. publishes Neil McAllister stories on Fridays.
    Another mystery solved.
    Thank you, sir.

  17. Re:COBOL on Java Apps Have the Most Flaws, Cobol the Least · · Score: 4, Funny

    Old COBOL Fart, we who are about to scrum salute you!

  18. Re:Easy on How To Avoid Infringing On Apple's Patents · · Score: 4, Funny

    Also, don't grow apples

  19. Re:Is is just me or is the olympics getting worse on London Wires Up For 2012 Olympic Games · · Score: 3, Insightful

    Not *that* old... I remember the Olympics of 1980 in Moscow and 1984 in Los Angeles. Those weren't "overhyped commercial extravaganza" at all. They were overhyped political extravaganzas.

  20. Re:Practiced lying can defeat lie detectors... on Thermal Imaging Lie Detector In Development · · Score: 1

    The Bene Gesserit are unimpressed by your strategy, or the article for that matter.

  21. Re:Kind of unsafe? on Company Wants You to Visit Near-Space In Their "Bloon" · · Score: 5, Funny

    In the unlikely event of the helium balloon bursting, the captain will yell the evacuation procedure in a chipmunk voice and everyone will die, of laughter.

  22. Re:Nothing but FUD on NASA Shoots Down Comet Elenin Doomsday Predictions · · Score: 4, Funny

    Wait, what? They were supposed to keep the space shuttle and retire Bruce Willis. We are so fucked.

  23. WFH, Bitches. on What's the Carbon Footprint of Bicycling? · · Score: 1

    Here's a novel way to reduce your commute carbon footprint by 20% or even 40%: Work from home one or two days a week. I WFH 5 days a week. No commute. No A/C. Almost no showers. What could be greener? Now, if I could only find someone to pay me money for this work...

  24. Re:Mathematics is another on Why There's No Nobel Prize In Computing · · Score: 1

    The story of why there's no Nobel prize in Mathematics is much more interesting, involves a woman.

  25. In other news... on 10,000 Commits To an Open-source Project · · Score: 3, Insightful

    Your employer just adopted "commits-per-day" as a productivity metric. You are expected to put in at least 6. Why? Because you're getting paid to do your job. You had better one-up that British guy who racks up 5 commits-per-day on free software.