13,583 karma · joined Apr 23, 2011 (15y ago) · 4,497 submissions
Currently working as a principal engineer for a unicorn supply chain startup.
learc83@gmail.com
https://github.com/learc83/
comment 6y ago · link · parent
Construct a software development methodology around that assumption. Now remove that assumption, and think about the practical consequences for a team who doesn't realize that the assumption is incorrect until after they have started implementing a design document.
Imagine what would happen if you hired an architectural firm to draw up some blueprints for a house, and then midway into the construction of the house it turns out that the assumptions made in the blueprints are wildly out of sync with what's possible to build.
It is significantly better for everyone involved if management goes into the process knowing the limitations of design documents and up front design.
For more concrete example of the practical problems see the history of the debate between iterative and big design up front methodologies over the last 30 years.
comment 6y ago · link · parent
There are very few “feature gems” that I’ve used in the past 15 years doing Rails development that I’ve been happy I used a year later. Development gems on the other hand like byebug are usually fine.
comment 6y ago · link · parent
Sure there’s a point where this doesn’t make sense, but for the majority of cases there are ways to mitigate the positive reinforcement loop you’re taking about.
The easiest is to limit the number of workers to some number that won’t impact DB performance if they are running full tilt. You can even use an enum on existing records to determine the background job status if you have few enough rows (we do this for a table with a few hundred thousand job applicants).
I’ve found that in most cases we want a record that the background job was performed, so we were often updating the database anyway when a job was complete.
Sure if you are firing off so many events that PG can’t keep up with writing them, then PG isn’t a good option.
comment 6y ago · link · parent
Blueprints for a house are much, much closer to being reproducible than design docs for a software project.
If you give design docs to 3 separate dev shops, the end results will be wildly different.
>There is a reason why engineers are required to inspect the project at some interval and perform quality checks.
It's true that there is still some room for interpretation because blueprints are still a model. But most of what your talking about is because people will cut corners and not follow the specifications, not because the specifications aren't there.
comment 6y ago · link · parent
Each stakeholder has a different "design" in mind, and until you actually get specific there is no design, there's just a nebulous, incomplete list of requirements. And if you do try to get specific enough to be reproducible--you're writing code.
None of this is to say that design docs are worthless, just that they can never be specific enough to function as the actual reproducible design the way blueprints would. Thinking of them that way is harmful.
comment 6y ago · link · parent
comment 6y ago · link · parent
That analogy falls apart quickly. Design docs aren’t specific enough to be analogous to blueprints.
You can give a set of blueprints to 3 different construction firms and get fundamentally the same building. Try giving design docs to 3 different development shops and see what happens.
The problem is that the only way to get to that level of specificity is with code.
Design docs are closer to something a city planner would produce than to something an architect or civil engineer would, and they should be treated accordingly.
comment 6y ago · link · parent
comment 6y ago · link · parent
That depends on the size of the population being sampled from, the margin of error, and the confidence level.
For a huge effect like the one shown in the study, where one side performed 2x as well as the other, a sample size of 48 is more than large enough to say that the result is statistically significant. If there was as small effect, that wouldn't be the case.
Put it this way. You want to find whether people from California prefer Taco Bell or Pizza Hut, so you randomly sample 100 people. If all 100 people say Taco Bell, then you can be reasonably confident that more people from California prefer Taco Bell. Because if at least 51% of your population preferred Pizza Hut, the odds of not getting one of those people in your sample are minuscule (the odds of getting all Taco Bell people in your sample if 49% of the population prefers Taco Bell is 0.49^100).
If 51 prefer Taco Bell and 49 prefer Pizza Hut, your confidence level is too low to be useful--you need a larger sample size.
comment 6y ago · link · parent
That's exactly my point.
>if you take consensus to mean "a large majority like 66%+ portion of the scientific literature within the field(s) relevant to that specific instance" that becomes a lot more testable for an individual issue.
Yeah we can say that for some specific issue like choosing what time of year to plant tomatoes, expert consensus is useful, but that doesn't generalize, which was also my point.
comment 6y ago · link · parent
You've just defined faith in a way that wins your argument, but that is not any kind of consensus definition of faith.
comment 6y ago · link · parent
That's one of those things that sounds like it should be falsifiable, but in practice it's not. The statement is far too broad to conduct reasonable experiments, and if you narrow the scope to the point where you can conduct experiments, then your experiments won't support a conclusion that's broad enough to be a sound foundation for "expert consensus is more likely to be correct".
I happen to think expert consensus is generally useful, but there's still an element of faith in my opinion.
comment 6y ago · link · parent
And when I hire people, even though I hate doing adversarial whiteboard coding, I will probe to find out if people understand a bit of theory.
You can get a lot of work done without theoretical knowledge, (but the end result is often not as good, and it usually takes longer). Combine that with the fact that CS theory is hard, and you get a lot of people complaining about how theoretical CS is useless outside of academia.
It's basically an extension of "no one needs to know math beyond arithmetic in the real world".
comment 6y ago · link · parent
NormalRead | ShortRead | Error
This case is also an example of why go’s idiom of using error value or return value doesn’t always work.
If you had a maybe type and a general sum type it would be clear when a function was going to return either or both.
comment 6y ago · link · parent
A maybe type would have been a much better solution. I wish people would just accept that go's error handling is a stopgap solution instead of pretending it's a good (or the best) solution.
I'd bet a substantial amount that go in 10 years ends up with pattern matching and sum types.
comment 6y ago · link · parent
The kind of army that governments would allow Bezos to own couldn't defeat the strongest rulers in the past unless he got very lucky and managed to pull a Cortes and ally with another much larger force.
comment 6y ago · link · parent
There was already plenty of evidence if you actually read the quote the and setup that it was the answer to a question about the attack.
>At least Turkey got some balls and they talk openly about Adrenochrome in the main stream news, can’t be that bad their censorship.
If you're talking about the fictional drug, there's a movie and a TV show that openly talk about it. If you're talking about the chemical substance, you can buy it in the US.
If you're talking about the bullshit pizza gate conspiracy, the mainstream news mentions it when it's newsworthy. Like when someone shoots a hole in the floor of a pizza restaurant. But most of the time they don't talk about for the same reason they don't talk about lizard people or the tooth fairy.
Go ahead and talk about it though. I guarantee you the government won't censor you and throw you in jail the way they will in Turkey if you insult a government official.
comment 6y ago · link · parent
And if you're talking about how much wealth he could realistically extract from Egypt, it's much much lower. Maybe even lower as a percent of global wealth.
comment 6y ago · link · parent
>"We experienced similar attacks in the past. The lack of monitoring on these platforms have a role in the rise of this sort of immoral behaviour. These platforms do not suit this country. We want these platforms to be banned, taken under control."
The "similar attacks", and the "immoral behavior" are direct references to insults against him and his family on social media.
These are from the Al Jazeera translation of the press conference if you don't trust the AP:
"Erdogan said investigations were under way against those who "attacked" his family by "abusing a newborn".
"We will keep chasing these cowards who attack a family and the values they believe represented by them through a baby."
"We experienced similar attacks in the past. The lack of monitoring on these platforms have a role in the rise of this sort of immoral behaviour. These platforms do not suit this country. We want these platforms to be banned, taken under control."
Please stop being deliberately obtuse.