Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
LukeShu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
841.
▲
by
LukeShu
8y ago
Fascinating! Though, I'm not sure I would call that "communicating". Perhaps a more truthful title would have been: "Naked mole rat behavior may be influenced by feeding on hormone-carrying feces of the queen" But
842.
▲
by
LukeShu
8y ago
Woah, this is cool. The "Linux" download is x86-64 only; I know 32-bit x86 is dying, so maybe that's not worth your time (I'd tried to download it on an old 32-bit ThinkPad x60 tablet), but an ARM build might get some us
843.
▲
by
LukeShu
8y ago
The syscall interface is considered to be Linux's public API, and must very strictly never break backward compatibility. They cannot retire syscalls.
844.
▲
by
LukeShu
8y ago
It's not quite a zoo, but check out The Wild Animal Sanctuary in Keenesburg, CO. https://www.wildanimalsanctuary.org/
845.
▲
by
LukeShu
8y ago
Indent your code with 4 spaces to prevent HN from eating the newlines: func Foo(x int) (int, error) { var err error a, err := whatever() if err != nil { return 0, err } b, err := wha
846.
▲
by
LukeShu
8y ago
Windows calls their syscall wrapper ntdll.dll, not libc.so; but it's conceptually the same thing. The ntdll.dll ABI is public & stable, the underlying syscall ABI isn't. Several unixoids do the same thing, where their libc.s
847.
▲
by
LukeShu
8y ago
OpenBSD doesn't make any promises about ABI stability between releases. That means that all older binaries may stop working when you upgrade the OS, not just older Go binaries.
848.
▲
by
LukeShu
8y ago
> Despite that confusion, I don’t think the community’s outrage is driven largely by that. RedisLabs’ post wasn’t ambiguous about the licensing of Redis itself. Yes it was. It has since been edited to be clearer.
849.
▲
by
LukeShu
8y ago
I understood the claim as saying that redis itself isn't using the commons clause, and that it's only some enterprise redis modules that are adding the clause to their license.
850.
▲
by
LukeShu
8y ago
I think the story here (for HN readers) is that Apple can unlock the iPhone; isn't it supposed to be encrypted? Does Apple having the capability to unlock it mean that the encryption is backdoored? (Other commenters have speculated t
851.
▲
by
LukeShu
8y ago
I've always been bothered that Unicomp uses the term "Spacesaver" for their keyboard with less trim; traditionally, a Model M Spacesaver refers to a ten-key-less. The big difference in the feel between buckling spring and MX
852.
▲
by
LukeShu
8y ago
Do note that Xinu (1981) predates GNU (1983) by several years.
853.
▲
by
LukeShu
8y ago
I'm fuzzy on the history, but I believe that modern Xinu is actually a complete rewrite since sometime in the early 2000s (the linked page says "ports the code to the x86 architecture " again in 2010-2011). In 2014 Dr. Comer
854.
▲
by
LukeShu
8y ago
> Max number of processes is 8. The process table is a fixed size array, of 8 entries. The max number of processes is the compile-time configuration knob NPROC in `config/Configuration`. The stock version of the file sets it to 1
855.
▲
by
LukeShu
8y ago
Linux user namespaces work as a 1-to-1 mapping of UIDs. Every UID in the container has to map to a UID on the host, so the UID range of the container is necessarily smaller than the UID range of the host (unless of course the map is the id
856.
▲
by
LukeShu
8y ago
You can use the nsenter(1) command to enter the namespace of another process.
857.
▲
by
LukeShu
8y ago
Inside of a container (with user namespacing enabled), you won't have the full 32-bit range, and this must all work inside of containers; I'm not sure about other container managers off the top of my head, but systemd-npawn only g
858.
▲
by
LukeShu
8y ago
leni536 is correct, the range is specified at compile time. https://github.com/systemd/systemd/blob/v239/doc/UIDS-GIDS.m... However, do note that if the service file sets a User= name, and that user
859.
▲
by
LukeShu
8y ago
Things are broken in this case because of a bug , not because of design decisions. All of the features "locking things down" are opt-in in the service file (to avoid "breaking userspace"), and the service file for syst
860.
▲
by
LukeShu
8y ago
By itself that would only schedule it before dbus.service if they are both queued to be started; but since we'd like to be using socket activation to lazy-start it, you'll also need to make sure it's queued when dbus.service
861.
▲
by
LukeShu
8y ago
That's exactly what's going on here. The systemd service launcher is doing the same thing as unshare(1); calling unshare(2). However, by "default" after you `unshare --mount`/`unshare(CLONE_NEWNS)`, changes made t
862.
▲
by
LukeShu
8y ago
sysvinit is short enough to be trivially maintainable. If you're just using it as a shim to load a framework on top of it, you can ditch even more of it cutting it down to around 500LOC (see openrc-init). So that's not a large e
863.
▲
by
LukeShu
8y ago
I want to expand on mikekchar's "You're getting down voted mainly because you are wrong." systemd has been adopted by many different distros, however this is not because of "top down" pressure (From who, Red
864.
▲
by
LukeShu
8y ago
> and there isn't a simple way to tell systemd to delay creating that socket. … and there is no generic way to say to start a service after the auth provider is up That's what After=nss-user-lookup.target is for; jus
865.
▲
by
LukeShu
8y ago
Everything that would have been "a weird problem with Foo Daemon's init script" we now call "a weird problem with systemd". So you think that systemd-timesyncd's service file shouldn't choose the uid at se
866.
▲
by
LukeShu
8y ago
Systemd is straight C, not C++.
867.
▲
by
LukeShu
8y ago
Back when this was new, I remember discussing it on Hackaday or somewhere. Someone remarked that they were amazed that the video could pick up on the motion at all, the video looked still to them. I responded that it really was still--the
868.
▲
by
LukeShu
8y ago
The ROM that the code was stored in was rope. https://en.wikipedia.org/wiki/Core_rope_memory
869.
▲
by
LukeShu
8y ago
That might be what Unreal Engine refers to it as, but in academia it's referred to as NPR Rendering - Non-Photo-Realistic Rendering. https://en.wikipedia.org/wiki/Non-photorealistic_rendering
870.
▲
by
LukeShu
8y ago
That requires GNU Make; neither $(shell) nor ifeq are in POSIX Make.
More ›