HNHacker News
TopNewBestAskShowJobs

shandor

693 karma · joined June 3, 2016

submissionscomments
shandor··on Void Linux Switching Back to OpenSSL
I know NaCl is from Bernstein and his team, but what about Gutmann? Are you referring to cryptlib [0]?

[0] https://www.cryptlib.com/

shandor··on How often should I rotate my SSH keys?
Thanks for the info. Makes complete sense to require a PIN with resident keys, I'm glad. Now I'll need to write the article myself, with this information included :)
shandor··on Google admits Kubernetes container tech is too complex
That sounds fascinating. Would be very interesting to read more about your IoT fleet, tasks, and deployment with that stack.
shandor··on How often should I rotate my SSH keys?
This one had quite a lot of background, but also the needed commands: https://www.stavros.io/posts/u2f-fido2-with-ssh/

With a properly set-up token, basically you only need 2 commands:

   ssh-keygen -t ed25519-sk -O resident -f ~/.ssh/id_mykey_sk
   ssh-add -K
I used a Yubikey and needed also to install 'ykman' to set a PIN for my token, otherwise ssh-add kept failing. Dunno if I omitted something for a proper setup for my token initially, but I don't think that was a problem with OpenSSH in particular.

Apart from the small headache with the PIN, the whole thing was almost magical in its simplicity.

shandor··on How often should I rotate my SSH keys?
OpenSSH 8.4 added support for FIDO2. It's literally the same commands (with some different parameters) to take into use as a normal keypair. And FIDO2 tokens are becoming quite affordable. To me 2FA with SSH became a solved problem with that.
shandor··on Mars becomes the 2nd planet that has more computers running Linux than Windows
So, what would you say are the most impactful/important parts of "the GNU system" running in modern Android phones?
shandor··on Ask HN: How to increase SWE salaries in Europe?
Keep in mind that those numbers are for the absolute top tech companies even in the US (and by extension, the world). Even in the PPE top 10, the last one Texas Instruments is ~40k less than the number 5.

It would be actually very, very interesting to see the PPE information for a more comprehensive set of companies in the US and EU tech sectors.

Or maybe it's me out of the loop and the six figure salaries are the norm in the US even outside the most profitable companies in the world?

Edit: welp, of course the data was linked in the article: https://tipalti.com/profit-per-employee/

Just picking companies randomly a little lower from the list, Qualcomm is 118k, Oracle 81k, Advanced Micro Devices 30k.

shandor··on Zenoh – Zero Overhead Pub/Sub, Store/Query and Compute
This sounded very intriguing, but I have to agree with the other comments that it is not very clear what the actual focus is.

It is at the same time confusing and frankly quite unbelievable that zenoh seems to target everything from couple-hundred-kb systems to scaling well in the cloud, and still being best at everything. I mean ok, that's rather awesome if even half of it is achieved, but I would definitely like someone more knowledgeable about the project to expand on their trade-offs etc.

shandor··on Why TCP over TCP is a bad idea (2001)
Thanks. That sounds like a reasonable explanation, and anecdotally I don't remember ever having major performance problems with SSH, even on mobile networks, so it makes sense that there ia something preventing this particular error mode.
shandor··on Why TCP over TCP is a bad idea (2001)
That sounds very interesting. Do you have any technical sources that I could delve deeper into? I've always thought that SSH tunneling / port forwarding suffers from the exact problems outlined in TFA.
shandor··on Wikimedia is moving to Gitlab
Curious, did you think of moving also the repos and reviews to Phabricator, as I recall WMF using that for task management?
shandor··on SpaceX has launched enough satellites for Starlink’s upcoming public beta
Have to say I'm amazed at the speed of Starlink deployment. When I first heard about it it seemed similar to autonomous cars: probably mostly feasible, but years in the making so all technical constraints can be overcome.

But here we are, with public beta incoming, and people reporting Ookla speedtests with under 100 ms ping and download speeds into tens of Mbps. Amazing.

shandor··on Making the Monty Hall problem weirder but obvious
Never thought of it this way, but extending to 100 doors will definitely be my go-to explanation/walkthrough in the future! Thanks for the insight.
shandor··on Nikola admits prototype was rolling downhill in promotional video
I'm completely unable to decide if I should be unreasonably amused or morbidly horrified.
shandor··on Riding the RISC-V wave
Thanks for mentioning this.

Never heard of Azure RTOS before, but it seems MS went and bought Express Logic. That's quite big.

But it doesn't seem to be MIT?

https://github.com/azure-rtos/threadx/blob/master/LICENSE.tx...

shandor··on DuckDuckGo Charitable Donations (2020): $750k to Organizations Worldwide
Call me old-fashioned, but I think that's a very good monetization model for the web that I can definitely get behind. It's almost exactly like ads in dead-tree newspapers, which is to say much less intrusive than the ones on TV, for example.

Or like how Troy Hunt does it on his blog: he just sells his top banner for ad space, with strict rules for the size of the ad. Of course this only works if you already have a sizeable following, but for the end user I view it as a very unintrusive way of monetizing.

Microtransansactions are often brought up, but I don't feel like they are a solved problem from end user perspective. Too much setup and hassle to read random articles from random sites.

shandor··on New Zealand is about to test long-range wireless power transmission
Thanks for digging that up, helps in setting the expectations for the whole thing to correct level.

I guess this goes into the same bucket I have had for new battery/energy storage technologies for the last 10 years: until there is an actual, working prototype fulfilling ALL of the promised features, it doesn't exist for me.

Having been working with IoT hardware for over a decade, I used to get so excited that new advances in energy storage would solve some of the problems. Yeah, I'm still waiting :)

shandor··on Firefox 80
It breaks my heart to say this, but I agree completely on the 'shitshow'.

I've been using FF as my main driver for over ten years, and on mobile every second I've been able to.

I fail to come up with a thing they didn't ruin with this new "revamp everything".

- The home page is worse

- THEY BROKE THE BACK BUTTON.Like seriously, you could get your tab's history and jump back more than one page. Now the long-press does nothing

- Oh, breaking the back button doesn't end there. Previously you could close your current tab with Back, and FF would either close the tab or go to the FF start screen. Now, all the tabs are left open, and I have to go manually to my tabs list and close them one by one. Why?

- probably something else. Or maybe I'm just too angry at my Ol' reliable workhorse so suddenly cheating on me :(

Edit:

- It's also slower than ever, I've never had any qualms about FF for Androids speed until now.

shandor··on αcτµαlly pδrταblε εxεcµταblε
Probably the rewriting is only done on the program loaded into RAM?
shandor··on Latest Firefox rolls out Enhanced Tracking Protection 2.0
> very high maintenance

Reading this, I was actually surprised to find that for some reason or other this has gotten a lot better for me during the 2+ years I've been using uMatrix.

At first it's rather annoying to enable CDNs and stuff for the sites you frequent, but mostly I've started noticing that the sites that break for basically no good reason are the ones that a sane person probably shouldn't visit anyway. So maybe it is just that I've started steering clear of those sites.

Also as a side note, uMatrix is awesome. Many times even on HN I'm surprised to find comments complaining about pop ups or something, and realize that uMatrix silently made my browsing actually tolerable.

shandor··on Blizzard workers share salaries in revolt over wage disparities
> Law suits are expensive

Don't know about the US, but in countries with strong (or existing) worker unions the unions would jump at that kind of case to help the employee with expenses, legal counsel, and what have you.

Unions definitely have their problems, but keeping the employers on their toes about actually breaking the law is one of their big benefits.

Of course all that doesn't help with all the other things you brought up, so there's that.

shandor··on DirectX is coming to the Windows Subsystem for Linux
> As one last point to consider: Linux as we know it lives or dies on the server and desktop / laptop markets

I agree with your general sentiment, but just wanted to note that high-end embedded systems are also a very Linux-heavy domain. Even though from hardware side it might look similar to the mobile space (ARMs everywhere etc.) it is actually a completely different world.

shandor··on How to SSH Properly
If I may ask, what SSH implementation are you using? One of the libssh's? It's always a pain when one has to forego OpenSSH because it just won't run on the low-end devices...
shandor··on How to SSH Properly
> 2. Don't use agent forwarding unless you know you can trust the machine on the other end.

This gets said a lot, but doesn't forcing a prompt every time the forwarded key gets used mitigate this? SSH is not like surfing on the web with traffic flowing everywhere all the time. If you did not just now run any commands that are expected to invoke SSH, you probably don't want to answer yes to that prompt.

shandor··on A Checklist for Evaluating New Technology
Any good pointers to some of their technical blogs about this?

It's quite astounding that architectures their size are implemented with the "slowest language around". It would be very interesting to read in-depth how they manage to sidestep the performance problems (that are brought up almost always when someone mentions Python).

shandor··on On Being a Generalist
I think that the whole point of parent comment was that you need specialists to create that "publicly / academically available information" im the first place.
shandor··on GuiLite: Small, cute GUI effects you can reuse
Qt for MCUs is definitely interesting, but I wonder if they are able to go quite as low resource-wise as these other lite-graphics libraries (like Littlevgl mentioned in another comment).

TFA boasts RAM usage of 9kb. That's something you can run on almost a literal potato, and I'd be frankly astonished if Qt devs have been able to go as low.

On the other hand, you can build a somewhat nice system with graphics already with a Cortex-M4 and 512 kb of RAM. That sounds something that Qt just might be able to reach, which would be quite awesome.

shandor··on Rtty – Access a device’s terminal from anywhere via the web
In its simplest form, yes.

Anything more sophisticated will inspect the traffic and drop SSH connections no matter the port.

shandor··on Launch HN: Deviceplane (YC W20) – Update and Manage Devices Running Linux
> nearly any Linux distro

The service file for systemd looks pretty simple, so that's probably not a problem to port to some other init system.

But what's in the "nearly" above, do you have some other concrete requirements for the distro? Any technical reason very small busybox-based systems would be unable to support your agent?

Deviceplane sounds like a very good idea for a niche that really needs something like it!

shandor··on Why Your Static Website Needs HTTPS (2018)
It's their "Full Strict" HTTPS setup [1]. It's included on the free tier, I've been using it over a year and counting.

[1] https://support.cloudflare.com/hc/en-us/articles/200170416-E...

← PreviousPage 3 of 7Next →