Better HN
topnewbestaskshowjobs
Log inSign up

codezero

10,627 karma · joined Dec 8, 2010 (15y ago) · 4,013 submissions

I am a meat popsicle.
Submissions

comment 6y ago · link · parent

The cynic in me assumes they are doing this so they can make Amazon Basics versions of popular counterfeited money and remove the angle that counterfeiters are using...

comment 6y ago · link · parent

Thanks for the correction, hopefully my statement that I'm hardly a hobbyist makes it clear I'm not super sure :)

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

I'm not sure, I am parroting what I thought I read on SO - so you are much more likely to be right, sorry about that!

comment 6y ago · link · parent

Yep, I'm not even a hobbyist in this area, and immediately wondered if there was an alignment change because of it.

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

That's a bloody clever trick :)

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

Funny, I got on a C64 kick recently as well, but it ended up bringing me down a weird rabbit hole to CollapseOS, and now Forth, so I am thinking maybe I'll write a Forth for C64 in assembly for fun. I won't bother googling it, but I assume Csixtyforth is already taken.

comment 6y ago · link · parent

I'm getting the feeling that this is part of a longer term partnership where Microsoft acquires Nvidia, but for a weird reason: Azure cloud.

comment 6y ago · link · parent

I happened upon this comment a bit late, and caveat I'm not really a software engineer, but this comment made me think of something...

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

This is a fun phrase, that as a non-crypto person seems reasonable, but I always wonder if there's something of a confirmation bias.

> 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. :)

comment 6y ago · link · parent

I would have linked to Wikipedia, or some other resource, but there aren't even any front of search results that looked any better than an image search, so figured I'd credit the Tweet that prompted me to post it!

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

That's a fair point, but it's often hard to find a single agreed upon moral compass at an entire company.

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

I think it's great that employees can direct this kind of business decision.

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

Not sure if it's still up to date, but I appreciated the Quantum Physics text by R. Shankar when I was studying physics as a supplement to the courses I was taking for 4th/5th year physics.

comment 6y ago · link · parent

I was just leaving radio astronomy when the MWA was in later stages of design/deployment, I remember the discussions around designing the data storage for it, and it was centered around the idea of having to fly the data set back and forth (At the time, around 2008-2011ish?) - so it was so large that it wasn't really feasible to use the Internet for each data collection run. On the order of many terabytes if I recall correctly.

comment 6y ago · link · parent

I’m clumping them together because there has been a renewed interest in clinical study to treat things like pain and depression, as well as a trend to decriminalize them. Sorry about your friend.

comment 6y ago · link · parent

When someone leads a nation of several hundred million people, it is expected that their public communication be thoroughly vetted. This is even true at a medium to large corporation for an executive.

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

Sorry, I should have had a clearer thesis:

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 think your comment is fair - and if I thought there was a dialog happening on this thread, I'd be happy to engage in one, but I've read through a lot of the threads, and I'm not hearing much about why people think a scientific study validates their personal feelings of loneliness, or what conditions are meaningfully impacting that loneliness.

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

How is that different than men?

comment 6y ago · link · parent

what luxuries do most women demand?

comment 6y ago · link · parent

I just want to point out how so many of the responses to this thread (and the thread itself) are much more a lament of "others are doing X and I am not" - and jumping to conclusions as to why that might be. I also want to add that so much going on here is based on really thin anecdata about how other people are fucking on tinder and you aren't.

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

> mindfully avoid this lifestyle

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

I can't tell from the article, but it sounds like they did not take into account wealth in their study, but are inferring a pattern based on other studies on wealth/sexuality, or am I missing something here?

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

Thanks for the comment! Makes sense, this place can be a mine field :)

comment 6y ago · link · parent

Evidence looks like the police came in unprofessionally, unprepared, and embarrassed. This is not excusable. They are lucky more lives weren’t lost.

comment 6y ago · link · parent

Yep, I made clear if not in the above comment, in another, that if the police are firing shots after a confrontation, that I believe the police have a reason to do so, so I am not surprised by confrontation also meaning “shots fired by someone other than the police” - it makes sense in this context if one believes the police should only fire shots themselves if they are threatened.
1
454647
134