HNHacker News
TopNewBestAskShowJobs

shandor

693 karma · joined June 3, 2016

submissionscomments
shandor··on We Wasted $50K on Google Ads So You Don't Have To (2019)
I have the feeling that "Full stack adaptive delivery" and its ilk are aimed at VCs or BigCorp sourcing managers instead of anyone that would actually use the product. The sad thing is that they seem to be so mutually exclusive nowadays.
shandor··on No nuances, just buggy code (was: related to Spinlock implementation)
Like all the mainstream Linux distributions out there?

But seriously, IIRC they do 5000 rounds by default, but I've been wondering for a few years how is it that supporting nothing better than SHA512 for the whole /etc/shadow -based system is still ok? How come there's still no support for scrypt or bcrypt?

shandor··on AI Dungeon 2 costing over $10k/day to run on GCS/Colab
For similar price point (€105.62), from e.g. Azure you can get their "E2 v3" VM, with 2 vCPUs and 16 GB RAM, plus 50GB temporary storage. That's...quite a difference.
shandor··on Turning PostgreSQL into a queue serving 10k jobs per second (2013)
I was also wondering about the "safe and consistent" part. Doesn't Redis Streams with persistence solve those pretty well?

Edit: oh, someone mentioned this being from 2013. No Redis Streams back then.

shandor··on Really Fixing Getrandom()
> As such, is there an option to configure OpenSSH such that it has a fixed authorized_keys

At least you can override the default functionality with your own by utilizing the "authorized keys command". It basically allows you to create your own authorization scheme instead of the default "key in file means access granted"

shandor··on Bitwarden: Free, open-source password manager
One of my previous companies required everyone to share their TrueCrypt keys with the IT dep. for this same reason (smallish company so it was manageable from their end).

The rationale for it not being a privacy violation, which was a concern that came up a couple of times, was that the machines were company property anyway.

shandor··on BLUF: A military standard to make writing more powerful
I have a friend leading the IT team in a company of ~300, and he goes nuts if people keep probing him with "are you here?".

He's a very chill person, but the problem was getting out of hand, so he started pasting users back with just a link to a page explaining why one does not simply do that. Some people took offense, but mostly the situation improved.

It was along the lines of [1], but not sure if it's exactly the same.

[1] https://sol.gfxile.net/dontask.html

shandor··on A Kubernetes/GKE mistake that cost me thousands of dollars
What a great idea. I would use that so much. Firefox reader mode is already pretty good, this would be an icing on the cake.
shandor··on Ask HN: Are you ok?
Oh, I was also speaking of "live" socializing instead of online, and agree completely with you. I was just voicing my encouraging experience that even small-to-mid sized cities seem to have a surprising amount of enthusiasts for almost any given interest.
shandor··on Ask HN: Are you ok?
Nowadays there's no lack of enthusiasts even in the smallest of niches. Just follow your passion and do what you enjoy, the others will be there. Much easier than trying to enjoy things you don't like, and building your social circles around that.

Of course even then you need to be active at least to the point of finding the others out there, but I'd still contest it to be the easier way.

shandor··on Whatever happened to Six Sigma?
> "do what we want whenever we want it."

Isn't that quite well in accordance of Agile Manifesto's "Responding to change over following a plan"?

Sprints and backlogs and grooming, all those sound they're straight from the Scrum Book. And while I understand that for many Scrum == Agile, actually it's not.

Note that I'm not saying anything about what's the best way to do software. Only that "responding to change" sounds very much agile.

shandor··on YAML: Probably not so great after all
But that, and the parent's idea of binary formats in general, throws away the absolute golden property of text format configuration files: you can put those in git, and see with an accuracy of a single character what has changed. My impression was always that this was a huge reason for plain text files in the first place.

Someone mentioned protobufs, maybe with something like those one could have both?

shandor··on WebKit Tracking Prevention Policy
You're right of course. I was indeed talking only about the old-school TV.
shandor··on Moravec's Paradox
To be fair it's not quite that simple.

Automation has already been heavily cutting at the so-called low-skill jobs starting from Industrial Revolution. Or by some definition, from the Agricultural one somewhat earlier.

But the examples of the gardener and cook that were in your citation are actually quite good, I admit.

shandor··on Moravec's Paradox
To expand on your point, anecdotally it seems that the human mind works in the same way in other contexts, too. For example:

- "Grass is always greener on the other side"

- "You only fully appreciate great things when you lose them"

- All the people getting anxious or even depressed because social media constantly barrages us with the perfect pictures of perfect peoples' perfect lives, all the while forgetting that on many objective scales the fact that you're even able to get depressed by something like that puts you in the jackpot-winners category in the lottery of life compared to a huge percent of the world's population.

shandor··on WebKit Tracking Prevention Policy
> Basically the print magazine model.

And also TV, as it is still today. Oh, and every other form of advertising basically. If advertising without invading user privacy is so bad (as the perpetrators are rationalizing it), how come all other forms of advertising are still a billion (trillion?) dollar business worldwide? Just makes one wonder.

shandor··on RSA is a fragile cryptosystem
I read that "developers" to mean those people who develop the algorithms also. For example Bernstein et al, who made ed25519 and its implementation.
shandor··on State of Industrial Control Systems in Poland and Switzerland
> The actual problem is management doesn't care about security with no financial damages for that in most cases. So, they don't try to secure the project.

Nor should they, if they act rationally.

To be honest, I've started thinking that having a lot stronger regulation for punishing companies is the only way to improve the situation. GDPR is a good start in the EU, although it is privacy-focused.

The free-market solution to this is that users (be they consumer or B2B) start shunning the companies and products with the worst security records, but the problem is that security (and privacy, it seems) are so hard to grasp that it's just not happening. Companies exist to make money, and it's sad how many of them won't actually care about anything else. So if that is the only thing that they care about, the only option to make them care about security is to make insecurity a bad road business-wise.

shandor··on Firefox Now Available with Enhanced Tracking Protection by Default
It didn't about 9 months ago. Great if the situation has improved. Thanks a lot for the heads up, hopefully this works and lets me uninstall Chrome!
shandor··on Ask HN: What overlooked class of tools should a self-taught programmer look into
> Then you force commit because that is how a rebase flow works

Absolutely not. Force pushing a shared master is probably the worst sin one can commit with git. I guess you already have come upon the 'why' of it.

A "Rebase workflow" works so that devs use rebase to 'move' their work on an updated master after a pull/remote update, resolve potential conflicts locally, and do a fast-forward push to origin/master. This also works on copying work between different feature branches just as well.

shandor··on Git rebase in depth
I...have to admit that my merge strategy, and what I teach my teams, is "don't" :) (only slightly tongue-in-cheek)

I believe in clean, linear history, and strongly prefer rebase-based workflows to merges. That's actually one of the reasons I chose Phabricator for my current place, as it is also very opinionated towards the same way of working.

Edit: oh, and to answer your actual question, the third one.

shandor··on Git rebase in depth
This is also why commiting very often is a very good idea.

I often try to reassure people new to git that "if you'll just commit often, there's basically no way you can lose work so that I can't help you get it back. Apart from deleting the whole repo folder. Don't delete the repo folder.".

I also have the habit of preventing non-fast-forward pushes on origin/master, which also helps when I can tell my team that they can't trash the origin even if they try.

shandor··on At $75K, housing a prisoner in California now costs more than a year at Harvard
But he gave concrete examples other countries have done to achieve the very things he mentioned. Why would you dismiss those obviously working solutions by hand-waving about world peace?
shandor··on Write yourself a Git (2018)
Rebase is not dangerous. It can't be, since it only works on the local repo.

It's non-fast-forward pushes that are dangerous. And they're dangerous whether anyone uses rebase or not.

shandor··on An Honest Living
Yeah, exactly. And automotive itself is kind of just the tip of the iceberg (although admittedly huge by volume).

My current company is working with heavy machinery manufacturers, and the industry is years behind consumer automotive. There's a similar kind of explosion in the amount of small intelligent modules waiting to happen.

shandor··on An Honest Living
That depends the most on what you work on. Of course there is an abundance of embedded shops that do the kind of development that gets tweeted by @internetofshit

On the other hand, things like heavy machinery control systems are usually in somewhere in the middle: the machines themselves are burdened by all kinds of regulations, and the machines can kill a dozen people easily by accident if something goes catastrophically wrong, so it would definitely suck to "move fast and break things". Also, like you mentioned, software updates are few and far between.

Then there's medical and aviation and friends, where you have MISRA-C and the like. Very process-y, if you like that.

Basically, work on SW for tangible things, and pick your poison regarding how much requirements and process you want. I'd say that on a very broad average, things do get more strict going farther down the stack, if for no other reason than that if the lowest level code does not work reliably, then nothing else usually won't either.

shandor··on An Honest Living
> This isn’t the real world. It’s all just conjured up on a screen for profit and entertainment.

One of the reasons I love embedded SW development is this right here. I know that it's basically just in my head, but it's so much more satisfying for me to work on a medical device SW or a harvester control system than, I dunno, some random ToDo app.

One could call embedded dev the sweet spot between the real world (as you put it) and the abstract world of pure software.

shandor··on An Honest Living
> Not just because I have offspring but because I'm doing a ton of things I haven't done in years, decades.

One of the great things in being a parent is that I can once more forget myself for hours when building snow castles or burrowing tunnels into a snow mountain at the end of the street, and no one bats an eye 'because kids'. Having kids also changes you in a way that you once more remember how awesome that was in the first place.

shandor··on Ask HN: What company environment has enabled your best work?
Ouch. Sounds like your product manager and business manager are indeed not doing much more than warming their seats :)
shandor··on Ask HN: What company environment has enabled your best work?
The adage "good leaders make themselves unnecessary" applies.

If you have people under you, or can coach your people to take parts of your responsibilities off you, I think that's a great outcome. If your ICs are so good that they can actually do that, you should give them a raise and be glad you get to focus on other things in the meanwhile.

Of course, if the manager is unable to then broader their own scope, they indeed become disposable.

← PreviousPage 4 of 7Next →