Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
daxfohl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
481.
▲
by
daxfohl
1y ago
But if you teach them the right way to do it today and have them fix it, they won't go and do it the wrong way again tomorrow and the next day amd every day for the rest of the summer.
482.
▲
by
daxfohl
1y ago
FWIW I was mostly on the compliance side, so didn't have all that much direct exposure to the transaction side of things. But from the exposure I did have, I didn't see a huge difference. A transaction is a transaction. And the tr
483.
▲
by
daxfohl
1y ago
As verbose as Java is, it was even worse 20 years ago. If Kotlin, or C# 3.5+ were the OOP lingua francas at the time, maybe there would have been less need to create something else. But still, "why not"? The first "alt-lang&q
484.
▲
by
daxfohl
1y ago
I've gotten there, but only after about 25 years in the industry. I think when you're just starting out, you should be excited about different technologies and looking for excuses to try them out.
485.
▲
by
daxfohl
1y ago
Doesn't everyone benefit from those things? I didn't follow the fintech call-out here. Is fintech really that much different from other fields? I worked in it for a couple years and the only big difference I saw is how much of a p
486.
▲
by
daxfohl
1y ago
Why? IIUC it implies that they _don't_ have their own string implementations. They get the benefit of Java JDK's string implementation (and JVM optimization thereof) for free. If they had their own string implementations, they
487.
▲
by
daxfohl
1y ago
The bucket is computed from the hash code and the size of the array, but that's not necessarily the index. If there are no bucket collisions, then index==bucket and this works out. But if there are bucket collisions then the index will
488.
▲
by
daxfohl
1y ago
They should. It's a JVM feature on core JDK classes.
489.
▲
by
daxfohl
1y ago
> Does this make string.intern() more valuable? Probably depends on the use case, though I'm having trouble thinking of such a use case. If you were dynamically creating a ton of different sets that had different instances of the sa
490.
▲
by
daxfohl
1y ago
How would it directly replace your key with its value? What if there are bucket collisions? Do immutable maps expand until there aren't any? Moreover, what if there are hash key collisions? There needs to be some underlying mechanism t
491.
▲
by
daxfohl
1y ago
Cool that we're still seeing perf improvements after all these years! I'm confused by some of the details in the example. Like, would we see similar 8x improvement in a simpler example like a string hashset lookup? Is there someth
492.
▲
by
daxfohl
1y ago
Maybe have a "reconcile" option, for it to see if it can mix and match the best parts of each alternative rather than just choosing one.
493.
▲
by
daxfohl
1y ago
I thought so too, but it seems reasonable considering we're 70% water, much of it flowing and actively taking stuff out and around. Plus cells are apparently way more dynamic than is typically conveyed in high school bio (I think there
494.
▲
by
daxfohl
1y ago
A body's atoms do completely recycle every 5-7 years though. 98 percent are recycled annually. Weird.
495.
▲
by
daxfohl
1y ago
In a way, nondeterminism could be an advantage. Instead of using these as unit tests, use them as usability tests. Especially if you want your site to be accessible by AI agents, it would be good to have a way of knowing what tweaks increas
496.
▲
by
daxfohl
1y ago
Seems like it would be easy for foundation model companies to have dedicated input and output filters (a mix of AI and deterministic) if they see this as a problem. Input filter could rate the input's likelihood of being a bypass attem
497.
▲
by
daxfohl
1y ago
"If you're not cheating, you're not trying."
498.
▲
by
daxfohl
1y ago
Well maybe a local Airbnb MCP could have access to your phone to call the host. Or to your wallet to pay. That may make more sense than having a separate "wallet MCP server" running locally and having the LLM coordinate the transa
499.
▲
by
daxfohl
1y ago
Hmm, in that example the MCP server is just a thin api wrapper though, so it wouldn't change anything by running locally, right? Like I could see where maybe a TikTok MCP server would benefit from running locally since that would allow
500.
▲
by
daxfohl
1y ago
I'd expect "local MCP servers" will be generally installed as part of something else. Photoshop, or Outlook, or whatever could come with a local MCP server to allow chat clients to automate them. Maybe printer drivers or othe
501.
▲
by
daxfohl
1y ago
But, email? Sounded like a cool idea on first read, but when thinking how to apply personally, I can't think of a single thing I'd want to set up autoreply for, even drafts. Email is mostly all notifications or junk. It's not
502.
▲
by
daxfohl
1y ago
Oh they've been doing that (and pretending not to) for years already. https://hackaday.com/2019/01/03/cheating-ai-caught-hiding-da...
503.
▲
by
daxfohl
1y ago
Godel and Einstein were actually quite close.
504.
▲
by
daxfohl
1y ago
Here's a summary of my layman's understanding, which could be wrong. To my understanding there's nothing special about it except once you get to quantum field theory, and specifically spin-2 particles, which are the ones th
505.
▲
by
daxfohl
1y ago
Oh wow, that's incredibly cool. (tldr: the authors of Verus, mostly university researchers, are already thinking in this direction). I think having guardrails like this is going to incredibly important as AI code gen starts taking a bi
506.
▲
by
daxfohl
1y ago
ICYMI: a slick link from the article with a video that demonstrates how closed timelike curves work in Godel's time traversal solution to Einstein's field equations. https://iopscience.iop.org/article/10.1088&
507.
▲
by
daxfohl
1y ago
The only reason I've heard that isn't super handwavy is that measuring it would require a wavelength with enough energy to create a black hole. IDK if that's true or not, and IDK if that also means the distance doesn't e
508.
▲
by
daxfohl
1y ago
Would it be better to build dependent types into the language itself so that we can guarantee any spec we want? Or do these tools have some advantage over dependent typing?
509.
▲
by
daxfohl
1y ago
For two years during covid that's how people worked and how kids attended school. So I'd say generally using a computer to communicate, understand expectations, and perform for complex tasks is something well within most humans&#x
510.
▲
by
daxfohl
1y ago
I see intermixing of the terms quantum computer and quantum system. These are different concepts, and I think that's the source of the confusion. A quantum computer is a well defined thing. It's just like a classical computer but
More ›