HNHacker News
TopNewBestAskShowJobs

emilfihlman

686 karma · joined May 11, 2017

emil.fi Aalto EE/ECE
submissionscomments
emilfihlman··on Just redesigned my personal site with a TTY-style interface
Hah, I see exactly the same issues as I had when trying to implement TUI on mobile (autocomplete fail, no arrow keys, blocking view, ...). It's just so painful and actual seems almost impossible to leverage the virtual keyboard for input.
emilfihlman··on Show HN: Beatsync – perfect audio sync across multiple devices
Your css is broken in that it doesn't take into account the url/menu bar on phones.

Yes it's a super annoying problem. You should change the css so that the url bar is always visible, and have a separate full screen button.

emilfihlman··on Thank HN: The puzzle game I posted here 6 weeks ago got licensed by The Atlantic
This game is somewhat stupidly implemented in that for clue "exercise in a pool" the guess swimming doesn't count, as the answer is swim.

But more importantly we can see here that actually just getting user input with a keyboard is actually made stupidly hard on mobile, and getting a reasonable result actually requires reimplementing the virtual keyboard, which often sucks because it has a tremendous amount of complexity!

This is something that really should be fixed.

emilfihlman··on Any program can be a GitHub Actions shell
I mean technically GitHub could intercept the exec syscall, but given that the shell allows executing other programs that call fork and exec, you can't really block it (and why would you, really).

Highly likely that exec would work.

emilfihlman··on Any program can be a GitHub Actions shell
I mean, exec already exists, so you can become anything anyways.
emilfihlman··on In Defense of Text Labels
To me the icons in the first are not useful and they are also distracting, I immediately only scan the text while ignoring the icons.

I also immediately ignore the icons and scan the text on the latter one.

I guess it's mostly from not trusting icons, the only ground truth comes from the text where there's no possible alternative meaning.

emilfihlman··on My washing machine refreshed my thinking on software estimation
Are you saying it's closer? Or do you refer to using time instead of distance?

Even if you live in a city, getting to a hardware store usually takes at least 15 minutes unless you really live like right next door. Usually takes longer. Distance is a bad measure of the time it takes.

One can easily overestimate how fast walking and taking public transportation is and how close hardware stores are to people, and underestimate how fast cars are.

As a real world example you can consider this:

From a small village called Luvia, Finland, it takes 18 minutes to drive 19 km to a general purpose hardware store (K-Rauta Pori), while it can take easily 30 min to an hour to traverse this on foot from Pori city center (ie carrying everything yourself), or at least 16 minutes if you conveniently live right next to a bus stop (and there's absolutely not just a few minutes between rides).

emilfihlman··on My washing machine refreshed my thinking on software estimation
This was just painful to read.

>For my washing machine, they were unknown unknowns - I didn’t even expect there’d be a hole to drill, new hoses to buy, a cold water tap cap to remove, and a spigot PVC wall to drill out.

No, most of this was something that could have easily been known if checked after the first trip to the store but before going there again, or at minimum before the third trip. It was just so painful to read how there was absolutely zero planning and checking before execution.

While you can also do many checks and plans in software development and deployment (like calculating if the thing you want to calculate given your resources is even remotely possible, back of the envelope calculations, you know), there's still many more things that are much harder to know about and check in advance, and there's not usually a huge cost (going to the store) associated with problem solving each time.

emilfihlman··on Who carved South America's mysterious ancient tunnels? [pdf]
Since no one has said, but I strongly feel like it should be said and it's so great and positive abd triggers many memories.

Secret tunnel!

emilfihlman··on Branchless UTF-8 Encoding
Can't edit anymore but a better (only slightly) and clearer version is

  u32 length = (code <= 0x7F) + (code <= 0x07FF) + (code <= 0xFFFF);
  u32 limit = (code <= 0x10FFFF);
  u32 allowed = ((code < 0xD800) || 
  (0xDFFF < code));
  u32 valid = (limit && allowed);
  return(-1 * !valid + valid * (4 - length));
emilfihlman··on Branchless UTF-8 Encoding
I mean, isn't the trivial answer to just collapse the if else tree into just math that's evaluated always?

  u32 a = (code <= 0x7F);
  u32 b = (code <= 0x07FF);
  u32 c = ((code < 0xD800) || 
  (0xDFFF < code));
  u32 d = (code <= 0xFFFF) * c;
  u32 e = (code <= 0x10FFFF);
  u32 v = (c && e);
  return(-1 * !v + v * (4 - a - b - d));
Highly likely easy to optimise.
emilfihlman··on Liberating Wi-Fi on the ESP32 [video]
A couple?

It easily goes to tens of Mb/s.

emilfihlman··on Facebook's Little Red Book
It's refreshing to see it said out loud today as an ideal, even if they didn't really believe it then nor today, the idea on page 24:

"But what happens when everyone can put their message in front of a lot of people? When the playing field is level? When everyone has a printing press, the ones with the best ideas are the ones people listen to, Influence can no longer be owned, It must be earned."

I wish people believe(d) in this still today, but we are in a jaded censorship world, and it seems that those who believe in it are labeled extremists.

emilfihlman··on Listen to the whispers: web timing attacks that work
Fortunately a quick fix is to first go through a cryptographically secure trapdoor function that makes the initial check security time invariant, like with sha256 with a random salt, before checking exact byte matching.
emilfihlman··on Trump wins presidency for second time
You'll get a lot of hate for saying these things, but it's good you said them.

People really need to face reality and that our society simply cannot sustain even limited immigration if those people end up as a negative for the state in terms of financials.

emilfihlman··on XFCE 4.20 aims to bring preliminary Wayland support
Wayland is still broken in so many ways it's not funny.

Just recently I had to switch back to X11 because Wayland was just awful performance wise, like stuttering and constant fps drop. And this on a what 2023 high quality laptop with standard Ubuntu.

The way Wayland is done is a mistake.

emilfihlman··on Most gamers prefer single-player games
I mean yeah, when you make multiplayer too clean it becomes less fun.
emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
Np, it happens.

By not accepting I meant they might say "what does that have to do with this?", "that's not related" or "that has nothing to do with this".

Ie. they completely skip over and don't accept the fact that it's an analogue and dismiss it or attack the analogue itself after.

emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
My recounting informs of an issue, namely not accepting the argument (analogue illustrating the issue and argument), and then attacking the non-argument, ie the analogue instead of the argument.

The reply to my post has the same issue, though yes in a wider adaptation. Not accepting a logically sound situation is the same as dismissing an analogue just because it's an analogue ("analogues are not arguments therefore not relevant"), and then presenting that I don't know how to use an analogue is about the same as attacking the analogue.

If there's nonsense it's from you.

emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
Yeah, and I somewhat agree with you.

The problem is that for tacking double standards an analogue is kind of required, and analogues are good for trying to explain to a person who doesn't understand the matter but understands or is familair with another matter which can serve as an analogue.

emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
"Because analogies and metaphors are not arguments. They are illustrations. In an argument, you need to show the link between cause and effect, a chain of reasoning."

Presents that I would use an analogue/metaphor as an argument and/or that I don't know what they are or how to use them, which is an attack on my integrity/character/skills/etc.

emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
Sigh.

You made an assumption that I don't know how an argument goes and/or that I don't know how to use an analogue/metaphor, and you attacked me saying people don't accept analogues/metaphors.

This is about the same fallacy people perform when they don't accept analogues/metaphors or attack them instead. They claim it doesn't relate or illustrate, when infact they just fail to understand.

So yeah, you ran into the same issue.

E: And yes you are another user account, but since you defend the OP I assume you also hold the same view she does.

emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
You ran straight into the exact issue I brought up.
emilfihlman··on Why use metaphors in conflicts? Because understanding is remembering in disguise (2009)
I've unfortunately noticed that many people don't usually accept analogues or metaphors in arguments, unless they are trying to work with you. They either dismiss them outright or attack the analogue/metaphor without understanding it's an analogue/metaphor.

This is even worse when they don't like you personally.

emilfihlman··on Making an atomic trampoline [video]
I was disappointed it wasn't related to low level systems programming haha!
emilfihlman··on Air Con: $1697 for an on/off switch
Using which reverse service, though?
emilfihlman··on Obsolete Command-Line Tools of Linux
Maybe they are more modern and with more features and so on, but the default user experience absolutely sucks on tmux and ip, which makes using them useless on servers you don't control, and asking to "oh lemme just drop my config here" is just insane as a default.

Which is why the older tools don't go away.

emilfihlman··on Microjs
Syntax wise awful?

I'm not sure you know what you are saying. It's basically just C/C++ without the chaotical Template shit from C++.

Syntax wise JavaScript is one of the best. If only it had types.

emilfihlman··on Orcas sink $128K yacht in Mediterranean attack: 'Like watching wolves hunt'
Not sure why you are so hostile about it, this has nothing to do with arrogance but effective communication on a board with people from all over the place.

"mt" is not a recognised abbreviation for meter, nor is it taught as so anywhere. As non-standard it just leads to confusion and questions. I for example first though it's some weird measurement unit used in marine navigation, like nautical mile.

So yes, don't use mt, just use m.

emilfihlman··on Nokia 6600 vs. Samsung S24 Ultra
It seems to only have 5x optical.

I'm pretty annoyed, since I had 10x optical on the Huawei P30 Pro many years ago, and I really loved that camera.

← PreviousPage 3 of 31Next →