omoikane

Joined 14 years ago

Karma
4,144
Submissions
1,456
Member since
Sep 18
https://uguu.org/

https://bsky.app/profile/omoikane.bsky.social

https://mastodon.social/@omoikane

https://uguu-org.itch.io/

View on Hacker News

Recent submissions

Comment · 1 day ago
That looks like the brainfuck mandelbrot set by Erik Bosman, but the example is missing the header line with the credit. The one I saw came from here:

https://github.com/thaliaarchi/bfcorpus/blob/main/ebosman/ma...

Be sure to check out other files in that directory for how the program is assembled.

(Erik Bosman's mandelbrot set is a personal favorite of mine, very useful for benchmarking brainfuck interpreters)

Comment · 3 days ago
See also:

https://news.ycombinator.com/item?id=47625366 - United States Code (federal laws) in Git (2026-04-03, 15 comments)

https://news.ycombinator.com/item?id=47621591 - Every Law a Commit – US Law in GitHub (2026-04-02, 32 comments)

I think it's parsing this data:

https://uscode.house.gov/download.html

Which was discussed here:

https://news.ycombinator.com/item?id=6135504 - The entire US Code is now online in XML (2013-07-31, 237 comments)

Comment · 5 days ago
Current UI text looks blurry in Chrome and Firefox, probably because it's using a font that's optimized for 11px but font-size is scaled to 13.75px.
Comment · 6 days ago
The first example should have changed the heading to "C++ code" as opposed to "C code" due to the use of `std::unreachable()`. This matches the godbolt link.

Another alternative is to use `__builtin_unreachable()` (not standard, but available in GCC and Clang).

Comment · 9 days ago
Comment · 10 days ago
Lesson here is that the subdomain names can be queried due to passive DNS records, and putting stuff that is not supposed to be guessable in subdomain names is a bad idea.
Comment · 11 days ago
Comment · 12 days ago
Maybe the pull from a string/leash would affect how the thing flies, kind of like kites.

I like how he built a test stand near 7:22, which solves the motor flying off problem and is probably easier to iterate on. It reminds me of how rockets are tested.

Comment · 13 days ago
Comment · 13 days ago
I tried D after attending this talk:

https://www.youtube.com/watch?v=RlVpPstLPEc

My impression was that it strives to be a better C++ by fixing many of the annoyances and providing some well thought out convenience features, and it did a pretty good job. I thought the multiple version features and being able to write unit tests inline was especially nice.

But D came about before C++11 was a thing, and C++11 was a great ergonomic improvement over C++98. Since C++ got better, I haven't been keeping up with D.

Comment · 15 days ago
Comment · 16 days ago
Going for paid membership is a bold move. It's also not obvious who is handling payment information, the terms of service only says payment will be processed by a third party.
Comment · 16 days ago
GCC still not implementing the standard pragmas reminds me of the old GCC pragma easter egg. This is in cccp.c from gcc 0.9:

    /*
     * the behavior of the #pragma directive is implementation defined.
     * this implementation defines it as follows.
     */
    do_pragma ()
    {
      close (0);
      if (open ("/dev/tty", O_RDONLY) != 0)
        goto nope;
      close (1);
      if (open ("/dev/tty", O_WRONLY) != 1)
        goto nope;
      execl ("/usr/games/hack", "#pragma", 0);
      execl ("/usr/games/rogue", "#pragma", 0);
      execl ("/usr/new/emacs", "-f", "hanoi", "9", "-kill", 0);
      execl ("/usr/local/emacs", "-f", "hanoi", "9", "-kill", 0);
    nope:
      fatal ("You are in a maze of twisty compiler features, all different");
    }
It's gone by gcc 1.21:

    #if 0
    /* This was a fun hack, but #pragma seems to start to be useful.
       By failing to recognize it, we pass it through unchanged to cc1.  */
    ...
    #endif
Comment · 17 days ago
Comment · 18 days ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton