Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morganherlocker
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
morganherlocker
26d ago
Prometheus is so easy to add and if you need more scale, there is mimir and a few other options with similar client semantics. I really can't imagine reaching for a framework APK that tries to anticipate every possible thing I would wa
2.
▲
by
morganherlocker
2mo ago
I think the big miss is that the former is achievable far more often than people imagine, which leads to settling for the later, aka pessimization. Reducing your allocations from millions per run to handfuls per run during initialization is
3.
▲
by
morganherlocker
3mo ago
Disapprove and ask for a call where the author must verbally explain the changes to receive approval? This seems like a solvable problem, and one that already existed in repos with many contributors of varying skill (open source, bigco with
4.
▲
by
morganherlocker
3mo ago
You can setup most PR systems to squash on merge using the first commit's message, then enforce that the top commit message is prefixed with a ticket ID. This practice has many benefits: readable git log, easier git bisect for tracking
5.
▲
by
morganherlocker
4mo ago
> If you have a non-insignificant amount of data points to track this is going to eat just a ton of memory while also being pretty slow to encode/decode. This is a fair critique, however, for any large GeoJSON, the coordinate arrays
6.
▲
by
morganherlocker
8mo ago
IDK, it seems like old reddit did just fine without even trying that hard. The DOM and surrounding JS API is already a high level GUI framework, and the post illustrates that it's perfectly capable of doing useful interactions >60fp
7.
▲
by
morganherlocker
8mo ago
I've used duckdb a lot at this scale, and I would not expect something like this to take more than a few seconds, if that. The only slow duckdb queries I have encountered either involve complex joins or glob across many files.
8.
▲
by
morganherlocker
8mo ago
I designed some parts for an enclosure over the weekend using claude opus to generate an OpenSCAD file, which I then exported to STL and sent to a 3D printer. I was able to get a visually-correct-enough STL off to the 3D printer in about 5
9.
▲
by
morganherlocker
10mo ago
- notepad++: 56.4 MB (went gray-window unresponsive for 10 seconds when opening the explorer) - notepad.exe: 54.3 MB - emacs: 15.2 MB - vim: 5.5MB I would argue that notepad++ is not really comparable to VSCode, and that VSCode is closer to
10.
▲
by
morganherlocker
10mo ago
> If you want electron app that doesn't lag terribly My experience with VS Code is that it has no perceptible lag, except maybe 500ms on startup. I don't doubt people experience this, but I think it comes down to which extensio
11.
▲
by
morganherlocker
10mo ago
I frequently use a docker-compose template with prometheus pushgateway + grafana for deploying on single node servers, as described at the start of the article. It works well and is trivial to setup, but the complexity explodes once your me
12.
▲
by
morganherlocker
11mo ago
"Everything" is another that puts the default search to shame. I've also seen people who just have a script that pumps all new files into a txt file every so often and runs bruteforce ripgrep on it, which gives instant intera
13.
▲
by
morganherlocker
11mo ago
I hear this a lot, but can you really say that you're consistently saturating a 1Gbps line for netcode or 6+ Gbps nvme for disk data? In my experience this doesn't really happen with code that isn't intentionally designed to
14.
▲
by
morganherlocker
11mo ago
There's currently talk of adding gigawatts of data center capacity to the grid just for use cases where python dominates development. While a lot of that will be compiled into optimized kernels on CPU or GPU, it only takes a little bit
15.
▲
by
morganherlocker
1y ago
It shouldn't take any noticable power/cycles to accomplish this task. Having flags for "performance" littered through the codebase and UI is a classic failure mode that leads to a janky slow base performance. "Do al
16.
▲
by
morganherlocker
1y ago
> However those tools do not have the polish that ESRI kit does, but at leas you’re not paying the licensing! Arguably they have more polish, but less GUI. The open GIS world is more CLI, database, and library driven, which can be an adv
17.
▲
by
morganherlocker
1y ago
> so now the main problem is building the hardware, there are a lot of solutions for the software part. While cool and all, this type of sim is a tiny, tiny slice of the software stack, and not the most difficult by a long shot. For one,
18.
▲
by
morganherlocker
1y ago
As a point of comparison, I just downloaded the Windows binary for duckdb (which provides a nice TUI for similar tasks) and it was 9.84MB. People can and should expect better.
19.
▲
by
morganherlocker
1y ago
Now instead of seeing millions of lines of inscrutable code in your program bloating binary sizes, you can see it in every program (that doesn't disable stdlib).
20.
▲
by
morganherlocker
1y ago
All of them? It should feel instant. A UI does not benefit from artificial delays.
21.
▲
by
morganherlocker
2y ago
I use syncthing. Works flawlessly and took just a few minutes to setup.
22.
▲
by
morganherlocker
2y ago
Agree. As an example, this proto generates 584 lines of C++, links to 173k lines of dependencies, and generates a 21Kb object file, even before adding grpc: syntax = "proto3"; message LonLat { float lon = 1; float lat = 2; } L
23.
▲
by
morganherlocker
2y ago
If most data between the backend/frontend is raw numeric array binary blobs, and you target array types that can be loaded directly into JS TypedArrays (int32_t* -> Int32Array, float* -> Float32Array, etc.), you have a more or l
24.
▲
by
morganherlocker
2y ago
Same, and I've found this works quite well with a C++ backend. Just send over binary data as struct-of-arrays, load it into typed arrays, render components. Your app will be bottlenecked only on bandwidth, as it should be, even for hea
25.
▲
by
morganherlocker
2y ago
If you're type 1 diabetic, accuracy is paramount, especially in a closed loop insulin pump setup. Even with access to the bloodstream, existing CGMs leave plenty of room for improvement that would directly improve quality of life a lot
26.
▲
by
morganherlocker
2y ago
Everything listed here is a great pitch for vanillajs with zero framework at all.
27.
▲
by
morganherlocker
2y ago
> Shaker said. “No other technology can provide this level of precision without direct contact with the bloodstream.” The existing alternatives do have access to the bloodstream.
28.
▲
by
morganherlocker
3y ago
> (There are ECS frameworks in JavaScript, which gives you absolutely no control over memory layout and thus completely defeats one of the primary purposes of the pattern.) While JS does not provide great support for bit packing complex
29.
▲
by
morganherlocker
4y ago
My personal homelab (a stack of old laptops connected to a network switch) is mostly built around various experimental antenna arrays used for rtl-sdr hobbies (aircraft and maritime telemetry collection mostly) + home automation over a zwav
30.
▲
by
morganherlocker
5y ago
> A large number of people who live in the project are people on section 8 and disability with no ties to the region whatsoever. No ties besides… living in said community. How is the disability status of residents relevant to your classi
More ›