HNHacker News
TopNewBestAskShowJobs

strictfp

2,733 karma · joined April 30, 2011

submissionscomments
strictfp··on AWS us-east-1 outage
"some customers may experience a slight elevation in error rates" --> everything is on fire, absolutely nothing works
strictfp··on AWS us-east-1 outage
"some customers may experience a slight elevation in error rates" --> everything is on fire
strictfp··on Tips on adding JSON output to your CLI app
Pretty much every linux tool pulls these shenanigans. I hate it when there's no flag to control output.
strictfp··on Tell HN: GitHub is down again
Generally I agree. Humans are much better at recognizing patterns than machines.

But as a counterpoint I was once working in a project where our monitoring dashboard showed an anomaly in incoming traffic. It turned out that it was an ISP problem and that we were the first ones to notice according to them.

So maybe part of the answer as to why customers are faster is that different monitoring systems are monitoring each other :)

strictfp··on Piracy release group EVO ‘blames’ movie industry for its popularity
Balkanization in the licensing models is the biggest problem for people outside of the US. There is a lot of media that I cannot buy digitally. Some of those I can buy in physical formats, and some I just straight up cannot buy. Period.
strictfp··on Java Virtual Threads Preview
My biggest gripe with continuations, futures and callbacks is the propensity for stalls; if the programmer makes a mistake it's quite likely that the program will just stall, with very little insight available as to why that happened.

With threads, green or not, you have a much clearer failure model and is easier to debug.

strictfp··on Why SQLite does not use Git (2018)
I probably supressed my memories of connection issues :D I love DVCSes, hated not being able to work offline I agree with the time lapse view and p4merge. Maybe one should hack together a time lapse tool for git? :thonk:
strictfp··on Why SQLite does not use Git (2018)
If you read my post again, you'll see that I already mentioned rerere :)
strictfp··on Never update anything
Welcome to Docker, I love you
strictfp··on Why SQLite does not use Git (2018)
IMO conflict resolution is almost always harder than redoing the change by hand, especially while looking at the old diff and redoing it towards the new branch. Kind of ironic given how hard diff editors try to help.
strictfp··on Why SQLite does not use Git (2018)
I really liked Perforce changelists, so in theory I should like the staging area, but I kind of don't :)

I use it nowadays, but I think it's too limited to provide value like Perforce changelists does.

I'd like to have one changelist for random local dev changes, like setting debug flags or turning off optimizations. Stuff I have no plan on checking in.

Then I'd like to group my edits into maybe one to three possible future commits.

The staging area doesn't allow this, I need to keep doing "git add -p" and carefully sidestep all the debugging stuff, plus that I can only work on one commit at a time.

So could have been useful, but not so useful in it's current state IMO.

strictfp··on Why SQLite does not use Git (2018)
git-remove-ref-format vigilantly removes non-annotated remote ref formats using non-configured upstream branches, while applying applicable parents to transfer the given ref formats.

https://git-man-page-generator.lokaltog.net

strictfp··on Why SQLite does not use Git (2018)
Yeah, but they denied the problem for the longest time, so they deserve some flak for it :)
strictfp··on Why SQLite does not use Git (2018)
I don't know, git doesn't have very good memory when doing rebases. You need to redo the same conflict resolution several times. You need rerere to get around that. Plus that it's quite hard to rewrite dates, names, or split commits into several.
strictfp··on Why SQLite does not use Git (2018)
Intersting. I always found git needlessly obtuse, with for instance the status reporting diffs to local remote-tracking branches instead of the actual remote branches, the staging area having an unclear purpose to me at the start, that it mixes up "local" "remote" and "base" depending on how an operation is implemented, commands doing double duty providing wildly different functionality etc..
strictfp··on Why SQLite does not use Git (2018)
Agreed. Perforce has much better UX and tooling than git though.
strictfp··on Why SQLite does not use Git (2018)
I love git because it's fast, but the UX is trash
strictfp··on Why SQLite does not use Git (2018)
"How should I change to a different branch?" asked the programmer.

"Use git checkout."

"And how should I create a branch?"

"Use git checkout."

"And how should I update the contents of a single file in my working directory, without involving branches at all?"

"Use git checkout."

https://stevelosh.com/blog/2013/04/git-koans/

strictfp··on Why SQLite does not use Git (2018)
Did you ever use any other VCS?
strictfp··on Why SQLite does not use Git (2018)
I think the mental model is "I can use this tool, since it's hard it will make me look smart"
strictfp··on Why SQLite does not use Git (2018)
BuT It MaKEs SeNsE If YoU KnOW HoW ItS ImPleMEnTeD
strictfp··on Google's infamous internal 2010 “I just want to serve 5TB” video now public
In change management they argue that companies tend to purposely slow down change over time to become more predictable and lock in on the "successful route". That certainly mirrors my experience. The only thing I don't understand is why you hire so many people when you let a few handful people gate everything. You might just as well fire 80% of the workforce.
strictfp··on MangoDB: An open-source MongoDB alternative
Oracle is a hot mess but it also has some really powerful features, like table sharding , that actually works if you manage to set it up correctly.
strictfp··on Roy Fielding's Misappropriated REST Dissertation (2020)
Not true. People are trying to use the mental model of a huge stateful desktop app and apply it to the web. That's not to say it's a good idea to use that model, far from it.

The web was designed to avoid it for multiple very good reasons. In fact, the success of the web has partially been attributed to those very design decisions, so it might make sense to pay attention to them.

strictfp··on An Update on Our Outage
There's nothing intrinsically wrong with say ZK, it's very powerful, but my point is that you should avoid these systems if you can. Distributed concensus is not an easy problem, it's very error prone, and if you do this more than you absolutely have to you're doing it wrong.
strictfp··on An Update on Our Outage
Having built many distributed applications I would hesitate to use ZK/consul directly, mostly since your cloud provider is already providing most type of primitives directly or indirectly in the services they provide.
strictfp··on An Update on Our Outage
My stance is: why even have any of those? Are you running in a local datacenter?
strictfp··on Grand jury subpoena for Signal user data, Central District of California
Press x to doubt
strictfp··on Roy Fielding's Misappropriated REST Dissertation (2020)
I disagree. The idea with REST is to push state to the backend, and add links to substates, so that the protocol doesn't have to be stateful, and logic is pushed to the edges of the network.

SPAs breaks this principle by making webpages into fully fledged apps who do their own state tracking and navigation. This was never the intention of REST. The idea was to make the webpages themselves linkable RESTful substates of the application, and having the browser do the rest.

From the SPA angle, RPC might look like a good solution. But RPC in itself doesn't solve any problems except literal remoting.

A RESTful API makes states linkable and removes ordering dependences from the API.

Look at web frameworks which tried to make web sessions stateful. They are dealing with all the pains that REST solves.

strictfp··on NYT journalist hacked with Pegasus after reporting on previous hacking attempts
I wouldn't say so. The problem is the cyber warfare market created by nation states. If it wasn't for those large spenders, we wouldn't be where we are right now.

IMO nation states had a very negative influence on the internet, bringing secrecy, warfare, balkanized markets, mandatory identification and other closed concepts to a place that worked on open principles.

If states would invest more in security advancement and open research than in warfare, we might have been in a better position.

← PreviousPage 4 of 25Next →