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

You actually can do that. https://github.com/settings/pages


Thank you; just did that for my domain I use with GH Pages. They should really mention that in the setup instructions.


It looks like SARIF is JSON, with a formal schema. I'm guessing the JSON they used to output used their own, non-standard schema.


Could be to highlight their incompatibility?


Fun fact: Modding an NA SNES to play Japanese games is one step: use some needle-nose pliers to break off a small plastic tab in the cartridge slot.


There are communities of people who publicly blog about their eating disorders. I wouldn't be surprised if the laymen's discourse is over-represented in the LLM's training data compared to the scientific papers.


Maybe you need to make shorter PRs?


haha as if. I mostly do bugfixes, small features, and otherwise most of my PRs are just unit text fixes so that our CI jobs run again (because my colleagues don't seem to care about breaking tests, so I get to fix everyone's tests, so that QA doesn't go postal).

To put it into numbers: my PRs are usually less than 5 files changed, and very little changes in those files.


Why can code even go in with breaking tests? They shouldn't even have the power to do that.


Because each job only runs once in the middle of the night when it detects any changes. Also a lot of our tests are very finicky and need to be restarted multiple times before they run successfully, so a failing test isn't necessarily an indication of bad code. On top of that, a lot of our tests are not actually testing anything useful, they are merely fulfilling the customer requirements from specifications - the only useful test for a lot of these requirements are full system tests, which are not easily automated since there are a lot of complex interconnected systems involved with expensive physical hardware that would not be easy to fake.


Yeah, my first thought (admittedly an absurd one) went to something along the lines of:

"I flipped a coin and the LLM called heads. I should have gone with tails..."


The title is misleading. Productivity isn't at 10%, it's at 110%.


> For Linux, just use the emacs that comes with the distro.

Are the major distros shipping packages with tree-sitter support yet?


Yes. All of them.


"Distributed systems" doesn't have to mean some fancy, purpose-built thing. Just correlating between two Postgres databases might be a thing you need to do. Or a database and a flat text file.


I usually just have a uuid4 secondary for those correlations, with a serial primary. I've done straight uuid4 PK before, things got slow on not very large data because it affected every single join.


Do most people? Not everyone is Google.


Many people have more than 1 server that need to generate coherent identifiers amongst one another. That's not a "Google scale" thing.


Your comment heavily implied (to me) scaling databases horizontally. Yes, it's not necessarily "Google scale" either, but it's a ton of extra complexity that I'm happy to avoid. But a Google employee is probably going to approach every public-facing project with the assumption of scaling everything horizontally.

With multiple servers talking to a single database, I'd still prefer to let the database handle generating IDs.


Yeah, there's too much advice jumping straight to uuid4 or 7 PKs for no particular reason. If you're doing a sharded DB, maybe, and even then it depends.

Speaking of Google, Spanner recommends uuid4, and specifically not any uuid that includes a timestamp at the start like uuid7.


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

Search: