Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
arghwhat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
601.
▲
by
arghwhat
2y ago
> things can be patented even if there's prior art (patent examiners aren't all knowing). To be clearer: Patents that are invalid can get issued because the reason for it being invalid is not known, and I'd argue that nowa
602.
▲
by
arghwhat
2y ago
> I’m a mechanical engineer and I’ve been building and running these my whole life, but if my creds don’t work for you > Pumping loss doesn’t matter to a turbo. Sorry, but your creds don't even work for you mate, so I don't
603.
▲
by
arghwhat
2y ago
It injects a small amount of gas that came from the cylinder back into the cylinder - nothing that doesn't belong in a cylinder. The only source of extra gunk and buildup is the oil droplets or outright drooling pulled in by the PCV. T
604.
▲
by
arghwhat
2y ago
> A gas engine could certainly tow my race trailer, but at horrific mpg Gasoline engines actually have their highest fuel-to-power efficiency at full throttle. A more powerful engine just allows you to burn even more fuel to accelerate f
605.
▲
by
arghwhat
2y ago
Yes, I did. But I feel like you missed key points? 1. The video mentions pumping losses because it was an old argument against EGR, which only applied to older diesels relying on a butterfly valve for vacuum. Pumping losses still matter in
606.
▲
by
arghwhat
2y ago
The push for diesel was also... Weird. It was a way of dealing with a supply chain issues, whereby a demand of heavier oil was needed for production to stay economical. driving 4 answers also has a decently informative video on this particu
607.
▲
by
arghwhat
2y ago
> It's not just personal/financial. It's also raw capability of a diesel truck to get the particular type of jobs done. What I was saying is not that electric solved all problems yet, but that messing with electric and tra
608.
▲
by
arghwhat
2y ago
I don't see how the EGR could possibly affect perceived responsiveness. What "killed responsiveness" in my opinion is heavy turbocharging with long spool-up times, with engines so small that they cannot even maintain highway
609.
▲
by
arghwhat
2y ago
One thing that is quite important to note is that the EGR is a necessary combustion temperature regulator, and removing it isn’t good for anything, including fuel economy. The engine deposits people blame on it is usually from the PCV. Only
610.
▲
by
arghwhat
2y ago
s/boot process/initial boot phase/ A few seconds is still very long - in automotive you’re dealing with a few hundred milliseconds from power is applied till the system is presenting an interactive GUI.
611.
▲
by
arghwhat
2y ago
Yeah, it has its charms but... Good luck making a filet or a chamfer between two faces whose intersection has a non-trivial placement. Being able to easily reference existing edges and faces for future operations is one of the things that m
612.
▲
by
arghwhat
2y ago
Acoustic noise is one thing, but it's not at all outlandish to be within range of the EMI emitted from the same power supply which tells the same tale. What is outlandish is thinking anyone bothers listening in. :)
613.
▲
by
arghwhat
2y ago
A DC-DC converter always uses a variable duty cycle to maintain the target output voltage (or for CC, current). Without it, the voltage would vary wildly depending on load. For something like an audio amplifier, obtaining precise power supp
614.
▲
by
arghwhat
2y ago
> There's still the problem of sending to multiple destinations: OK sendmmsg() can send multiple datagrams, but for a given socket. Hmm? sendmsg takes the destination address in the `struct msghdr` structure, and sendmmsg takes an a
615.
▲
by
arghwhat
2y ago
The noise would correlate with load, but this is the least of your worries. Unless you have a proper RF testing lab and skilled EMC engineers at your disposal, the only thing you can do is stuff everything into a properly designed faraday
616.
▲
by
arghwhat
2y ago
That’s magnetostriction, components under switching load (caps, inductors) need to be secured in place with an appropriate glue/putty. Using a higher switching frequency can also help, plenty to choose from.
617.
▲
by
arghwhat
2y ago
There's a few issues here. 1. A 1 MB file is at the very least 64 individually encrypted TLS records (16k max size) sent in sequence, possibly more. So decryption 64 times is the maximum amount of bulk work you can do - this is done to
618.
▲
by
arghwhat
2y ago
Ah nice, in that case OP's point about syscall overhead is entirely moot. :) That should really be in the `SEE ALSO` of `man 3 sendmsg`...
619.
▲
by
arghwhat
2y ago
> You're being very thick on purpose. In Rust you need to reach for foreign functions to implement malloc/free. I think you're mistakenly thinking of calling out to the (rust-lang maintained) libc crate's malloc/
620.
▲
by
arghwhat
2y ago
> Then you should not have mentioned Forth or C at all, only to show not having a clue about programming languages history. The whole point was that these well-known mainstream languages provided the feature claimed to first have arrived
621.
▲
by
arghwhat
2y ago
Two things: One, uring is not extremely problematic to integrate, as it can be chained into a conventional event loop if you want to, or can even be fit into a conventionally blocking design to get localized syscall benefits. That is, you d
622.
▲
by
arghwhat
2y ago
async/await is just a syntax built on top of an event driven architecture. Even at the highest level, this is backed by an event loop. Use of an event loop is the original asynchronous application design.
623.
▲
by
arghwhat
2y ago
> It's not rocket science. If you are calling malloc/free to maintain your memory you're doing manual memory management. Sure, and when I do the same in Rust I'm also doing manual memory management. So by your definit
624.
▲
by
arghwhat
2y ago
What people could use is not at all what mainstream is. You can use D, OCaml, F# and brainfuck, but they are not mainstream. To define what was mainstream we'd need to talk to people coding at the time and ask them about popularity,
625.
▲
by
arghwhat
2y ago
The stack is fully automatic arbitrary memory and has nothing to do with registers. You can allocate as much as you want (including e.g. bytearrays), until you run into the allocated stack limit. That limit can be arbitrary, and some langua
626.
▲
by
arghwhat
2y ago
Keyword is mainstream, so it’s not when the idea was invented - I think Forth popularized it? I can’t really comment on what counted as mainstream before C though. Not old enough for that.
627.
▲
by
arghwhat
2y ago
You don't use Xcode to write Swift, you use Xcode to write Apple apps which you happen to do in Swift. No matter the language, you need Xcode to write those apps. Equalling Xcode and Cargo makes no sense. A similar situation to Xcode a
628.
▲
by
arghwhat
2y ago
> Rust is the first language to bring non-GC automatic memory management to the mainstream To nitpick, the first language to bring non-GC automatic memory management to the mainstream would be either Forth or C through stack memory. For
629.
▲
by
arghwhat
2y ago
Not to praise Swift, but Swift and Xcode are unrelated projects. Saying that Swift is inconvenient because of Xcode issues is like saying C++/C# is inconvenient because of Visual Studio. You can install Swift on Linux if you want and c
630.
▲
by
arghwhat
2y ago
Note that there is a hell of a difference between changing existing instructions or even managing to squeeze a minor fix into some broken logic, and implementing new logic entirely. There's a whole lot more reverse-engineering required
More ›