News for hackers. Stuff that matters.

tarjei_huse

Re:StarFighter 16-Inch on Wednesday May 06, 2026 @01:27AM (#48032563)
A framework competitor! Most of all I love the keyboard. Full size arrow keys as well as home, end and page up/down nearby.

I wish framework laptops could come with multiple possible keyboard layouts like the one on the picture.

Re:Learning the oldest programming language (2024) on Thursday December 18, 2025 @02:37AM (#46309915)
It strikes me that SCREAMING_CASE was a good idea in an age where the displays only had two colors - black/white or black/green...
Re:If your adversary is the mossad (2014) [pdf] on Monday October 27, 2025 @07:24AM (#45719703)
Do you have a concrete example?
Looks likely. The server part of it is just a PHP-hook.
Re:Introducing command And commandfor In HTML on Saturday March 08, 2025 @07:50AM (#43299827)
This will be great!

I was just working on an app where this exact pattern would have been useful. The app mixes serverside html with some sprinkles of React for a checkout flow. Command and commandfor would have made the linking of the two much nicer. Apps following the islands pattern will also benefit from this feature.

Sidenote: I think the web's biggest problem in the future will be how hard it is to deprecate functionality.

Maybe we need Html6 to be about removing/simplifying features from the browsers?

Re:Ask HN: Good Books on Philosophy of Engineering on Sunday January 21, 2024 @10:12AM (#39079139)
For me, the way he approached debugging was worth it. The way he went about creating hypotheses and testing them is something I've gone back to again and again.
Re:Tailwind vs. Semantic CSS on Monday October 23, 2023 @05:04AM (#37983241)
Writing and maintaining clear concise CSS for a large application requires serious effort. It usually fails fast as the design grows and changes and a larger team tries to work on the codebase.

This falls down to the old "it depends" slogan. Tailwind is a great way to scale a your css with a larger codebase / team while semantic CSS will give you a smaller tighter stylesheet and cleaner html for that single handcoded landingpage or blog.

Also the download cost of tailwind falls as the size of the app grows and each utilityclass is used in more contexts.

Re:Bye Sequence, Hello UUIDv7 on Monday October 02, 2023 @07:19AM (#37736740)
I know of people who used leaked customer ids in public facing chatbot solutions (like Intercom) to estimate how fast their competitors were growing and/or how many customers they had.
Gitlab cannot compete alone with Github copilot and their other AI offerings, so they bring in Google. Smart, if obvious, move.
Re:Hetzner Launches Three New Dedicated Servers on Wednesday March 15, 2023 @07:10AM (#35166425)
We maintain a contract with RedPill/Linpro for managing a DB cluster on Hetzner. When we ordered it it was cheaper to use Linpro + Hetzner than hosting the DB on Digital Ocean...
Re:Hetzner continues its growth in the US with a new location on Monday December 05, 2022 @08:44AM (#33865517)
We considered DO but found that it was cheeper to hire a sysops firm (Linpro) to manage the DBs on Hetzner. This has the added bonus of humans that you can call if needed...
> - a court forces a public institution to cease using Office365 (no fines possible there)

AFAIK, in Norway, most fines have been directed at public institutions.

Re:Framework is now available in Australia on Friday September 02, 2022 @03:42AM (#32687814)
How does 16" screens work on planes? I'm in the market for a new laptop (any ETA on Norwegian support for frameworks?) and the 16" screens of the new Thinkpads are looking very nice.
Re:Why we’ve decided to decommission Gov.uk PaaS on Tuesday July 12, 2022 @08:48AM (#32069087)
This may cut both ways with regards to innovation. For example, Europe as come way longer than the US when it comes to automation in various sectors (see f.x. the recent Economist article about inefficiencies in the US retail sector).

The main US advantage wrt to the last generation of tech giants (i.e. Google, Facebook and Amazon) is language. You will reach scale far faster in the US than in Europe because you do not have to translate your product to new languages and markets. Thus the US giants reached scale before similar European products could compete.

Re:Etsy Moves from React to Preact on Saturday February 05, 2022 @06:05AM (#30220003)
The way I read the document is that the main reason is that they do not have to upgrade their whole stack including dependencies like React Router.

Stepping off the dependency upgrade treadmill is an interesting and valid point that I think many HN readers dream of. It seems to me that Etsy has ended up so far behind current React that going to Preact is a very valid direction to take.

Re:My Evaluation of SvelteKit for Full-Stack Web App Development on Wednesday January 05, 2022 @08:35AM (#29808673)
I love Svelte and find it refreshing.

The only thing I react to is the part about "It feels much like Rust vs. C++. Rather than adding layers upon layers to existing infinitely backwards-compatible software, it takes the best patterns and features and builds them from the ground up.".

Svelte bungled this in one place and that is in the html coding. For example Svelte has different syntax for if ({#if}, else ({:else}) and endif ({/if}. I end up looking this up in the documentation way too often - especially when not doing Svelte fulltime.

Re:Deno Joins TC39 on Monday December 13, 2021 @09:42AM (#29539980)
Thanks!

You still need to create the middle datastructure ( [[k1,v1], [k2, v2]] ) but it is an improvement :)

Re:Deno Joins TC39 on Monday December 13, 2021 @09:25AM (#29539818)
I miss being able to create a hash from an array in a quick way. You always end up with

let bar = [{id: zz, }, {id: y},...]

let foo = {}

bar.forEach(v => foo[v.id] = v)

I'd love to have something like:

let foo = bar.toMap(v => [v.id, v])

Re:The big idea around unikernels on Friday December 03, 2021 @05:05AM (#29428371)
Cool!
Re:The big idea around unikernels on Friday December 03, 2021 @03:20AM (#29427806)
I'm wondering if anyone has seen any attempts at creating unikernels that work with major scripting languages like PHP, Python or Ruby.

I know this would seem a bit like a contradiction to the ethos of unikernels, but it would give the benefits of unikernels (i.e. smaller attack surface) to a much larger audience.

Nice writeup.

What I find lacking in this post is tips on how to best configure systemd to run docker/podman containers and/or docker-compose. Any tips on that would be great!

Re:A Tiling Desktop Environment on Sunday June 02, 2019 @07:27AM (#20074812)
A simple and quick solution to getting most of the items on the checklist working is to install i3-gnome:

https://github.com/csxr/i3-gnome