Better HN
topnewbestaskshowjobs
Log inSign up

dc-programmer

784 karma · joined Aug 10, 2021 (5y ago) · 327 submissions

Submissions

comment 4y ago · link · parent

This is getting out of hand. Now there are two them!

comment 4y ago · link · parent

You don’t see how someone might have a visceral reaction to the prospect of being automated out of a job? Especially for those people living in countries with weak or no social nets? Plus, for a lot of us programming as it’s done now is a big part of our identity, and it’s understandable how people might feel uncomfortable about something that casts uncertainty about our place in the future.

The historical Luddites were not anti-tech. They were lashing out against automation reducing their status in society and financial security

comment 4y ago · link · parent

At this point I would assume that foreign states have malware hooked deep enough into all the systems that the only way to eradicate them would be with an incinerator. Plus even after (if?) they update their software I doubt you’d need zero days to get back in. Im interested to see what the upgrade path is for the Red Star OS is though lol

comment 4y ago · link · parent

The article says he’s exploiting known (ancient) vulnerabilities

comment 4y ago · link · parent

I disagree with many of the posters here saying that the difference between GET and POST is irrelevant or a social construct or something like that.

Intermediate proxies and browsers apply different caching rules to GET vs POST responses. This can have huge performance and security implications.

Along the lines of security, browsers impose stricter security mechanisms on POST requests. Cross site POST calls require a CORS pre-flight options request, and the response of this request is scrutinized. Choosing GET vs POST can be the differences between having CSRF protections and having none.

Sometimes I feel that some of the opinions here are not very useful without the context of the environments in which they are deployed. A few weeks ago I saw someone wrote that logging is an anti-pattern because correct code doesn’t need it. That may work for a small project, just like using fat GET requests may be fine for most projects. But when you are building complex software at scale, the importance of following the normal practices becomes very evident

comment 4y ago · link · parent

Thanks for the detailed response. I will check out The Anglo American Establishment

comment 4y ago · link · parent

Also a lot of these exploits are buffer overflows. That’s a terrible back door because anyone could find it. If there were back doors it would be things like sharing the seeds to the RNG that generates their private keys or just giving access server side access. But they aren’t doing that because it’s dumb. And if the government already has back doors why would they purchase external tools? But as ever the best argument against the conspiracy is it would impossible to keep secret

comment 4y ago · link · parent

We are a now in a age where people are talking about building their own chips and phones because they don’t trust the commercial products to be secure. I have a feeling the Apple marketing org is less than thrilled about recent news. Also Google no doubt is looking for ways to capitalize on this. They already have the reputation of having security geniuses on par with the NGO group on their payroll

comment 4y ago · link · parent

If Apple is adding back doors willy nilly why would they execute a parallel marketing campaign centered on privacy at the same time? The more likely reality is that are extremely upset this is happening and being publicized. My personal take is it would be impossible to add back doors to Apple products without whistle blowing. Why does everything have to be a conspiracy these days?

comment 4y ago · link · parent

Just visited the NumbersUSA site because I never heard of the, and immediately regretted it. Ghastly. They oppose a few thousand additional green cards (a system that is already pretty exploitative) during a time when skilled immigration is drastically decreasing. I don’t get it all. If anything ever made America great it was high skill immigration.

comment 4y ago · link · parent

I believe our democratic process gets corrupted by the influence of money (and the legalization of bribery by the courts). But there’s no evidence this is all part of some coordinated effort that persists over time. Even if there is some evil cabal out there, they clearly do not exert complete influence as evidence by all the populists officials elected in the last four years. Why would Google/Facebook et al hand pick officials that want to break them up? These people are bad for big business because they act on reckless impulse.

Also maybe the status quo democrats aren’t leftists after all? And yes, I think these are useful “labels”. You’re implying the Illuminati or someone made up the left/right dichotomy to divide us but these have been used for over 200 years. Finally, I don’t think supporting resource extraction is intrinsic to one side. Lots of socialist countries export billions of dollars of oil a year. Equating anti fossil fuel sentiment with leftism is a very western way of viewing the issue.

Honestly the only conspiracy I really see is the political nihilism evinced online. It’s like some people want the citizenry to just give up or something. It’s still possible to exert political power as a normal voter. Don’t like the two choices you were presented with? Well did you vote in the primary? No? Oh gee.

People are taking this article to mean we are all living in a veil of ignorance while our puppeteers present us with a false dichotomy. I think an easier explanation is the US Government is a lumbering bureaucracy with lots of momentum and a few newly elected officials aren’t going to change anything. People overrate the influence of individuals and try to form narratives that don’t exist to explain the world in a way that makes sense. When really events and changes emerge dynamically from complex systems in a way that can’t be easily explained

comment 4y ago · link · parent

I mean that’s a pretty dumb thing to do with very predictable consequences

comment 4y ago · link · parent

I don’t think there is some grand conspiracy here. Social conservatives are motivated by their desire for cultural homogeneity and protecting existing hierarchies. This isn’t a wedge issue, it’s a central part of what it means to be conservative in the first place. The left is defined by opposition to this idea to varying degrees (ranging from reform to revolution). The specifics of what it means to preserve tradition and how it might be challenged are specific to the historical and geo-political context.

comment 4y ago · link · parent

John Milton was famously fluent in both. Paradise Lost is written in the style, form, and diction of an ancient epic. It also biased towards words with classical roots

comment 4y ago · link · parent

For anyone interested in 3, Google’s BeyondCorp whitepapers are an excellent starting point

comment 4y ago · link · parent

I’m sort of surprised they have a circular dependency on them self

comment 4y ago · link · parent

This is the dark side of risk based security which often manifests. The code gets audited over a day or two and items get ranked by severity. The “minor” bugs are fixed much later if never and it’s ok because they are low severity. But if you pull on the threads of minor issues there are usually deeper issues at play. Further bugs might be minor if considered independently, but can be chained together to perform severe exploits. Given the resources, I think the best approach is to just aggressively eliminate all known undefined behavior in a application

comment 4y ago · link · parent

Does your company collect information about users?

comment 4y ago · link · parent

This is an interesting article. I would add one more example of engineering supremacy: when engineers engage in “not invented here” activities at a great opportunity cost to the company. If your IT department is building their own key-value store deflecting any scrutiny by appealing to their technical knowledge then that’s a problem.

What this piece doesn’t touch on is why engineers might get frustrated with sales and marketing. Often it’s not because they think they know better, but because the over-promising of salespeople is causing them hardship. Also developers can immediately tell when feature work is brought into scope not because it is profitable for the company to do so, but because it will help someone higher up or a PM with their next promotion or will be a nice item on their resume. Working on these features can be very disillusioning and breeds resentment towards the folks in other roles driving it

comment 4y ago · link · parent

Every policy has winners and losers. The best we can hope for is to maximize the benefits while minimizing the costs (and setting a floor for the losers if possible). In that sense every policy can formulated using the popular conception of the trolley problem, but I’m not sure how useful that is

comment 4y ago · link · parent

I’ve seen projects that use a mix of unsigned int, size_t, and off_t variable declarations with implicit conversions between them. This seems like a security hazard if you are handling user input because just checking the original input may be insufficient. size_t in general seems extra ridiculous because max(size_t) is a common sentinel value returned by methods and if you aren’t careful and add to max(size_t) it wraps around to -1.

comment 4y ago · link · parent

If the third party has their own IAM users, you can create a cross-account trust relationship where you allow their IAM entity to assume a (scoped-down) role in your account. Then they are able to retrieve temporary credentials to assume this role.

comment 4y ago · link · parent

Years ago, I looked at sample questions for the probability exam, which most people take first. To get a passing score you had to be able to quickly recall different probability distributions and also you needed to have a pretty solid grasp of the mechanics of things like double integration. Intro calculus-based mathematical probability classes cover most of the material, but passing the test requires mastery of at least the applied side of math probability.

comment 4y ago · link · parent

Otherwise known as the slippery slope logical fallacy

comment 4y ago · link · parent

Hungarian notation is what I was thinking of

comment 4y ago · link · parent

I’m pretty sure this has caused CVEs before. Folks will check !ret and call it a day.

comment 4y ago · link · parent

For some reason, bad naming conventions are baked into the C programming culture. Like you aren’t a real C programmer if you don’t use two letter variables. I’m assuming short names and schemes like Polish notation once had a place when RAM was more expensive, but I can’t comprehend why new C code can’t use modern practices.
1
7891011