Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hansvm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
571.
▲
by
hansvm
1y ago
The purpose of snapshot testing is to not have observable changes if you think there shouldn't be observable changes. To that end, a pattern I like is: - Don't store/commit the snapshot and have an "update" command.
572.
▲
by
hansvm
1y ago
If we're tallying such things up, I've had those sorts of major issues with Trello, Google, Navionics, FitBit, FixD, and a number of other companies over the years. My local data on the other hand has had zero issues.
573.
▲
by
hansvm
1y ago
What if you have to keep some data closer and away from the source of truth though? Given that constraint, TFA argued that other architectures could do the job but that caching functions as an abstraction.
574.
▲
by
hansvm
1y ago
And still, the entire bank account is still vulnerable to a $15 silent borrowing of your phone number for a day, bypassing all normal protections. The system is only harder to access for the rightful owner.
575.
▲
by
hansvm
1y ago
> The reason Machiavellianism is stupid is that the grand ends the means aim to obtain often never come to pass That doesn't feel quite right as an explanation. If something fails 10 times, that just makes the means 10x worse. If th
576.
▲
by
hansvm
1y ago
> cryptosystem is broken The problem isn't the cryptography. It's the hard part of cryptography, key management. In this case, the key is in the hands of the attacker, written down for all to see, and the only real defense is t
577.
▲
by
hansvm
1y ago
- Attach a screen to the camera. Bonus points for bothering to calibrate that contraption. - Watermarking is nearly useless as a way of conveying that information, either visibly distorting the image or being sensitive to all manner of norm
578.
▲
by
hansvm
1y ago
> people who get used to "everything is an expression" languages tend to prefer it, I've found I.e., if we bias our sample to the data points proving our point then our point is proven. It's like that quip about how e
579.
▲
by
hansvm
1y ago
Fun fact, that's part of why parsing protobuf is so slow.
580.
▲
by
hansvm
1y ago
Yeah, it's pretty common in the Bay. I did project that on wherever they're from. I also didn't expect $15k-$30k in the jump from "not reliable" to "reliable" cars from somebody worried about a 20% interes
581.
▲
by
hansvm
1y ago
It's occasionally useful to want multiple allocations of size 0, each one with a valid address -- generic containers parsing something as a some sort of sequence object and you want all code interacting with it to do something valid. I
582.
▲
by
hansvm
1y ago
Some things are still a lot easier to buy in-person, like books and clothes. Online stores rarely have enough information about the product, either as a whole (materials, specs, etc) or as an instance (wear and tear, etc).
583.
▲
by
hansvm
1y ago
Why'd that suck so much? As a software dev couldn't you just pay it off a month or two later?
584.
▲
by
hansvm
1y ago
In terms of modifying the house it depends on your local market. The general observation is that something making the house "special" tends to drive the price up rather than down. E.g., radiant heating via floor circulation can be
585.
▲
by
hansvm
1y ago
I mean, you're both correct. It's kind of like how when selling a house your optimal strategy is rarely to try to appeal to the most people. Instead, modifications which greatly increase perceived value in a smaller subset (so lon
586.
▲
by
hansvm
1y ago
I'm a little surprised too. Even at the speed of sound in granite (6km/s) where you can start to consider crater-forming dynamics you only get an impact depth of 200ft. Treating it as a Newtonian impactor you get a depth of 60ft.
587.
▲
by
hansvm
1y ago
- The walking thing you can mostly calculate yourself if you only examine particular foods, but here's some study looking at the dietary impact in practice averaged across a country (walking has comparable emissions to a 22mpg car trip
588.
▲
by
hansvm
1y ago
Coming from an assumption of being overweight or otherwise needing extra exercise in your day the argument completely falls apart. In the US, on average, you'd have a ton of benefits encouraging more walking, likely reducing net CO2-eq
589.
▲
by
hansvm
1y ago
Going up a few levels in the conversation, I think the question is about the extra-durable bags the store sells for $0.15, not properly reusable bags (hence me calling out encouragement of properly reusable bags as a potential solution).
590.
▲
by
hansvm
1y ago
Oh, fun, thanks. And it has a link to the form I'm about to fill out from a recycling center who denied that. Excellent.
591.
▲
by
hansvm
1y ago
Yeah, the problem is that they aren't required to take them and pay you. Most recycling centers don't have that system. You have to go a long ways out of your way (for most residents), leading to the problem you described.
592.
▲
by
hansvm
1y ago
People still view them as disposable though. Public policy necessarily interacts with real people, and those interactions are currently a net negative. You might fix that by encouraging properly reusable bags (e.g., by banning even the rugg
593.
▲
by
hansvm
1y ago
That can't possibly be the case. The thing concluded was that for every n the statement holds. To do that exhaustively for _every_ n requires infinite time. Either their conclusion is incorrect, or your description of the proof is inco
594.
▲
by
hansvm
1y ago
I'm shocked and appalled that you'd call the "virtual harems" YouTube tries to get me to install either scammy or wildly inappropriate. I've reported them a dozen times, and they're still on the platform, so I&
595.
▲
by
hansvm
1y ago
> The kids will at some point worship a prompt-engineered God The way some people talk about LLM coding I don't know that we're far off.
596.
▲
by
hansvm
1y ago
One thing that comes up in the sort of code ML I like to write is a careful attention to memory layout. Cracovians, defined according to some sibling comment as (B^T)A, make that a little more natural, since B and A can now have the same la
597.
▲
by
hansvm
1y ago
> most of the time the LLM has written correct code [...dumb bugs] What domain do you work in? I hope I'm just misusing the tool, but I don't think so (math+ML+AI background, able to make LLMs perform in other domains, able to
598.
▲
by
hansvm
1y ago
> additive The overhead is usually multiplicative per-item. Let's say you're doing N things. CRDTs make that O(Nk) for some scaling factor k, and adding encryption makes it O(Nkj) for some scaling factor j. Give or take some mu
599.
▲
by
hansvm
1y ago
> 30 cent is Not everyone pays the same amount in taxes. > does 30 cents (or the actual value, $3) matter? Not hugely, but the other point is still important. If somebody takes $3 out of my back pocket a few times each hour it adds up
600.
▲
by
hansvm
1y ago
It's something like $3 straight out of my pocket, and it's going to be a flop. That trillion dollar military budget has a lot of semi-unavoidable costs (pensions, salaries, etc), but it has a lot of bullshit like this too. Your ar
More ›