Slashdot Mirror


User: JamesP

JamesP's activity in the archive.

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

Comments · 1,838

  1. Re:Maybe that was a protest after all on Sony Delays PlayStation Network Reactivation · · Score: 1

    I think some angry hacker just wiped out their servers, and backups are as usual stored on /dev/null.

    Well, silly them! I always put my backups on /dev/random. Never had a problem recovering them.

    Of course, my db stores Youtube comments, so your mileage may vary...

  2. Re:YES! on 2 RMS Books Hit Version 2.0 · · Score: 2

    This is not the right place for that type of complaint, Slashdot probably doesn't work properly on Lynx.

    You also have a hard time commenting on it with wget/curl =P

    It even takes html markup, I mean, that's for the brainwashed masses that use proprietary software, and put up with preposterous stuff as using an x86 processor!

  3. Re:Where are the free PDF versions? on 2 RMS Books Hit Version 2.0 · · Score: 1

    Cue the "PDF is a not truly free format" complaint

    Considering it's Stallman he probably wrote them in Emacs in a specially compiled version of Slackware maybe with a GNU Hurd kernel.

    Of course, X is never used, nor a wireless card and email is sent using Mutt or Alpine

    If anyone needs the citation: http://thread.gmane.org/gmane.os.openbsd.misc/134336/focus=134979

  4. Re:Hungarian Notation on Why the New Guy Can't Code · · Score: 1

    Great, I didn't know that. That would be very useful

    And as you said this is doable on OO languages, with various degrees of pain.

    What would be needed is optional lightweight types, so you would have something like float:meters and float:feet and warnings/erros on implicit conversions.

    For sanitized / raw inputs or security with a higher security/stability degree (think Aerospace). that would solve a lot of problems. Ada had somewhat similar ideas, but with value ranges.

  5. Re:Hungarian Notation on Why the New Guy Can't Code · · Score: 1

    Exactly!

    Hungarina notation is all about adding metadata. We would call it the type, EXCEPT IT ISN'T THE TYPE (as in int, float, etc)

    It's the measure, the unit, the description of the variable.

    As you exemplified. But thinking of some more examples.

    Have something like: //rawInput from web request
    cleanInput = sanitize(rawInput);
    xmlData = convertToXML(cleanInput);

    charsLength = unicodeString.length(); // instead of bytes

  6. Re:Kind of agree... on Doctors Are Creating Too Many Patients · · Score: 1

    I would mostly agree with you, but in medicine (and in several other field) there's a gotcha. You are not guaranteed to solve the problem, ever.

    In the case of stairs, the problem and solution are very clear-cut. If the stairs break when I step up, it's a clear sign of a faulty product. The mechanic can solve the problem even if the solution is swapping all parts, of course there's the issue of cost, but that's pretty clear cut as well.

    Now let's think of something different. You go to an ad agency and order a commercial for something. Of course they can bill you for writers, equipment lease, actors being paid, but they can't ensure it's successful.

    Medicine is in between. For most of the things, it's taken for granted, and the success rate is close to 100%, but there's still cancer, severe injuries, etc, etc

  7. Re:Kind of agree... on Doctors Are Creating Too Many Patients · · Score: 2

    A good job of a lawyer trying to put the blame somewhere else...

    The fear of litigation alone is sufficient to make doctors order all kinds of tests

    Of course doctors are to blame, they put themselves on the "all knowing" spot.

    One way out would be to limit the (financial) responsibility of a doctor in case of malpractice.

  8. Re:Most important of all? on JavaScript Creator Talks About the Future · · Score: 1

    Think about this instead: dozens of programming languages have better features than JS.

    Like? In terms of features JS is not too shabby (closures, etc)

    How many times hasn't your browser eaten up all the memory (in gmail for example) because of some obscure and hard to find bug that only js can make that easy to create?

    Then fix the interpreter? BTW there are two significant "weights" JS carry there: network latency and DOM manipulation. You can't really blame JS if data is slow to arrive.

    JS is not well thought out, neither is Python nor Ruby. Look at Clojure or Haskell to see how languages look like when there is geniuses behind the wheel.

    Lisp mob anyone?

    Yeah, that's why there are much more projects in Haskell then on Ruby. OH WAIT.
    And they would have a hell of a time running on a microprocessor.

  9. Re:Most important of all? on JavaScript Creator Talks About the Future · · Score: 1

    Virtually every device has substantial amounts of code written in C or C++. Javascript would be useless on the microcontroller I write C code for. If C and C++ were to vanish overnight we'd be back in the stone age. I won't comment on whether C and C++ belong in the stone age, but it's great that many programmers don't have to think at the lower levels of machine abstraction.

    Well, think about this for a second.

    Of course most compilers for embedded systems and small microcontrollers are C

    However, I wouldn't put past someone to take a subset (or just core JS and some metadata) and write a compiler. And I think it would be very good.

    Of course, the processor would have to have at least some 100's of KBs of memory, but I think it would be amazing.

    Think about this: JS is already very similar to C. Add Arrays, Maps and first order functions.

    Problem: plugging pointers in JS (you could have something like Pascal though - mem[0x1234])

  10. Re:Welp on Sony Running Unpatched Servers With No Firewall · · Score: 1

    Really

    I found impossible to run a server without even Fail2Ban without running into some serious issues

    Rule 1 - Nothing should show up on a port scan besides HTTP/HTTPS and SSH (only if absolutely needed)
    Rule 2 - Fail2Ban everything that looks funny
    Rule 3 - nothing listens on 0.0.0.0 except as needed (even with a firewall)

    And that's only the beginning

  11. Re:Not many tears on Attachmate Fires Mono Developers · · Score: 1

    Mono is great, but it also sucks for some specific purposes

    If you have an 100% .NET app, it works (most of the time)
    The problem is mixing .NET apps with native code, as Wine and Mono don't work together.

    Unfortunately this is very common

  12. Re:Why is NTFS read only. on OpenBSD 4.9 Released · · Score: 2, Insightful

    They can post, but TDR will never accept it. NEVER!!11 (insert maniac laughter)

    OpenBSD is knows for things like throwing away wireless drivers, for example.

  13. Re:Why not replicate the recorders to each other ? on AF 447 Flight Recorder Found In the Atlantic · · Score: 1

    As far as I've heard they are thinking of something like that.

    But still, that recorder stores around 36Mb of memory.

    Of course, the technology for redundant recording of sufficient data is only available for around 10 years now (or maybe less). Remember how USB sticks were around 64Mb in 2004?

  14. Re:gps? on the ocean floor? on AF 447 Flight Recorder Found In the Atlantic · · Score: 1

    Yeah, about that

    They didn't find the Underwater Locator Beacon attached to the memory unit.

    So it may have been torn apart/damaged during impact

    Besides, it's a poor system. I mean, they never got any signal from them, but they had several confusing signals.

  15. Re:It goes both ways on Forging a Head: The Upside of Scientific Hoaxes · · Score: 1

    Most skeptics reject everything outright

    Those people are not skeptics.

    Agreed, but they usually label themselves as such

  16. It goes both ways on Forging a Head: The Upside of Scientific Hoaxes · · Score: 1, Interesting

    I guess the biggest failure is not skepticism, but failing to recognize a hoax. There's an important difference.

    Most skeptics reject everything outright (instead of "ok, let's wait for more evidence"). This is also bad. With a hoax the answer is usually dancing in front of you.

    Remember, the platypus was considered a hoax for a long period of time. The Gorilla was also considered in the same league as 'Bigfoot" once

    From TFA "between one-quarter and one-half of the students voted to regulate or ban outright the scary-sounding DHMO.These were college students"

    Really, THINK "Di - Hydrogen Mono-Oxyde" "two hydrogen oxide", gee where have I seen this...

  17. Re:Truth in advertising? on On Monday, AT&T Customers Enter Era of Broadband Caps · · Score: 1

    1 - People rip DVDs to files around 700MB / 1GB that's 2 hours. And that's good enough for TV

    http://www.digitalhome.ca/2011/04/netflix-now-has-800000-canadian-customers/
    a High Definition video stream which consumes about 2.3 GB per hour.

    The TV industry is telling me that I need to have BluRay player (~ 16GB/hour) to take advantage of my expensive new HD TV, now you're saying "Bah, even DVD is too much, you don't need that kind of quality, highly compressed 480i (0.5 GB/hour) is good enough for your 1080p TV"

    Oh, I get it. All I'm saying is that ripped DVDs don't look "bad" on my 32 inch TV, and certainly watchable on bigger screens.
    Of course BluRay looks stunning. But I can see that only from being right in front of the TV.
    2GB/hour of HD content may look great, but I guess I wouldn't mind not having that for TV shows, for example.

    2 - Do people really watch almost 7h of TV per day?

    http://www.csun.edu/science/health/docs/tv&health.html
    Number of hours per day that TV is on in an average U.S. home: 6 hours, 47 minutes

    How much would they watch if it wasn't for commercials? It's almost 50% show 50% commercials nowadays.
    Streaming/Tivo/etc leads to a different pattern of watching.

  18. Re:Truth in advertising? on On Monday, AT&T Customers Enter Era of Broadband Caps · · Score: 1

    Yes, but

    1 - People rip DVDs to files around 700MB / 1GB that's 2 hours. And that's good enough for TV
    2 - Do people really watch almost 7h of TV per day?

    I'm thinking 150GB is more than enough.

  19. Re:So a sea creature...? on Mystery Air Crash Black Box Found Sans Memory Part · · Score: 1

    It's not chips, it's crisps!

  20. Re:To The Cloud! on Mystery Air Crash Black Box Found Sans Memory Part · · Score: 1
  21. Re:That's not the solution, this is on The Fight Against Dark Silicon · · Score: 1

    I like Haskell but it has its warts.

    The main problem of Haskell is going "full functional", with monads, etc. Monads are very difficult to understand and master.

    Still, I think Haskell is much more close to "the solution" than Lisp for example. (or maybe Scala gets better)

    Not to mention it's great to play with Hugh/GHC with its interactive console

  22. This is a non story of a non story on Mystery Air Crash Black Box Found Sans Memory Part · · Score: 1

    They didn't found the 'black box', they found its interface to the plane.

    Long story short: At first it was an entire block. An it was not solid state memory, but tape recorders for voice (or worse).

    Plane crashed, forces distorted the black box and with it the fire/water/etc protection became innefective.

    Then they had an idea, let's put the memory in a SOLID CYLINDER of thick metal and with a very thick thermal and shock insulation. Upon impact, that cylinder 'pops off' if the chassis is subject to forces that cause it to distort (really, the cylinder is attached by 4 bolts, it has to be a big shock for it to come off)

    Problem is, a cylinder is much easier to get missing, bury itself, and more difficult to recognize among debris, etc, then a big L shaped piece of metal (the chassis)

    Personally, mabe it's time for them to get back to the drawing bord. Maybe attach the cylinder t to the chassis using a flexible material as well (so that it stays attached even if it pops off and slow its separation)

  23. Re:Really guys on The Chemical-Free Chemistry Kit · · Score: 1

    yes, you can do that, but then skip the box (unless you're going for the test tubes that come with it)

  24. Re:EVERYTHING is a chemical? on The Chemical-Free Chemistry Kit · · Score: 1

    Yes, and you're really brave posting as AC

    Unless you have a box with light (in a vacuum) and sound waves, and Linux (without a media), take a hike.

    Except if you have a box, you have chemicals.

  25. Really guys on The Chemical-Free Chemistry Kit · · Score: 1

    If you buy a "chemistry set" "without chemicals" to your kid you are:

    1 - A Moron. EVERYTHING is a chemical.
    2 - A darn overprotecting parent.
    3 - Someone without the slightest idea of how the world works

    Really, enough with the BS

    They're ruining the childhood of kids!