Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Diggsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
Diggsey
5y ago
> Long-covid is an increase in prevalence, and also does seem to present some unique symptoms. Is it though? That data is exactly what the commenter above is asking for, and I've also not seen any data comparing prevalence of long c
182.
▲
by
Diggsey
5y ago
> If you’ve never hit the ground while skydiving, you’re opening your parachute too early. Everyone hits the ground while skydiving, just at different speeds...
183.
▲
by
Diggsey
5y ago
I'd like to understand more about the difficulties with running an FDB cluster in production. Running it locally seemed pretty simple, and AIUI there are kubernetes operators for deploying a cluster. Can anyone provide some insight int
184.
▲
by
Diggsey
5y ago
Nobody's mentioned what is IMO the main benefit of an intrusive data-structure: items within the data-structure can belong to multiple containers. This allows you to locate an item using more than one criteria: for example, you could s
185.
▲
by
Diggsey
5y ago
First, we're talking about "Transitioning an existing C codebase to checked C". If you're just adding new checked C code, then you're not doing that. Second, you can't just add checked C to a codebase, because
186.
▲
by
Diggsey
5y ago
> Difficult case because that would also implicate judges and public prosecutors I don't think judges would be implicated here. the court relies on expert witnesses to explain what to do with a piece of evidence. For example, if som
187.
▲
by
Diggsey
5y ago
Maybe / maybe not. It's relatively easy to translate C to unsafe Rust , which is a mostly automatic process. The hard part is taking that unsafe C/Rust and turning it into checked/safe code. For this part, Rust has many
188.
▲
by
Diggsey
5y ago
Apple can and does do this.
189.
▲
by
Diggsey
5y ago
Well... if we're trying to model how a translucent pane would work in the real world, then this is correct for one particular interpretation of alpha. However, if we're talking about how alpha blending actually works in software,
190.
▲
by
Diggsey
5y ago
> 80% of what the "skeptics" attack is based on issues that are not related to "web3" but to simple Proof-of-Work consensus mechanisms. Not surprising when the vast majority of activity is on systems still using proof
191.
▲
by
Diggsey
5y ago
It's a shame when articles show non-idiomatic Rust code to people who might be not realise it :/ fn magic_num(&self) -> usize { return if self.name.len() == 0 { 2 } else { 33 }; } The `return` statement
192.
▲
by
Diggsey
5y ago
Python doesn't use arbitrary precision for floating point values, it just has arbitrarily long integers.
193.
▲
by
Diggsey
5y ago
I'd love to see a video of this in action.
194.
▲
by
Diggsey
5y ago
Numbers are the main thing I assumed you were talking about: the JSON spec is clear though, numbers can be arbitrarily long. The problem is not with the JSON spec, the problem is when you are converting from one data model to another. Any p
195.
▲
by
Diggsey
5y ago
> The trio specifically considered the range of values of α permitted by those two principles in supersymmetric 10D universes. The two main problems with string theory are supersymmetry and the fact that it requires 10 dimensions. This i
196.
▲
by
Diggsey
5y ago
JSON isn't under-specified, you can tell if something's valid JSON just based on the rules here: http://www.json.org/json-en.html . The mapping of the JSON data model to the data models found in various languages i
197.
▲
by
Diggsey
5y ago
I assume that `size + len + 2` can't over flow :)
198.
▲
by
Diggsey
5y ago
Some information is a lot better than none. In some cases you might want to know what implements the interface: that information is also statically available. In Rust, you can look at a trait and see what types implement that trait. If you
199.
▲
by
Diggsey
5y ago
You don't need to know which one, because the abstract interface tells you how to use it...
200.
▲
by
Diggsey
5y ago
> Static languages unfortunately don't save you from that. While you still can make a static language that is confusing, it's a lot harder... I challenge you to write a function signature in Rust that is both: 1) Useful 2) As
201.
▲
by
Diggsey
5y ago
That it has critics does not imply it's not widely held. Regardless, that's just a dispute about terminology: sure we could say that we should only talk about events being "simultaneous" if they happen in exactly the sa
202.
▲
by
Diggsey
5y ago
Actually no, the parent comment is correct: When you undergo an acceleration, it corresponds to a hyperbolic rotation of the spacetime around you (from your frame of reference). When the acceleration is small, the rotation is also very, ver
203.
▲
by
Diggsey
5y ago
A 2x2 square's predecessor is not necessarily a 2x2 square - many patterns will evolve to a 2x2 square. This conjecture is anout patterns whose predecessor must be the same pattern, which means they cannot be constructed by colliding
204.
▲
by
Diggsey
5y ago
Let's say hypothetically we find a way to create all of the weird matter necessary to create a warp bubble... Changes to the shape of space-time willl still only travel at the speed of light, so I don't see how that would enable y
205.
▲
by
Diggsey
5y ago
Just because there might be a grey area in some cases, doesn't mean that you can't also distinguish some cases. Your example is clearly much more malicious than what the package author actually did. This is obvious from the fact t
206.
▲
by
Diggsey
5y ago
Right, but my point was that the "U+10FFFF" limit hadn't been decided yet at the point where MySQL first added the "UTF-8" encoding, and it was added later, so it may not have been clear to them that UTF-8 would eve
207.
▲
by
Diggsey
5y ago
UTF-8 used to support up to 6 bytes to encode a unicode scalar value. Only later was the unicode range restricted such that a max of 4 bytes was required to encode any scalar value using UTF-8. It looks like when UTF-8 was originally added
208.
▲
by
Diggsey
5y ago
What's not an expression?
209.
▲
by
Diggsey
5y ago
> Here’s a somewhat non-exhaustive list of all the undefined behavior of signed integer arithmetic in LLVM which applies to all languages which use LLVM: > These are certain to produce invalid results in languages like Go, Rust, and O
210.
▲
by
Diggsey
5y ago
Why is it even doing this on the main thread at all? The obvious thing would be to have a background thread polling for changes and then sending messages asynchronously to the main thread if a change actually occurred...
More ›