HNHacker News
TopNewBestAskShowJobs

kijiki

787 karma · joined May 13, 2008

submissionscomments
kijiki··on Mach kernel
MkLinux ran Linux as the sole server process on Mach on Macs. It was noticeably slower than the direct PowerPC port.

It was done by Apple and OSF, and for a while was the only way to run Linux on NuBus Macs.

kijiki··on The Eternal Mainframe (2013)
They still sold a 80487, of course. It was a '486 without the FPU being fused off, and when you plugged it into the "math co-processor" socket, it disabled the original CPU and took over both duties.
kijiki··on Sunsetting Hire
Bebop
kijiki··on Banned C standard library functions in Git source code
It is also the only way for an xlib program to survive losing its connection to the X server. xlib will let you register a callback to handle loss of connection with XSetIOErrorHandler, but unconditionally calls exit() after your callback returns. Which is extremely anti-social behavior for a library, but that is what it does.

So the solution is to setjmp before each call to an X function that might notice the connection is closed, and longjmp out of the error callback. Ugly, but it works.

These days, you should really just use XCB, or even Wayland.

kijiki··on QEMU VM Escape
Slirp is a little like NAT, but implemented differently.

It creates what looks like a virtual NIC (literally in qemu's case, indirectly by SLIP in the original Slirp), and reassembles the packets it gets coming in from the guest OS or SLIP user. For example, a SYN packet gets turned into a call to connect(), and a data packet gets turned into a write() on the appropriate TCP socket FD. An RST packet gets turned into a call to close(). The reverse happens in the other direction, based on the read() data, fake TCP packets are generated, a closed socket gets mapped to a RST packet, and so forth.

From the outside, it looks like the guest (or SLIP user) is NATed through the host's IP address. But really it is just reassembling the intention of the guest based on the packets it is sending and calling host kernel functions to cause the same effects.

kijiki··on Why did Turbo Pascal apps fail with a division-by-zero on faster systems?
VMware's binary translating virtual machine monitor would detect that bug and patch it at translation time.
kijiki··on VMware Acquires Carbon Black for $2.1B and Pivotal for $2.7B
K8s was written by a hopeful public cloud giant to cut off the dominant public cloud giant in the container orchestration space.

It shouldn't be surprising that it is very oriented around VMs hosted and manged by public cloud providers. Bare metal is at best an afterthought, and at worst explicitly disadvantaged.

kijiki··on VMware Acquires Carbon Black for $2.1B and Pivotal for $2.7B
The official VMware take, at least while we were there, was that the vmkernel itself was a binary only kernel module loaded by the Console OS's Linux kernel, and as such was no different than the binary-only Nvidia driver. This was a bit sketchy, since the vmkernel linked in a different version of the GPL'd drivers in question than the ones in the Console OS, but you know, close enough.

Of course, when ESXi shipped without a console OS, but with a vmklinux and GPL'd drivers, a new take was needed.

kijiki··on Cool but obscure X11 tools
La Costena is still around, it just moved further down Middlefield towards Sunnyvale, right before Ellis.

Sun had a similar app that would fax orders to Tony and Alba's pizza, though that closed a few years ago.

kijiki··on Advanced Range Instrumentation Aircraft (2013)
The B-52 had this as well. It was used to augment thrust for takeoff, especially on hot days.

It was as simple as pumping water into the compressor stage, cooling the air after the compressor had heated it. This allowed more fuel to be burned without melting the turbine stage. I think the extra mass of the water (steam) may have helped as well.

This is where the terms "Dry Thrust" and "Wet Thrust" came from.

kijiki··on Bill Gates on making “one of the greatest mistakes of all time”
Never worked at Apple specifically, but every place I've worked had little to no docs on internal tools. The expectation was that you'd go ask the person who wrote it, or absorb the tribal knowledge as part of on-boarding. There was even low-level resistance to folks who tried to document the ambient knowledge to help out new employees.

Also, keep in mind, in the timeframe that is relevant here, the only apps were Mail and Safari. Apple making Mail a native app from the start was another tell that "you should just build web apps" was disingenuous.

kijiki··on Bill Gates on making “one of the greatest mistakes of all time”
I have this conspiracy theory that I half believe: it was all a ruse.

Apple knew that there would be huge pushback against a walled garden appstore with Apple in absolute control, and huge pushback on them taking a 30% cut. So they started with "just write web apps". But of course, they also inexplicably made the first iPhone 2G only! Flagship phones that shipped many months before the iPhone had 3G. Why cut that particular corner, and not any others in their otherwise $$$-is-no-object new wonderphone?

You can do a much better job hiding low bandwidth and high latency in a native app, especially since app assets get downloaded once (probably over wifi) at app install time. So by essentially making app developers beg for access to their native platform, they radically reduced the anger at their wildly locked-down appstore and their 30% cut.

And it seemed a little suspicious how quickly they were able to deliver a 3rd-party SDK and developer documentation.

kijiki··on The Future of Docker Desktop for Windows
It should work if you enable nested virtualization in ESX. They call it VHV (Virtual Hardware-Assisted Virtualization).
kijiki··on MIPS Prospects (1992)
The office postal addresses (and dates) on each of these usenet posts tell a story of their own.
kijiki··on Uber’s underwater investors
Liquidation preferences go away at an IPO because the preferred shares convert to common.
kijiki··on Zoom S-1
Blue Jeans has pretty good Linux support as well.
kijiki··on Nvidia to Acquire Mellanox for $6.9B
> Hopefully one day we can run the same OS on servers and switches.

You can do that today with Cumulus Linux, on Mellanox switches, no less. Switches from other manufacturers as well: https://cumulusnetworks.com/hcl

kijiki··on A DIY Cruise Missile (2004)
1998, though unfortunately the archive didn't get the pictures/videos: https://web.archive.org/web/20100118003800/http://homepage.m...

This has pictures: http://www.mindspring.com/~sportrocketry/ggsg/sequence.html

Last time I looked into this, legally speaking it is payload that matters, not guidance, at least until you try to export. Though there is a general bias in the hobby against doing things that attract negative attention, even if it is, strictly speaking, legal.

There have been other sun-seekers as well.

kijiki··on An optimization guide for assembly programmers and compiler makers (2018) [pdf]
Probably not directly faster, but "xor %rax, %rax" is still smaller (and thus faster if you're icache constrained) than "mov $0x0, %rax"
kijiki··on Intel to Discontinue Itanium 9700 ‘Kittson’ Processor, the Last of the Itaniums
Itanic inspired what is unquestionably the best graph-based trolling of bullshit marketing ever: https://regmedia.co.uk/2004/09/19/itanium_sales_small.jpg

Wikipedia has an updated version as well: https://upload.wikimedia.org/wikipedia/commons/8/88/Itanium_...

kijiki··on Intel to Discontinue Itanium 9700 ‘Kittson’ Processor, the Last of the Itaniums
People have different opinions on EFI, but in the time before the modern C++ ABI, every compiler (and often different versions of the same compiler) generated code with different ABI expectations, which made libraries and software distribution absolute hell.
kijiki··on CenturyLink 911 outage was caused by a single network card sending bad packets
If cut-through is enabled in the switch, it won't even drop on bad checksum, since by the time the switch can tell the checksum is wrong, it has already forwarded the entire packet.
kijiki··on Technology preview: Sealed sender for Signal
"These protocol changes are an incremental step, and we are continuing to work on improvements to Signal’s metadata resistance. In particular, additional resistance to traffic correlation via timing attacks and IP addresses are areas of ongoing development."

It won't prevent correlation attacks, but it does make metadata attacks in general harder and less confident. An improvement is an improvement even if it doesn't completely solve a problem.

kijiki··on The MOnSter 6502: transistor-scale replica of classic MOS 6502 microprocessor
925 feet is around 940ns assuming speed of light in a vacuum. Speed of light in copper traces is slower.
kijiki··on Asmttpd: Web server for Linux written in amd64 assembly (2017)
x86 has LOADALL and SAVEALL.

https://en.wikipedia.org/wiki/LOADALL

kijiki··on Tim Berners-Lee’s Solid is a platform designed to re-decentralize the web
They're fighting a headwind, for sure, but if the argument you're making was absolutely true, we'd all be using AOL today.
kijiki··on Perhaps it is simpler to say that Intel was disrupted
And he recently left Telsa to be SVP in charge of the Silicon Engineering Group at Intel: https://www.anandtech.com/show/12689/cpu-design-guru-jim-kel...
kijiki··on How modern Linux systems boot
Early on, Linux supported initrd, which was just a ramdisk with a FS image written to it and mounted. Later, initramfs came along, which is all anyone uses anymore. It is a cpio archive that is extracted onto a special form of tmpfs. One neat trick is that you can append multiple cpio archives, and the kernel will expand them one after another, so you can easily customize your distro-provided initramfs. Only the first one can be compressed, and you have to be careful about it getting overwritten by a kernel update, but it is handy for quick experiments. There is also pivot_root and switch_root, which have man pages if you're interested in the gory details.

For all of initrd/initramfs's history, you've only needed one if your monolithic kernel couldn't mount the root filesystem. So if you needed a module, or had some special config that needed to happen that the kernel couldn't do internally.

kijiki··on Jim Black's Steve Jobs Story
They're in an awkward position where the entire company does their work on a platform that is not remotely strategically interesting to the company itself.
kijiki··on New Optical Form Factors for 400 Gigabit Ethernet
Cumulus (disclaimer: I co-founded it) has customers that use these: http://www.mellanox.com/page/products_dyn?product_family=260...

to dual 100G attach their servers to a pair of ToR switches. As a result, they'd really love to have something faster than 100G for their ToR to spine uplinks, but that isn't quite available yet.

Insanely (and awesomely), Mellanox already has these: http://www.mellanox.com/page/products_dyn?product_family=266... dual 200G NIC.

← PreviousPage 6 of 12Next →