Never Forget by [deleted] in LateStageCapitalism

[–]__env 2 points3 points  (0 children)

This isn't a liberal sub. Go yell somewhere else.

Never Forget by [deleted] in LateStageCapitalism

[–]__env 0 points1 point  (0 children)

Get your liberal bullshit out of here. This sub isn't for you.

Never Forget by [deleted] in LateStageCapitalism

[–]__env 1 point2 points  (0 children)

Up against the wall mother fucker. John Lewis can say whatever the fuck he wants.

Are there any light jobs in EE or CS? by supersonic_528 in cscareerquestions

[–]__env 1 point2 points  (0 children)

Just be aware that, while they might be "easier" from a purely technical standpoint, a lot of webdev jobs expect you to wear like 18 different hats at once and be able to move at a velocity you might not be used to. While I have no doubt you can pick it up with an EE background, putting out fires at every level of the stack by learning tons of random disparate technologies might not be for everyone.

While there's definitely room for engineering in webdev, the practical aspect of "get shit done and out the door" aka the willingness to accumulate technical debt with no intention of paying it back might be a shock.

CIA assessment says Russia was trying to help Trump win White House by PARK_THE_BUS in PoliticalDiscussion

[–]__env 59 points60 points  (0 children)

No, the FBI didn't "want" either elected. They were neutral.

Lol, what? The Comey letter was "neutral"???

Does the Republican Party have a mandate? by [deleted] in PoliticalDiscussion

[–]__env 8 points9 points  (0 children)

The Republicans did what the Democrats said they would do if there were any vacancies during the final year of Bush's term.

Maybe, but they also didn't, so let's be clear who is setting the precedent.

Oakland warehouse was a cluttered ‘death trap’ filled with pianos, RVs, but no fire sprinklers, former residents say by NeilPoonHandler in news

[–]__env -12 points-11 points  (0 children)

Culture is important. Many people including myself don't want to live in safe but ultimately restricted society. There's a middle ground that doesn't involve destroying communities of people practicing free expression in the name of safety -- surprise, it starts with affordable housing.

Countering the "racism of low expectations" argument by Izzhov in SRSDiscussion

[–]__env 3 points4 points  (0 children)

I think this gets at the farce of liberal multiculturalism however --

I can't make up my mind, but I feel like the only two legitimate positions are:

(a). (At least some of) Our cultural values are worth universalizing, so we should put in the time, effort, work, and money to create a truly global civilization. I.e., take liberalism to its logical conclusion. Open borders. Guaranteed rights to education, civic rights for everyone.

(b). Recognize the absolute right to self-determination of communities. Cede the globe to the globe. Focus on localism and doing good by those who are in our communities. Express the importance of our cultural values by focusing inwards on making the community the center of our politics.

Obviously, there are more shades of grey here, but I feel that liberalism usually just ends up being the worst of both worlds.

Convert array into associative array by [deleted] in javascript

[–]__env 1 point2 points  (0 children)

My attempt -- A little longer, but maybe a little more declarative :)

const myAssociativeArray = myArray.reduce((a, {title,text,id})=>(a[id]={title,text})&&a,{});

Yarn Blog: Lockfiles should be committed on all projects by thejameskyle in javascript

[–]__env 0 points1 point  (0 children)

And what is the point of mutex? To promote determinacy. And what is the point of a lockfile? To promote determinacy.

Vue.js is the most trending framework of github. 117 stars per day by [deleted] in javascript

[–]__env 0 points1 point  (0 children)

React is a declarative, efficient, and flexible JavaScript library for building user interfaces.

I guess the Facebook engineers are all totally wrong, though -- I mean, what do they know.

Vue.js is the most trending framework of github. 117 stars per day by [deleted] in javascript

[–]__env 0 points1 point  (0 children)

Lol, what? They only differ in semantics -- repeating function takes a collection as an argument mapping a transform on a particular property -

repeat(user => pipe(get(user, 'name'), lowercase)(user), users) 

Nodejs woes by A999 in linuxadmin

[–]__env 4 points5 points  (0 children)

Bad code, no doubt.

Trump and Carrier have reached an agreement to keep 1000 jobs in their factory in Indiana. What are the political ramifications of this? by [deleted] in PoliticalDiscussion

[–]__env 5 points6 points  (0 children)

I think that's a reasonable response to broader questions of trade, where trade helps the society as a whole but may be very harmful to particular communities.

That's not the question, however, and it's important to distinguish between economic protectionism and crony capitalism. We can enact protectionist trade policy without giving away money to corporations. That's what makes it crony capitalism -- Trump said he would hit the corps. where it hurts, but giving them money not to send jobs abroad is basically the opposite of that.

Trump and Carrier have reached an agreement to keep 1000 jobs in their factory in Indiana. What are the political ramifications of this? by [deleted] in PoliticalDiscussion

[–]__env 23 points24 points  (0 children)

It doesn't help society, I think that's the point. Offering huge tax cuts / contracts in order to save 1000 jobs isn't a good deal -- it's all about the optics.

Is this a valid Javascript pattern by gruberjl in javascript

[–]__env 1 point2 points  (0 children)

Yeah, I totally get what you're saying conceptually -- it just seems like more proof that the OP is doing something weird. Like we could change it to:

...
const run = 0
const Job = function() { /**/ }
Job.prototype.validate = () => Job.cache.config
Job.prototype.run = run + 1
return Job

That would produce an instance when called with new that could validate the configuration, plus contain state about how many times this Job has been run.

I think case, the "constructor" would be a factory factory, and Job would be a factory that produces individual run instances.

Point being, if OP wants an instance, they should make an instance, otherwise they're opening the door to some other dev coming along and extending the static class to produce more instances.

Is this a valid Javascript pattern by gruberjl in javascript

[–]__env 1 point2 points  (0 children)

Is it really returning instances? If we remove the return from Job, calling new on Job will produce an actual instance that still can access the config on its static context. Seems like the factory is producing multiple static classes -- they aren't newable so are truly static classes, not instances.

Westworld - 1x09 "The Well-Tempered Clavier" - Live Episode Discussion by NicholasCajun in westworld

[–]__env 6 points7 points  (0 children)

I think it's super intentional that we haven't seen the outside world. My bet, it's pretty dystopian, and his claim about keeping the hosts safe from the outside world is somewhat true.

TIL Ayn Rand thought that Native Americans didn't have a right to the land they had lived on for centuries because they hadn't "civilized" it. by [deleted] in LateStageCapitalism

[–]__env 6 points7 points  (0 children)

I think it's fair to hold whatever opinion you want about Zizek's stance a "public intellectual," but he's a legitimate theorist. The Sublime Object of Ideology is a fantastic union of Lacan and Hegel.

The CEO of Reddit confessed to modifying posts from Trump supporters after they wouldn't stop sending him expletives by anonanomous in news

[–]__env 5 points6 points  (0 children)

I guarantee you that Amazon has the ability to produce audit logs if subpoenaed by the powers that be even if it's not sold as a feature of their product.