Live data from Hacker News

Viewing profile — abbeyj

abbeyj

HN member
Joined
Wed, Jan 08, 2014, 6:59 AM UTC
HN karma
1,119
Public activity
184 items

About abbeyj

No profile information was provided.

Recent public activity

  1. comment
    Comment #49113325

    Try examining the old entries from the https://en.wikipedia.org/wiki/Underhanded_C_Contest .

  2. comment
    Comment #49030398

    You would have to give the compiler some help to allow it to auto-vectorize this. Warning, untested: https://godbolt.org/z/b358bMWzG . This unrolls the loop by 16 times. The trick …

  3. comment
    Comment #48997452

    I'm not clear on why there is `ip++` in the RECORD_INST handler. We've already moved to the next instruction by running `ip++` at the end of the handler in the normal dispatch tabl…

  4. comment
    Comment #48974261

    I think they meant EPIC https://en.wikipedia.org/wiki/Explicitly_parallel_instructio... , not EPYC https://en.wikipedia.org/wiki/Epyc .

  5. comment
    Comment #48678102

    They might have been inspired by a similar feature in previous chips, like the external video support in the TMS9918: https://en.wikipedia.org/wiki/TMS9918#External_video . If they…

  6. comment
    Comment #48606817

    The one that immediately springs to mind is C#. Of all the mainstream languages it is probably the one most similar to Java. It can be compiled into platform-independent bytecode (…

  7. comment
    Comment #47951608

    > The Python one-liner is there because most modern shells refuse to create a non-UTF-8 filename for you. Both `echo -ne 'weird\xffname\0' > list0` and `printf 'weird\xffname\0' > …

  8. comment
    Comment #47176444

    I'm a bit confused about the colors used in the CPU graphs. In the first graphs it looks like green means that the application is running and red means that the GC is running. But …

  9. comment
    Comment #46979349

    Doing both of those things does seem to help: https://godbolt.org/z/1vv7cK4bE GCC trunk seems to like using `bool` so we may eventually be able to retire the hack of using `int`.

  10. comment
    Comment #46979050

    That would probably be difficult at optical wavelengths. At radio wavelengths you might have a better shot, but we can build radio interferometric telescopes on Earth and since the…

  11. comment
    Comment #46642737

    It depends on what you want. If you want to install an old copy of Visual Studio from 20 years ago then you should be able to write a program and compile it and have that work on X…

  12. comment
    Comment #46399882

    You have a typo in there. You want https://www.google.com/search?q=%2810%5E100%29%2B1-%2810%5E1... . Google also gets the "wrong answer" for this expression, 0 instead of 1.

  13. comment
    Comment #46177381

    The page is 404 now. It looks like something went wrong when the author was trying to push a small edit to the page. The content is viewable at https://github.com/hiAndrewQuinn/til…

  14. comment
    Comment #46137628

    > We all know that strlen will return 5, but some compilers don't: https://godbolt.org/z/M7x5qraE6 I feel like it is unfair to blame the compiler when you've explicitly asked for `…

  15. comment
    Comment #46137554

    If you want to tell the compiler not to worry about the possible buffer overrun then you can try `int foo(char const s[static 4])`. Or use `&` instead of `&&` to ensure that there …

  16. comment
    Comment #45622811

    > "Pepp(?) boards" "Perfboards", perhaps?

  17. comment
    Comment #45282106

    Are you thinking of https://web.archive.org/web/19990508050925/http://support.mi... ? Or was there a different bug in NT 4?

  18. comment
    Comment #44101410

    You need `"$@"`, not just `$@` at the end of the command. Otherwise it will split any arguments that have spaces in them. E.g. try long_fn() { echo "$1" sleep "$2" } to 1s long_fn …

  19. comment
    Comment #43958181

    I also used mingw and yet I arrived at different results. Maybe it was a different version, or a different distro of MinGW, or a 32-bit vs. 64-bit issue, or I'm linking against a d…

  20. comment
    Comment #43957149

    I tried to reproduce this binary to see what the 278 KB was being taken up by. The first obstacle that I ran into was that the build.bat file doesn't work if you have git configure…

  21. comment
    Comment #43841253

    It seems like it should be possible to factor out most of the iterator boilerplate into a helper class. Then each place where you want to iterate you can construct an instance of t…

  22. story
  23. comment
    Comment #42404659

    This is probably technically out of scope for this article. Long-running processes that respond to SIGHUP will usually be running detached (with no controlling TTY). Thus it is a b…

  24. story
  25. comment
    Comment #41403305

    I built a browser-based version that allows you to rotate it: http://www.stardrifter.org/regexp/