dosshell

Joined 12 years ago

Karma
1,310
Submissions
246
Member since
Jun 27
Sweden Eye tracking
View on Hacker News

Recent submissions

Comment · 1 month ago
Someone on HN that does not use ad block? This is still so confusing for me. Why not spend 40 seconds and never see any ads more?
Comment · 2 months ago
It is not that simple, atleast in the automotive industry _today_. Atleast here in EU.

Every component is analyzed from a cyber security perspective. Many components needs tampering protection - while others need not. This includes replacing components with malicious ones.

It is not logical at all and a stupid regulation. But it is not as simple as you can do what you want if you have physical access.

Comment · 3 months ago
Some context:

Fiber is a datastructure where the execution context is saved. Eg. registers (including instruction pointer) and stack etc. That is a fiber: data.

You normally use a threadpool, core pinned, to execute these fibers.

Since you jump in userspace, you more or less only have to pay for cache misses.

There are many upsides of designing a program using fibers. The major downside i see is that you can not blindly trust mutex and semaphores any longer - since the fiber can change execution thread while yielding/waiting for condition.

Comment · 3 months ago
> It is also angering the rest of Europe

It is very important to note that you can not leave Ceuta without passport etc. It is not part of Schengen. This is a problem for Ceuta and Spain, and nothing more.

Think about that when you read what your politicians say about the incident. I have seen many lies and false statements the last few days.

The leaders should stand by Spain, not lie to their citizens about the situation to win votes.

Comment · 3 months ago
Comment · 4 months ago
Every place I worked at has a git introduction where all new employees learn about how git works internally. Takes 1h, and all junior devs stops memories random commands and actually start to understand. I highly recommend to you to poking around in the .git directory.

The git support for new employees drops basically to zero.

Comment · 4 months ago
What issue do you have specific with reviewing ai code?
Comment · 5 months ago
Drivers exclusive for Windows.

You know your old Soundblaster AWE64 Gold, with all bundled programs [0]. Or that very special Analog Video grabber card you have.

Wine is user space. This is the full OS.

[0] Ok, that maybe works in linux, but you get your point.

Comment · 6 months ago
i investigated this yesterday and there is one cmake extension. It gives basic support to cmake. Not as neat as vscode/jetbrains/qt/vs but it works. It is depends on CMakePresets.json and has no gui etc.
Comment · 7 months ago
you would lose 80 repos from "10000 : 1847" also in that case.
Comment · 7 months ago
what do you mean with "The browser-based IDE (editor ...)

You use Monaco Editor for that.

Comment · 7 months ago
What parts have you exactly built?

All I see are dependencies that are glued together with claude.

Can you clearify exactly what you have developed?

Comment · 9 months ago
This is a good read! and something i have in the back of my head when debugging spooky bugs.
Comment · 10 months ago
If it captures variables, it is not possible to manually declare the type. You can however hide it in an std::function. But then you probably get some overhead and some heap allocations in real life.
Comment · 10 months ago
You put the using as class member (private) or as local in the function.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton