3,309 karma · joined Mar 26, 2015 (11y ago) · 825 submissions
comment 5y ago · link · parent
Or maybe I can just take basic precautions like eating more than three different foods? You make it sound like that is such a burden, but it really isn’t. It’s possible to enjoy your life even while taking care of yourself.
In fact, I have a much easier time being happy when my health is good than when I am sick, so I’d say these precautions are important for a good life.
comment 5y ago · link · parent
Fiber does have a health impact as you say, and having good health is one of the main ways known to delay death. And what is survival but the delay of death?
My point is that by eating a larger variety of nutritious food, you are less likely to suffer from poor health due to a lack of something you need.
comment 5y ago · link · parent
I’ve heard that humans had a long period of time after we became sedentary and started relying on agriculture that the average height decreased significantly, and it was only in recent centuries that it has gotten back to normal due to more varied nutrition. So even if you can technically survive on a very limited diet, it can still have negative effects.
comment 5y ago · link · parent
Meanwhile, are there any examples of modern applications being written in 32 bit for performance reasons? Not that I can think of, or at least nothing that is meant to run on a 64 bit PC.
There’s a lot you can do with extra memory headroom, especially when developers usually have 16 or 32 GB to work with.
comment 5y ago · link · parent
As mentioned elsewhere, the switch does increase pointer sizes, but I’d be very surprised if that is significant compared to the amount of memory used by strings and other data.
comment 5y ago · link · parent
Unless you have a highly optimized game, you are probably not able to consistently run at a 144 Hz monitor’s native refresh rate anyway, so even without skipping frames you will see stuttering. VRR solves this problem as well.
comment 5y ago · link · parent
But the main thing most folks have problems with is the random latency spikes you get with GC. The GC can start at any time in most languages, and might stop all threads in your program for maybe dozens or hundreds of ms. This would be visible to users if you are rendering frames at a constant rate in a game, since each frame takes only around 16 ms in a 60 FPS game.
That’s what’s exciting about changes like what they are doing with ZGC. They are saying the max garbage collection time is 0.5 ms in normal situations, and the average time is even lower. Most games can accommodate that without a problem.
FYI, this is also important for web servers as well. Some web servers have a huge amount stored in memory, and the GC could take hundreds of ms or even multiple seconds to collect at random times in extreme cases. This can make a web request take perceptibly longer.
Also, if you have multiple machines communicating with one another and randomly spiking in latency due to GC, then worst case latency can add up to pretty terrible numbers if you are not careful.
comment 5y ago · link · parent
You can lessen the problem by reducing your scope or hiring more developers (with caveats), but at the end of the day, a single developer can only do so much work, no matter how competent and motivated they are.
comment 5y ago · link · parent
As a developer myself, I can say that this kind of thing is usually the result of the developers being under immense pressure to finish an important project, leaving them no time or energy to even think about minor or moderately annoying bugs unless customers start pulling out their pitchforks.
comment 5y ago · link · parent
And for all of you saying this is basically just Kotlin or Swift.. do those languages have higher-kinded types or true multiple inheritance? Not as far as I can tell. And you could argue those aren’t needed, but that does mean this is a different language with potentially different pros and cons.
comment 5y ago · link · parent
comment 5y ago · link · parent
What the author was saying really isn’t very contentious if you stop and think about it. Mobile games are a time sink and are often used as a distraction from stressful thoughts. The same is true for other video games, but the author’s view on that isn’t mentioned.
If you think that every humorous statement has to be so clean and pure that nobody takes offense, the I hope you like dad jokes, because that’s about all that’d be left.
comment 5y ago · link · parent
comment 5y ago · link · parent
I and most other customers would argue that 6 minute loading times are atrocious, and if there is an easy fix like this, it makes me lose a lot of respect for the developer who doesn’t fix it. It maybe would even make me avoid them in the future.
A reputation is built over years, but can be lost pretty much instantly. Companies have to continue serving their customers to enjoy ongoing success.
comment 5y ago · link · parent
But what if you already agree with the author to begin with? Then it would seem less profound. Maybe that’s why I haven’t experienced any revelations yet from literature.
Perhaps I can find a great piece of literature I disagree with and it would leave me with a greater appreciation for art.
comment 5y ago · link · parent
I also don’t really enjoy puzzles, so if a book is a puzzle to figure out, and people enjoy the act of decoding them for its own sake, then I can see what I’m missing.
I do like solving technical problems, and that’s why I’m a programmer, but I don’t really get much enjoyment from solving problems that wouldn’t benefit me or others to solve.
comment 5y ago · link · parent
What is there to understand then, if not information? I always hear the author is making a point about life, but why water it down in hundreds of extra pages instead of saying it directly?
The only thing I can think is that the story helps us connect with the author’s point and learn from it better. It can influence and persuade in a way that just laying out arguments can’t, because it stirs up emotion in the reader. Is that what you are trying to say?
I can’t say that I’ve ever experienced something like that from a book, but it sounds enjoyable. Maybe I’ll give it another shot sometime.
comment 5y ago · link · parent
Does it improve learning to have to decode information from a novel? Does it stick with you better, or make a more relatable case?
The same is true for most non fiction books. Endless stories and examples for something you could have said in 10 pages.
This is why I prefer articles, blog posts, etc. I want to learn, but don’t want to spend hours reading fluff. I enjoy TV shows for entertainment, and don’t feel the need to decode them, because I don’t believe there would be anything in there that isn’t the 50th variation of something I’ve heard before.
Am I missing out on incredible revelations? Upon reading a great book, I’ve never felt enlightened, even when prodded to analyze it in school. Maybe I haven’t tried hard enough, or maybe the point is lost on me, but it just doesn’t seem as worthwhile as so many people claim.
comment 5y ago · link · parent
Ecosystem concerns aren’t as relevant today, since both Android and iOS have everything you’d want, but in the olden days of Blackberry, Microsoft, and many other mobile operating system vendors trying to compete, they were always seriously hampered by their lack of ecosystem.
comment 5y ago · link · parent
Just at a initial take level, LLVM seems too low level for this kind of usage to me, and it doesn’t seem very robust or elegant. From that perspective, it doesn’t seem like something that would get much adoption or support from the Postgres community. I’m no expert in Postgres however, so maybe it would be better than I’m picturing.
Maybe creating a more efficient alternative query language would work, or a system for adding hints to your query about how it should execute. Like if you could specify in low level terms how you think it should work, and the database would feel free to ignore those hints or change any part if necessary because some internal data structure changed.
comment 5y ago · link · parent
Also, using raw LLVM, it seems like you could do all kinds of things to shoot yourself in the foot, such as breaking ACID guarantees or failing to properly update indexes.
That’s always the trade off with databases. More speed for less safety. Even fancy SQL databases that like throwing around claims about ACID don’t usually enable the full ACID guarantees by default for all transactions due to performance reasons.
If you want low-level control, then maybe a NoSQL database would be better suited to your needs. But otherwise, I think improving the native query planner in SQL would be a better use of resources.
comment 5y ago · link · parent
It is not something that should be used simply to clean up your code. You can refactor your code in any way you see fit within a monolith. Adding a network later in between your modules does not make this task simpler.
comment 5y ago · link · parent
I’m saying that it takes a very sick and twisted state of mind to commit violence towards the elderly like this, and it isn’t “normal” crime. It takes real hatred and rage to do something like this.
comment 5y ago · link · parent
I think this is about xenophobia and hatred towards China as a source of the coronavirus, amplified by the former president’s rhetoric about the “kung-flu” or “China virus” as he repeatedly called it.