Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zmj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
zmj
4y ago
I’ll disagree with this. Every time I’ve seen that, the interference between tests was also possible between requests in production. I’d rather my test framework give me a 2% chance of noticing the bug than 0%.
92.
▲
by
zmj
4y ago
R2's compatibility with the S3 API still has a ways to go. I tried to port over a relatively trivial app written on the AWS SDK and found: * Request header signing is not supported (ok, fine) * Tagging is not supported (showstopper)
93.
▲
by
zmj
4y ago
Sure, it was in north central RMNP - the north slope of Fairchild Mountain and the saddle between Fairchild and Hagues Peak. I checked again and FreshSat has since been updated - 10/13 and 10/18 are the dates on the layer. Thanks
94.
▲
by
zmj
4y ago
Happy Gaia user here, thanks for your work! The core topo functionality works great for me online or offline in RMNP and the surrounding area. One question if you're able to comment - what's up with the satellite snow coverage lay
95.
▲
by
zmj
4y ago
This reminds me of an old essay: https://www.joelonsoftware.com/2005/07/25/hitting-the-high-n... The thesis is that the "10x engineers" don't output a linear multiple of the same kind of work t
96.
▲
by
zmj
4y ago
I stack PRs when I'm working on a piece of new code, and in the process discover one or more refactors that simplify the diff for the new code. I wouldn't start at the refactors and then wait to proceed - there's a chance the
97.
▲
by
zmj
4y ago
"The God is Not Willing", the first book in a new trilogy by the author of the Malazan Book of the Fallen. Set in the same universe. A bit over halfway through, reading a chapter every few days.
98.
▲
by
zmj
4y ago
Two-way communication is great even outside of emergencies. A couple times, I’ve used it to tell my check-in person that I was going to miss my scheduled return time, but didn’t need help. Another time, I used it when I was at home to text
99.
▲
by
zmj
4y ago
Why do you care what you insert into the DB? Your test for a Put method should validate the return from the corresponding Get.
100.
▲
by
zmj
4y ago
This assumes the client's system clock is well-behaved, which is rarely true over long time spans.
101.
▲
by
zmj
4y ago
I once did something similar in C# to deterministically test some concurrency-heavy code (injecting custom TaskScheduler instances). It gave me a lot of confidence that it actually worked.
102.
▲
by
zmj
5y ago
I worked on another sync client's representation of filesystem structure, and came to the same conclusion. Hard links enable some cool behavior, but in retrospect added more complexity than anyone expected. Migrating to shortcuts /
103.
▲
by
zmj
5y ago
For a cheap, specific recommendation: if consumers of an api shouldn't depend on the order of a result set, randomize it.
104.
▲
by
zmj
5y ago
The designer isn't the runtime. Custom controls work fine in the application; it's the click-and-drag builder in Visual Studio that doesn't work. I don't miss it.
105.
▲
by
zmj
5y ago
I probably will. The OnHub has performed substantially better than the other consumer wireless routers I've used, and after 5 years it's due to be replaced anyway. Might as well take the discount.
106.
▲
by
zmj
5y ago
Nobody woken up in the middle of the night to debug your code wants you to write that.
107.
▲
by
zmj
5y ago
Yep, it's a rewrite rule: https://pkg.go.dev/cmd/gofmt The combination of unambiguous syntax and consistently-formatted code results in rewrites producing meaningful diffs (most of the time).
108.
▲
by
zmj
5y ago
There's a Windows component for this now - Projected Filesystem (projfs).
109.
▲
by
zmj
5y ago
High-stakes bets escalated to the public forum just to maintain the status quo aren't encouraging - even when the good guys win.
110.
▲
by
zmj
5y ago
Reverted: https://github.com/dotnet/sdk/pull/22262
111.
▲
by
zmj
5y ago
> At a previous company we had someone angrily call in with a bug. We had moved a button several pixels and this broke some automation they had built which relied on the pixel coordinates of the button. This is part of why Windows doesn&
112.
▲
by
zmj
5y ago
I've run into this in code that completes synchronously in the common case, but falls back to an async implementation - think caching. The simple way to write this creates a state machine even on the synchronous path. It's possibl
113.
▲
by
zmj
5y ago
I tried this recently (~2 years ago). SQLite is faster, but returning unused space to the OS is a pain. If you don't need that to be prompt it's a good solution.
114.
▲
by
zmj
5y ago
The statewide average is deceptive here. The northern Front Range (South Platte basin) had a very snowy / wet spring, but the rest of the state is well below historical averages.
115.
▲
by
zmj
5y ago
Yep, Streams or Pipes for IO. No seeking, forward-only reads - using this with network in/out was my goal. Thanks for pointing out the broken link. Looks like it's here now: https://librsync.github.io/page_rdiff.ht
116.
▲
by
zmj
5y ago
The rsync algorithm is pretty cool. I implemented it in C# a couple of years ago: https://github.com/zmj/rsync-delta
117.
▲
by
zmj
6y ago
No - predictions are different than post-dictions blaming the people you already didn't like.
118.
▲
by
zmj
6y ago
The move to async trades one set of problems for another. Yes, implementing cooperative cancellation is tricky. On the other hand, recovering from corrupted state caused by Thread.Abort is also tricky.
119.
▲
by
zmj
6y ago
Never trust a clock.
120.
▲
by
zmj
6y ago
Doesn't that select for people who need tenure's security to stay employed? That's.. not great.
More ›