HackerTrans
TopNewTrendsCommentsPastAskShowJobs

jfhr

no profile record

Submissions

[untitled]

1 points·by jfhr·há 2 anos·0 comments

[untitled]

1 points·by jfhr·há 3 anos·0 comments

How do you mourn the end of a friendship? (2022)

washingtonpost.com
3 points·by jfhr·há 3 anos·0 comments

[untitled]

1 points·by jfhr·há 3 anos·0 comments

Fungible Tokens and Decentralized Exchanges

jfhr.me
1 points·by jfhr·há 4 anos·0 comments

Consider Using CSV

jfhr.me
69 points·by jfhr·há 4 anos·110 comments

Talking to Yourself

jfhr.me
1 points·by jfhr·há 4 anos·0 comments

Optimizing images with the HTML <picture> tag

jfhr.me
89 points·by jfhr·há 4 anos·48 comments

comments

jfhr
·há 2 anos·discuss
> You're supposed to address this by adding the base URL on the end, but then correctly obtaining that can be brittle.

Isn't that what document.baseURI is for? At least that's my understanding:

new URL("/whatever", document.baseURI)
jfhr
·há 3 anos·discuss
Unless you need to support ancient browsers [1], I'd go the easy way and leave the URL parsing to the browser, e.g. `['http:', 'https:', 'mailto:', 'tel:'].includes(new URL(value, location.origin).protocol)`

[1] https://caniuse.com/url
jfhr
·há 3 anos·discuss
Context: <https://riabiz.com/a/2023/6/16/citing-concern-for-its-unique...>
jfhr
·há 3 anos·discuss
> The new systemd-resolved package will not be installed automatically on upgrades as it has been split into a separate package. If using the systemd-resolved system service, please install the new package manually after the upgrade, and note that until it has been installed, DNS resolution may no longer work as the service will not be present on the system.

will installing over the internet work without DNS resolution?
jfhr
·há 3 anos·discuss
Luftschloss?

<https://en.wiktionary.org/wiki/Luftschloss>
jfhr
·há 3 anos·discuss
https://archive.is/yDVZ4
jfhr
·há 4 anos·discuss
what about tumblr? that's where seemingly a lot of former twitter users are moving to
jfhr
·há 4 anos·discuss
just wait until he hears about vending machines.
jfhr
·há 4 anos·discuss
Interestingly I got Doctorow too for (technical) blog posts. For fiction stories it gave me: James Joyce, Arthur Clarke, and Kurt Vonnegut.
jfhr
·há 4 anos·discuss
yeah I should've thought of that. fixed it now