Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
darrenf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
darrenf
1y ago
Perl specifically differentiates between/supports both floating point versions and those which are integers separated by periods (TIMTOWTDI, after all). The latter is exactly what the `v`-prefix designates, and the `version` docs expli
62.
▲
by
darrenf
1y ago
Maybe Jazz Emu is onto something: https://www.youtube.com/watch?v=zJ69ny57pR0
63.
▲
by
darrenf
1y ago
The only Ruby tool I (knowingly) use is homebrew, including distributing internal tools at my employer via private taps. I feel like migrating to nix would be a hard sell, so I'm hoping homebrew isn't on its way out just yet!
64.
▲
by
darrenf
1y ago
I'm not sure what mode at all - I just clicked "start", and after each exercise I just clicked "continue". I didn't adjust any settings, just dived straight in!
65.
▲
by
darrenf
1y ago
I could only get through a few rounds of this -- it messed with my brain much more than my fingers. Proper nouns without capitals, flipping between -ize and -ise, and the outright bad grammar were all reasons I typed slower than I normally
66.
▲
by
darrenf
1y ago
> The friendly finder logo is such an essential part of MacOS that it's bizarre (at least to me) that they've changed the color symmetry of the face. > Why would you do that? It's as iconic as the Apple silhouette fo
67.
▲
by
darrenf
1y ago
See also: fabric. https://docs.fabfile.org/en/latest/
68.
▲
by
darrenf
1y ago
I spent the first 46 years of my life living in properties in London with no dishwasher. Honestly never thought they were particularly common. In fact the one in my current house was recently out of action for 6 weeks and I tried to convinc
69.
▲
by
darrenf
1y ago
I’ve been writing a browser extension recently, and part of the functionality I want is to export part of a view as an image, shareable for the socials. I wanted to use html2canvas, but the docs explicitly advise against using it in a brows
70.
▲
by
darrenf
1y ago
4 years ago I had my partner take photos of moles that had changed colour on my back. I used the MySkinDoctor app https://www.myskindoctor.co.uk/ to send them to my consultant dermatologist (who, at the time, I had never me
71.
▲
by
darrenf
2y ago
C["have you tried turning it off and __ again?"]grats! [stinger]n p[bet against an outcome]ing it daily and really en[ode to ___]ing it.
72.
▲
by
darrenf
2y ago
They're in the HTTP/1.0 spec. https://www.rfc-editor.org/rfc/rfc1945#section-10.15 10.15 User-Agent The User-Agent request-header field contains information about the user agent originating the reque
73.
▲
by
darrenf
2y ago
Are you referring to the Web Environment Integrity[0] stuff, or something else? 'cos WEI was abandoned in late 2023. [0] https://github.com/explainers-by-googlers/Web-Environment-In...
74.
▲
by
darrenf
2y ago
> OK, I know that Java also has mental parameter options like that ('-version', note the *single* hyphen followed by, gasp, a word!), but I just dismissed it as weird enterprise-ism. I think "mental" is being too ki
75.
▲
by
darrenf
2y ago
I mean you run that command locally. You aren’t ssh’d in, vim copies the file to a tmp location and you edit it, `:w` writes it back to the remote.
76.
▲
by
darrenf
2y ago
If I’m reading this right, it’s “open a local vi(m) on a remote file”, by invoking a remote command. Is that right? I’m wondering how it’s different in effect to just using vim sftp://host/path/to/file
77.
▲
by
darrenf
2y ago
This is something I've never seen. `which` (at least on the hosts I currently have access to) is its own binary `/usr/bin/which` and unrelated to the shell and its aliases or abbreviations. `type` is a builtin on both fi
78.
▲
by
darrenf
2y ago
Not specifically trying to play golf, just to let you know that `curl -w` is your friend for extracting data from the headers: for _ in {1..5} ; do curl -sSw '%header{location}\n' https://indieblog.page&#x
79.
▲
by
darrenf
2y ago
It's literally the number one story on https://www.bbc.co.uk/news/ as I type this comment.
80.
▲
by
darrenf
2y ago
Use podman-compose? https://docs.podman.io/en/latest/markdown/podman-compose.1.h... https://github.com/containers/podman-compose
81.
▲
by
darrenf
2y ago
> Pro wrestler Kerry von Erich had to get his broken foot amputated because he thought it felt good enough to walk across the room to get a cheeseburger. Honestly, I don't think wrestlers -- certainly those from the von Erich era
82.
▲
by
darrenf
2y ago
Blog post date says 18th February 2024. Is this a 1yr anniversary post, or a typo? :)
83.
▲
by
darrenf
2y ago
> To remove the whole site because of that seems petty. How have they removed the whole site? It literally says "My traintimes.org.uk is still there." at the bottom of the page. Looks like only the maps have been removed. (Ed
84.
▲
by
darrenf
2y ago
Yes, some (many?) Garmins have wifi which it can use to sync activities. For example my Venu 2 supports syncing with Garmin Connect over wifi: https://www8.garmin.com/manuals/webhelp/GUID-D93137A9-B374-4...
85.
▲
by
darrenf
2y ago
Not memoization, but I like the Raku version: $ raku -e 'my @fib = 0,1,{$^a + $^b} ... *; @fib[0..40].say' (0 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987 1597 2584 4181 6765 10946 17711 28657 46368 75025 121393 196418
86.
▲
by
darrenf
2y ago
I mean, that’s what I have to do in vim, so why not?
87.
▲
by
darrenf
2y ago
It sets up precisely the expectation that everything is inline, surely? How else could it be fully implemented in a single file?
88.
▲
by
darrenf
2y ago
I like having individual files too as they can be independently managed by source control, linted, etc. And I've certainly been known to have a Makefile that's simply: all: @ls -1 tasks % :: tasks/% @.&#x
89.
▲
by
darrenf
2y ago
I assumed it was meant to evoke "trailblaze".
90.
▲
by
darrenf
2y ago
uploadvr.com do a decent job of reviewing most kit, IME. Here's the RayNeo X2 review: https://www.uploadvr.com/rayneo-x2-standalone-ar-glasses-rev...
More ›