Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mempko
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
421.
▲
by
mempko
2y ago
I've been doing this style of software development for 16 years (out of 28 years programming) across various projects. If you want a small project that I wrote to look at, see henhouse https://github.com/mempko/hen
422.
▲
by
mempko
2y ago
First, users don't use string.indexOf(string). Users use software that uses string.indexOf(string). Second, I would write a test that takes generates a variety of inputs to cover the domain of string.indexOf(string) and have it call th
423.
▲
by
mempko
2y ago
It's not absurd. Unit test are expensive and slow you down while at the same time not targeting the part of software where bugs occur. It's usually HOW functions are composed that cause bugs, not the functions themselves. Contract
424.
▲
by
mempko
2y ago
You would obviously test the software before it goes to the users. With contracts you would be able to have information from your users that make it MUCH easier to fix. Without contracts you will have a much harder time fixing the bugs. Con
425.
▲
by
mempko
2y ago
The client doesn't run your unit tests, but will run you contracts (because contracts deploy with you software while unit tests dont). You might have realized users of software do things the engineers don't expect, which are not c
426.
▲
by
mempko
2y ago
Unit tests are a waste of time. Design by Contract + system tests are a far superior technique that take less time and find more bugs.
427.
▲
by
mempko
2y ago
I don't take climate deniers like yourself seriously.
428.
▲
by
mempko
2y ago
"Write everything twice" is a great heuristic. Extreme programming and unit tests is a dumb and wasteful technique. You end up cornering yourself.
429.
▲
by
mempko
2y ago
Interesting fact, police seizure (police stealing from people who are arrested, even if they are never prosecuted) is more than criminal theft. In other words, police steal more from people than criminals.
430.
▲
by
mempko
2y ago
Like, not even with a computer?
431.
▲
by
mempko
2y ago
Uh, the IPCC, which is a CONSERVATIVE organization, careful in it's language, has been saying this. In private, climate scientists say worse.
432.
▲
Climate Experts on the Musk-Trump Interview
(theguardian.com)
4 points
by
mempko
2y ago
|
7 comments
433.
▲
by
mempko
2y ago
Got it, so you are just guessing.
434.
▲
by
mempko
2y ago
I didn't make my comment in a vacuum. Look at the context. Notice we aren't talking about rape, or financial ponzi schemes. Context clues people, context clues.
435.
▲
by
mempko
2y ago
Ok, but not all correlations are spurious. What makes that research spurious?
436.
▲
by
mempko
2y ago
IQ is a bullshit measure.
437.
▲
by
mempko
2y ago
Crime is a function of inequality.
438.
▲
by
mempko
2y ago
Looks like global warming is killing the horseshoe crabs too. https://www.sciencedaily.com/releases/2010/08/100830131344.h...
439.
▲
by
mempko
2y ago
How is global warming progress? Or are you saying the consequence of progress is massive amounts of pollution, and that anyone trying to stop said pollution is out there to stop progress? Nothing is indicating to me that we are actually pro
440.
▲
by
mempko
2y ago
You don't think increased volatility in weather and storms is bad? I would love to hear how increased uncertainty over next year's growing season, floods, storms, etc would be a good thing. It's not like deserts become green
441.
▲
by
mempko
2y ago
Try https://maps.here.com
442.
▲
by
mempko
2y ago
Read the paper, the problem is each generation forgets information. Starting at the tails of the distribution they learn. No amount of filtering/selecting would help here. People would need to fill in missing information without AI hel
443.
▲
by
mempko
2y ago
If tail events aren't produced by these models, no amount of human filtering will get them back. People would not just need to filter or adjust AI generated content, but create novel content of their own.
444.
▲
by
mempko
2y ago
No, I'm talking about the section 174 update. Great explanation here. https://blog.pragmaticengineer.com/section-174/
445.
▲
by
mempko
2y ago
I blame the tax changes that went into affect at the time of the peak tlfrom the Trump tax cuts. It made engineers more expensive. While interest rates make bank money more expensive, they make government bonds more attractive and the gover
446.
▲
by
mempko
2y ago
Obstinate people are stubborn about the approach to solving a problem, Persistent people are flexible in how they solve a problem. Both don't give up solving the problem. The latter solves them better because of they learn, adjust, and
447.
▲
by
mempko
2y ago
Some beautiful visualizations here. However, one problem with it is that we are still talking about averages. This doesn't demonstrate the increase in weather variability that global warming will bring. These climate zones will have cr
448.
▲
by
mempko
2y ago
Most people are missing is that there was a tax code change as part of the Trump tax cuts that made engineers much more expensive in the short term. Companies, especially startups, were hit with a high tax bill. The layoffs are, I believe,
449.
▲
by
mempko
2y ago
The U.S. is about to put the hammer down on TikTok, eliminating a large foreign competitor to their social media empires. Protectionism is how countries develop local brands in the first place. Protectionism works for the U.S., it will also
450.
▲
Tesla may be in trouble, but other EVs are selling just fine
(arstechnica.com)
4 points
by
mempko
2y ago
|
0 comments
More ›