Better HN
topnewbestaskshowjobs
Log inSign up

andruby

5,519 karma · joined Dec 4, 2013 (12y ago) · 1,352 submissions

contact me at andrew [at] bedesign [dot] be
Submissions

comment 4y ago · link · parent

> I don't mean to be snarky

No worries. I should’ve included it more clearly in my comment. I use the question to gauge seniority and experience to help determine salary proposal.

As I mention, there is typically a difference in the answer of a junior programmer (or someone who’s used to being a solo-dev) vs a senior dev that worked on larger projects with bigger teams.

Moreover, the question is about _good_ code, not clean code.

comment 4y ago · link · parent

We don’t appreciate person attacks here on HN.

Democracy allows regular people, not in the in-crowd, to put themselves up for election.

As far as I understand these roles are not full time, minimally compensated or even completely voluntary. If a volunteer comes in on their first day, I would assume that the people there would help them settle in and show them around. At least that’s how I’ve been treated and have treated others.

Why are you fighting this so hard? Do you disagree that this position should exists? (Then maybe redirect your anger towards that legislation) Or do you have something to hide in the books?

comment 4y ago · link · parent

“Effortless to follow” is eloquently put.

When I interview candidates during recruiting I often ask the open ended question “what is good code for you” as it gets people talking. There is rarely a wrong answer. Usually, there is a difference in answers between more junior and more senior programmers. More senior candidates focus more on the readability & maintainability, while more junior programmers focus on accuracy, speed, following style-guides etc.

For me “good code” is code that is easy to change. Most things follow from that: easier to understand makes it easier to change. Do 1 thing (SRP), makes it easier to change, etc..

comment 4y ago · link · parent

Exactly. “Write code for humans first”.

comment 4y ago · link · parent

It’s been a while since I’ve seen it, but I can’t remember it including anything with dolphins.

comment 4y ago · link · parent

What do you mean?

comment 4y ago · link · parent

Look at the link. They are co-locating at OVH (or running dedicated servers). Which is as close to self-hosting as I can imagine.

comment 4y ago · link · parent

See sibling comment about IGN buying out Humble. That seems like a clash of company cultures that could precipitate a change of core values.

comment 4y ago · link · parent

I didn’t know IGN bought Humble. That really explains a lot.

comment 4y ago · link · parent

That totally happens by the way. When we built our house, we had to use bathroom supplier X and the builder took a cut (might very well be 30%). Same for the kitchen.

The builder brings in the customers, and the bathroom and kitchen suppliers seem to be happy to share a ~30% commission for it.

(note: this is in Belgium, but I assume similar setups are commonplace in other places)

comment 4y ago · link · parent

It might go against the expectations, but it would not be defrauding.

comment 4y ago · link · parent

Speaking as an engineer that sometimes wears a hiring manager hat. Full-time long term is typically preferred. On a complex product in a complex domain there can be a long learning curve. It’s very valuable to have people that stay for multiple years and were there when certain choices were made.

People have a different learning and onboarding speed, but it generally takes months for an engineering hire to “break even” and be able to pick up most tickets on their own. So we generally prefer people that stay longer.

That being said, there is also value to bringing in people with different backgrounds, experiences & perspectives. So sometimes freelancers or consultants can be good choice.

comment 4y ago · link · parent

It’ll probably shave 50% off that table’s disk space.

However, we’re actually in the process of sharding the db, and by copying customer by customer we’ll lose the bloat that way. The subsequent shards will be a lot more manageable so we can run pg_repack there with more confidence.

comment 4y ago · link · parent

I haven’t found any. In our case, we did an alter table .. alter column, which I assumed would he fine. In retrospect, it does make sense that PG recreates that column from scratch and thus it doesn’t keep the statistics.

Since then we typically include an analyze statement whenever we do a large change, or rewrite a lot of rows.

comment 4y ago · link · parent

Correct. Just unix load (ie concurrent busy processes)

comment 4y ago · link · parent

Some schema changing statements drop the statistics.

We learned this the hard way. We altered some integer columns to bigint. That cleared the statistics for those column and caused terrible query plans. An ANALYZE fixes this, but it took us a few days to notice.

comment 4y ago · link · parent

REINDEX concurrently made a huge difference for us.

We have a main database that started at version 9.6 and was upgraded along the way. The largest table is huge (billions of rows, TB’s of diskspace) and gets a lot of deletes and updates.

Vacuums could no longer finish on that table (we killed it after ~90 days).

Reindex (+ vacuum with skip-indexes) dropped our db load from 60 to 20 and fixed the autovacuums, which now take less than a day. The indexes on that table had accumulated a lot of bloat, and I think newer versions also improved the index disk layout.

We now have a monthly cron job to reindex all indexes.

comment 4y ago · link · parent

There is still value in constraining the maximum number of concurrent queries. That’s PgBouncers main task.

comment 4y ago · link · parent

When looking at revenue / employee, in businesses where wages are the biggest cost (eg: software), that ratio also gives you a upper bound to how much you can pay employees and still be profitable.

In my book, revenue / employee is much more meaningful than profit / employee, because profit is arbitrary to a large extent.

710.

AMD 2022 Product Premiere (At CES)(amd.com ↗)

1 points · by andruby · 4y ago · discuss

comment 4y ago · link · parent

My father is a retired airline pilot and instructor. Everything that can fail in the simulator is fair game. Pilots have recurrent trainings all the time during their career. They get tested every X months. They have medical exams.

And that is how it should be. Pilots must be able to handle every possible failure. They don’t need to know every single procedure by heart, they’ve got the manuals in the cockpit for non-urgent procedures.

My father loves _flying_. He’s from a generation that trained on airplanes with little automation. He often talked about younger pilots relying too much on instruments. He would get annoyed with pilots that didn’t appreciate manually flying a plane.

comment 4y ago · link · parent

> Our investigation has since found that some of these security alerts, which were sent to a limited subset of LastPass users, were likely triggered in error.

A lot of corporate text in this blog. This seems to be the only sentence where they say that the unusual login activity was actually a software error.

(PS: I editorialised the title since the actual title is very generic says nothing)

713.

Unusual login activity was due to bug(blog.lastpass.com ↗)

133 points · by andruby · 4y ago · 68 comments

comment 4y ago · link · parent

I actually don’t know if they want to protect the data. I can imagine they might not want China or other countries listening in and potentially sending commands to the craft.

Does anyone know if there is typically encryption on the downlink? How about uplink commands? I guess we want those to be secured so only authenticated control can send commands

comment 4y ago · link · parent

That’s actually a good idea.

comment 4y ago · link · parent

He wants to become a shareholder so he can ask questions to the board.

Shareholders have additional rights.

comment 4y ago · link · parent

That’s exactly why I prefer a more kanban-inspired flow. We discuss new tickets weekly, estimate them with planning poker [0] and move some to “in focus”. We have WIP limits on focus, doing and for-review to limit the max concurrency and encourage pairing.

Product manager and engineers decide together when a feature/project is ready to be launched or when scope needs to be cut or changed.

[0] http://pokershirt.io

comment 4y ago · link · parent

Thank you. That seems to be the case indeed. And it’s important to be aware of the potential agency issues.

comment 4y ago · link · parent

> Excluding a couple hundred irregularities, native speakers can accurately predict the pronunciation of 85 - 90% of common words

That sounds pretty bad actually. You're saying most _native_ speakers can't predict the pronunciation of 10-15% of common words?

I wasn't great in Spanish at school, but the teacher was mostly correct that "you write it like it sounds". Much more so than English at least.

(for context: I'm native Dutch/French, but speak mostly English, and know a bit of Spanish and Portuguese)

comment 4y ago · link · parent

are you (or your friends) confusing the IMF (International Monetary Fund) with the WHO (World Health Organisation)?
1
232425
46