Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Smaug123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
211.
▲
by
Smaug123
2y ago
It's not obvious that one should prefer that, versus not having that output at all.
212.
▲
500 Million, But Not a Single One More
(laneless.substack.com)
76 points
by
Smaug123
2y ago
|
9 comments
213.
▲
by
Smaug123
2y ago
That would be a breaking change; certainly it's impossible to do that in the presence of reflection, and I imagine there are simpler cases. (See discussion on the similar https://github.com/fsharp/fslang-suggestion
214.
▲
Exploring Effect in TypeScript: Simplifying Async and Error Handling
(tweag.io)
3 points
by
Smaug123
2y ago
|
0 comments
215.
▲
by
Smaug123
2y ago
I mean, Golang has an unused variables compile error , which presumably is trying to do precisely this. It's like they got so close to forcing the user to acknowledge the possibility of errors, and then stopped just before the end!
216.
▲
by
Smaug123
2y ago
Sure - my question is "why do you need to set up the third party linters when they're so critical to the correctness of your program" really. It's the general "yeah we'll give you these footguns which are the f
217.
▲
by
Smaug123
2y ago
I'll gesture at it. It's not an open source tool, so I can't point at the code (and in fact I just checked and I don't have perms to see the Jira ticket I caused to be raised!), and I am wary of describing security bugs
218.
▲
by
Smaug123
2y ago
Depends on the application! There's a reason we have the concept of "failing closed" vs "failing open": sometimes (very often, in fact) it's correct to shut down under attack, rather than to open up under attac
219.
▲
by
Smaug123
2y ago
I don't even use Golang, I maybe read two Golang repos a year, I find these errors in almost every repo I look at (probably because of the selection effect: I only look at the code for tools I find bugs in). One of them I remember was
220.
▲
by
Smaug123
2y ago
> I'd say Go largely lacks the footguns some other languages have With the glaring exception of "I forgot to check the error code", which you need a linter (e.g. as provided by golangci-lint) for. It's critically impo
221.
▲
Almost Secure (2011)
(debugmo.de)
23 points
by
Smaug123
2y ago
|
1 comments
222.
▲
by
Smaug123
2y ago
I don't think the word "definition" means what you think it means!
223.
▲
by
Smaug123
2y ago
You literally just did! The problem is not representing the number, it's computing digits .
224.
▲
by
Smaug123
2y ago
Somewhat surprised by how candid the responses are - to have multiple of your survey subjects say they are seriously considering quitting! I enjoy that there's an entire blocker for "Teams isn't working". Personally my w
225.
▲
by
Smaug123
2y ago
To a considerable extent, we are stuck in the world we live in; but I am reminded of a quote by Guillaume Allais: > My entire job seems to be repeating variations of "never start by forgetting the user's stated intent only to
226.
▲
by
Smaug123
2y ago
It's possible, for example, that they are instead concerned about anyone consuming the data in some automated way, and are trying to protect downstream consumers who fail to sanitise the data correctly conveyed from Companies House to
227.
▲
Life in India is a series of bilateral negotiations
(strangeloopcanon.com)
66 points
by
Smaug123
2y ago
|
40 comments
228.
▲
Try to fix it one level deeper
(matklad.github.io)
129 points
by
Smaug123
2y ago
|
61 comments
229.
▲
by
Smaug123
2y ago
The cuff inflates to constrict the brachial artery until it is completely closed (i.e. the cuff detects no pulse, i.e. the external pressure from the cuff exceeds the maximum systolic blood pressure). Then it deflates until it detects a pul
230.
▲
by
Smaug123
2y ago
If you're putting data into a third-party system, you might want `ToUpperInvariant`, not `ToUpper`. (Just checking that you know the difference, because most people don't!)
231.
▲
YAML is not a superset of JSON
(patrickstevens.co.uk)
59 points
by
Smaug123
2y ago
|
58 comments
232.
▲
by
Smaug123
2y ago
It's not useless as such, although certainly its use is exceedingly niche. My headcanon is that Cecil Rhodes saw something back in the 1880s, something which drove him to create a corporate engine which would continue to bend the c
233.
▲
by
Smaug123
2y ago
Is there a particular feature in Nickel you object to? When I think of Nickel I imagine the merging of contracts (and not much else really - that seems like its big flagship feature to me), which seems to me like a pretty minimal necessary
234.
▲
by
Smaug123
2y ago
The best book I have read on nonstandard analysis is "Lectures on the Hyperreals", by Goldblatt, which is excellent . On the more practical end, Pétry's "Analyse Infinitésimale: une présentation non standard" is an
235.
▲
Try to fix it one level deeper
(matklad.github.io)
3 points
by
Smaug123
2y ago
|
0 comments
236.
▲
by
Smaug123
2y ago
OK, HN mangles the ellipsis in titles! > I just added operator precedence rules to Unison (previously all operators had equal precedence and were parsed left to right). In other languages, this would be a major change and a Big Deal. But
237.
▲
Just added operator precedence rules to Unison doesn't break any code
(twitter.com)
3 points
by
Smaug123
2y ago
|
1 comments
238.
▲
by
Smaug123
2y ago
Doesn't have an entry on https://xeiaso.net/shitposts/no-way-to-prevent-this/ yet, but give @xena time…
239.
▲
by
Smaug123
2y ago
Someone recently asked this on Twitter; Simon Willison responded with https://simonwillison.net/2024/Jun/21/search-based-rag/ which I have not yet watched but which he claimed was a good example of this
240.
▲
by
Smaug123
2y ago
I'd love to see this operationalised as concrete predictions, as one might find on a prediction market! Do you have any specific predictions about programming next year? I ask (for example) because I suspect shitting out CRUD apps is c
More ›