Slashdot Mirror


User: chgros

chgros's activity in the archive.

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

Comments · 544

  1. Re:OH NOES!!! on Unknown 7m Asteroid Almost Impacted Earth · · Score: 2, Informative

    Apophis is likely to be 100,000 times brighter
    (300 / 7)^2 = about 1,800, which is not very close to 100,000

  2. Re:Not as insane as it sounds on Debian Elevates KFreeBSD Port to First-Class Status · · Score: 1

    I use this when I want to get all the instances of a specific regex.
    For instance, to find all the C++ mangled names in some output, I do:
    > grep -o '_Z[A-Za-z0-9_]*'
    The power of regular expressions is that you don't need to know exactly the string you're going to match.

  3. Re:Not as insane as it sounds on Debian Elevates KFreeBSD Port to First-Class Status · · Score: 1

    All of us cursed GNU creeping featurism in the commandline utilities
    Funny. I tend to curse the lack of features in non-GNU utilities. For instance, grep -o.

  4. Re:huh? on Oracle Fined For Benchmark Claims · · Score: 1

    I would have thought they meant 2-digit percentage, i.e. at least +10%.

  5. Re:Inherintly unconstitutional on Professor Posts "Illegal Copy" of Guide To Oregon Public Record Laws · · Score: 1

    I thought the government wasn't allowed to hold a copyright.
    Not quite right. It cannot create copyrighted works, but can have a copyright assigned to it, e.g. in case of a work for hire.

  6. Re:Pyrolysis on Transforming Waste Plastic Into $10/Barrel Fuel · · Score: 1

    I had heard of it as thermal depolymerization.

  7. Re:Open source mobile phone? on Privacy, Mobile Phones, and Ubiquitous Data Collection · · Score: 1

    or a Neo1973
    Heh. I missed that part. Note that the Neo1973 (and its successor the Freerunner) *were* built from the ground up to be open source, to the extent possible. Unfortunately that extent can be fairly limited.

  8. Re:Open source mobile phone? on Privacy, Mobile Phones, and Ubiquitous Data Collection · · Score: 1

    So how open is the Openmoko hardware? The best reference I could find was wikipedia's entry: http://en.wikipedia.org/wiki/Openmoko#Openmoko_hardware
    Well, as I've already indicated, the GSM chip / firmware are not open, for legal reasons (at least). Also, the specs for the graphics chip ("Glamo") are protected by an NDA, although the NDA doesn't prevent writing open source drivers.
    http://wiki.openmoko.org/wiki/Smedia_Glamo_3362

  9. Re:Open source mobile phone? on Privacy, Mobile Phones, and Ubiquitous Data Collection · · Score: 3, Informative

    We need an Open Source mobile phone
    Err... There's already one (I have one).
    It doesn't work all that well unfortunately.
    http://openmoko.com/

  10. Re:One word.. on Dirty Coding Tricks To Make a Deadline · · Score: 1

    GP meant exactly what he said, but I'd say it's much clearer with the boolean flag
    Let's agree to disagree ;). Also, using a goto is more efficient, unless the compiler is smart enough to get rid of the boolean flag (which I'm not sure it is in general)
    You were confused
    How so?

  11. Re:One word.. on Dirty Coding Tricks To Make a Deadline · · Score: 1

    > If you're breaking out of a loop, you should use 'break'. If you're continuing a loop, 'continue'.
    What if you're breaking out of / continuing an outer loop?
    e.g. (pseudocode)

    foreach(i) {
          foreach (i->j) {
                if(failtest(j)) { // continue outer loop
                      goto nexti;
                }
          }
          foo(i);
          nexti:;
    }

    I often use this. I like it better than adding a boolean flag. I think it's actually clearer that way.
    Admittedly the inner loop could be made into a function, but if it relies on a lot of context, that's pretty painful.

  12. Re:Typical redditor on Intel Confirms Data Corruption Bug, Halts New SSDs · · Score: 1

    I guess in hardware static analysis is easier, and dynamic analysis is harder.
    The link I saw seemed to indicate static analysis.

  13. Re:Typical redditor on Intel Confirms Data Corruption Bug, Halts New SSDs · · Score: 1

    C doesn't have voltage or current leaks.

    But C has a lot more loops and pointers, which makes verification a lot harder (I work on a static analysis tool for C/C++, and it's also very expensive ;) )

  14. Re:all your music lost down the back of the sofa on Coming Soon, 250 DVDs In a Quarter-Sized Device · · Score: 1

    Have you ever seen a microSD card?

  15. Re:Not PEBKAC on Malware Threat To GNOME and KDE · · Score: 1

    which I hear is very hard, but still easier in comparison since you are given both the description of the program AND the finite input!
    In case you don't know, solving the halting problem is not just very hard, it's impossible.

  16. Re:Poetic justice? on Student Satirist Gets 3 Months; the Judge, Likely More · · Score: 1

    No damages are a civil tool to compensate one person when another has injured them (or their assets) in some way.
    Well, that's compensatory damages, but then there's punitive damages (which I don't understand why they're paid to the plaintiff (and their lawyer) instead of being a fine to be paid to the state)

  17. Re:Great way to get LESS registered voters on Iowa Seeks To Remove Electoral College · · Score: 1

    So?
    There's still only one president. Why should he listen more (on a per-person basis) to Iowans than to Californians, just because there are more Californians?
    What you may be arguing for is a limit to the reach of federal power, which is a separate issue. I don't see how the way the president is elected indicates what kind of power he/she does or doesn't have.

  18. Re:woo on Microsoft May Be Targeting the Ubuntu Desktop · · Score: 1

    Or, more appropriately, shell syntax
    {ba,c,tc,k,}sh

  19. Re:Worth a read - interesting article on Oldest Weapons-grade Plutonium Found In Dump · · Score: 1

    So given that Pu-239 is more stable, it would have *increased* in purity over the years...

  20. Re:Remove TCP-like requirements, and it's a WIN. on BitTorrent Calls UDP Report "Utter Nonsense" · · Score: 1

    Are you saying that an overhead of about 1% is going to cause an internet meltdown? And that would be assuming that TCP has no overhead, which is clearly wrong.

  21. Re:one key iphone advantage on T-Mobile G1 Faster Than iPhone 3G · · Score: 1

    There's a chip which translates the Java opcodes to native ARM intructions without any delay or slowdown whatsoever.
    Given the difference in level of abstraction between the java bytecode and the typical CPU instruction set, I highly doubt this is possible.
    You might be thinking of a JIT (which, as others pointed out, doesn't even exist), but a JIT takes time to compile the bytecode down to native code (this usually means startup is slow)

  22. Re:Same here. on Google's Streetview Seen As Culturally Insensitive In Japan · · Score: 1

    Show me one-way curtains and I'll agree with you. I mostly use curtains to control the amount of light coming in, not out.

  23. Re:When are they going to get it? on Computer Beats Pro At US Go Congress · · Score: 1

    This may be impossible in our current universe
    Well, we already have something that beats this computer, so it seems possible in this universe

  24. Re:Ha! See! I told you! on Ray Gun Puts Voices Inside Your Head · · Score: 1

    How do you turn EM waves into audio waves by heterodyning though? (besides the fact that you'd have to decrease the frequency by at least 10^4, which would require a lot of precision)

  25. Re:Worthless article on Solar Power From Home Curtains · · Score: 1

    Energy is sold in kWh (not kW/h).
    That's why I was suggesting Wh/h. 1 kWh/h = 1 kW. I think people on /. would understand that ;)