Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iopq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
421.
▲
by
iopq
4y ago
I am apparently 6 BMI higher and 5 years younger now But the way it tells me that is I lied about my age (I didn't)
422.
▲
by
iopq
4y ago
Because it's a library feature, exactly the thing you should use "unsafe" in, since it should be simple enough to be obviously correct
423.
▲
by
iopq
4y ago
I've used Rust for a hobby project, it was more painful before, but they have fixed a lot of the churn issues. The ecosystem is more or less stable right now, compared to before
424.
▲
by
iopq
4y ago
That part is actually not so bad? Trying\to_read\[&'a heavy](syntax, |like| { this. can_be( maddening ) }).map(|_| ())?; I can't improve it that much
425.
▲
by
iopq
4y ago
As far as I know, Chinese speakers read texts on average faster than English speakers
426.
▲
by
iopq
4y ago
It's just hard to parse fn apply<A, B, C, G>(mut f: impl FnMut(B) -> G, a: A) -> impl FnMut(&B) -> C // must still be `for<'r> impl FnMut(&'r B) -> C`, because that’s what f
427.
▲
by
iopq
5y ago
I'm not justifying anything, I'm simply stating that income inequality is the result of a lot of people becoming rich. Poor people did not become poorer and incomes did not stagnate if you include benefits. Currently healthcare is
428.
▲
by
iopq
5y ago
Because health care became more expensive. You couldn't have an MRI in 1970 because your hospital didn't have it. The technology of health care is now a lot more advanced and can add years to your health expectancy. Now, there are
429.
▲
by
iopq
5y ago
The difficulty increases pushing out inefficient miners who no longer can afford to mine due to electricity costs. This is a process that always happens.
430.
▲
by
iopq
5y ago
Income inequality has increased because the top earners earned more. The poor people didn't become poorer.
431.
▲
by
iopq
5y ago
That's what I'm saying, you map the negative latitude and longitude to negative numbers
432.
▲
by
iopq
5y ago
I'm more likely to go into Github issues or Discussions. If I join your discord, there's no guarantee I'll get an answer. I'm not staring at your Discord for a few hours trying to see if anyone decides to answer the ques
433.
▲
by
iopq
5y ago
Why not signed?
434.
▲
by
iopq
5y ago
Then you think China is more free than the United States. Some people disagree
435.
▲
by
iopq
5y ago
The best chess-playing program is Stockfish and it could give deep blue and any human a handicap and still win easily The state of art is much better now than before
436.
▲
by
iopq
5y ago
Of course it can be as simple as that, that's beside the point But almost every time you actually won't ship a program that just prints stuff to the console That's why I did it that way, because how you actually output won&#x
437.
▲
by
iopq
5y ago
Only Rand Paul and Ron Wyden voted against FOSTA/SESTA, the legislation passing 97 to 2
438.
▲
by
iopq
5y ago
4chan/Reddit pretty much propelled his primary campaign. He was just one of the candidates before the memes
439.
▲
by
iopq
5y ago
There are no classes in Rust, and it's better for it. That's my point, some abstractions like classes are NOT necessary. There were arguments before Rust 1.0 that people will simply try to emulate classes. But nobody actually both
440.
▲
by
iopq
5y ago
I'm responding to > And so they would have accidentally re-introduced classes, only this time the existence of classes would have been implicit in the code, and their behaviour ad hoc defined, their invariants spread all over the so
441.
▲
by
iopq
5y ago
def bark(dog_dict): print("WOOF!" if dog_dict["weight_kg"] > 25 else "Woof") rex = {"name": "Rex", "weight_kg": 35} This code is actually better, but it w
442.
▲
by
iopq
5y ago
Try learning Rust, then you reach this point https://stackoverflow.com/questions/39558633/higher-rank-lif... I still don't understand what higher rank lifetime bound means and this affects whether I can write
443.
▲
by
iopq
5y ago
If you already won the war you're not a wartime president
444.
▲
by
iopq
5y ago
Yes, but that's not an indicator of complexity. It's an indicator of the skill of other players. You can make an argument that the game tree complexity is immense, but that's because people prefer to play on 19x19 boards. 9x9
445.
▲
by
iopq
5y ago
My sweetener at home is erythritol, stevia and monk fruit together and it tastes pretty good disclaimer: I like stevia, it doesn't taste "bitter" to me
446.
▲
by
iopq
5y ago
That's because of the sweeteners they use, aspartame and ace K. There are a lot of low calorie sweeteners that have a completely different flavor profile
447.
▲
by
iopq
5y ago
Is that really true? Go is a game where the simplest rule sets only have 7 or so rules. Well, the complexity is 3.94 on that site: https://boardgamegeek.com/boardgame/188/go But it's complex because of strate
448.
▲
by
iopq
5y ago
Rust already has the ability to make you use the type at most once, so the useful extension for Rust would be "must-use types" which is an extension of linear types (since linear types would be able to represented in this system e
449.
▲
by
iopq
5y ago
A drop and going back up is the definition of volatility. If it just dropped slowly or went up slowly the volatility would be low
450.
▲
by
iopq
5y ago
Rust on Windows used to run on Mingw, but has since moved on It made it a lot easier in many ways to just compile a thing and have it work without thinking about mingw and interfacing C from mingw
More ›