Readit News logoReadit News
ethangk commented on Netbird – Open Source Zero Trust Networking   netbird.io/... · Posted by u/l1am0
Galanwe · a month ago
I use funnels for things like Vaultwarden, that are secure enough to be exposed on internet, and would be cumbersome if behind the tailnet.

I use serve for everything else, just for the clean SSL termination for things that should stay within the telnet, like *arr stacks, immich, etc.

ethangk · a month ago
Ah neat, that makes sense. Thanks.

Do you have anything that’ll trigger a notification if there’s suspicious traffic on your local network? I may be overly paranoid about exposing things on my local network to the internet.

ethangk commented on Netbird – Open Source Zero Trust Networking   netbird.io/... · Posted by u/l1am0
lwde · a month ago
But it's missing a tailscale funnel like feature, right? That's one of the main features that I use for some home assistant instances.
ethangk · a month ago
Out of curiosity, why? I use TS for all my homelab bits (including my HA instance), but connect to TS before opening the HA app. Is it just a case of making it easier/ possible to connect if you’re on another VPN? Are you not concerned with having something from your local network open to the internet?
ethangk commented on First ammonia-fueled ship hits a snag   spectrum.ieee.org/ammonia... · Posted by u/pseudolus
Telemakhos · a year ago
> However, for United States LNG in particular, the LNG production chain actually has very high emissions of methane.

I thought LNG was methane. What am I missing here?

ethangk · a year ago
I’d assume they’re talking about methane leaks throughout the supply chain

Deleted Comment

ethangk commented on Apple silently uploads your passwords and keeps them   lapcatsoftware.com/articl... · Posted by u/ingve
hello0904 · a year ago
Best practices for password storage use one-way hash functions (like bcrypt, Argon2, or PBKDF2) rather than encryption algorithms like AES. AES is not one way and in theory you can generate 2nd, 3rd, etc. master keys to decrypt. :)
ethangk · a year ago
That’s relevant when storing a users password to verify that they’ve entered the correct data, but password managers (which Keychain effectively is, I believe) need to be able to retrieve the original password
ethangk commented on Show HN: A journaling service that runs over WhatsApp   todayhasbeen.com... · Posted by u/rahulg
vzaliva · a year ago
Trusting something as private as my personal diary to 3rd party sounds like a scary idea from a privacy point of view. Imagine someone hacking this site, exposing your very private information.

I wish there was something like that end-to-end encrypted. You are already using E2E encryption for the communication channel (WhatsApp). I wish there was a hookup to store the same data without breaking down the chain of encryption. WhatApp should look into that. Something like ProtonDrive connected to WhatsApp and APIs.

ethangk · a year ago
I think Day One probably fits the bill for you there. E2E encrypted. I’ve been using it for about a decade
ethangk commented on Why Haskell?   gtf.io/musings/why-haskel... · Posted by u/mesaoptimizer
watt · 2 years ago
The article lost me at following sentence:

> A double arrow => describes constraints on the type variables used, and always come first: add1 :: Num a => a -> a describes a function which takes any type a which satisfies Num a, and returns a value of the same type.

Here, I don't understand what `Num a` syntax means. It was not defined before. And, what does "satisfies" mean? It is also not defined before it is used. (It is also never mentioned again in the article.) It is maddening to read such sloppily constructed prose. Define your terms before you use them!

ethangk · 2 years ago
It just means that ‘a’ must be a Number [0]. In this context, I believe satisfies means that it implements the things defined in the ‘minimum definition’ in the link below. If you’re familiar with Go, it’s similar to something implementing an interface.

[0] https://hackage.haskell.org/package/base-4.20.0.1/docs/GHC-N...

ethangk commented on Representing State as Interfaces in Go   emoses.org/posts/resolver... · Posted by u/todsacerdoti
iainmerrick · 2 years ago
I thought this was going to be a full state machine, where each state has a different interface, but it looks like the Resolved state is just the result of Resolver.Execute(). Wouldn't it be preferable to return the result in a new object, rather than reusing the same object?
ethangk · 2 years ago
This reminds me of the Make Illegal States Unrepresentable[0] idea, where something will return a ‘ResolvedExecutor’ type to guarantee that you’re only working with something in the state you want. Go makes this a little clunky to do, though. I suppose you could use Generics to implement a Preresolved and Resolved struct.

[0] https://fsharpforfunandprofit.com/posts/designing-with-types...

u/ethangk

KarmaCake day109January 13, 2021
About
https://ethan.katzenberg.co.uk

email: hn [at] ethan [dot] katzenberg [dot] co [dot] uk

View Original