Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pbw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
pbw
2y ago
Early on, the cloud's entire point was to use "commodity hardware," but now we have hyper-specialized hardware for individual services. AWS has Graviton, Inferentia and Tranium chips. Google has TPUs and Titan security cards,
62.
▲
by
pbw
2y ago
I always felt that true "scripting" with a "scripting language" was two things: 1) Most of your functions were linear: low cyclomatic complexity. 2) Functions rarely called into other functions. While "programming&q
63.
▲
by
pbw
2y ago
Bubbles are inevitable. Imagine a single company investing precisely the right amount into a new technology, not a penny more. Now imagine every single company and person doing the same thing, perfectly. It’s impossible. The stock market ha
64.
▲
by
pbw
2y ago
This is a great point and very true.
65.
▲
by
pbw
2y ago
I mentioned in another comment pylint’s 50 line limit for methods. So I agree - a well written 50 line method is sometimes better than the same code chopped up. Although a significant factor is if you chopped it up, would there be multiple
66.
▲
by
pbw
2y ago
Pylint warns if you have “more than X” for a lot things like local variables, number of arguments, number of member variables, etc. For most of these the limits are in the 5 - 9 range but for lines in a function/method the limit is 50
67.
▲
by
pbw
2y ago
I’m not at all familiar with Julia but that sounds interesting. I’ve been thinking recently that with AI we might eventually decouple the style of the source code from the style of the executable code. That is, let you toggle from DOD to OO
68.
▲
by
pbw
2y ago
I’ll add that “use good names” is good advice. But “use the names Robert Martin prefers” may or may not be good advice.
69.
▲
by
pbw
2y ago
I think DOD is great and Casey’s optimized version is great. But his claim that OOP inevitably leads to horrible performance is factually wrong. And he’s repeats it over and over even after the viral video. My main goal with the article
70.
▲
by
pbw
2y ago
> But performance isn’t the reason to reject his advice: common sense and good taste are more than enough of a reason. My article and video are responses to Casey's mega-popular video "Clean Code Leads To Horrible Performance,&
71.
▲
by
pbw
2y ago
As the OP, I was not arguing that Uncle Bob's advice is good; I was arguing that performance is not the reason to reject his advice... unless you are counting nanoseconds, in which case performance is a great reason to reject his advic
72.
▲
Beyond Clean Code
(tobeva.com)
93 points
by
pbw
2y ago
|
91 comments
73.
▲
Beyond Clean Code: Layers of Optimization
(tobeva.com)
2 points
by
pbw
2y ago
|
0 comments
74.
▲
Beyond Clean Code: The Optimization Spectrum
(tobeva.com)
4 points
by
pbw
2y ago
|
0 comments
75.
▲
Clean Code Means Good Code: The Horrible Performance Debate
(tobeva.com)
2 points
by
pbw
2y ago
|
1 comments
76.
▲
Clean Code Means Good Code: Performance Debate
(tobeva.com)
4 points
by
pbw
2y ago
|
1 comments
77.
▲
Clean Code Means Good Code: The Horrible Performance Debate
(tobeva.com)
1 points
by
pbw
2y ago
|
1 comments
78.
▲
by
pbw
2y ago
A prediction is a prediction; it's not necessarily a correct prediction. The weatherman predicts the weather, even if he's sometimes wrong, we don't say "he attempts to predict" the weather.
79.
▲
by
pbw
3y ago
If you knew a human, who you could text day or night, on any topic, and they’d respond within seconds with a lengthy answer, which was often correct, would you delete their contact number because they sometimes made subtle errors? I would n
80.
▲
by
pbw
3y ago
> people's views change from one generation to the next I think that's what Kevin Kelly means by attention in the essay. He writes: > It is much easier to build a rocket that will sail 500 years to the nearest star, then it
81.
▲
by
pbw
3y ago
The “end of history” fallacy is to acknowledge radical unexpected events got us here, but then insist nothing radical or unexpected will happen in the future. That things will just play out like clockwork. They won’t.
82.
▲
by
pbw
3y ago
I like the engineering effort, but it's tainted by puerile comments like "visionary genius of Ross van der Gussom".
83.
▲
Computer Scientists Build Computer Using Swarms of Crabs (2012)
(technologyreview.com)
2 points
by
pbw
3y ago
|
0 comments
84.
▲
by
pbw
3y ago
There's a rush because about 10 million people die from cancer every year worldwide, 7 million died from COVID, 6 million people have Alzheimer's in the US alone. All three of these can be tragic and brutal ways to die, which ripp
85.
▲
The Evolution of Intelligence Itself
(metastable.org)
10 points
by
pbw
3y ago
|
6 comments
86.
▲
by
pbw
3y ago
The fictional primer is acted by a human. So the “last mile” is people there.
87.
▲
Memes Explained by GPT-4V
(metastable.org)
3 points
by
pbw
3y ago
|
2 comments
88.
▲
by
pbw
3y ago
I agree I think it does a very good job. The last two were even not horrible, but it missed a key detail in each one. If it can get as good with coming up with memes, not just describing them, that would be pretty wild.
89.
▲
ChatGPT Explains Memes
(metastable.org)
3 points
by
pbw
3y ago
|
2 comments
90.
▲
by
pbw
3y ago
I made some drawings with GPT-4 Code Interpreter and Pillow. I think with its sub-mage and image composition features you could make some detailed drawings if you were clever about it. [1] https://metastable.org/draw.html
More ›