Hacker Newsnew | past | comments | ask | show | jobs | submit | stirfish's commentslogin

Here's a demonstration where APL is written on a typewriter thing: https://www.youtube.com/watch?v=_DTpQ4Kk2wA&t=208

I've turned off my own access at least three times when being let go from different jobs

Too dangerous to be released, right after the Department of Defense* dropped them

    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.


and what server software is running this code in 1995?

CL-HTTP or AOLserver

sure looks like VB there, what’s the plugin? Didn’t see anything like that before.

That's Go.

Which runs on what computer in 1995?

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);
    }
}

A post claimed CGI led to bad standards around query parameter formatting and parsing. I was merely pointing out that, prior to the advent of CGI, if you wanted to actually do anything with those parameters on the server, you had to extend whatever primitive HTTP server you were running, write some custom code and invent your own “standard”. There were no server side frameworks or standards.

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.


Does a turkey sandwich sound good to you?

Yes: okay try it

No: okay you don't have to try it

Unsure: okay you can read about it some more and decide if it sounds good to you


Are we still talking about infrastructure?

I think we’re in a deep debate about how to name articles

I think the algorithms have determined that you'll engage with videos about people who want communism.

Hasan & Mandani is bigger than ever

I think the algorithms have categorized so correctly, my green-named friend.

You didn't need to make an account just to write that, because you are not welcome here.

Ah, that makes a lot of sense. I was hung up on the arm hair.

FWIW, as a trans woman, I assumed that was for demonstration purposes to avoid showing anything intimate or identifying. Though some of us do remove essentially all hair south of the eyes.

Thicker and longer arm hair is still a masculine trait. Testosterone thickens hair all over your body. Feminising HRT does revert body hair for some people (but not facial hair, it's a biological quirk), but usually not enough to where cis women are if you started out hairy

I feel like harrier arms on women isn't that uncommon, but that could also just be the people I hang around (they tend to be more punk/hippie than the average)

The people I hang around tend to be more Italian than average. I bet there are a lot of factors

How would you know? You haven't said anything funny yet.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: