Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
greenfield1
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
greenfield1
3y ago
The thing you have in your pocket would have meant an enormous investment for equivalent compute power just decades ago and filled a whole basement with server racks.
2.
▲
by
greenfield1
3y ago
> > Then they should have presented the case that way > That's exactly what they did. You have read the article, right? It starts with showing how it looks like in C++ and then goes on with the revelation "In Rust on the
3.
▲
by
greenfield1
3y ago
Why "natural, fair chance"? Of course they see what their competitors charge. That's one of the ingredients of a free market. The quicker they react, the quicker the information is dissipated in the free market.
4.
▲
by
greenfield1
3y ago
> No the "not rational" part is that wages are not commensurate with cost of living increase because short term thinking yielding record profit margins is addictive. Wages are where the two parties met. It's high enough so
5.
▲
by
greenfield1
3y ago
> Why would you cook or clean in Boston when you could do it literally anywhere else in MA without the commute? Because that's where you have your social connections. Friends, family. That's where your home is, your parents liv
6.
▲
by
greenfield1
3y ago
I'm not saying there is no price fixing, but this could also be explained by the supermarket chains all using the same suppliers (which is most definitely the case since the dairy market is not as diversivied as one might think; it
7.
▲
by
greenfield1
3y ago
I doubt it. The ultimate consequence of this endeavour is that a program that takes an int as input and produces an int as output would then have the type a:A->B(a). For example, a program P that for a given n produces the n-th prime num
8.
▲
by
greenfield1
3y ago
Exactly. In other words, the post could have just continued with C++ and shown a better way to do it in the same language.
9.
▲
by
greenfield1
3y ago
... but then still somehow gets into this by showing a C++ example which is bad and then continuing that in Rust you could do this-and-that. Which completely obfuscates what's actually going on.
10.
▲
by
greenfield1
3y ago
> I kind of want to plot the state space of a program to see all available states. In the ideal program, only legal states are reachable. If you can use your type system to prevent to ever run into an illegal state, then you have won qui
11.
▲
by
greenfield1
3y ago
As I don't know Rust, honest question here, just to help me understand.. The `pins.d13.into_input();` part just returns an object/reference/... of a type that only has input-specific methods, while using `.into_output()` woul
12.
▲
by
greenfield1
3y ago
I normally appreciate a good troll post, but I don't even understand what you are getting at here.. :/
13.
▲
by
greenfield1
3y ago
Just because somebody mentioned the term "monad" doesn't mean that suddenly the code should be written in Haskell. Python allows recursion too. Are you using recursion? Why not just write it in Haskell? Python allows function
14.
▲
by
greenfield1
3y ago
Those "rent seekers" are the investors that provide you with capital to build something in the first place. They don't produce anything physical directly with their own hands, but if they don't provide the funds, then no
15.
▲
by
greenfield1
3y ago
If I have the choice between a clean and simple to read codebase and a convoluted mess, I can tell you which one I choose. If the term "beauty" for that rubs you the wrong way then maybe we are just having a terminology disconnect
16.
▲
by
greenfield1
3y ago
Yes, it's not pythonic. But the Maybe monad does have its beauty, which the in-built Optional doesn't really provide. If this package makes people more accepting, then let them.
17.
▲
by
greenfield1
3y ago
If those "market prices" are not enough to pay for somebody's housing, then they are not truly "market prices". Nobody is going to accept employment at that rate since they can't live off it. So it's not a
18.
▲
by
greenfield1
3y ago
Then say goodbye to all consumer protection regulations, safety standards, environmental rules, etc.
19.
▲
by
greenfield1
3y ago
"Why not hire Americans?" in this context is like asking "Why not just vaccinate people?" in April 2020.