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

They're still around.

If you can't find the kind you're looking for, you can make one!


I agree wholeheartedly with all of the points made in the article, but this website kinda sucks as an example.

- The website is "one binary", but the deploy strategy involves compiling it instead of running a binary artifact

- Won't rely on github pages, but depends on external resource at openlibrary.org

- Writing your own stuff lets you take advantage of open standards, but the .html files in thoughts/ are structured as plaintext with a false file extension

- When people go this route, they usually try to cram everything into the initial page load. This has several static files served dynamically.

- The Golang code does not cache any responses, and does not store templates in memory.

- Several dependencies in the go.mod file, all of them seem unused?

Most importantly: No discussion about the technical benefits of the "single-binary" ethos compared to modern infrastructure.

It's my humble opinion that it's a great idea, and this is a poor example.


It's not actually a single binary.

It's a single binary working with the filesystem.

All content is on the filesystem.

The "single binary" is a lightweight golang webserver that serves content from the filesystem.


The code uses `//go:embed` which actually embeds a fake filesystem into the binary. It’s really easy to miss that part, but it truly is one single binary, despite seeming to reference files by paths.


Oh dang, that's neat! Thank you!


No it isn't. You can try compiling from source and running it yourself: https://git.j3s.sh/j3s.sh/tree/c4517e8484a68c734d2f17c17c546...


That's why it's awesome.


Lol all these people salty at you.

I think you're right that the world of executives is less like "employment" and it's kind of insulting to pretend it is.

But I also think it's fine for executives to sue the companies they represent. I think the government should have a role in corporate governance. I would even support having a government appointed representative like the Federal Reserve has.

But I'm just a communist :p


The replies are missing the point, I agree. “Executives” are part of the bourgeoisie, employment laws bitterly won by the organised proletariat aren’t really relevant.

At the same time, people can sue each other based on laws, why not? If you don’t like that, you should join those working to overthrow the current system.

I think it’s also potentially useful, at least rhetorically, for gender discrimination to be an issue even among the ruling class.


These things are made of neural networks. Literally everything about them is weights and biases.

I agree and all, but it's weird to claim these models have general bias without testing them on a variety of inputs. These models have a lot of minute details. They're capable of differentiating a lot of specific things. They don't lack information about Indian women.


The industry agreed to standardize on Python for the task of describing compute-graphs that get executed by compute engines implemented in something other than Python. Python is not meant to be used for the computation itself.


And then other people came along, using other languages, and realised we could do the same compute, with a fraction of the hardware, in about the same time, in the languages they’re already using, which really diminishes the appeal of Python, which boils down to:

“Setup some infra, and get someone who knows how to operate it, and then write new code in python, and babysit it as it ossifies into a core piece of infrastructure”

_or_ optimise it in a language you’re already using, or is semi-common in your stack already, and then move on with things.


It seems to be failing to create a repository right now


We got a massive inflow of traffic from HN today and that seems to have hit some rate limits with GitHub. We're looking into it.


I think it's breaking some other things as well

[stage-1] Expected "\"orange\"\n" as stdout, got: "Hello World 2!\n"


(codecrafters dev here)

This should only affect C# repositories, and we're working on a fix - C# support is relatively new, and looks like there are some teething issues with the caching mechanism we use to run tests (we aim to keep median response times <3s).


(codecrafters dev here)

Rate limits issue should be fixed now!


Defund and Re-allocate. They really need to start saying the re-allocate part. No one can take them seriously without it.


Dude was literally petitioning his government for a redress of grievances, at a public meeting exclusively meant for that.


I get your point, and I agree with it for most cryptocurrencies.

In this case, the proof-of-work would be peer-review instead of computation, and the "blocks" would be as frequent as "minor releases". The need for computation would be pretty light.

Not that I'd actually support it in practice lol


As it is, I go on npmjs.com, look at the number of downloads, and hope for the best. Then ‘npm audit’ runs automatically, spitting out anywhere from a few dozen to several hundred warnings which I then ignore, still hoping for the best.


Nothing better than starting a brand new project from template and that's the first thing you see. Looking at you CRA.


Sounds like GitFlow


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

Search: