Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chikere232
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
chikere232
2y ago
"we improved performance with a simple trick! (rollback our changes)"
152.
▲
by
chikere232
2y ago
The title kinda glossed over the fact that they started out with working, fast code, and then broke it. Sure, their fix was faster than their most broken version, but it's less impressive than starting with slow code and improving it.
153.
▲
by
chikere232
2y ago
> Find more moments to move throughout your day. While your food’s heating up, do some squats or take a lap around your work building instead of scrolling through social media. When you’re running errands, park as far away from stores as
154.
▲
by
chikere232
2y ago
That includes walking to the coffee-machine, to the elevator, to the car, etc. If you walk a moderate 100 steps/minute, 49 minutes of walking is just 4900 steps which is easy to hit without even really intentionally walking anywhere, u
155.
▲
by
chikere232
2y ago
It won't be efficient as it's python, but it could be readable
156.
▲
by
chikere232
2y ago
Then caring about a microptimisation over readability would still be the wrong call
157.
▲
by
chikere232
2y ago
Also, as the article points out, there are better and worse ways to point out a mistake If someone completely flips out over a relatively minor mistake, going on the defensive or disengaging isn't necessarily a bad response
158.
▲
by
chikere232
2y ago
The article seems to talk more about how to avoid other people going on the defensive, than how to avoid being defensive yourself. Both things are probably useful as neither party in such an exchange can solve it completely on their own. Be
159.
▲
by
chikere232
2y ago
People have forgotten how horribly it failed last time
160.
▲
by
chikere232
2y ago
That's very kind, but people doing the wrong thing with passion and energy is functionally worse than them not doing anything
161.
▲
by
chikere232
2y ago
Finally!
162.
▲
by
chikere232
2y ago
Didn't we make this mistake and learn from it in 2005? I guess not. Ruby, and Rails, was an awful idea then and it's an awful idea now. Even in-browser stuff is moving to typescript to get away from having to write unit tests for
163.
▲
by
chikere232
2y ago
At some point, adding software support for these things is just enabling bad ideas. If there wasn't support for Australia/Lord_Howe they might be annoyed into picking a simpler time zone
164.
▲
by
chikere232
2y ago
It's not an absolute and there are occasional good design decisions made in the name of extensibility But what is an unmodifiable system? If it's code in your control, it can be changed, right?
165.
▲
by
chikere232
2y ago
+1 I spent years copying essentially the same ant-file across projects, just changing dependencies and target names. It's not really rocket science and unless you're trying to be clever, most java projects can look pretty much the
166.
▲
by
chikere232
2y ago
My problem with gradle is that they keep making breaking changes for low value things like naming of options, so I have to chase deprecation warnings, and can never rely on a distro supplied gradle version Gradle devs, please get over yours
167.
▲
by
chikere232
2y ago
Because building for extensibility adds real complexity for a hypotetical need If you want the code to do something different later, change, replace or extend it then... when you actually know what it needs to do
168.
▲
by
chikere232
2y ago
Doesn't look promising so far
169.
▲
by
chikere232
2y ago
Sanctioning russia for invading ukraine isn't exactly an arbitrary power trip. Complying with such sanctions is the morally right thing to do here
170.
▲
by
chikere232
2y ago
>> complies with legal requirements relating to sanctions against a country conducting a war of conquest in europe > "xenophobia" ok.
171.
▲
by
chikere232
2y ago
At this point I kinda have to assume posts like these are just concern trolling and aren't really worth taking seriously If it's genuinely naive, this is a great time to wake up to the fact that russia is conducting a war of conqu
172.
▲
by
chikere232
2y ago
If someone makes you import a CA, you have to assume they intend to eavesdrop on ssl encrypted communications. Enterprise WPA doesn't require it. The right flavour of incompetence might get you there without bad intentions but really i
173.
▲
by
chikere232
2y ago
Everyone, including the most competent, makes mistakes though. If single small mistakes have disastrous consequences, the system is probably too brittle. Approaching it from a blameless angle gives you a better chance of fixing it, as peopl
174.
▲
by
chikere232
2y ago
This might be true if your only options are "find someone to blame" or "add more bureocratic process", but in a lot of cases you also have the option "fix the technology" Even in aviation and surgery, improving
175.
▲
by
chikere232
2y ago
It does provide a neat way to hide a supply line attack. C.f. http://wiki.c2.com/?TheKenThompsonHack
176.
▲
by
chikere232
2y ago
Lovely path to hide self-propagating malware then