Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dezgeg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
dezgeg
4y ago
Not to mention this syntax short-circuits, which is usually desirable.
212.
▲
by
dezgeg
4y ago
Well, TDD, which means the base station and the phones take turns transmitting on a single frequency, is still possible in 4G and 5G. How often the switch happens is configurable by the operator and in 4G can range from 1ms for phones and 4
213.
▲
by
dezgeg
4y ago
Android has similar tool called 'repo': https://gerrit.googlesource.com/git-repo . I have seen it used outside Android and I think it's mostly ok (Definitely better than git submodules). My main beef with it
214.
▲
by
dezgeg
4y ago
For that use case, how often do you want the other repositories to be fixed to some particular hash, however? At least every time I've wanted such multi-clone behaviour I've wanted to have all the repositories on HEAD of some bran
215.
▲
by
dezgeg
4y ago
If I remember right, QML used in Qt allows that kind of positioning.
216.
▲
by
dezgeg
4y ago
The RAM on the M1 is soldered to the SoC package, so building a multi-socket system with shared RAM would most likely be impossible.
217.
▲
by
dezgeg
4y ago
Great stuff, thanks for posting in HN!
218.
▲
by
dezgeg
4y ago
On 6502 some of the undefined opcodes (usually named KIL) put the chip into an state where it no longer executes any instructions and doesn't respond to interrupts either. And such state isn't reachable via documented instructions
219.
▲
by
dezgeg
4y ago
> People often ask if microcode could be updated on the 8086. Microcode was hardcoded into the ROM, so it could not be changed. This became a big problem for Intel with the famous Pentium floating-point division bug. The Pentium chip tur
220.
▲
by
dezgeg
4y ago
Hmm, there is a different 'accidental hard drive dialing' story in his autobiography (Just for Fun) - where that happened in Minix and as a result Linus chose to move to Linux full-time: > But in December, I mistakenly auto-dia
221.
▲
by
dezgeg
4y ago
I'd be pretty sure that any company can pay money to Qt Company and have them come and integrate Qt into any kind of weirdo OS whatsover.
222.
▲
by
dezgeg
4y ago
Someone forgot their 'if err != nil { return err }' check from their microservice call (whenever it happens to be overloaded) and just plowed through with some intermediate weight component being zero?
223.
▲
by
dezgeg
4y ago
> you can't change the order of the formatted arguments. You can with the $ syntax. Never seen it used though. Maybe it isn't very portable.
224.
▲
by
dezgeg
4y ago
For filesystems the former. Having test code running in kernel space is relatively uncommon, though some kernel subsystems do that. "can't even properly test it anymore" almost certainly means not that it is impossible for th
225.
▲
by
dezgeg
4y ago
Because having boot menu for stuff like older kernels, recovery mode, and access to kernel command line is pretty useful.
226.
▲
by
dezgeg
4y ago
Nice analysis. It would be interesting to see comparison to Intel LBR. Also would be nice to know how profiling unwinding is done on Windows (maybe someone knows how to summon Bruce Dawson).
227.
▲
by
dezgeg
4y ago
No. While the compiler can optimize memcpy calls to direct loads/stores for small arguments (when inlining the loads/stores would be smaller than the cost of calling memcpy), for bigger or not statically know sizes it WILL call to
228.
▲
by
dezgeg
4y ago
> Treating null pointer as an empty string (perhaps by expecting them first N pages to contain just \0 bytes, as various older Unix systems predating Linux did) feels like a recipe to hide bugs. Empty string is not a 'zero-sized obj
229.
▲
by
dezgeg
4y ago
Maybe I misunderstood your description, but does 'develop' not ever merge to 'main' directly? Your description sounded like QA could for example test 'develop' which is main + featureA + featureB, give that a g
230.
▲
by
dezgeg
4y ago
How well is this working nowadays with non-UTF8 input?
231.
▲
by
dezgeg
4y ago
Um, no, I have not seen anything that would be the case for upstream Linux. Sure, downstream distributors like Red Hat might be able to give such guarentees, but they do not generally use upstream LTS releases directly.
232.
▲
by
dezgeg
4y ago
It presumably allows the implementation to be a tiny bit faster, by avoiding a compare and branch for the empty case.
233.
▲
by
dezgeg
4y ago
Another GB emulator hobbyist here :) My dim recollection is that Pokemon uses BCD for in-game cash, so there you might be able to 'cheat' or either never buy anything if BCD stuff is left unimplemented :)
234.
▲
by
dezgeg
4y ago
They are certainly not using mmWave 5G. Numbers show (1st Google result) that less than 1% of time connected is to a mmWave network. I don't personally get why mmWave part of 5G is talked so much about. 5G over the same cmWave frequenc
235.
▲
by
dezgeg
4y ago
How does gcc -MD help at all in tracking which .cpp files to link in? > Of course, the other alternative is to simply #include _every_ file in your project into a single source file, then compile that. Yeah, no... recompiling the entire
236.
▲
by
dezgeg
4y ago
> And there's technology available that reduces the number of these damn near zero (with no impact to backtrace generation or debuggability), which would obviate all the argumentation over -f-o-f-p. Any pointers on such solution? An
237.
▲
by
dezgeg
4y ago
I wonder if the BOUND instruction could have been used to call int 21h more than once. That would have the same problem that after return the BOUND instruction would be re-executed, but perhaps there are useful DOS calls that after executio
238.
▲
by
dezgeg
4y ago
The 'devmem' command is pretty neat when doing embedded systems, allowing you to write entire device drivers in bash!
239.
▲
by
dezgeg
4y ago
Yes, but that sort of 'delay' will be there all the time, with no relation to the system being loaded (like the top commenter is claiming).
240.
▲
by
dezgeg
4y ago
Sure, on the wire USB is a polling protocol. But the polling is done by the host controller hardware, which will raise an interrupt just like PS/2 whenever the device responds to the polling as having data available.
More ›