Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Diggsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
Diggsey
4y ago
Going to need a citation for those claims... https://en.wikipedia.org/wiki/Avgas#Phase-out_of_leaded_avia... > 70% of 100LL aviation fuel is used by the 30% of the aircraft in the general aviation fleet that cannot
152.
▲
by
Diggsey
4y ago
That's certainly an interesting case. A "UUID" package is a good example of this, since UUIDs are often not in the standard library, but are often passed around between other packages. There are two approaches to solve this t
153.
▲
by
Diggsey
4y ago
That's cool :) I think it would be a lot easier to inject the payload at runtime though - the only problem I had when doing this was I got the wrong instruction set initially (thumb vs non-thumb).
154.
▲
by
Diggsey
4y ago
> If a package manager only permits installing or depending on one version of each of package then ... So just allow installing more than one version of a given package? Problem solved :) > A locally coherent package manager requires
155.
▲
by
Diggsey
4y ago
There are a ton of "programming-adjacent" jobs where having some programming knowledge is very useful if only to communicate effectively with engineers. Those jobs are often quite well paid as well compared to similar jobs at non-
156.
▲
by
Diggsey
4y ago
It comes from C++ where memory being "initialized" to a particular type has a very specific meaning in the language: when a constructor is called on a memory location, it becomes intialized to the type of that constructor, and the
157.
▲
by
Diggsey
4y ago
This doesn't actually fully implement any of the tasks though.
158.
▲
by
Diggsey
4y ago
I think this is only true in C# for value types - I think the same generated code is used for all reference types, so eg. `List<object>` uses the same code as `List<string>` but different from `List<int>`.
159.
▲
by
Diggsey
4y ago
This assumes that if you don't include such capability, that applications won't find a way to extend it on their own regardless of the spec, and that's empirically false. There's a reason the vast majority of file format
160.
▲
by
Diggsey
4y ago
CSV has more problems than just quoting: one problem is that excel is so commonly used to open CSV files that various weirdnesses in excel have essentially become part of the CSV format. For example, if a value looks like a formula, then th
161.
▲
by
Diggsey
4y ago
Yeah it's a bit weird for the blog to call out all these compelling ideas but then have no mention (either there, or on the home page) about what those ideas actually are?
162.
▲
by
Diggsey
4y ago
When you begin programming, all of your problems will be of the form "how do I get my program to do X?" and all of your answers will come from stack overflow or similar. You will build things by example, and that's fine: in f
163.
▲
by
Diggsey
4y ago
Some small corrections: > It’s an error handling magic for async functions The question mark operator is unrelated to async - you might say "fallible functions" instead. > This indicates that it’s a macro. Basically a shortc
164.
▲
by
Diggsey
4y ago
> You're implying Go has a bug in its TCP implementation which I assume is false. No, the parent is implying that Go's TCP implementation is easy to use incorrectly. Specifically in ways which cause the aforementioned issues.
165.
▲
by
Diggsey
4y ago
Doesn't work in firefox?
166.
▲
by
Diggsey
4y ago
Wikipedia quotes losses of 3.5% per 1,000 km.
167.
▲
by
Diggsey
4y ago
Right - I mean we had mypy passing across the whole project, but it just wasn't detecting any issues because so many of our types had to be ignored because mypy didn't understand that the runtime type of a Column field in SQLAlche
168.
▲
by
Diggsey
4y ago
I work on a project that uses type hints but not mypy. To be fair, we used to use mypy, but there was just too much code that it couldn't check (sqlalchemy models, schematics models, some custom models, essentially lots of different da
169.
▲
by
Diggsey
5y ago
> verified with registration cards and authorized with their mobile device biometrics What does "verified" even mean here? At the end of the day, you need to convert it to some cryptographic key, and then that key is vulnerable
170.
▲
by
Diggsey
5y ago
> I think you just recreated what the USB Forum is already doing? If they were doing this then there wouldn't be any ports described as "USB 3.1" (see point 4). The version of the standard is not just irrelevant but acti
171.
▲
by
Diggsey
5y ago
The problem is that the version of the standard is conflated with the version of the port. Here is a better system: 1) The standard has a version number. I would have suggested semver, except that USB will always be backwards compatible wit
172.
▲
by
Diggsey
5y ago
It seems like you missed the point the article was trying to make: an abstraction is a mapping from a complex world to a simpler world, which preserves the ability to perform many useful operations. Data structures can be used as part of an
173.
▲
by
Diggsey
5y ago
I do question whether Rust is the right choice for defining models, but it does seem like a cool project.
174.
▲
by
Diggsey
5y ago
As someone who works on a SaaS product, one of our biggest costs is our stable API surface. Internal APIs are essentially free, but for a public API we have to: - Implement a conversion layer from our internal representation so we can keep
175.
▲
by
Diggsey
5y ago
From the article: > They found no relationship between the participants’ belief about whether they’d had COVID-19 and their antibody test results from blood samples collected between May and November 2020. In fact, about half of particip
176.
▲
by
Diggsey
5y ago
> If the source code (or at least a significant portion of it) is available under a OSI approved license then it’s Open Source. It's the part in brackets I disagree with... If a significant portion of a piece of software is availabl
177.
▲
by
Diggsey
5y ago
An attempt to stay relevant by piggybacking on the historical success of the web 2.0 brand, pushed by those personally invested in crypto, but who are totally not pushing this for their own profit. Or, less sarcastically, it's a collec
178.
▲
by
Diggsey
5y ago
> ideally the threads are never waiting unless the system is literally idle as that would imply a context switch It wouldn't. There will only be a context switch if the thread is woken up for some reason (eg. the operation it'
179.
▲
by
Diggsey
5y ago
No, in the short term it takes money from new renters and gives it to existing renters: https://www.bbc.co.uk/news/business-47028342 Furthermore, most policies of this nature are stupid because they assume that everyth
180.
▲
by
Diggsey
5y ago
> Answer because code that spaghettis in an out of a lot of other code means small changes cause unexpected regressions That's not a fragile test suite, that's a test suite working well: you want tests to start failing if you i
More ›