10,627 karma · joined Dec 8, 2010 (15y ago) · 4,013 submissions
comment 6y ago · link · parent
I guess I don't understand enough about how this variable sitting in memory might affect hit/miss/alignment especially if it's not used in the program as it's running.
Would it be that some variable that is used is pushed off of a page in memory or something by the unused variable, so access it is slower? I guess that makes sense.
comment 6y ago · link · parent
With that said, it sounds like at least with GCC, a global constant would go in the TEXT section of the binary and I can't think of why that would affect performance, especially since the variable was seemingly unused. Neat, I hope someone finds the thread to pull here :)
comment 6y ago · link · parent
I assume Apple is hoping to rely on its curated app store to protect against that, but that is more of a social attack, so maybe we'll see it happen or something similar.
The "easy" fix is to make it obvious/hard to hide what the _real_ app clip should look like in-situ.
1356.
Guinness Reinstates Billy Mitchell’s Donkey Kong, Pac-Man Records(arstechnica.com ↗)
3 points · by codezero · 6y ago · discuss
comment 6y ago · link · parent
I've written a decent amount of code professionally in the first and second styles.
I sincerely prefer the second style, for reasons that are hard to articulate, maybe the aesthetic, the space, or something that I assume is equally as questionable.
After I stopped writing a lot of code, when I got pulled back in to debug or provide context long after the fact, in both cases, it was way easier in "real" code bases, to catch myself back up on things in the case that the code was of style 1, than when it was of style 2!
I may be alone in this sentiment, and I even regret that I have it.
I think there is also a bit of satisfaction in writing the code in the second example, especially when the example is a lot more complex than the one provided here.
Maybe it comes down to how much re-reading/maintenance your codebase actually needs. I wonder if coding convention/style has been mapped to the types of problems that code creates and the subsequent repair of those problems being dependent on the code style... I'm sure if I google it I'll find something :)
comment 6y ago · link · parent
> The reason why that statement exists is because there are _countless_ examples of teams coming up with their own, new cryptographic mechanisms that either break...
But aren't there _countless_ examples of this in crypto made by cryptographers?
I'm not playing devil's advocate, I don't really have a stake here. :)
1362.
Lioconcha hieroglyphica: Molluscs with naturally occurring runes on their shells(twitter.com ↗)
2 points · by codezero · 6y ago · 2 comments
comment 6y ago · link · parent
Also, I would bet that a review of this from a business point of view might make a moral stance moot. If that's the case, it seems like an easier way to avoid a minefield.
comment 6y ago · link · parent
It's also unfortunate (I am assuming) that the employees have much less of a stake collectively than other shareholders.
There's a good chance they would make more informed decisions if they were to fail or be successful based on those decisions.
For what it's worth, I think the employees would still make these demands, it would just be nice to be able to show that it was also the right business decision.
comment 6y ago · link · parent
comment 6y ago · link · parent
This is an expectation. I don’t actually believe Trump has anyone filtering his speech and I don’t think he’s educated enough to understand the phrase he said, but with that said, yes, we should expect our leaders to be informed on the nature of the words they say especially in the context of a crisis or emergency.
comment 6y ago · link · parent
I'm not seeing anyone proposing to explain the impact, or what they have done to offset any impact they perceive it is having on themselves.
The other person who replied to me pointed out that it's not fair for me to assume folks haven't already tried a lot - so that's fair. I'll go back to:
I'm not seeing the discussion here being about the results or the impact, except to lament their own personal woes, and to hypothesize things like a coming age of polygamy.
I'll come with some depth when others do, but I guess it's fair that I should probably have not bothered commenting in the first place.
comment 6y ago · link · parent
I'm hearing mostly outward complaints about what other people are doing to them, and that's mostly why I left my comment - a counter point.
I do get that it's not so simple as "it's their fault" and I do appreciate you making that comment, it's worth thinking about this next time, but it's hard to always do when you don't feel like everyone is coming to the table with open minds and good intentions.
comment 6y ago · link · parent
I don't see many people here talking about how they engaged in intentional self improvement.
You aren't owed a significant other, or sex. Nobody is. If you're not getting it, it's not because someone else was born hotter than you.
Stupid, ugly people fuck all the time.
comment 6y ago · link · parent
Whoa! I never thought of this, and it seems particularly more apt of an observation with the trend towards legalizing marijuana, and even further, decriminalizing other drugs like mushrooms and LSD.
On top of that, games have adopted more and more gambling-like and actual features, and have long been playing on peoples' addictive natures by design.
comment 6y ago · link · parent
One can't simply say "women prefer men with higher socioeconomic status" because it sounds right, and I'm not saying that this isn't studied somewhere, just that when making conclusions about a study, if that factor wasn't included in the study, we shouldn't assume it then is one of the conclusions of the study and start connecting dots with other studies just because it feels right.
comment 6y ago · link · parent