Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strken
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
strken
1y ago
I'd probably think of xsv, go to its github repo, remember it's unmaintained and got replaced by qsv, and then use qsv.
512.
▲
by
strken
1y ago
This is getting a bit far into the weeds, but I've found that debug output which is disabled by default in all environments is quite safe. I agree that it would be a problem to leave it turned on in development, testing, or staging env
513.
▲
by
strken
1y ago
My take on unit tests is that they happen "automatically" for the things that actually need unit testing. Consider a load shedder, a parser, or an implementation of an algorithm. Most devs will naturally write a unit test for anyt
514.
▲
by
strken
1y ago
I'm confused. If I'm allowed to mock what I don't own, but only if it has a good API that's well-adapted to my use case, then "don't mock what you don't own" must have nothing to do with ownership. It
515.
▲
by
strken
1y ago
As I said, conditional . As in, you add logging to your code but you either remove it at compile time or you check your config at run time. By definition, work you don't do is not done.
516.
▲
by
strken
1y ago
I understand that you explained some exceptions to the rule, but I disagree with two things: the assumption of incompetence on the part of geophile to not make logging conditional in some way, and adding the label of "anti-pattern"
517.
▲
by
strken
1y ago
It's absolutely not an anti-pattern if you have appropriate tools to handle different levels of logging, and especially not if you can filter debug output by area. You touch on this, but it's a bit strange to me that the default c
518.
▲
by
strken
1y ago
The neat thing about HN is that I can nearly always find at least one thing on the front page that's useful to me, especially if I read the discussion. Just looking through now, Canine is interesting because it's similar to Dokku,
519.
▲
by
strken
1y ago
https://www.sciencedirect.com/science/article/pii/S216183132... There's a complicated relationship, according to this meta-analysis. Eating sugar in isolation from other sources of nutrition is a risk fa
520.
▲
by
strken
1y ago
I've noticed that people who build greenfield projects solo or on small teams love AI, while people who are stuck maintaining software written a decade ago haven't gotten the same value and are more critical of it. You should see
521.
▲
by
strken
1y ago
You could use a Bloom filter, and just gaslight your users when a false positive happens.
522.
▲
by
strken
1y ago
A lot of everything has racist origins if you squint hard enough. You can make that argument for everything from chemistry (via alchemy and links to eugenics) to car ownership (via white flight and avoiding racially mixed public transport).
523.
▲
by
strken
1y ago
This is a) an unnecessary counter-sneer at two whole continents and b) dismissive of something that would be a real problem in a city bigger than Coventry. Those teeny tiny little carriages have a capacity a quarter of what the trams in my
524.
▲
by
strken
1y ago
Looking at the article, I'm not convinced logs and errors are different enough to change the taxonomy. I agree that a stack trace linked to source code is a useful tool, but don't understand why e.g. a warning can't have a st
525.
▲
by
strken
1y ago
What you're trying to say is that assembly is like the bagpipes and impractical. What I'm trying to say is that's a terrible metaphor because the main reason to learn assembly is understanding what your non-assembly code is a
526.
▲
by
strken
1y ago
The irritating thing for me is that their links have somehow broken the middle mouse button, so each time I want to click on one I have a few seconds of trying to remember how their specific site implemented it.
527.
▲
by
strken
1y ago
If a guitar was an abstraction layer that was implemented by low-level bagpipes then a) that would be awesome and b) guitar players would find their guitar playing to benefit from bagpipe lessons. At the very least they'd be able to un
528.
▲
by
strken
1y ago
Download the Stylish extension, open your browser's console, check out the classes in the HTML, and change the CSS. You can make your own setting in about five minutes unless you're using a locked down platform like iOS that doesn
529.
▲
by
strken
1y ago
My friends at companies where AI tools are either mandated or heavily encouraged report that they're seeing a significant rise in low-quality PRs that need to be carefully read and rejected. A big part of my skepticism is this offloadi
530.
▲
by
strken
1y ago
That's a deliberate combination of an "undesirable" business and its workers, not some accidental slip-up to be psychoanalysed by an Austrian pervert.
531.
▲
by
strken
1y ago
Sometimes you're an investment, sometimes you're insurance, and other times you're a luxury or even an impulse buy. I think this is a better framing because it explains some behaviours that are otherwise baffling: if I'm
532.
▲
by
strken
1y ago
I would suggest that in a lot of cases, e.g. "where does the local slaughterhouse go?" or "should we allow small, affordable apartments for poor people?", there are also significant positive externalities...except, if yo
533.
▲
by
strken
1y ago
If the thing you're threatening a business with is "I'll stop working for you", how is that extortion? If the employee deliberately made the IT infrastructure worse, then maybe that would be fraud, but it sounds like he
534.
▲
by
strken
1y ago
I suppose they didn't feel a stile, gate, or cattle grid would be aesthetic enough.
535.
▲
by
strken
1y ago
I believe this is specific to the US. Writing from other English-speaking countries often uses an en dash surrounded by spaces instead of an em dash.
536.
▲
by
strken
1y ago
> Is there any actual evidence that one stack is better than another? No, not really. It is not controversial to say that any two stacks will have advantages and disadvantages over each other. There is absolutely evidence that Go compile
537.
▲
by
strken
1y ago
This feels like the wrong question to ask. Someone with a net worth of a "mere" $2 million is also closer to the coal miner, but at a 3% per year withdrawal rate, has a passive income equal to the coal miner's full time work
538.
▲
by
strken
1y ago
In both it makes a sort of intuitive sense. 7% of the way from freezing to boiling is a meaningful way to visualise temperature; 7% of the way from ice melting in a bath of salt to slightly above Mrs Fahrenheit's armpit temperature is
539.
▲
by
strken
1y ago
Sometimes the reason a fence exists is because the person who put it there was some combination of a) an idiot, b) extremely confused, or c) not qualified to construct fences. Also, in software, you may find the fence sometimes exists in hi
540.
▲
by
strken
1y ago
If your fencing was done by idiots, then at some point you have no alternative but to start tearing down fences and see what happens. Chesterton's Fence implies either a degree of design or a timeworn quality that most software product
More ›