HNHacker News
TopNewBestAskShowJobs

_nalply

2,861 karma · joined May 5, 2016

Deaf Father of two children, one of them autistic. Wife Deaf, too, and additional a cancer survivor with cerebral palsy. Retired programmer (Dipl. Ing. FH) and legal (BLaw). Living in Thun, a city in Berner Oberland in Switzerland.

Languages: Swiss German Sign Language, German, English, and some French, Spanish, Italian, Portuguese and Latin (good to low reading understanding).

submissionscomments
_nalply··on The Nearest Neighbor Attack
They are exploiting that Wifi didn't have 2fa, because they couldn't overcome 2fa. A company accross the street had a machine that both was accessible by ethernet and wifi and they used that as a bridge.

Conclusions:

1. Anything that doesn't have 2fa is leaking like a sieve.

2. The targeted company needs to implement 2fa for their Wifi as well.

Not mentioned, but I assume that their 2fa is using specialised hardware gadgets like Yubikey and not texts or totp, because else they could target the cell phones, and like everything else they are leaking, or they are attacking the cell phone base stations.

Final conclusion:

A network is as strong as the weakest link. In that case Wifi was not protected by strong 2fa and could be used to breach.

_nalply··on 3600 MHz Raspberry Pi 5 with Liquid Nitrogen
Hah that reminds me of the way of a supermarket chain to shill rebates.

Turbo button not pressed, run at lower speed than rated

Turbo button pressed, run at rated speed

No rebate, sell at a huge margin

Rebate, sell at a minimum margin

_nalply··on Freenet: A decentralized alternative to world wide web
When many people have the ability to publish independently without relying on a central service, then it’s decentralized. The World Wide Web was initially designed to be decentralized, with the idea that anyone connecting to the internet could host a web server.

In practice, however, this didn’t quite work out. Most people publish through centralized services like Instagram, to name just one.

There are two main obstacles to achieving decentralization. The first is technical difficulty: not everyone wants to learn how to run a web server. The second is reliance on foundational services like domain names and hosting, which can be revoked. For example, if the authorities think you did something illegal, boom, your domain name got confiscated.

So, no, in practice, the World Wide Web isn’t truly decentralized. But at least there remains some possibility for it.

_nalply··on Freenet: A decentralized alternative to world wide web
To some extent yes.

However to host something yourself you need a lot of things, for example FTTH to host it at your home, or a hosting provider; then a domain name and other things. These can be taken away from you.

_nalply··on Show HN: Ryde, a Rust Web Framework
I had a quick look. Looks fine at first glance, will try it out for a project of mine. I planned to use axum anyway.

One suggestion: You should tell in about two or three short sentences in Readme.md how it extends axum, especially what it did to destroy the boilerplate of axum.

_nalply··on Designing a Fast Concurrent Hash Table
Different use cases. An ordered map shines if you need some ordering of keys. One use case is an ordered index, for example if you have an age index and need to list only adult people. A hashmap won't work here, I think.

So just use a DBMS, but if you don't want, perhaps this ordered concurrent map.

_nalply··on Designing a Fast Concurrent Hash Table
Have also a look at concurrent_map. It is a concurrent BTreeMap, this means it maintains key order (not insertion order but the keys implement Ord).

https://lib.rs/crates/concurrent-map

I am using it for a transactional in-memory key-value store experiment.

_nalply··on Patent troll Sable pays up, dedicates all its patents to the public
In a perfect world this is arbitrage. Arbitrage helps making markets more efficient. However we don't live in a perfect world. Judgment is too expensive and risky. If it were quick, cheap and safe then patent trolls won't have the chance to do extortion. They would be limited to ... um... arbitrage!
_nalply··on Will plants grow on the moon?
Perhaps a thick shell of water suffices. In the order of meters, perhaps one to four meters. Perhaps combine it with lead, in the order of centimeters, perhaps ten centimeters, then one meter of water would suffice.
_nalply··on The crypto bros crowdfunding a new country
Thanks, got a copy!
_nalply··on The End of Advertising
AI companies will offer hidden advertisement in their chat robot answers.

One example: someone asks about historical multicultural cities, and one was Cordoba during the Muslim rule, and this would be an opportunity for advertisement for holidays in Spain and the user gets the answer: "By the way, did you know you can travel there and see the mosques from that time? See here for a possible travel offer"

_nalply··on The Byte Order Fallacy
What he said: if you read bytes with some byte order, you compose them yourself correctly, no byte swapping but just reading byte for byte and convert them to the number value you need. The architecture byte order is implicit as long as you use the architecture's tools to convert the bytes.

Rust, for example has from_be_bytes(), from_le_bytes() and from_ne_bytes() methods for the number primitives u16, i16, u32, and so on. They all take a byte array of the correct length and interpret them as big, little and native endian and convert them to the number.

The first two methods work fine on all architectures, and that's what this article is about.

The third method, however, is architecture-dependent and should not be used for network data, because it would work differently and that's what you don't want. In fact, let me cite this part from the documentation. It's very polite but true.

> As the target platform’s native endianness is used, portable code likely wants to use from_be_bytes or from_le_bytes, as appropriate instead.

_nalply··on The crypto bros crowdfunding a new country
There has always been multiculturalism, even hundreds of years ago.

One example was Córdoba, where Muslims, Jews, and Christians lived together. They even had different laws, because the Muslims had what they called "dhimmi" status, which meant that different groups had their own jurisdiction granted by the Muslim rulers.

This ended because of many factors, one of them being the collapse of the Caliphate due to internal strife. So I grant that it is difficult, but not impossible.

Our descendants will see if this form of living together can be sustainably established in the future.

_nalply··on The crypto bros crowdfunding a new country
Yes, but it's a half-baked step.

Probably it's time to rethink what a nation means.

At least I got a vision, citizenship is like being a member of an association.

Currently, citizenship is very restricted, but I hope for a more open world, where citizenship is a lot more fluent than today. Of course many protections are neccessary which are implicit in citizenship. That's why I wrote about human rights and corporate organisations. I imagine an automatic membership bound to residency and what is citizenship today turns into membership to some cultural association.

And customers become members of their corporate entity and thus gain many rights we don't have today. That's why I said, corporate entities turn into countries.

Perhaps in about a hundred years if our civilization is still thriving at least somewhat?

_nalply··on The crypto bros crowdfunding a new country
Human rights are important, for example the right to be heard in conflicts.

Let me explain why I believe that a new form of country will appear: Companies will turn into countries.

Currently large companies like Google, Amazon, Apple, Microsoft and so on, don't "offer" human rights. People however want them to have more responsibility, especially in Europe. This is a changing force already in progress. Perhaps it will turn out that the European Court of Human Rights or a similar institution will do the same thing to Corporate what it already does for many countries.

Of course the ECHR is not working well today, there are many problems, but should we just give up and let Corporate become feudal? At least I propose we should think about what we people need from countries and corporate entities and how to gain these needs.

I guess at some point Europe could enforce corporate entities to give the right to be heard to people, for example.

And that's one step of them turning into countries.

Perhaps you think, a country, that's something with an army. But an army is not really neccessary if there is some other way to control power. Currently, however, the world doesn't seem to have a lot of power as we see with many different wars.

I am a bit pessimistic about the future of humanity, but I still hope that in the long-term we will find a way without raw material power to resolve conflicts, because this is really wasteful and might even lead to our demise.

_nalply··on A word about systemd (2016)
What is missing?

I have the feeling that you are mourning the old, bad days?

_nalply··on What If Ozempic Is Just a Good Thing?
I am not sure but I think my body couldn't generate enough of a specific hormone and then the body's reaction was as if I was starving because that hormone is controlling the metabolism inside the organes. So, probably nothing was missing in my food but because my metabolism was low it was like I was starving but I wasn't.
_nalply··on What If Ozempic Is Just a Good Thing?
Yes, I started doing a lot of hiking. Today I walked more than 2000 foot up to a hill and back and still felt fine and had a quick stroll along a river the evening. I shoot many pictures of mushrooms, and a friend told me I caught a rare mushroom (lycoperdon echinatum) and Thursday I am going up again with him because he never saw one.

Why?

_nalply··on What If Ozempic Is Just a Good Thing?
I have health issues, a hormone inbalance which caused havoc on my body. One of the symptoms was extreme craving to the point that I drank half a pint of diluted orange juice (one part juice, three parts water) with phyllium husk and hydrolised guar gum every hour to create goop to fill my stomach. I couldn't stand the craving. I ate lots of fried mushrooms, too (not deep fried, just a little bit of butter).

Then I asked my doctor to give me a different medicament, because I suspected a variation of a deficiency. Her answer was: I don't have experience with that medicament, but after four months she relented. One week later my craving was much, much less.

This experience astounded me extremely deeply.

I have come to the conclusion that there are some body processes, let's say instincts, that can go astray.

Compare this to drowning. Even if people know that there's only water, they try breathe. It's just too strong an instinct.

Having experienced this, I now respect obese people. They just have the bad luck that their instinct of eating derailed. Now they not only lost body fitness but also respect.

_nalply··on Show HN: Subdomain Enumeration CLI
Just a thin wrapper around api.merklemap.com?

https://github.com/Barre/merklemap-cli/blob/master/src/lib.r...

    pub async fn search(query: &str) -> Result<()> {
        let url = format!("https://api.merklemap.com/search?query={}&stream=true", query);
        process_event_stream::<Entry>(&url).await
    }
_nalply··on The Tippy Type makes typing with long nails less tedious
This gave me an idea: what about changing keyboard layouts? Have a silicon cover for the Swiss-German keyboard layout. Of course the form of the keys needs to be different because I don't have long nails. And I am not sure about the tactile feel.
_nalply··on Rust error handling
> But, since good programs don’t panic, and neither do good programmers, it’s very rare that using unwrap or expect is actually the right thing to do.

I respectfully disagree.

The assert!() macro is a way to document invariants. It's a bug if a variant is violated. It shouldn't have happened, but if it happens, then there's nothing the user can do except reporting the crash.

The unwrap() and expect() method document the invariant that the None and Err() variants shouldn't occur.

It's fail fast.

You should use error handling only if users would be able to handle the errors.

Tell the end user that the file they wanted to open is not readable, for example. Tell the users of your library that an error happened, like a parse error of a config file. And so on. Tell the users what they can fix themselves.

A bug in your library or program, that's something different. Fail fast! And Rust panics are perfect for that.

_nalply··on My most downvoted StackOverflow answer
"Someone is wrong on the internet".

Happens to most people, me too. Someone posted something you think is wrong and hostility ensues.

Some people try to hide the hostility behind superficially respectful words, but the hostility is there.

¯\_(ツ)_/¯

_nalply··on "Hire People Smarter Than You" is bad advice (2018)
That's kind of paradoxical. If a dumb CEO hires dumber people than them, that's smart. Umm, no wait.
_nalply··on I'm blocking connections from AWS to my on-prem services
Thanks, that was great.
_nalply··on Lidl's Cloud Gambit: Europe's Shift to Sovereign Computing
Ibiza doesn't count or all countries of the world would be English speaking.
_nalply··on Rust in Linux Revisited
https://github.com/nanovms/nanos

> A kernel designed to run one and only one application in a virtualized environment

    ---
https://github.com/nanovms/nanos/blob/master/CHARTER.md

> 1. Security:

> Nanos aims to be a much more secure system than Linux. It does this through several thrusts. Not having the notion of users, running a single process per vm, and limiting the amount of code that is incorporated into each vm.

> 2. Minimalist:

> KISS. As Nanos is not intended to be ran on bare metal we strive to keep the core as simple as possible.

    ---
https://github.com/nanovms

They patched erlang and gpu-nvidia to work with Nanos

    ---
https://ops.city/

A product based on Nanos

_nalply··on Rust in Linux Revisited
Care to explain a little bit more? In which cases recompiling is required? Do you agree that Cygwin is a moderately successful reimplementation of a part of Linux? If you agree then I wonder how recompiling affects that Cygwin is a (partial) reimplementation?
_nalply··on I'm blocking connections from AWS to my on-prem services
One really never can be sure but I do this and I hope it is enough:

- put ssh on a port not 22

- only allow key-based logins

- don't allow root logins

- keep software up to date

Not that I am an expert... So please tell me if I have a hole somewhere in my setup.

_nalply··on Lidl's Cloud Gambit: Europe's Shift to Sovereign Computing
Nitpick: Luxemburg, Belgium (around Eupen), Italy (Tirol) and France (Alsace) are also German speaking countries.

Historically, too: Poland, Czechia, Hungary and Romania, but German speaking communities have disappeared or are in massive decline.

Disclaimer: this list of German speaking countries might be incomplete.

← PreviousPage 3 of 34Next →