HNHacker News
TopNewBestAskShowJobs

alduin32

182 karma · joined March 10, 2022

submissionscomments
alduin32··on Ask HN: Has anyone successfully used LibreOffice for their business?
So I'm not sure if it's because of problems from the host of the CryptPad instance or because of CryptPad itself, but I've been using CryptPad for a collaborative spreadsheet for a weeks now, and it's been absolutely awful

- Lost modifications, a lot of times ("something went wrong, please reload" and then the last 15 minutes of changes are just GONE)

- Very frequent "synchronizing... please wait" screens that block you from doing anything for a few seconds

- Undo/redo not possible in "live editing mode"

- In "non-live editing mode", if you don't hit save manually and the TCP connection resets, you will lose all your changes

- Pivot tables do very weird things with formatting

And that's the experience of a solo user, there wasn't anyone joined in on the document at the time. I can only imagine how it would have been if were multiple persons working on that spreadsheet.

I do have a flaky Internet connection, but Google Docs handle it fine, and emacs-crdt works very well too.

I'm now refactoring the whole spreadsheet into a bunch of .csv files stored in Git, and a Python script that outputs a pivot table, because I've lost more types due to CryptPad bugs than the time it would take me to write that script.

alduin32··on Neon – Serverless Postgres
I have a similar setup as OP, and I use ZFS snapshots to be able to quickly rebuild the whole machine on another host. Of course, it still requires manual intervention in an outage (it could be automated, theoretically), and I may lose up to 5 minutes of data due to my snapshot schedule.
alduin32··on Neon – Serverless Postgres
Yes, ZFS snapshots are atomic, so as long as the database use sane semantics to do disk I/O, you're fine (AFAIK, PostgreSQL and MySQL/InnoDB are ok, MySQL/MyISAM is not though).

A snapshot is effectively identical to a killed database server (due to OOM, or power outage), and database servers should be crash-resistant.

With PostgreSQL, checkpointing the database before taking the snapshot may make the crash recovery quicker when loading the snapshotted database.

alduin32··on Time Series and FoundationDB (2019)
For outbound connections, it can be done using multiple IP addresses.
alduin32··on How do video games stay in sync?
It is inefficient, but it makes cheating much harder (but unfortunately still possible, it will never be possible to prevent it completely).
alduin32··on Reasons to ditch Chrome and use Firefox
> Our only hope is Mozilla takes their head out of their arse and start working on their browser instead of faffing about and making small, meaningless changes every release, but I don't see that happening any time soon.

Tab syncing is a small meaningless change to me, but not to you. Some of these things you find small and meaningless could be important to some other people (for example, multilingual spell-checking is very important to some people, X11 isolation is very important to some others).

What do you actually expect from Mozilla by "taking their head out of their arse" ?

alduin32··on Security Vulnerability in Tor Browser
This chart does not support the referred claim at all. Payouts are not only linked to the browser's hardening, but also to the amount of affected users. Given Firefox's engine low market share, it's not very surprising that payouts for its vulnerabilities is lower than for Chrome.
alduin32··on 460M Indian Internet Users Are Now on IPv6
I think the person you replied to meant that gateway firewalls enable sloppy endpoint security (which I agree with).
alduin32··on 460M Indian Internet Users Are Now on IPv6
> Right, but you can't do this without punching holes in your firewall, and I assert that's not a desirable tradeoff, at least for consumer use cases. As far as I can tell, you still need an arbiter with a public IP address.

That's true, but setting up these firewall rules dynamically is way easier than setting up NAT mappings (for example, UPnP through two different NATs never works properly).

And even for consumer use cases, gateways could provide a way to allow all traffic to a specific destination, as most operating systems should provide a proper firewall. Of course, there is still work to be done, the UI for these firewalls should be made better (for example, allowing an application to request to accept incoming packets, and letting the user choose if it should only for the LAN, or for the whole Internet, etc).

Indeed IPv6 by itself will not make p2p stuff painless, but it's still a better basis than IPv4.

alduin32··on French fighter jet joy ride goes très, très wrong (2020)
So wrong that the GoPro that the retiree was wearing was not even turned on, which is a shame, even if I doubt that the footage would have been released.
alduin32··on The casualties at the other end of the remote-controlled kill
> I think the only practical thing that can be done is to encourage competition from America's equally-sized rivals (pretty much just China at the moment)

That is a bleak outlook. It would mean that any kind of revolution, or internal change, is effectively impossible, and that the only way to limit the powers of nation-states and corporations is through adversarial confrontation with similarly sized competitors, which can come at huge cost (wars, sanctions, etc).

Internal changes are still possible, but we need to fight for it. While that may come at a huge cost, I believe that it would end up less costly than endless confrontation with similar powers.

alduin32··on The casualties at the other end of the remote-controlled kill
> as most people will support their own government (it's only rational).

I think that this is an interesting discussion by itself. Is nationalism rational by itself ?

I don't have many interesting arguments to make about it, but if I would argue that it's not so evident that it is rational behavior, but rather an irrational behavior that stems from the way our society is structured.

alduin32··on Samsung Electronics cultural issues causing disasters in foundry, LSI, DRAM
Yes, that's very true, thanks for making that point.

I'd like to add that it's never too late to try to preserve these cultures, traditions and languages. Getting interested to the ones of your place of residence, even if you're not from there originally, can be a great experience.

One of the best ways to do it is through singing and dancing (they go great together), and more generally, there are often chorals and various groups dedicated to these cultures, traditions and languages.

And indeed when you get into this kind of thing, you realize how much culture has been erased (in my case, the Occitan culture), but also you can see how much is left, and how important it is to preserve it.

It also helps a lot when reflecting on our own modern, imposed, culture, and realize that some of the things we think have always been there, have not.

alduin32··on Show HN: My website, hosted on a 386 25 MHz, 4 MiB of RAM, 38400 baud internet
It could also be thermals.On old hardware the thermal paste is often completely fried. I've seen C2Ds barely able to handle anything once they got hot.
alduin32··on Why DC May Replace AC (2019)
Yes, opening a DC circuit under load can be very surprising. The arcs can just stay on forever, and pose a big fire hazard.
alduin32··on Why don't more languages offer flow typing?
Oh right, the output is parametrized by the input. I suppose this is what dependent types are.

That's really awesome. Thanks for the explanation.

alduin32··on Those HTML attributes you never use
I've had to do something like that for an awful application where the frontend did chunked downloads, but didn't check properly for the status code, embedding error pages directly in the downloaded file.

As I had no control over the frontend itself, I configured the reverse proxy so that for requests to download endpoints, all error responses would instantly close the connection to the client.

Your post makes me think that I could generalize this so that any error to an explicit download would close the connection at the network level. It would be quite tricky to be able to distinguish between implicit and explicit downloads, but I think that if the frontend, backend and reverse proxy coordinate well together, it can be done without introducing other problems.

Of course, it's a big hack that's not worth the bother.

alduin32··on I couldn’t get over my brother’s death
I thank you for your kind words.
alduin32··on Why don't more languages offer flow typing?
Right. Thank your for the correction.
alduin32··on Why don't more languages offer flow typing?
This is amazing, but I don't understand the justification :

> Since their types specify the same length, the type-checker knows we can ignore the 'zip Nil Cons' or 'zip Cons Nil' cases.

Specifically, I have trouble understanding "their types specify the same length". Whose types ?

alduin32··on Why don't more languages offer flow typing?
I don't think pattern matching and union-types makes narrow typing useless. Rust has both pattern matching and union types but still implements some specific forms of control-flow based typing.

For example, consider this Rust snippet :

    pub fn positive1(x: isize) -> Option<usize> {
        if x > 0 { Some(x as usize) } else { None }
    }
Unless I'm mistaken, without narrow typing, this cast would be impossible, and there would be no way to avoid the redundant runtime check caused by try_into().unwrap(), that is not even optimized unless you trick the compiler.
alduin32··on I couldn’t get over my brother’s death
I lost two of my close cousins, my aunt and my uncle to suicide (one by one, at Christmas each time) when I was a teenager, ~10 years ago.

I didn't feel anything at first, except guilt. I felt guilty because I was not feeling sad while others were crying around me. I felt guilty because we all felt that it was going to happen, but didn't do anything to prevent. The only survivor of the family, my cousin, never got over it, and after that she attempted suicide multiple times, surviving until last year.

I also felt a lot of guilt because at that time (and since then), I was depressive and had very frequent thoughts of suicide. I've seen first-hand what it did to my family, and to myself and I don't want to cause that for anyone.

These last years, I realized that I'm isolating myself a lot more, from friends, from my own family, from... everyone, because I don't want to hurt people : if it ever happens, the less people I know, the less damage it will do. And I can't talk of it to anyone I know.. I think of the guilt they would feel if it happened after I had told them of my intentions.

Since I was young, I've had this thing where I have lots of trouble handling my emotions, sometimes explode in anger and start being very violent to myself, wounding me and endangering my life. Since last year, I've managed to control this a lot more, and now I haven't hurt myself intentionally since 14 months.

It may seem like a good thing, and at first it did, but I feel like it was my way to express that something was very wrong and that I was thinking of taking my own life. Now I don't have that anymore, I cry everyday, never see anyone.

These dark thoughts start making me more and more anxious, each morning, every day. I've gone from thinking about the consequences to others, the usual thoughts about your own funeral, to thinking to my cold body rotting in this shitty room I rent, and becoming completely desensitized to that thought.

I don't know what to do. I feel like I'm stuck in "limbo". I don't enjoy life, I'd prefer quitting, but I'm unable to do that because I don't want to hurt my family & friends. But since I'm also completely isolating myself, I suppose it still hurts them.

I think that someday it will happen, it feels like I'm getting closer and closer each year. I've had a few moments where if it could have been easy, simple and painless, I know I'd have done it.

I don't want to be the death that someone couldn't get over. Ruined lives should not be transitive.

alduin32··on 5G Skeptic
> The author didn't raise this but I've seen others who have brought up the nebulous "radiation" argument against 5G. Here's a good litmus test: if someone can't tell you, at a minimum, what "ionizing radiation" is then you can safely ignore everything they say about "radiation".

I often use that test myself, or some variation thereof, However, it doesn't always work. We often regurgitate knowledge from people that couldn't recite precise definitions. As a matter of fact, I think most of the people around me, as well as myself and, I think, a good part of commenters here, wouldn't be able to properly describe ionizing radiation, but yet wouldn't refrain from commenting on related matters. On top of that, I met quite educated and convincing persons bring up (non-ionizing) radiation arguments about 5G, that wouldn't have any problem telling you what ionizing radiation is.

I've got two friends that I know are more-or-less 5G skeptics, and heard them sharing how frustrated they are that they cannot even give their opinions on these subjects without being ridiculed, so much that they even lie when asked about it, depending on who's aking them, and then watch others spread vaguely similar conspiracy theories.

That was quite terrifying to me (at the time).

> Here's another: if they can't describe the "radiation" in terms of the radiation exposure from eating a banana, you can also safely ignore them.

As far as I know, most people that are (seriously) bringing up radiation arguments about 5G are worried of non-ionizing radiation.

alduin32··on Using a Minitel 1B as a serial terminal
Is anyone looking to get their hands on such machines ?

I don't know if they are hard to find, but I do regularly find some of them getting thrashed out around me.

My local hackerspace has two of them, used as terminals, and I know they refuse additional Minitels because they lack space.. I

If some people are interested and are ready to pay for the shipping, I can try to get some machines.

alduin32··on Using a Minitel 1B as a serial terminal
Oh yes, you can of course skip the USB FTDI and use the Pi's GPIO, I forgot to mention that.
alduin32··on Lanai, the mystery CPU architecture in LLVM
> The moral of the story is simple, expect that in a small start-up your stock will NEVER be worth anything, and get what you can in your normal paycheck.

That's an important moral.

I wish someone had told me that back then.

alduin32··on How NAT traversal works (2020)
Of course, but ARP spoofing doesn't have the same requirements (being on the same L2 domain), and it can be easily defended against at the switch level.

But indeed, this attack requires us to know when (and where) to start sending probes.

> And even if you managed to get past all that. Don't they layer encryption and authentication on top anyways?

That's true of most network-level MITM attacks, it doesn't mean they are useless, as the layered encryption and authentication is not always properly implemented.

alduin32··on How NAT traversal works (2020)
I'm not sure I understand how can cryptographic authentication completely solve that problem, as it is only validated on the endpoints themselves, not on the router.

As long as you have a signal that probing has started, you can just start sending probes : even if their contents are not validated, the NAT device will still define mappings accordingly. The probability distribution for the birthday attack in this configuration is a bit different, but not that much : for 3 devices to get to the same port number, at 4096 probes you get a ~93% probability.

The only way I see would be blocking probes that match an already-received invalid probe, but that creates other problems as it allows an attacker (or even just corrupted packets) to block this communication.

alduin32··on Using a Minitel 1B as a serial terminal
I have one of these working as a terminal near me, feel free to ask any questions !

You basically just need an USB FTDI and a 3.3/5V TTL converter.

alduin32··on How much Rust in Firefox?
It's not an animated pie chart, but you can look at the complete data here :

https://docs.google.com/spreadsheets/d/1flUGg6Ut4bjtyWdyH_9e...

Source: https://wiki.mozilla.org/Oxidation

← PreviousPage 2 of 3Next →