demetris

Joined 16 years ago

Karma
466
Submissions
139
Member since
Dec 24
All-around tinkerer

https://github.com/demetris

[ my public key: https://keybase.io/demetris; my proof: https://keybase.io/demetris/sigs/IJezxqt-y639GnvKVGnB28Jh6Qsi9X5ddryyMyEesnc ]

View on Hacker News

Recent submissions

Comment · 3 months ago
There is functionality to reopen the last closed window, and also a keyboard shortcut for it. IIRC, the shortcut is Ctrl+Shift+N (on Windows and Linux).
Comment · 4 months ago
F*** me!

The owner of whirlpool.net.au commenting on my comment.

I am replying because of the huge respect I have for the work.

Yes, I am seriously asking with a straight face.

Yes, I know how to pirate. I’m from this planet. :-D

Pirating, and jumping through hoops to do things certain vendors didn’t want done, was fun while I was learning. And educational. Super educational, in many respects.

But it is not fun anymore for me. There are other things these days that can get me banging my head against walls, and they are, in total, more fun and more educational.

Comment · 4 months ago
What plenty of ways?

How can I run a macOS virtual machine LEGALLY on my Linux or Windows machine?

Comment · 4 months ago
Comment · 4 months ago

  ### THIS FILE IS AUTOMATICALLY CONFIGURED ### 
  # Changes to this file will not be preserved.
  # This file will not be recreated if removed.
  X-Repolib-Name: Microsoft Edge
  Types: deb
  URIs: https://packages.microsoft.com/repos/edge-stable
  Suites: stable
  Components: main
  Architectures: amd64
  Architectures: amd64
  Signed-By: /usr/share/keyrings/microsoft-edge.gpg
Come on! The year is not 2001.
Comment · 4 months ago
I know of the solutions. I use a few of them.

I have multiple Playwright webkits on both Windows and Linux. I have Epiphany on Linux (not 100% same webkit). I have subscriptions for testing on real hardware.

This is why it seems to me that Apple does not really care about web developers.

Comment · 4 months ago
But does Apple really care about web developers?

How do you test on Safari if you don’t have Apple devices?

How difficult can it be for Apple to make barebones virtual machines with just Safaris?

Comment · 5 months ago
What chrisweekly said:

Configuring webpack, mostly. :-D

That’s not a dig at webpack: Those tools are super complex, and hiding complexity from the user is not easy. But it seems that with Vite we finally got there.

Comment · 5 months ago
I love Vite, when I don’t forget it exists in my projects. It took things that made you feel mentally deficient and made them almost zero-config.

This news does not make me happy.

Same with the news about Astro earlier this year.

I know it must be good for the people how have made the projects (why else would they chose to do it?) but there is something in those acquisitions that makes me uneasy.

Comment · 6 months ago
That is not necessarily proof.

Sometimes I am too lazy to think of a good commit message, so I have a custom command that tells the assistant to do this:

Commit umstaged changes with a nice clean message summary and no full message.

By default, Claude Code co-signs those commits (which I do not like at all as a default).

Comment · 8 months ago
Websites do care about the UA. They don’t care, at least most don’t care, about the User-Agent string. That is different.

About an element that gets rendered into native menu controls, I am not sure. I haven’t been following closely for the last two or three years. But that seems like a good candidate for a native element. 9 out 10 websites need it.

Comment · 8 months ago
Some of the stuff we have been adding since then is GOOD though.

Some examples:

We now have to accommodate all types of user agents, and we do that very well.

We now have complex navigation menus that cannot be accessible without JavaScript, and we do that very well.

Our image elements can now have lots of attributes that add a bit of weight but improve the experience a lot.

Etc.

Also, things are improving/self-correcting. I saw a listing the other day for senior dev with really good knowledge of the vanilla stuff. The company wants to cut down on the use of their FE framework of choice.

I cannot remember seeing listings like that in 2020 or 2021.

PS.

I did not mean this reply as a counterpoint.

What I meant to say is, even if we leave aside the SPAs that should not be SPAs, we see the problem in simple document pages too. We have been adding lots of stuff there too. Some is good but some is bad.

Comment · 8 months ago
But how does that work?

Does Cloudflare force firewall rules for those who choose to use it for their websites?

If the tool that does the crawling identifies itself properly, does Cloudflare block it even if users do not tell Cloudflare to block it?

Comment · 8 months ago
Firefox could (should?) be better in several aspects but it seems excessive to say it is pretty irrelevant.

It has 4.5% market share in Europe, 9% in Germany (statcounter numbers).

It is the browser that got the Google Labs folks to write a Rust jxl decoder for it, and now, thanks in part to that, Chrome is re-adding support for jxl.

You can be unhappy with Firefox (I often am myself), and Firefox HAS lost relevance, but can you really say it has become pretty irrelevant?

Comment · 8 months ago
I didn’t pay close attention to the domain and I thought it was the other one:

https://moderncss.dev/

One of the best educational resources for modern CSS.

BTW, one of the reasons I love modern CSS is front-end performance. Among other things, it allows you to make smaller DOMs.

I talk about a modern CSS technique that does that here:

https://op111.net/posts/2023/08/lean-html-markup-with-modern...

It is an idea I started playing with when custom properties landed in browsers, around 2016 or 2017? Around 2021 I started using the technique in client sites too.

Now I want to write a 2026 version of the post that talks about container queries too. The technique becomes more powerful if you can rely on container queries and on the cqw unit. (You cannot always. That stuff is still new.)

For an example of the convenience cqw offers if you can rely on it, see the snippets I have in this:

https://omnicarousel.dev/docs/css-tips-know-your-width/

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton