HN user

stirfish

542 karma

pronounced like an adjective

Posts0
Comments406
View on HN
No posts found.

I think it's more about the way things are vs the way things "should" be.

e.g "teens are going to experiment with sex, so comprehensive sex education is the best way to keep them safe"

vs

"Teens should not have sex, so abstinence-only education is the best way to keep them safe"

I read somewhere that aliasxneo eats turds with a fork and knife. I'm not sitting on a precompiled list of sources, and it would be unfair to ask me to spend my Saturday building a list for someone whom I read eats turds with a fork and knife.

I won't say what aliasxneo does to add slightly more flavoring, but I think it's a pretty reasonable to assume it's gross and lazy.

Gemini 3.5 Flash 2 months ago

Slightly overeager - you ask for a button color change, you see layout changes, new package dependencies, and the README rewritten from scratch - and not necessarily correctly.

I have a collection of vintage microwave cookbooks and they get real fancy, with techniques like wrapping the thin parts of fish with aluminum foil so they don't burn. Volume 5 had a full Thanksgiving dinner. I think the goal was to sell more microwaves to people who weren't sure what they could do. Fascinating stuff.

I have used none of those recipes. The microwave is for making cold pizza 10% more palatable (or 80% more palatable if I've been drinking). In that regard, the LLMs are microwaves really works for me: if I'm using one I either I want something fast and casual, or I'm drunk.

HTML Lists 2 months ago

<menu>, <dialog>, lots of fun stuff in html now.

I like to ask people what they imagine <ruby> does, because I certainly didn't guess right.

I'm not sure what point you're trying to make. Here it is in C, so you can run it on you computer in 1995? Because servers could make decisions in 1995.

int main() { int s = socket(AF_INET, SOCK_STREAM, 0); setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &(int){1}, sizeof(int));

    struct sockaddr_in addr = { AF_INET, htons(8080), .sin_addr.s_addr = INADDR_ANY };
    bind(s, (struct sockaddr*)&addr, sizeof(addr));
    listen(s, 10);
    printf("Listening on :8080\n");

    while (1) {
        int c = accept(s, NULL, NULL);

        char req[1024] = {0};
        read(c, req, sizeof(req) - 1);

        time_t now = time(NULL);
        int tuesday = localtime(&now)->tm_wday == 2;

        const char *status = tuesday ? "404 Not Found" : "200 OK";
        const char *body   = tuesday ? "Not Found (it's Tuesday)" : "Hello from 1995!";

        char resp[256];
        snprintf(resp, sizeof(resp),
            "HTTP/1.1 %s\r\n"
            "Content-Length: %zu\r\n"
            "Connection: close\r\n\r\n%s",
            status, strlen(body), body);

        write(c, resp, strlen(resp));
        close(c);
    }
}
    func specialHandler(w http.ResponseWriter, r *http.Request) {
 if time.Now().Weekday() == time.Tuesday {
  http.NotFound(w, r)
  return
 }

     fmt.Fprintln(w, "server made a decision")
    }
Your server can make decisions however you program it to, you know? It's just software.

Forgive the phone-posting.

Back when the earth was still cooling, I remember having to choose between grub and lilo. Who wants a little worm in their computer? I went with Lilo.

Now I use grub, because I don't know much better. I'll check out rEFINd.