Better HN
topnewbestaskshowjobs
Log inSign up

Jakob

1,462 karma · joined Jan 8, 2009 (17y ago) · 334 submissions

https://github.com/jakob-stoeck topcolor: ffffff
Submissions

comment 1w ago · link · parent

Gitlab uses 2h. TIL that GitHub uses 8h.

comment 1w ago · link · parent

PAT are vulnerable, once stolen they can be used from anywhere until their (usually) long term expiry.

Better use short lived tokens with auto refresh. For example OAuth tokens. They can be used for the same use cases like PAT, but they expire after a max of 2 hours.

comment 1w ago · link · parent

Isn’t the macOS keychain user-readable by default?

Assuming the attacker has user rights (which it needs to read the key) it could also read the passphrase, right?

Update: I tried it out and stand corrected. ssh-add doesn’t store it in the user-readable keychain. So the passphrase is protected. (And also not recoverable by the user).

comment 3w ago · link · parent

Disabling JavaScript by default makes this a non-issue on most sites. Just checked TechCrunch and it’s great without it. Likely like the designer intended.

On iOS, Brave browser makes toggling JS particularly easy.

90% of my mobile web browsing is without JavaScript. It’s much faster, cleaner, safer. And for the occasional website that needs JS, I can toggle it.

Similar to many here in the thread, I then tend to not visit sites anymore that require JS/are too bloated.

comment 3w ago · link · parent

Until the reforms in 1996, allzu… was one word: allzuoft, allzuschön, allzugroß, allzuviel, etc. But yeah, probably would have written such a long word in two words even then.

My new proposal would be überregelmäßig. Über+adjective is still one word only, post-reform. Sounds strange, but grammatically correct, and still conveys the “unusual” part.

comment 3w ago · link · parent

Oh interesting that got reformed, too! Strange choice to split it in two instead of three words (the latter which would have mimicked English: “all too”).

Well, then it seems we don’t have any single German word for all too regular anymore :(

comment 3w ago · link · parent

I would go with “allzuregelmäßig”.

Similar to “allzuschön um wahr zu sein”, “allzugroß” etc.

comment 1mo ago · link · parent

See https://news.ycombinator.com/item?id=23341711 if that really interests you.

Of course it doesn’t matter in in the grand scheme of things. We are talking about saving seconds in the most egregious example. But it’s nice to know one’s tools.

comment 1mo ago · link · parent

Very nice article. Refreshing to see one liners and fun projects. And the website’s glamour mode is great, too.

Although, as tradition requests, any example of the useless use of `cat` (UUOC) must be called out. The _much_ more efficient use would of course be

  tr '\n' ' ' < input.txt | tr -d '\r' | fold …

comment 1mo ago · link · parent

I still have the original iPhone lying around. I really like its design but it’s too slow and the software too old.

I was always wondering whether a thin client concept like this could bring it to live again.

comment 2mo ago · link · parent

Until 10 years ago, i used Dash for that. It’s still around https://kapeli.com/dash

It’s instant, works offline, auto-updates, and includes all the websites you listed, and allows for custom ones too.

comment 3mo ago · link · parent

Submitted, because I just found out that even after 28 years, the definition of "upstream" and "downstream" is still heavily contested.

> Umm, no. Fix the Envoy proxy terminology so that it isn't obviously wrong.

13.

Re: Working Group Last Call: Incremental HTTP Messages(lists.w3.org ↗)

2 points · by Jakob · 3mo ago · 2 comments

14.

Riddle solved: Why was Roman concrete so durable? (2023)(news.mit.edu ↗)

4 points · by Jakob · 5mo ago · 2 comments

comment 5mo ago · link · parent

Less than Singapore for sure. Less than European cities, I’m not so sure. I don’t have the numbers but if you do an image search of Jakarta (probably one of the worst vegetation-wise and boasting a population of a quarter of Germany) it still has trees in every picture and many more than let’s say Frankfurt or Madrid. The latter has many photos without a single tree.

79% of all German trees are sick. Monocultures and beetles play a role but the problem is much bigger than that: https://www.bmleh.de/DE/themen/wald/wald-in-deutschland/wald...

comment 5mo ago · link · parent

Yes, Singapore is great for that. But to be fair with the other cities, it’s very hard _not_ to have abundant vegetation in tropical rainforest climate. Everything grows rapidly and stops at nothing in its way.

In other climates, like European ones, this becomes much more complex. Germany struggles even to keep its forests alive with long stretches of missing rain, higher temperatures, and new pests. Single trees in cities constantly die. Spain is in large parts a desert etc.

I really hope we find a solution/adapted plants to keep cities from heating up so much.

comment 5mo ago · link · parent

I would see that as an absolute win. Socialization is the main point I send my kids to school.

Socialization leads to discourse which leads to learning.

comment 5mo ago · link · parent

I really like Mimestream, which is a native client for Gmail.

Very fast and supports all the usual native macOS keyboard navigation, e.g. shift or command to amend selection in a list.

19.

Claude, Author of the Humanitas(greaterwrong.com ↗)

2 points · by Jakob · 6mo ago · discuss

comment 6mo ago · link · parent

Maybe not in your corner of the internet, but businesses used server side includes (SSI) for that, not iframes.

You add “include” tags to your HTML file and your web server like nginx or varnish would replace it with the fragment at runtime.

  <!--#include virtual="../footer.html" -->
I saw this was quite popular for big publishing houses with millions of articles still relatively recently 10 years ago. They would only write the HTML body of a new article and the other fragments would be included by the web server.

Very cheap, stable, and very big changes across the whole website could be done instantly since cache invalidation is trivial (the web server knows all modified dates of all fragments).

Also, no additional CDN or caching needed. Later, with CDNs there was even a variant where these fragments were hosted at the edge (ESI).

comment 6mo ago · link · parent

We have been authoring HTML by hand for decades with ease. Text editors are very good at it, and many have commands to auto-wrap, auto-close etc. Reading and writing is simple.

comment 6mo ago · link · parent

For a long time this was a common concept: that more central authorities should only come in where more local cannot effectively do it (subsidiarity). This was of course pretty universal until recently. The oldest counter-example I can think of is the French Revolution that started to centralise.

The church works like DNS in that regard. (Without the caching. ;)

While it was always decentralised, the standardisation of the documents was with the Council of Trent ~1550 https://en.wikipedia.org/wiki/Council_of_Trent

comment 6mo ago · link · parent

My partner and I are from two different European countries that speak different languages.

When we wanted to marry in the country of my partner, both our (catholic) churches needed to sync. They did so in their common language: Latin.

That was a fun surprise.

comment 8mo ago · link · parent

Speed is a quality in itself. We are so bugged down by slow stuff that we often ignore that and don’t actively search for another.

But every now and then a well-optimised tool/page comes along with instant feedback and is a real pleasure to use.

I think some people are more affected by that than others.

Obligatory https://m.xkcd.com/1205

comment 10mo ago · link · parent

And recently even dropping the negation itself while keeping the meaning: “je sais pas”

I never thought about that. Interesting. This negation related cycle is apparently called Jespersen’s cycle and happens in many languages. The English equivalent

I say not -> I “do” not say -> I don’t say. -> ?

https://en.wikipedia.org/wiki/Jespersen%27s_cycle

comment 11mo ago · link · parent

Yes. There are lots around; whenever the original word becomes too short for the importance people want to give it.

Tuna fish, chai tea, Enter the room -> enter “into” the room, French: hui (today) -> aujourd’hui (day of today)

Keyword: pleonasm

comment 11mo ago · link · parent

Yes, this is unfortunately still the way and was very common back when iOS Safari did not allow embedded video.

For a fast start of the video, reverse the implementation: instead of downgrading from Websockets to polling when connection fails, you should upgrade from polling to Websockets when the network allows.

Socket.io was one of the first libraries that did that switching and had it wrong first, too. Learned the enterprise network behaviour and they switched the implementation.

comment 11mo ago · link · parent

Contemporary historic preservation sees itself as the guardian of historical substance. The content of a monument is bound to the preservation of the inherited material.

Georg Dehio’s principle of "conserving, not restoring" is often invoked as a synonym for this self-conception. Old and new need to be clearly separated.

It is a counter-movement to the 18th century historicism which ”destroyed” a lot of old monuments beyond repair.

Personally, I think we went too far on the conservation angle (at least in Germany, not sure about other countries), and should restore a bit more again with the knowledge we have. But much more intelligent people have debated that for centuries, so I guess their answer would be the same like https://askastaffengineer.com/.

comment 12mo ago · link · parent

iCloud surprisingly works without issues for me. You can switch on “keep downloaded” for the folder in question.

30.

Month of AI Bugs(monthofaibugs.com ↗)

3 points · by Jakob · 1y ago · discuss

12345
12