Preferences

millipede
Joined 86 karma

  1. 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.
  2. 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.
  3. 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.

  4. > Ctrl-F "convertible"

    > 0 of 0 matches

    Some analysis.

  5. Intuitively it doesn't sound like it would work. The program doesn't call listen() or accept() on the socket.
  6. 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.

  7. Information is valuable; we just weren't charging for it. AI is just bringing the market for knowledge back into equilibrium.
  8. "AI is Amazing" - People who barely write any code.
  9. 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.
  10. 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.
  11. Not with HTTP/2
  12. Unbelievable, they actually missed one: 2^(log(22)/log(2)) has all even digits!
  13. Neat, looks like it would work well for values clustered around 0.5, and which hang more closely around 0 and 1.
  14. Hm, cool idea but ran into a glitch. Cutting 3 elongated ovals, end to end and forming a triangle, didn't remove the center piece.
  15. 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.

  16. 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.
  17. > EVCache

    EVCache is a disaster. The code base has no concept of a threading model. The code is almost completely untested* too. I was on call at least 2 time when EVcache blew up on us. I tried root causing it and the code is a rats nest. Avoid!

    * https://github.com/Netflix/EVCache

  18. In other words, money is speech.
  19. 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.

  20. 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.

This user hasn’t submitted anything.