Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
js2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
811.
▲
by
js2
3y ago
Edit: wrong tower per reply from js2wjlxam. Correct tower (satellite view): https://maps.app.goo.gl/mf1D1Cdfy9Pz6wjp7 The one I've linked below is: https://maps.app.goo.gl/7XRGG5cpHqixVkPB9 --- Origina
812.
▲
by
js2
3y ago
I learned Python starting with 1.5.2 from the official documentation and think it's a good resource. https://docs.python.org/3/tutorial/index.html https://docs.python.org/3/library/i
813.
▲
by
js2
3y ago
On x86-64: r12, r13, r14, r15, rbx, rsp, rbp are callee-saved. See: https://stackoverflow.com/questions/18024672/what-registers-... > Why shouldn't the caller save all the registers it needs instead of rel
814.
▲
by
js2
3y ago
Normally HN isn't the place for jokes, but this seems like the right time for this (very old) one: Heisenberg, Schrödinger and Ohm are in a car. They get pulled over. Heisenberg is driving and the cop asks him “Do you know how fast you
815.
▲
by
js2
3y ago
> Now we need to tell systemd to execute halt.service when it reaches halt.target. The halt service, along with poweroff, reboot, and kexec get special treatment: https://www.freedesktop.org/software/systemd/man
816.
▲
by
js2
3y ago
Hah, that's fair. I inferred from your comment the corollary that systemd is not arcane, and thought "oh, it's just arcane differently," hence my long-winded reply.
817.
▲
by
js2
3y ago
The cron.hourly directory is a non-standard Linux concept provided by run-parts. The FreeBSD equivalent is periodic, but that's really for system tasks and doesn't have anything more granular than daily.
818.
▲
by
js2
3y ago
I know how you feel. I finally brewed myself a pot of coffee the other day and just followed the advice I always give everyone else-RTFM: https://www.freedesktop.org/software/systemd/man/latest/syst... I
819.
▲
by
js2
3y ago
systemd is is many things, but obvious and accessible is not one of them. It has a lot of power and flexibility, but the trade off is a lot of complexity. Just look at the unit configuration file: https://www.freedesktop.org/
820.
▲
by
js2
3y ago
Run this every hour is: 0 * * * * this Adjust the leading digit to whichever minute of the hour you wish to run this.
821.
▲
by
js2
3y ago
It does not connote those extra attributes. It means someone with integrity and honor, who always does the right thing. A mensch is someone you can count on. It is a very high compliment to give someone. But I've definitely known some
822.
▲
by
js2
3y ago
Rumsfeld is famous for the quip, but it's basically an expression of the first stage of the four stages of competence: 1. You don't know what you don't know. 2. You know what you don't know. 3. You know what you know. 4.
823.
▲
by
js2
3y ago
git has had this behavior for at least a decade. As well, macOS does not ship with git - it's installed as part of either the Command Line Tools package and/or Xcode and is reasonably up to date. For many years now, macOS has incl
824.
▲
by
js2
3y ago
The scripts have to be in your `PATH` and be executable from wherever you're running `git`. Say you have a script named `git-foo`. At the shell prompt, all of these should work: $ which git-foo $ git-foo $ git foo If the fir
825.
▲
by
js2
3y ago
Looks like it was started in 2015, so Go had about a 6 year head start on it: https://github.com/git-lfs/git-lfs/blob/main/CHANGELOG.md
826.
▲
by
js2
3y ago
Note that git itself doesn't care what the ignore-revs file is called, but GitHub does. It has to be named `.git-blame-ignore-revs`: https://github.blog/changelog/2022-03-24-ignore-commits-in-t... One other thing
827.
▲
by
js2
3y ago
meta-tip: you can also put your aliases that start with '!' into stand-alone shell scripts named `git-fza` (e.g.) and then call it as `git fza` which will search your PATH for `git-fza` and invoke it as if it's built-in. I do
828.
▲
by
js2
3y ago
You’re in a desert walking along in the sand when all of the sudden you look down, and you see a tortoise, it’s crawling toward you. You reach down, you flip the tortoise over on its back. The tortoise lays on its back, its belly baking in
829.
▲
by
js2
3y ago
Sacramento: https://www.atlasobscura.com/places/the-original-street-leve... Atlanta: https://www.atlantafamilies.org/underground-atlanta-history/
830.
▲
by
js2
3y ago
Lenny Bruce, John Belushi, Sam Kennison, probably Andy Kaufman if cancer hadn't killed him first. Anthony Bourdain.
831.
▲
by
js2
3y ago
It is quite literally what the GOP asked for not even 12 weeks ago (Dec 6, 2023): > Republicans on Wednesday blocked an emergency spending bill to fund the war in Ukraine, demanding strict new border restrictions in exchange and severely
832.
▲
by
js2
3y ago
The primary use case I'm aware is for headless computing. Re-reading what ladzoppelin wrote, I made an assumption that was probably incorrect. I thought they were saying that having an HDCP-compliant TV attached allowed them to watch D
833.
▲
by
js2
3y ago
Sure, I'm cognizant of that too: Ready Player One, The Matrix, Neuromancer. But I honestly don't think that's our most likely future dystopia. For me it's a toss up between Brazil and Idiocracy.
834.
▲
by
js2
3y ago
How long I wonder before Apple is able to link multiple Vision Pros together so that people in the same physical space can share the same augmented reality? Imagine if when he says hello to his partner, she's also wearing a Vision Pro
835.
▲
by
js2
3y ago
That's true but my reply was solely to ladzoppelin where they seem to need to have an HDCP-compliant display connected. I was just offering an option besides a 25 ft HDMI cable.
836.
▲
by
js2
3y ago
It makes the source think there is a display connected by responding with an EDID block. It may also handle the HDCP negotiation but I'm not sure about that. Technically an unlicensed device isn't supposed to be able to implement
837.
▲
by
js2
3y ago
There is no security inside the HDMI cable itself. It's an HDCP negotiation between the source and the sink which occurs over an i2c serial bus along the pair of DDC pins. You may be able to get away with just an HDMI dummy plug: http
838.
▲
by
js2
3y ago
RFC 1035: > Messages sent over TCP connections use server port 53 (decimal). The message is prefixed with a two byte length field which gives the message length, excluding the two byte length field. This length field allows the low-level
839.
▲
by
js2
3y ago
Video tour: https://youtu.be/2tzp9sZVCm8?si=jFYW7WSwUrnVDq3d (Mute your sound... the "music" is gag inducing.)
840.
▲
by
js2
3y ago
The author mentions Jsonnet in the appendix[^1]: > I never properly evaluated Jsonnet, but probably I should. Superficially it looks like one of the more mature formats, and in many ways it looks similar to RCL. Its has a page comparing
More ›