Better HN
topnewbestaskshowjobs
Log inSign up

almostnormal

1,065 karma · joined Feb 26, 2022 (4y ago) · 794 submissions

Submissions

comment 4y ago · link · parent

Foot pedals. I'm using one with three axis for flight simulation. One day I ran linux on the computer they were connected to, not "using" them, just connected.

Suddenly, without any warning, my screen turned left/right/upside down like it would on a tablet.

After the initial surprise it took a bit of time to figure out that it was caused by stepping on the pedals. And even more time to figure out that anything unkonwn with three axis is considered an accelerometer, and that an accelerometer defaults to turn the screen in gnome.

It was a long time ago. I haven't checked recently if there's finally a hwdb or whatever is needed for systemd to do some meaningful mapping.

comment 4y ago · link · parent

World of warcarft, that displays every kind of topography, vegetation, animals, references to any form of pop culture, sports, ... does not contain a single duck.

Either the author have never seen one. Or they are scared of Disney. Hints for the latter might be that there no mice either. For visual completeness there are rats, which is close enough to not need mice.

comment 4y ago · link · parent

A partnership like agreeing on prices for the same kind of service? I skipped my last mandatory compliance training, but something tells me that this might not be a good idea.

comment 4y ago · link · parent

It IS 100% effective. None of the male mice it was administered to became pregnant.

comment 4y ago · link · parent

> I wonder if there's any tool that can achieve the same effect.

I wonder if that's sarcasm, because it obviously should be possible with a simple call to e.g. convert/imagemagick.

Of course, people who do the printing/scaning would need a simplified GUI to use it.

A quick search on $searchengine showed that e.g. win2pdf has an option to generate an image-only pdf.

The market seems to be covered. Maybe there's room for some advanced variant that adds wrinkles, a minimal rotation, and some coffee-stains.

comment 4y ago · link · parent

I used to carry a red pen at all times for that purpose. Very useful when people had some hardcopy.

That use-case died with the invention of virus-defined wfh.

comment 4y ago · link · parent

I like my Beixo with shaft drive. A bit on the heavy side, but can carry it close without getting dirty.

comment 4y ago · link · parent

Maybe, but only if observed from the outside - collision of properties from within a sufficiently large sample.

From the point of view of the gp it is a collision of its own property (sample size 1) with properies of something else, of possibly huge sample size (all things discussed online) and not even independend (would gp have read the post and posted without having been there recently?).

Not exactly birthday paradox. This thing needs a different name.

comment 4y ago · link · parent

True only for the hobbyist editions of the Pi.

comment 4y ago · link · parent

First, you open a port to $DISPLAY...

xlib is quite a pleasure to use though, and it probably doesn't qualify as a "framework" that you don't want to use.

comment 4y ago · link · parent

The "E" in ECU sometimes is eletronic and sometimes engine, depending on the sub-field and region of the automotive industry.

For engine control (the topic of the original article) a general-purpose Os and lots of idle time are unusual. In many cases the most powerful controller available on the market is is filled with software just shy of losing tasks.

comment 4y ago · link · parent

Automotive: It looks really great for management, to minimize the liability risk. Look what great processes we have installed to avoid all kinds of problems.

Reality:

The code is written by the lowest bidder. This might be people with some form of formal qualifications, but also often is people who have no idea how a car is supposed to work, who do not even have a license to drive one. Imagine someone implementing a web app without ever having used a web browser.

The specifications are written by non-software engineers, and more often than not they contain a code-like description of the software, without any significant explanation. That's code written by people with no clue about software.

The tests may provide any coverage you can dream of, but they are unfit to detect any kind of bug. Which is obvious because the authors of the code and test have no idea about what problem the code is supposed to solve. And the only goal is to prove coverage not to find bugs.

In the end it only works because there is different people, who know how cars work, and test everything manually. At that point, coverage is of no concern at all, and bugs stay undetected, but the result might be just good enough. Also, it helps that (from a pure software point of view) most automotive software isn't exactly highly complicated.

comment 4y ago · link · parent

step 1: Try to prove that a solution cannot exist.

step 2: Challenge assumptions about implicit requirements, the scope of applicability of explicit requirements, and boundary conditions.

Then, in some magical moment, a loophole opens, and a solution manifests. I love that feeling.

I wish there were more such hard but then not so hard problems.

comment 4y ago · link · parent

I don't have any personal experience with politicians.

But it all sounds very familiar when reading it as "Psychiatry and Architects (or any other technical persons voted into power by management)".

1
2324252627