HNHacker News
TopNewBestAskShowJobs

Lukas_Skywalker

1,723 karma · joined August 27, 2014

Creator of code-fabrik.ch and examzone.ch
submissionscomments
Lukas_Skywalker··on Rotten Dot Com
People who want to see it can search for it, but posting without a disclaimer is unnecessary.
Lukas_Skywalker··on The Physics of GPS
True. But the GPS receiver doesn't know whether you are on the surface or not (and at what elevation), so it must always assume 3d space, hence a sphere.
Lukas_Skywalker··on The Physics of GPS
The explanation about the spheres is slightly inaccurate. With one satellite, you won't get a circle on the earths surface, but a sphere.

GPS is not constrained to earths surface (or the oblate spheroid approximating it), luckily.

Lukas_Skywalker··on FreeCAD v1.1
Oh. I didn't even know there were macros. But that looks very useful!
Lukas_Skywalker··on FreeCAD v1.1
The only issue I have with the Spreadsheet is that I need to add an alias for every value I want to use in the Sketch or Part Design workbench. In practice, this usually looks like

    A       B
    width   2mm
    length  3mm
and for every cell in B I add an alias with the same value as in column A. Is there a way around that?
Lukas_Skywalker··on Chuck Norris has died
I did something similar when Microsoft gave away Windows Phones for every app published on the app store. I used the Chuck Norris API though. The one I used is sadly no longer available (I think it was called CNDB). But there's a new one: https://api.chucknorris.io
Lukas_Skywalker··on Returning to Rails in 2026
I also think it's the opposite, since the dependencies are almost guaranteed to be compatible with each other. And I think Ruby libraries in particular are usually quite stable and maintained for a long time.
Lukas_Skywalker··on I'm glad the Anthropic fight is happening now
I think we can flag those comments now that the new guidelines are published: https://news.ycombinator.com/item?id=47340079
Lukas_Skywalker··on Ruby Newbie is joining the Ruby Users forum
Aren‘t the LLMs going to starve if there is no more organic data to feed off?
Lukas_Skywalker··on British drivers over 70 to face eye tests every three years
I disagree. This case is very controversial, at least from the point of view of the parent.

Being reported may be seen as betrayal by the parent, even if it is objectively justified. That could also be the reason why „everyone around“ failed to act, even if they agree.

Being anonymous certainly helps.

Lukas_Skywalker··on "Scholars Will Call It Nonsense": The Structure of von Däniken's Argument (1987)
For context: Erich von Däniken died on January 10, 2026 at the age of 90 years: https://x.com/vonDaeniken/status/2010314306894828023
Lukas_Skywalker··on Avoid Mini-Frameworks
I don‘t like dismissing technologies on the basis of being „magic“, since the magic could often just as well be called abstraction, and the line between them is often personal preference.

The abstracted-away logic in a Laravel application can either be called magic or abstraction, but so can the optimizations of a database query planner.

I think often you still need to know the underlying mechanism, but it is still useful to get the innards out of the way.

Lukas_Skywalker··on Is your AI system illegal in the EU?
Do you care to elaborate or write down some arguments?
Lukas_Skywalker··on Hunting for North Korean Fiber Optic Cables
Even less is correct: outdoor fibers (G.652.D) have a minimum bend radius of about 30mm. The indoor counterpart (G.657.A1 and A2) have 10mm and 7.5mm.
Lukas_Skywalker··on Cloudflare Global Network experiencing issues
They still blame the customers when you click on "Cloudflare":

> If the problem isn’t resolved in the next few minutes, it’s most likely an issue with the web server you were trying to reach.

Lukas_Skywalker··on Microsoft's lack of quality control is out of control
In German, the documentation site often mentions "Microsoft Kante". Weird to read...
Lukas_Skywalker··on Friendly attributes pattern in Ruby
We can't really tell that without knowing where the code is used, no? It's not hard to imagine a test that checks the following:

   bill = FactoryBot.create(:bill, products: [])
   expect(bill.currency).to eq("USD")
It doesn't cover all possibilities of all currencies, but it doesn't need to. It covers the one case it needs to test.
Lukas_Skywalker··on Friendly attributes pattern in Ruby
The exclamation mark has a reason: if the newly created records fails validations, an exception is raised. Without the exclamation mark, the error is silenced (and the method returns a falsey value). This is a convention across Rails.

Ruby itself mostly uses it for mutating methods (e.g. #gsub("a", "b") replaces the character a with b in a string and returns a new string, but #gsub!("a", "b") mutates the original.

Lukas_Skywalker··on Rouille – Rust Programming, in French
I don‘t think so. At least the french one is quite old and was discussed here before AI was in wide use: https://news.ycombinator.com/item?id=28490935

I remember that many of the other languages popped up a little later.

Lukas_Skywalker··on Doing Rails Wrong
Github is now running on the main branch:

> Every Monday a scheduled GitHub Action workflow triggers an automated pull request, which bumps our Rails version to the latest commit on the Rails main branch for that day.

https://github.blog/engineering/building-github-with-ruby-an...

Lukas_Skywalker··on Swiss voters back e-ID and abolish rental tax
The status quo is that companies which are required by law to have this information (banks, telecommunication providers etc) do require an ID scan (and often video identification as well).

All the others don't really care and just let you register with whatever name and birthdate you want, because the ID scan method is too cumbersome and expensive to them.

I expect those to move to eID, effectively requiring people to have an eID, with no way to provide false information.

Lukas_Skywalker··on Swiss voters back e-ID and abolish rental tax
I agree that it can be useful, but I fear that in the future, we will have many more online platforms that require an ID than we currently do.

In the past, things like age verification required users to upload a scan or photo, and someone had to verify it. Because that was too much work for the platform operators, they didn't do it (or only with the banner "Are you over 18?").

With the e-ID instead, this will be much simpler to implement. And I expect it to become much more widespread in the future.

Lukas_Skywalker··on OpenAI's new open-source model is basically Phi-5
Isn't an apology a bad metric for evaluating models?

Without understanding much, it seems to be more an indication of the type of content the model was trained on, rather than an indicator of how good or bad a model is, or how much it knows. It would probably be easy to create bad model that constantly outputs wrong information, but always apologizes when corrected.

Lukas_Skywalker··on Emailing a one-time code is worse than passwords
I just tested it, and it looks as if that was fixed. It seemed to work for me.
Lukas_Skywalker··on Emailing a one-time code is worse than passwords
In a way, yes. I don't count on it being private though. But it appears nowhere online, so it's not used by credential stuffers or other bots.
Lukas_Skywalker··on Emailing a one-time code is worse than passwords
I have added what I think they call login alias to my account. This blocks logins using the normal account username (which is my public email address), and only allows them via the alias (which is not public and just a random string). Not a single foreign login attempt since I enabled the alias.

You can enable it on account.microsoft.com > Account Info > Sign-in preferences > Add email > Add Alias and make it primary. Then click Change Sign-in Preferences, and only enable the alias.

Lukas_Skywalker··on How to not use AI to code for you
The article is still understandable, and someone took the time to write in their second (or third?) language. This was probably much more work for them than for us needing to reread some sentences because they mix up the order of some words.
Lukas_Skywalker··on Coventry Very Light Rail
I don’t know if two minutes are possible, but in Berne, Switzerland, the bus line 10 runs every three minutes. Parts of the loop have dedicated bus lanes, but it‘s probably less than a third of the distance.

PDF: https://www.bernmobil.ch/sites/default/files/2025-02/ah_0201...

Lukas_Skywalker··on The One-Person Framework in Practice
I always thought it was funny that people criticize the "magic" of certain frameworks, when at its core, almost all programming is magic (since it is almost always an abstraction). And there is probably no clear distinction on where non-magic ends and magic starts.

But somehow, no one complains about having a GC instead of needing to use `malloc`/`free` or `fetch` doing the DNS query automatically.

And that's exactly _why_ I use frameworks and libraries. So I don't have to write low level code, or as one could call it, to use some magic.

Lukas_Skywalker··on Echo – Open Hardware Music Player
The Tangara music player has one as well. And the hardware is open!

https://cooltech.zone/tangara/

← PreviousPage 2 of 9Next →