Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mcronce
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
mcronce
3y ago
The Gitlab microservices run Gitlab; the Harbor microservice runs Harbor. ntfy and Nextcloud are their own services, and coredns serves DNS to the network. The MySQL backup processes are for small apps I host for myself and for a friend&#
92.
▲
by
mcronce
3y ago
I've got one in use (it was my father-in-law's desktop PC when he was still alive) as a node in my k8s cluster. It's currently got a couple of Gitlab's microservices, one of Harbor's microservices, ntfy, Nextcloud,
93.
▲
by
mcronce
3y ago
How they still have customers is also beyond me. They're awful to deal with.
94.
▲
by
mcronce
3y ago
I can't speak to the Genesis specifically, but in general software emulation introduces tiny inaccuracies, in the form of missed inputs (because of things like context switches - it's important to note that, while these old consol
95.
▲
by
mcronce
3y ago
TOTP is a standard; if your vendor supports it, that _is_ them agreeing on something.
96.
▲
by
mcronce
3y ago
I will say that, personally, I miss the office sometimes . If I had a 45 minute (per direction) or shorter commute I'd say my perfect world would be getting together in an office with my immediate team 1-2 times a week. It's ju
97.
▲
by
mcronce
3y ago
* Sum types, and with them, exhaustive match checks * Immutability by default, including a warning for unnecessary mutability * Usable documentation even when the library author wrote none * Extremely low-friction testing, including fuzzi
98.
▲
by
mcronce
3y ago
This is predicted on the assumption that the only benefit of Rust over mainstream GC languages is performance, which is false.
99.
▲
by
mcronce
3y ago
Although I'm glad it's not reality, the imagery of a massive wind turbine whizzing around at 420 RPM is pretty amusing
100.
▲
by
mcronce
3y ago
> The (main) problem with alcohol-free 'beer'/'wine'/etc. isn't the lack of drunkenness feeling? That depends on your goals. I like to catch a buzz once in a while but the majority of the time I'm
101.
▲
by
mcronce
3y ago
I'm guessing it was downvoted for mentioning Rust ¯\_(ツ)_/¯ For sure - it's a little terse, just to demonstrate the various cases async fn do_something_async() { nonblocking_sync_call(); tokio::task::spawn_blockin
102.
▲
by
mcronce
3y ago
Either that or you're limited by revs - in other words, there's enough net torque that, in the highest gear, the engine is running at redline before wind resistance stops you accelerating. You don't see that much these days,
103.
▲
by
mcronce
3y ago
Not sure about in Python, but in Rust, you can easily bridge sync and async code. The function coloring problem is, at least in that case, grossly overstated.
104.
▲
by
mcronce
3y ago
You woke up and chose violence
105.
▲
by
mcronce
3y ago
Not OP, but I've tried it in a handful of projects and haven't seen a measurable improvement to performance, memory utilization, or heap fragmentation. That said, it's easy to try out different allocators; I recommend giving
106.
▲
by
mcronce
3y ago
I agree that there could have been a more satisfying conclusion, but it is worth noting that jemalloc isn't a panacea. I've seen issues similar to Svix in both Rust and C++ applications that were heavy on ephemeral allocations, a
107.
▲
by
mcronce
3y ago
Also, let res = iterator.iter().map(|x| x.foo()).collect::<Result<Vec<_>, _>>()?;
108.
▲
by
mcronce
3y ago
If you ignore units, sure.
109.
▲
by
mcronce
3y ago
Torque to power is just (torque * RPM) / (some constant depending on the units inolved). With ft-lbs and horsepower, that constant is 5252; with N-m and kW, it's 9549. The only thing that changes is the constant.
110.
▲
by
mcronce
3y ago
Simplifying things in this comment a fair amount, but... Extracting more power is, most commonly, a matter of burning more fuel, which requires more oxygen. This increases combustion chamber pressure, which drives the piston down with more
111.
▲
by
mcronce
3y ago
Typical Otto cycle 4-stroke piston engines do two rotations for a single cycle. Wankels are more complicated; each rotor face acts as a separate combustion chamber and all four strokes happen in a single rotation. It looks like the situ
112.
▲
by
mcronce
3y ago
TIL there's a name for that. I guess it makes sense that there would be, I just had no idea. Anecdotally speaking I've seen them in Pennsylvania and Maryland, but super uncommonly.
113.
▲
by
mcronce
3y ago
A well-intentioned version of this is just having a couple of the overhead lights on - not strobing, and not running red lights.
114.
▲
by
mcronce
3y ago
> if you do know what it is you can't shop for it if it's not on the spec sheet This drives me absolutely insane . When we were shopping for a TV for the living room a few years ago I wanted a 120Hz display. Finding one was
115.
▲
by
mcronce
3y ago
> I didn't know what data (types) were passed around when looking at parts of the code, so I had to look were the data structures were created, adapted and passed along to actually know more (or just debug it) It's even better
116.
▲
by
mcronce
3y ago
NHTSA stats show increased traffic fatalities following the time change every year
117.
▲
by
mcronce
3y ago
The other day my mom was at our house, parked next to me. She got in her car to leave at the same time I did. I pulled out my phone and put on some music - noting that it was weird that I needed to do anything at all, typically it just re
118.
▲
by
mcronce
4y ago
I agree with you. Short PINs are for preventing well-intentioned people from accidentally using the wrong account (which I do consider quite valuable, for the record) - not for keeping bad actors out.
119.
▲
by
mcronce
4y ago
Write a Medium article about your color preferences and link it. You might even make a few cents!
120.
▲
by
mcronce
4y ago
I'm with you. Getting something working is a lot quicker when the "cargo check; fix errors; cargo check" loop catches the vast majority of your bugs than building a container image, uploading it to staging, and finding the m
More ›