Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zmj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
zmj
2y ago
I had to deal with the second problem in a file synchronization app. The solution was to propagate a “device id” through the request and poll/push, so the originating device could ignore changes that it originated.
62.
▲
by
zmj
2y ago
Thanks Russ! Putting tooling on a first-class basis was revolutionary, and it's still Go's standout feature.
63.
▲
by
zmj
2y ago
I read a lot of SFF, but the actual Hugo / Nebula winners don't really move up in my reading list compared to the other nominees. Maybe the "winner" sticker drives some paper book sales?
64.
▲
by
zmj
2y ago
https://hub.docker.com/r/localstack/localstack
65.
▲
by
zmj
2y ago
Migrate the most complex use case first. There's nothing worse than discovering mid-migration that you have to pause for rework. Better instead to slow down with your first adopter and accelerate for subsequent.
66.
▲
by
zmj
2y ago
.NET is a little smarter about switch code generation these days: https://github.com/dotnet/roslyn/pull/66081
67.
▲
by
zmj
2y ago
Agreed this was confusing. It seems like the risk factors that would lead to turning off a neighborhood (non-buried power lines, exposure to wind and available fuels) should have been known and announced in advance. I'm in Lafayette, a
68.
▲
by
zmj
2y ago
That's actually a real concern for using this strategy in Colorado in the fall. The Marshall Fire (mentioned in the article) was followed by snow and temperatures well below freezing. Sadly, this probably killed some pets that escaped
69.
▲
by
zmj
3y ago
My World of Warcraft account. 20 years this fall!
70.
▲
by
zmj
3y ago
Wasn't that due to lightning strikes on the cables?
71.
▲
by
zmj
3y ago
This isn't FUSE. It's a thin middle layer to hydrate content into the real filesystem.
72.
▲
by
zmj
3y ago
Do you want the thing you're building, or do you want to have built the thing you're building?
73.
▲
by
zmj
3y ago
FFI was high priority for C# in the early days, when most meaningful .NET software was running on Windows and doing interop with win32. The runtime was designed to ensure that scenario would be low-overhead, and that legacy lives on in mode
74.
▲
by
zmj
3y ago
Yup. I’ve had one of the North Carolina Google Fiber shirts for well over a decade. I walked by the office a few weeks ago. It’s vacant and looked trashed inside. There’s a metaphor there.
75.
▲
by
zmj
3y ago
Go has entered the "boring technology" phase, along with Java, .NET, etc. It's a safe, productive choice, with well understood upsides and downsides. There's not much to talk about... and that's ok! "Choose Bor
76.
▲
by
zmj
3y ago
> the tests always pass > it happens often that, even if the changes looks reasonable they are wrong I’m having trouble reconciling these two statements. When I review code, I’m rarely looking for bugs. Instead I’m looking for tests t
77.
▲
by
zmj
3y ago
Collection expressions are somewhere between spooky and very cool. If you don't specify a concrete type for the collection, the compiler is free to choose the "best" option given your usage of the collection: https:/&
78.
▲
by
zmj
3y ago
Two-way communication is important to prevent false positive emergencies, too. There have been several times I've used my inReach to message that I'm going to miss my planned check-in time, but everything is OK - no need to alert
79.
▲
by
zmj
3y ago
There's a lot of that happening in the Front Range (east side, not the Colorado). In addition to the mentioned benefits, beaver dams are also great at filtering debris from recent wildfires from continuing downstream.
80.
▲
by
zmj
3y ago
I'm really hoping Aug 30 is a clear night in Colorado. Hiking by moonlight is something else.
81.
▲
by
zmj
3y ago
I think this is the sweet spot. Last time I worked with SQLite on .NET I wrote a wrapper library along those lines: https://github.com/zmj/sqlite-fast
82.
▲
by
zmj
3y ago
Those can be some of the most fun problems. Fixing deeply rooted reliability or scalability problems in the business's core product without disrupting users? That's absolutely a path to recognition and rewards.
83.
▲
by
zmj
3y ago
I'm a data point towards that feedback loop. My partner and I moved to Colorado from a Southern state 4 years ago. We wanted to live somewhere in the West, and chose Colorado because: * Mountains! * Great legal protections for gender m
84.
▲
by
zmj
4y ago
I'm not familiar with the Python client specifically, but Redis clients generally multiplex concurrent requests onto a single connection per Redis server. That necessitates some queueing.
85.
▲
by
zmj
4y ago
Office documents are zip files - you could get a start on this by version-controlling the contents individually.
86.
▲
by
zmj
4y ago
C# has the same issue for stack-allocated spans. Doing that in a loop is often a stack overflow.
87.
▲
by
zmj
4y ago
I booked the 5-7am slot at RMNP every week this summer and had no problems, including July 4. If you're doing anything that's life and death, you arrive before 5am anyway. The accident you reference mentioned that he knew it was a
88.
▲
by
zmj
4y ago
Yep. I use recreation.gov for entry permits into Rocky Mountain National Park every week in the summer, and I’ve never had a technical issue with it.
89.
▲
by
zmj
4y ago
C# had the same NaN behavior until recently: https://learn.microsoft.com/en-us/dotnet/core/compatibility/...
90.
▲
by
zmj
4y ago
A few years ago, I needed faster SQLite interop than Microsoft.Data.Sqlite, and ended up writing my own: https://github.com/zmj/sqlite-fast The ergonomics could be better, but this enabled query execution to avoid heap
More ›