Live data from Hacker News

Viewing profile — zgs

zgs

HN member
Joined
Fri, May 29, 2020, 10:00 AM UTC
HN karma
135
Public activity
130 items

About zgs

No profile information was provided.

Recent public activity

  1. comment
    Comment #49056451

    I don't the fanaticism around memory safe languages. We've had memory safe languages for a very long time. Algol-60, the granddaddy of many modern languages, had it sixty-five year…

  2. comment
    Comment #48540550

    I've still got mine. It's been well used but is hanging together still.

  3. comment
    Comment #45447995

    Seems like another way to deliver nukes to targets...

  4. comment
    Comment #45102224

    Under uClinux, executables can be position independent or not. They can run from flash or RAM. They can be compressed (if they run in RAM). Shared libraries are supported on some p…

  5. comment
    Comment #45100921

    Out by a factor of five or more. A $1 Linux capable ARM: https://www.eevblog.com/forum/microcontrollers/the-$1-linux-... I'd expect that there were even cheaper processors now sinc…

  6. comment
    Comment #44937940

    I used decNumber in the WP 34S project ( https://sourceforge.net/projects/wp34s/ ) and more recently in the C47 project ( https://47calc.com ). You are correct in that the decNumbe…

  7. comment
    Comment #44255722

    It might be shorter to do some multiplications: 0x08C0C166 = 2⁴ × 3 × 5⁵ × 11 × 89 + 1 = 10⁴ × 3 × 5 × 11 × 89 + 1 Plenty of values that can be reused (11 = 10 + 1 and 89 = 10² - 1…

  8. comment
    Comment #44255651

    The initial XOR instruction isn't required, registers are zeroed as per the problem statement.

  9. comment
    Comment #43112329

    Better check his pockets on the way out :)

  10. comment
    Comment #42928692

    I think there is a spurious "and H" in the title :)

  11. comment
    Comment #42915139

    Later uClinux was available on m68k platforms without memory managers. The approach taken doesn't seem close to the one in the article. I managed to put in shared execute in place …

  12. comment
    Comment #42304463

    My favourite mathematical problem looks to have been solved.

  13. comment
    Comment #42278360

    There is a second issue with the code. The calculation of the mean isn't numerically stable. Instead use: mean_power = mean_power + (power - mean_power) / count

  14. comment
    Comment #42091110

    Algol 68 was to Algol as C++ is to C: trying to do too much resulting in over-complexity. The two page spread showing a graph of the implicit type conversions was a masterpiece.

  15. comment
    Comment #41306496

    Kind of like the "install this software" as part of the interview process. "My hourly rating for figuring out your bug is $X".

  16. comment
    Comment #41272322

    A division free integer in a range RNG has been developed: https://github.com/apple/swift/pull/39143

  17. comment
    Comment #40785002

    What a crazy idea. Cost to orbit is huge. Power availability will depend on pushing enough solar up there. Data centres use lots of power. Getting rid of excess heat is a major pro…

  18. comment
    Comment #40296704

    Every time I've seen similar done in the past, it has come back to hurt the instigator.

  19. comment
    Comment #40296356

    We're all upside down here and the blood rushes to our heads. While living in the antipodes gives most of us genius level intelligence, it also prevents interpersonal relationships…

  20. comment
    Comment #39976858

    This is the easiest way to go but it's only obscuring the GUID. Format preserving encryption (FPE) would be another possibility if it's not simply a byte string.

  21. comment
    Comment #39762607

    Is California one of the more progressive states with regards to reductions? This does not bode well for the world we share.

  22. comment
    Comment #39664722

    As a career programmer, I'm not in the least concerned that LLMs will replace me. At least not in the near to mid term future. The key is to have skills that LLMs aren't good at re…

  23. comment
    Comment #39637099

    It would also be extremely inaccurate. The x^n numerators grow very quickly and digits get lost because unlimited precision isn't available. Likewise, the n! denominators also grow…

  24. comment
    Comment #39507182

    [flagged]

  25. comment
    Comment #39490301

    18 Indians have signed up with Russia. More US citizens have been killed already: https://taskandpurpose.com/news/americans-killed-ukraine-rus... . This isn't a news story, it's pr…