Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
vvanders
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
241.
▲
by
vvanders
5y ago
Not really if you've ever driven a manual transmission. Regen usually is stronger but the drive feel is not dissimilar.
242.
▲
by
vvanders
5y ago
Yup, fully agreed Zig stands above others here. Cross compiling C/C++ is just a special kind of hell. Each target always has some sort of bespoke toolchain and build environment constraint that add so much unneeded complexity.
243.
▲
by
vvanders
5y ago
I would not include Rust in that list, in my experience rustup and cargo are miles ahead of C/C++ when cross compiling.
244.
▲
by
vvanders
5y ago
"Let it crash" is largely about restarting systems to known good state in an expanding scope. The Zen of Erlang[1] covers it really well, it's a longer read but well worth it if you want to understand a lot of the design choi
245.
▲
by
vvanders
5y ago
Oh it's very much a thing although maybe in different contexts. My tech director in games used to have a ~40mb static array at the top of main.cpp with a big comment along the lines of "DO NOT TOUCH". When we'd come up o
246.
▲
by
vvanders
5y ago
Yeah, it's a pretty neat ecosystem. PLCs are kinda like the Legos of automation, incredibly easy to mix and match with a fair number of (insecure) standard protocols. I briefly toyed with the idea of building out some open source hardw
247.
▲
by
vvanders
5y ago
One thing missing here and in most of the visual programming discussions since it sits in a somewhat adjacent SCADA industry is Ladder Logic[1]. It was pretty illuminating how many parallels ladder has with the visual and scripting solution
248.
▲
by
vvanders
5y ago
Not really surprising, radio only works if we all play by the rules. Even a small 5w transmitter up high enough can easily cover over 100 miles. Most radio groups tend to be disaster recovery and communication adjacent so they care about in
249.
▲
by
vvanders
5y ago
I think it depends on a lot on the studio and culture. I don't think I saw a single unit tests before I left gamedev(a few smoketests to make sure the game didn't crash but that was about it). I also rebuilt our audio streaming sy
250.
▲
by
vvanders
5y ago
Java's MUTF-8 makes me want to eject it into the Sun. Makes interop with JNI extra fun.
251.
▲
by
vvanders
5y ago
> ... like they are on Fortnite or Roblox for Android, for example Go look up dead reckoning, those types of games are built to handle 100-250ms of latency which is way outside a frame/tick.
252.
▲
by
vvanders
5y ago
Bruce Dawson taught a 100 level class at the college I attended, it's been a while but I think the class title was something around image processing. The first or second assignment was to copy one image region into another, little did
253.
▲
by
vvanders
5y ago
The HD2 from around that era was also a stand out. I still remember seeing one for the first time and just being floored by the 4.3" form factor.
254.
▲
by
vvanders
5y ago
https://en.m.wikipedia.org/wiki/Radio_propagation covers it a little bit. The short answer is that wavelength(aka frequency) vs raindrop size causes signals to scatter instead of attenuate and you can pick up a fractio
255.
▲
by
vvanders
5y ago
Yeah, a lot of this is providing visibility to low visibility high impact work or Anchoring[1] work so people's impact is correctly reflected as a part of whatever review process an organization does. [1] https://mekka-tech.
256.
▲
by
vvanders
5y ago
I think we're working from different definitions of learning curves. I include in the learning curve understanding your memory ownership model, not introducing use after free, heap corruption or other failure modes. I would argue that
257.
▲
by
vvanders
5y ago
Shared ownership is code smell to me regardless of the language, I think Rust just makes it a bit more high friction. Language difficulty I'm having trouble seeing how C++ isn't harder there. You have decades of features, lots of
258.
▲
by
vvanders
5y ago
Yeah, but rightly so those are "escape hatches" because you can leak memory with Rc/shared_ptr. With C++ unless you have someone experienced on a team there's a host of "unknown unknowns" that feel like the tea
259.
▲
by
vvanders
5y ago
> C++ has complexity, but has the benefit of a gradual learning curve. You can start with C, slowly add `virtual`, then add templates, then add the STL. Having seen teams go Java -> C++ and other teams go C -> C++ I don't real
260.
▲
by
vvanders
5y ago
Having written C++ in one way or another over the last 2 decades I still get burned by that surface area. Last week it was a combination of forgetting the exact specifics of RVO hitting the implicit copy constructor that was causing things
261.
▲
by
vvanders
5y ago
Having worked in both domains on the technical side one thing they share in common is no one really knows what makes something "fun" or makes UI/UX "intuitive". There's no sure-fire formula and the most success
262.
▲
by
vvanders
5y ago
> Also the argument that it's "grueling 80+ hour weeks day in and day out is" is bullshit! The only time I ever worked 80 hours in a single week was when I was starting out in Quality Assurance and I was getting paid hourl
263.
▲
by
vvanders
5y ago
Ah damn that's a real shame, something to be said about how rarely restrict is used(I usually only touched it for particle systems or inner loops of components where I knew I was the only iterator).
264.
▲
by
vvanders
5y ago
One of the things I'm really excited about for Rust is restrict semantics are baked right there into the language with &mut/&. I think there were still a few LLVM bugs to flush out(because very little C/C++ code uses
265.
▲
by
vvanders
5y ago
Yeah, I automated some stuff out in our greenhouse, I ended up going with a PLC[1] which is a bit more robust and designed for reliability and industrial environments. They're very much like (expensive!) lego bricks that you can easily
266.
▲
by
vvanders
5y ago
Look into community solar in your local area. It's utility scale solar and you usually get an offset or pays back to shares depending on how it is structured.
267.
▲
by
vvanders
5y ago
Can confirm that Lua does run in WASM in the browser: https://github.com/vvanders/wasm_lua I sometimes wonder what the world would be like if Lua had zero based indices and saw a bit broader adoption. It's such an
268.
▲
by
vvanders
5y ago
I think we're mostly arguing about how useful the various approaches are. At least for me print debugging is a measure of last resort unless I want to extract some historical data out and I know it won't influence the timing of th
269.
▲
by
vvanders
5y ago
> typically not as general-purpose as print In my domain which doesn't usually cover distributed systems printf can be worse because it introduces synchronization primitives that have caused race conditions to disappear(and that rac
270.
▲
by
vvanders
5y ago
You seemed to be drawing a parallel between no-code -> "not as powerful", in my experience they're different tools for different use cases. I also don't think they're nearly as no-code as you call out. VS' w
More ›