Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ryani
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
ryani
7y ago
> I feel that the things that Rust is trying to do were solved long ago under FP I don't think this is true at all. Statically analyzed Sync/Send are an amazing tool that I don't see in any other language. In fact, your
32.
▲
by
ryani
7y ago
You don't need to have 50% of voting shares to have significant power over a company, if no one organization has 50% of voting shares. If you have 10% of shares and two other organizations have 45% each, and those two organizations hav
33.
▲
by
ryani
7y ago
If I'm going to use a 64 bit type for time I'd probably just use int64 microseconds, have over 250,000 years of uptime before overflowing, and not have to worry about the precision changing the longer the game is active.
34.
▲
by
ryani
7y ago
These are two separate problems. This is talking about printing floating point numbers, and does not talk about parsing algorithms at all. When considering the correctness of a floating point decimal printing algorithm, you could use "
35.
▲
by
ryani
7y ago
Here's a common problem that shows up in implementations of games: class Time { uint32 m_CycleCount; float m_CyclesPerSec; float m_Time; public: Time() { m_CyclesPerSec = C
36.
▲
by
ryani
7y ago
> Second, knowingly including false information on a DMCA takedown notice is perjury I've reviewed the DMCA a few times and I am pretty sure this isn't true. It's supposed to be the "teeth" of the DMCA to preven
37.
▲
by
ryani
8y ago
The "private trial" being referred to is of Manning herself, not whoever is being investigated by the grand jury, since Manning is being sent to prison (for contempt) by a non-public court.
38.
▲
by
ryani
8y ago
Let's say there was a catastrophic event that split the internet and disconnected Australia and the surrounding islands from the internet for 36 hours. Let's also say for the sake of argument that 10% of the BTC mining capacity is
39.
▲
by
ryani
8y ago
There might be a technicality here, though. The camera is 'hidden' in a place with no expectation of privacy -- his porch. It's the thief who places the camera in a place where privacy might be violated.
40.
▲
by
ryani
8y ago
Tree is just the free monad over the Pair functor, what's the problem?
41.
▲
by
ryani
8y ago
That's true, but only one of the instances is 'compatible' with the Monad definition which requires (<*>) = ap (the first 'recipe' he showed for implementing Applicative)
42.
▲
by
ryani
8y ago
So I used to think this, but I've come around a bit. What indexes do is let you put a pointer "to sleep"; it can be woken up only by pairing it with a live data structure which you correctly have safe ownership of at the tim
43.
▲
by
ryani
10y ago
The big one is `->`; all the 'template argument'-inspired syntaxes for this are terrible. Once you realize you want operators (and polymorphic operators, at that!) in your types, the `<u32>`syntax falls apart. I am not a
44.
▲
by
ryani
10y ago
Reader fulfills a bunch of OO patterns. I like to think of it as "Environment", "Capability", "Configuration", etc., and is related in a way to Dependency Injection. Basically, you have some computation/o
45.
▲
by
ryani
12y ago
In California, I feel like 'increases property values' is not that valuable to cities due to prop 13. Big increases in property values serve to lock people into their current homes because they lose their property tax subsidy if