Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dfox
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
451.
▲
by
dfox
4y ago
OpenBSD relinks sshd. Which is relatively small thing that is linked from relatively large objects (ie. it is the typical modern C code). Relinking thing like glibc on demand is going to be problematic, because it is structured as to allow
452.
▲
by
dfox
4y ago
That depends on what you mean by "faster". Firewire has this weird half-duplex "logical bus on physical star" topology which combined with the IP traffic having pretty low QoS priority (best effort bulk data) means that
453.
▲
by
dfox
4y ago
That particular cable only works in one direction. Lightning itself can power external devices, but the whole mechanism is completely different than how USB PD over USB-C works (it is designed for low power peripherals and thus can output u
454.
▲
by
dfox
4y ago
There is a lot of magic and hard-core engineering work on Microsoft's part to that. Windows/386 is an hypervisor that runs the Windows as one of the VMs, original DOS as another and can create additional DOS VMs. Windows 3.1 then
455.
▲
by
dfox
4y ago
In fact Windows 2000 use different color pallete than 9x as it does not try to fit into the 16 color RGBI CGA palette. The difference is subtle, but significant.
456.
▲
by
dfox
4y ago
One gotcha in modular crypt format is that the format is different between glibc and BSDs. Glibc documents that the salt should contain only the same characters that are used in the crypt(3) output (ie. [a-zA-Z0-9./], note that this is
457.
▲
by
dfox
4y ago
Cheap mass-produced USB peripheral chips tend to contain x51 core for control and some kind of high-performace datapath full of DMA and FIFOs for the actual data if the peripheral in question actually needs to move large amounts of data aro
458.
▲
by
dfox
4y ago
THat is essentially how inline assembly in GCC works. You have to declare which registers you are changing and in which registers you expect input and which contain results from your inline assembly block. This for obvious reasons does not
459.
▲
by
dfox
4y ago
All DOS mouse drivers were TSRs. The driver would hook INT 33h (which is the mouse driver "API" entrypoint) and whatever IRQ (ie. 4 or 12) that the actual hardware used. The IRQ handler would then update the driver's internal
460.
▲
by
dfox
4y ago
In industrial automation you are not supposed to do anything at 50Hz, the reasoning is simple: more times than not you are simply turning on and off something that is AC powered and you do that probably with mechanical relays and contactors
461.
▲
by
dfox
4y ago
One thing that I have noticed is that often in the PLC projects done by seasoned automation engineers the logic that would make sense to be represented as LD is written directly as IL spaghetti code. I assume that this has to do with genera
462.
▲
by
dfox
4y ago
My experience from integrating various automation systems (typically large-ish roller conveyor systems) is that often IEC 61131 languages are actually detrimental to productivity of the PLC programmers. It is this weird turing tarpit where
463.
▲
by
dfox
4y ago
The general issue is that it is not designed for multi threaded environment and there is bunch of global and frequently accessed state. One could probably comb through the entire codebase and make all that state thread-local, but the benefi
464.
▲
by
dfox
4y ago
Cut buffers are different thing than selections and cut buffers are deprecated and probably not used by anything written in last 25-30 years. On the other hand cut buffers are so simple that there isn't any of the complexity as with se
465.
▲
by
dfox
4y ago
The advantage of dd in this case is that dd is designed for exactly this use case of having a file (or character device, ie. magnetic tape) with some kind of fixed-size records.
466.
▲
by
dfox
4y ago
X11/ICCCM clipboard semantics (which is arguably the same design, but with the server being part of the data transfer) was also source of many bugs and the applications/toolkits did not get it right until 00's and linux-centr
467.
▲
by
dfox
4y ago
Many phones (certainly iPhone 12 behaves this way) will show 4G LTE link as being "5G" when they are connected to eNodeB that is capable of 5G in NSA mode regardles of whether the link actually uses any 5G NR bearer channels or wh
468.
▲
by
dfox
4y ago
In my view the main issue with Foundation was the documentation, which is where Bootstrap shines while most other CSS frameworks and pre-baked design systems are generally lacking.
469.
▲
by
dfox
4y ago
286 and for that matter even 386 has the segment-based memory protection mechanism that is somewhat reminiscent of Burroughs mainframes, GECOS and maybe AS/400. There are two giant issues with the idea: it does not work that well on 16
470.
▲
by
dfox
4y ago
One particular thing to note is that on anything IBM PC related the DB25 RS-232 connector has the wrong gender (apparently so that it can be connected directly to modem with DB25 extension cable instead of 1:1 M-M cable as would be expected
471.
▲
by
dfox
4y ago
German license plates also have one non-obvious pitfall: the space/dash between the two first letter groups is significant, which breaks various systems that normalize alphanumeric codes by removing spaces and dashes.
472.
▲
by
dfox
4y ago
You get one file for the whole store, not one per key. Also, it tends to better handle having lots of keys significantly better than filesystems handle lots of files in one directory.
473.
▲
by
dfox
4y ago
RFC 5321, 2.3.11: "Consequently, and due to a long history of problems when intermediate hosts have attempted to optimize transport by modifying them, the local-part MUST be interpreted and assigned semantics only by the host specified
474.
▲
by
dfox
4y ago
SAK is controlled by group policy since Windows 2000 and is disabled by default on client SKUs that are not domain member. On the other hand all current iOS devices have some hardware level SAK-like gesture that directly confirms the user i
475.
▲
by
dfox
4y ago
I think that the value of this article is perfectly summarized by the sentence “Not sure what SYN is.”
476.
▲
by
dfox
4y ago
iOS devices create lot of weird traffic on local network. And the only meanigful-ish other packet trace seems like APNS subscription update and some kind of iCloud traffic, there is probably zero reason why would you want that to go through
477.
▲
by
dfox
4y ago
The reason for that is that the adapter is not really grounded, but due to EMC requirements there has to be some AC path to ground. This is done by connecting the output ground to midpoint of input EMC filter and thus the output ground is w
478.
▲
by
dfox
4y ago
The main issue is that the power grid simply is not designed for that kind of a load. If you only look at the power, it may even work, but there is the power distribution infrastructure in between. For EVs to be usable the whole electrical
479.
▲
by
dfox
4y ago
Another variant of the original meaning is that chip is anything that can be surface mounted without additional mechanical support. Think "chip MLCC" or "chip resistor". The IBM's article on SLT seems to use "c
480.
▲
by
dfox
4y ago
Most discrete transistors are made with IC-like process and contain surprisingly intricate internal structures.
More ›