Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nu11ptr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
601.
▲
by
nu11ptr
5y ago
I mean that Rust knows exactly when something will be deallocated at compile time due to its lifetime system (for things that are single ownership, Rc/Arc excluded). In contrast, ARC does compiler assisted increments/decrements if
602.
▲
by
nu11ptr
5y ago
Correct, temporary diets don't work. You have to change your lifestyle/diet permanently. This means after weight loss, you need to adhere to your new caloric intake baseline, which will be _lower_ than when you started. The more y
603.
▲
by
nu11ptr
5y ago
Are there other languages with compile time GC prior to Rust? I thought that was a pretty novel feature. I recall an ML variant with region inference, but that was just an optimization I believe for it's runtime GC. Edit: MLKit was the
604.
▲
by
nu11ptr
5y ago
I've only used this to go up/down +-10 lbs seasonally (although I did permanently drop 40lbs on a one time calorie restriction diet about a decade ago, but not exactly this method). One thing to keep in mind (you probably thought
605.
▲
by
nu11ptr
5y ago
Fair point, and and definitely some truth to that. I almost added "This works for me, your mileage may vary" disclaimer. I will say that what I said above is _relative_, so if you go out for fast food "more than you should&qu
606.
▲
by
nu11ptr
5y ago
If you fall into a routine CICO isn't that difficult in practice. First, while sleep/stress definitely impact the equation unless you are at an unusual life crisis, the ups and downs mostly balance out over time. Second, I don
607.
▲
by
nu11ptr
5y ago
Have you used wxPython at all by chance? Curious how it compares in developer experience compared to PyQt/PySide. I like that it uses native widgets, but if Qt is that much easier to deal with I may just go that direction.
608.
▲
by
nu11ptr
5y ago
I agree with this, and yet, I love these new languages (esp. Rust) so I'd hate to halt progress. Instead, what I think we need is a solid cross platform native UI library targeting C (libui would be a candidate - before it lost momentu
609.
▲
by
nu11ptr
5y ago
SixtyFPS ( https://sixtyfps.io/ ) is in progress for Rust, but it is still early days. It also does not technically use a native toolkit (it uses Qt), but I believe that might be on roadmap. For traditional GUI apps, I think
610.
▲
by
nu11ptr
5y ago
I'm still a fan of this concept, but I think you have to keep your expectations realistic. You are likely going to have to make some platform specific considerations, just a lot less than without an abstraction technology. Generally, I
611.
▲
by
nu11ptr
5y ago
This has been my method for quite some time. It is very time consuming. I rarely reach conclusions, but I get close enough to feel confident in my choices.
612.
▲
by
nu11ptr
5y ago
If I recall correctly, this absolutely killed FreeBSD in benchmarks while Linux looked amazing. I recall the editors having to put a note in there saying that Linux wasn't committing I/O but FreeBSD was to explain the huge differe
613.
▲
by
nu11ptr
5y ago
I don't always like Black's results, but I do like the opinionated nature in general and that I don't have to sit and think about how I want it configured. Wouldn't mind a few knobs though.
614.
▲
by
nu11ptr
5y ago
First, apologies for slight snugness of that that reply - probably not needed, and I've received some probably well deserved downvotes for that. Second, it does prove my point in that the poster referred to the "unvaccinated"
615.
▲
by
nu11ptr
5y ago
My point is that it is NOT a pointless distinction, and there is a huge discrepancy between "unvaccinated - prior infection" and "unvaccinated - no infection" cohorts. Countries that track prior infection (there are a fe
616.
▲
by
nu11ptr
5y ago
Your comment could not illustrate my point better if you had tried
617.
▲
by
nu11ptr
5y ago
Apologies in advance for getting on my soapbox, but this has been on my mind for a while. The way in which the media has gotten everyone to say "the unvaccinated" is a 'disease' against basic science (not even getting in
618.
▲
by
nu11ptr
5y ago
Agreed - I have a personal project that needs a GUI. Still debating which to use but right now GTK4 is likely my top pick due it's binding maturity. Having a codebase to look at, esp. one that has obviously taken great care in it'
619.
▲
by
nu11ptr
5y ago
Interesting - I honestly didn't know Usenet was still in use.
620.
▲
by
nu11ptr
5y ago
Misleading title I think. I assumed these were protocols in wide use that did not require changing because they were so well designed. Instead, this is about old protocols that didn't change...because nobody uses them anymore. That sai
621.
▲
by
nu11ptr
5y ago
TLDR; If using Tokio for CPU bound tasks, use a different runtime. This prevents excess tail latency in your I/O bound default runtime.
622.
▲
Using Rustlang’s Async Tokio Runtime for CPU-Bound Tasks
(thenewstack.io)
1 points
by
nu11ptr
5y ago
|
1 comments
623.
▲
by
nu11ptr
5y ago
Rust isn't nearly as hard as it seems. Most people who think it is hard went up against it once or twice for a week or so and gave up. What they didn't realize is unlike some other hard languages (ie. C++) once you are over the in
624.
▲
by
nu11ptr
5y ago
Congrats - this is a big hurdle to adoption that is now gone. The engineering that went into this is impressive.
625.
▲
by
nu11ptr
5y ago
I've always wanted to try Lisp but the fact that it is dynamically typed has always scared me away (and my experience with dynamically typed languages is the same - they are bug magnets). Rust is my go to and I don't think that wi
626.
▲
by
nu11ptr
5y ago
Ha - that neat little music video is good marketing. I'm half tempted to try the book based on that. The only thing really stopping me is that I hate dynamically typed languages, but still I wonder if I shouldn't try Lisp just to
627.
▲
by
nu11ptr
5y ago
I _love_ the Rust plugin for Intellij. I have used VSCode a ton as well, but never for Rust. In general, I think Intellij is heads and shoulders above VSCode, but it is possible that 'rust analyzer' makes all the difference (I mig
628.
▲
by
nu11ptr
5y ago
I think that would be very tricky to decouple variables here. The vaccine seems to reduce mortality from COVID, but if the vaccine were killing x% itself, the vaccine would only have to be more effective at saving from COVID than killing fo
629.
▲
by
nu11ptr
5y ago
The problem is the age group they gave is very wide: 18-64. It would be helpful if they could sub-divide this to give better perspective to which age group is seeing the largest shift.
630.
▲
by
nu11ptr
5y ago
There are statisticians who have made such claims by modeling many highly vaccinated countries. I am not claiming they are right or wrong, but there are people who claim they have found this signal in the data using statistical methods.
More ›