HN user

millipede

97 karma
Posts0
Comments28
View on HN
No posts found.

On top of that comes what is owed to oil companies and suppliers, claims stemming from expropriations under Chávez and the outstanding loans from China and Russia.

It seems like China or Russia would expect to be paid not in dollars, but in Oil Wells and Refineries. Why would they accept restructuring of the debt instead of repo'ing the assets?

Saltwater comes in the air. Just being near it corrodes everything. Both stainless steel and bronze are very expensive. Even if things were made of corrosion proof materials, not everything can be, for strength reasons.

Picking a random orientation depends on trigonometric functions. In order for this to calculate, it would be a lot cooler if it didn't depend on transcendental functions.

Events like this show that the Internet is pretty heavily centralized. The original DARPA Internet was supposed to be resilient to stuff like this, but it's clear that the old Internet, and the new Internet, are not the same. We as Internet engineers really need to be better here, and design hardware and software to be ready to handle any errors, even unlikely ones like a state actor breaking things.

It's like installing smoke alarms; no one thinks they need them until they do.

Jepsen: NATS 2.12.1 8 months ago

Right, I think the lazy thing implies that it would happen post "commit" being returned to the client, but it doesn't need to be. The commit just needs to be wait for "an" fsync call, not its own.

Jepsen: NATS 2.12.1 8 months ago

I always wondered why the fsync has to be lazy. It seems like the fsync's can be bundled up together, and the notification messages held for a few millis while the write completes. Similar to TCP corking. There doesn't need to be one fsync per consensus.

Both ints and floats represent real, rational values, but every operation in no way matches math. Associative? No. Commutative? No. Partially Ordered? No. Weakly Ordered? No. Symmetric? No. Reflexive? No. Antisymmetric? No. Nothing.

The only reasonable way to compare rationals is the decimal expansion of the string.

I've been throwing moderately large parties the past 2 years (12-40 people) and the lack of partying is definitely noticeable. Most people don't reciprocate, making it disheartening to keep doing it. I wanted to build friendships out of it, and hopefully get invited to more parties myself, but so far it hasn't happened. It's a decent amount of set up (cleaning, buying food, coordinating), and a lot of clean up after too. The ROI isn't where I want it.

I kind of wonder if people have just forgot what to do after the party is over. I had hoped it would be "that was so fun, we should host one", but instead it just kinda fades away in their minds.

There's a great graph showing the wages stagnating compared to GDP growth. It looks like wage's haven't gone up. But, when adding back in employer provided health coverage and other benefits, the graphs align again. It just wasn't in dollars. TFA briefly mentions it but I think it should be front and center.

Type inspection is the flaw of Go's interface system. Try to make a type that delegates to another object, and the type inspection breaks. It's especially noticeable with the net/http types, which would be great to intercept, but then breaks things like Flusher or Hijacker.

Neat, looks like it would work well for values clustered around 0.5, and which hang more closely around 0 and 1.

This is exactly right. I've stopped publishing to my blog because I know my words will be slurped up and sausaged out into ChatGPT or Gemini. And, without people writing about technical subjects, or talking about current events, or other thoughtful discourse, Google has no future in Search nor ads.

In the future, maybe OpenAI or Google or Perplexity will pay for people to write about interesting subjects because doing it for free online is no longer rewarding.

Cursors are generally better, but they don't give any hint about how much more is in front of the cursor. I don't think there is a O(log n) algorithm to keep track of what position a given item is in a collection (k'th item out of n), which still keeps the other CRUD operations at O(log n). This would be useful to split a large, dynamically changing result set into smaller parts that can be scanned through using a cursor.

The Dow Jones index serves a different purpose: it's meant to be easy to update without the use of a computer. It's easy to update and publish the index since the math is a lot easier, and doesn't involve pulling in hundreds of quotes and trying to tabulate a weighted average.

It's not that useful now that we have computers, but in the early 1900s it was a reasonably good approximation of a market cap using fast math.

Saying this as probably the biggest Java fanboy I know: they are pretty bad. Gradle is pretty much the worst build system Ive used. IntelliJ might as well be folded into the JDK, because I don't think it's possible to be productive in Java without it.