skysight-inc/HackerNews huggingface dataset:
I agree that there is more indirection involved but I disagree about the discreetness: it's not that corruption in the US is more discreet, it's just far more transparent and normalized within the culture. There is red tape and a bunch of rules to follow so it gives everyone involved a false sense of fairness. You don't give someone a bribe, you donate to their political campaign or charity - which then hires their family to be on the board or as some consultant with a plausibly deniable role. In return, you get Requests For Proposals and contracts with requirements disqualifying everyone except the company owned by one guy who "donated." Even in cases where people are breaking the law, there's simply no money for enforcement or even any established mechanisms for doing so (often on purpose), especially as the changing media landscape erodes local journalism.

From personal experience: I don't bribe policemen, I donate to the police union or contribute money towards some officer's or family member's health or college fund. I don't bribe school administration, I go to a few Booster Club events a year and throw money at whatever their latest stupid fund is. I don't bribe teachers, I show up on the first day of school with enough science lab kits and other school supplies for a whole class. I don't bribe my doctors, I contribute money to the nonprofit clinics they are partnered with, which then pays part of the doctor's annual salary directly so that they can focus more on the clinic.

There is far more indirection and the "return on investment" is certainly far less than what I saw when living in Russia, for example, but that's just lipstick on a pig because at the end of the day, it works. When my kid and his friends were caught with drugs (not cannabis), I got to the station less than 5 minutes after they did and was able to get them out by the next day without even seeing a judge (the evidence was "misplaced" on the way to lockup so the prosecutor felt it wasn't worth his time). When he got into a fight with a close friend, I managed to get both of them off with an in-school suspension instead of an expulsion that would go on their permanent records. Never once did I bring up the donations or threaten to cut them off - my rhetoric in each situation basically boiled down to "boys will be boys but I'll make sure they know what it means to be punished" but the deference I received was far more than the average person would, even when getting special treatment for someone else's kid.
Built on Quantum Mechanics, Intraband Eyes Missile Defense for Laser
This seems extremely suspicious. Of course it depends on the nature of the data structure, but in the presentation he compares an atomic increment with a non-atomic increment guarded by a spinlock and comes to the conclusion that the latter is faster for at least on one micro-architecture.

Can anybody actually explain this result? The spinlock needs at least one atomic operation and a write (for lock + unlock) and one non-atomic read-modify-write per iteration while the atomic increment needs only a single atomic operation per iteration and no other memory access. How on Earth can the latter variant be slower?

The only thing I can think of right now is that due to some micro-architectural idiosyncracies, the relevant cache lines end up migrating between cores more often in the atomic increment case, while in the spinlock case, the same core ends up winning the lock back-to-back more often (and so cachelines migrate less frequently which reduces the overall running time).

That seems like it would most likely only ever be relevant to this kind of extremely micro benchmark, but I'd be interested to hear if there are other explanations (I haven't watched the whole talk, but at least the slides don't seem to make an attempt to explain this).
Are there mac pro mouse which don't need receiver?
I don't need magic mouse.

Are there logitech alternatives without dongel. I don't want usb c or USB.
I've seen this same opinion, and similar ones, posted across a lot of the boards I like to visit. Social media can probably be done right, but not by dragging people into an advertising market like facebook does.

I have come to the conclusion that two factors are necessary to a social media site truer to the original feel of the internet. One is smaller communities, in which individual posters can recognize one another, whether they are named or pseudonymous; another is categorization by interest, rather than preexisting social connections.

Reddit nearly manages this, but, being motivated by profit, has failed to stem the tide of idiots onto its platform. Solving the problem of overpopulation while bringing many users to a site is something I'm not aware of anyone having done.

I don't have a lot of interest in implementing yet another social media site, but if anyone knows about such a place, I would love to hear about it.
Joe's a really nice guy. Have you ever worked with him or been in a meeting with him? Sorry, this type of ad-hominem attack really does not belong here.
Pulumi is meant to replace CloudFormation/ARM Templates/Kubernetes YAML. So if you write those things to provision infrastructure, this could be for you.

If you are writing (e.g.) Rails code that you `git push` to a PaaS like Heroku, then they're provisioning this infrastructure on your behalf. So this is a bit lower level than that.
Cryptocurrencies are interesting to me right now in that they have not suffered any plausible advanced attacks capable of zeroing them. What is stopping a state actor from using their backdoors in internet infrastructure to destroy the Bitcoin network topology for a long enough period of time to destroy the network? Is secp256k1 backdoored? My bet is that state actors are saving their guaranteed Bitcoin destruct buttons for the perfect moment.
You can write expressive code in any language and you can write non-expressive code in those same languages. Real world COBOL (which would be COBOL 85 and earlier) is not going to be nearly as nice to write as many of the langauges that you provided as examples. You lack things like generics (which AFAIK are still not in the language) and collections (which show up in COBOL 2014). Until 2002 there wasn't free form COBOL either. Now, it is entirely possible for COBOL to make a comeback and become "hip", but it is going to require a lot of tooling and other development that just isn't happening now.
I am not going to attack tech or the prosperity that it has brought.. but as someone born in San Francisco a long time ago I have to stress that the city has changed and lost a lot of the creativity that used to make it interesting. SF used to be a place where starving artists and musicians could live. Now they live somewhere else: Oakland, Austin, etc. The same thing happened to Manhattan.

I don't think there is anything you can do about it. I don't think it is bad. But it makes SF a boring scene relative to other places in the same way Manhattan became culturally boring relative to Brooklyn. Or maybe London is becoming boring relative to Berlin. The wealth will stick with these established cities, but new culture will happen somewhere else.
It seems like self-driving cars may not (and maybe should not) become commonplace until the roads are built for self-driving cars – that might be a better thing to focus on, instead of systems that mimic human judgment.
a place increasingly devoid of the idiosyncrasy, the complexity, the opportunity, and the roiling excitement that make a city great

These are the consequences of the confluence of money and the intervention of power. Idiosyncrasy, complexity, and opportunity arise from "The Bazaar." The combination of concentrated money and authoritarian government strive for "The Cathedral." This is factor #1.

Factor #2: You can only have "The Power of the Marginal" when you have a substrate which lets marginalized groups carve out their own communities. Social media and the democratized organizational power of networks paradoxically work against this by enabling the most virulent and toxic elements of society to engage in campaigns of "soft terror" through moralistic name-calling and infiltration of subcultures.

"The Power of the Marginal" has been replaced with "The Power to Marginalize."

http://www.paulgraham.com/marginal.html

(EDIT: If you want a society where you have "The Power of the Marginal," you want a "Live and Let Live" society. That is how you foster diversity. Back in my grad school days in a southern backwater in the mid 90's, the Hard Rock crew, Heavy Metal folks, Punks, Rude Boys/Rude Girls, Trad music folks, World music people, people into eastern religions, Orthodox Christians, "College Alternative," people with pimped-out Harley bikes, bible thumping "local-missionaries," atheists, art school types -- we hung out with each other, sometimes went to the same cafes and clubs, and even had healthy arguments. If you want diversity, you need a "live and let live" attitude. It was easy then and there, because we were all marginalized together, united against the mainstream, and if we didn't coexist, there would be no place at all for us to hang out.

Today, things have changed so that certain factions of the formerly marginalized now have access to tremendous power. As always, power corrupts. As everyone's reach has been extended, the reach of the most toxic has also been extended. We no longer live in a "Live and Let Live" society. Some of this has been positive. I'm not so sure about the overall cost/benefit, however. Short term security isn't worth the price of long term freedom.)
> They want to be named after a geographical region which is way bigger than their borders.

Surely that can't be the whole reason for this dispute. I mean, the name "United States of America" would also fall into that description, but nobody's up in arms about it.
Approx 74% of the British population didn't vote to leave, probably including the poster above. Also at the time of the vote the majority of eligible voters probably didn't want to leave as the non voters polled about 60-40 remain. Still our government seem to think "the will of the people" must be rammed through even if it's not what most of the actual people wanted or now want and will cost goodness knows how many billions.
The guy on Github is distributing the source files which have a Blizzard copyright notice on them saying not to distribute them.
The Collapse of a $40M Nutrition Science Crusade
> Doesn't that mean that the program will need privileged credentials?

Obviously whatever program is actually creating the cloud resources will need credentials to do so. However, they aren't part of the Pulumi program.

When you run `pulumi update` on your machine (or on a CI/CD server) Pulumi will pick up whatever ambient credentials are on the machine. (e.g. ~/.aws/credentials.) So if you to restrict the credentials used to update a particular Pulumi stack, you just need to swap out whatever the current credentials are. (e.g. an AWS_ACCESS_KEY_ID env var.)

> How do you make sure the app only has, say, read access to an S3 bucket it needs to listen to, and can't accidentally delete it? And how does that then allow it to declare the bucket?

There are a lot of good questions there, so let me show you a quick example:

```typescript
const imagesBucket = new aws.s3.Bucket(
"images",
{
bucket: "example.com-images",
acl: "private",
});
```

This snippet will create a new AWS S3 bucket named "example.com-images". It also sets the default ACL for the bucket to "private". Nothing too surprising there.

If you wanted another resource to have read access to that bucket, you would need to configure AWS to grant access. The Pulumi programming model is about how you declare/describe/create resources, but not actually define policy for how they work. So when using AWS, you would potentially need to create an `aws.iam.Role` / `aws.iam.RolePolicyAttachment` object and hook them up. (Or, if using Azure or GCP, configure access using some other method.)

So in short, to configure what _cloud resources_ can read/write other _cloud resources_, it's a matter of how the cloud resource provider exposes that.

When it comes to matters like preventing you from accidentally deleting the resources when you run `pulumi update` on a program, there are a few features that can help you with that. You can mark a resource as `protected`, so that any update that would delete that resource would produce an error. (Until you update the program again, making that resource as not protected.) Also, the `aws.s3.Bucket` type has a `forceDelete` parameter, that does something very similar. Unless set to true, the Bucket object cannot be deleted. (Thereby preventing some accidental dataloss.)

Does that make sense?
Yup. But the issue is a financial one, not a technological one. All manner of things can be accomplished at the origin. But all the other links in the chain must have access to the companion technology (read money). This is just not available on a widespread basis. Then, you have issues of adoption, and, competing services and standards.

We are experiencing this very thing with regards to Fire dispatch, with all manner of fireman 'apps'. All of which are different with different protocols. So much so, that we now refuse to support any of them.
Yes, exactly. And such a question would still have utility - despite being a subjective assessment - if the measures of the assessment were common. But that's not the case here. Not only are respondents subjectively assessing themselves, they're subjectively assessing themselves according to arbitrarily different measurement criteria which they need not disclose.

Therefore, the only thing anyone can conclude from responses is, "For some definition of 'good programmer' which is specific to each individual respondent, approximately x% of respondents believe they satisfy the definition." It's one thing to solicit opinions; it's another thing entirely to open the floor for opinions which may not even be the same. The OP may have received personal assessments and anecdotes about steak, apples and cauliflower when their intention was to solicit personal assessments about almonds.
I think it's only fair, as a developer, to live in a state of constant fear and paranoia.

(joking)
They were hoping Netflix would die or be acquired and lose it's edge.

It's possible they did know but couldn't replicate what Netflix has done with any reliability or profitability. Innovators dilemma.
Well not in so many words. But since prices are going up, you could provide some kind of subsidy for people who are contributing to the kind of city you want. It could even be as crude as a seniority system. It's not that different from an income-based housing benefit system.
The Square Cash app has had this feature for a few months now. It looks like it just has not been available to residents of New York, Georgia, Hawaii, or Wyoming.

https://techcrunch.com/2017/11/14/square-cash-is-letting-som...

https://techcrunch.com/2018/01/31/square-cash-expands-bitcoi...
So Apple builds a feature that could potentially save lives. But they are lacking "corporate responsibility" because they aren't also directly funding emergency call center upgrades nationwide.

This viewpoint makes me sad. It's like someone built a house for a homeless family and then they get criticized for not covering the cost of utilities for the lifetime of the house.
Well when I was in school, I noticed that 80% of students would just copy lab solutions verbatim from their friends or older students. Professors were largely indifferent to this because so many people were doing it that it would involve expelling most of the class.

But even for students who took the effort to learn the course curriculum I would say there was big gaps in what is done in a professional environment. In the real world nobody implements everything from scratch in a single file. Schools need to spend at least a little time making students aware of tooling like package managers, source control and using third party code.
I read that Kodak's downturn freed up a lot of chemical engineers and other skilled/techy people. Did any company ever capitalize on the surplus talent pool? Rochester has such a low cost of living it always seemed like a no brainer.
Sorry. I hear you. I'm deleting the original message.
Exactly. On LeetCode, and similar sites, you write some function whose prototype they supply. They evaluate your solution by calling your function with assorted inputs for which they know the correct answer.

Here's what they want you to write for the first missing positive problem if you are using Python3:

class Solution:
def firstMissingPositive(self, nums):
"""
:type nums: List[int]
:rtype: int
"""

If you are allowed to mutate the input, you can use nums.sort(). If you are not allowed to mutate input, you would need to do something like sortedNums = sorted(nums) if you needed a sorted version of nums.
A video was released today showing what the classifier in Tesla's Autopilot sees, provided by an individual who hacked it. False positives galore:

https://youtu.be/Yyak-U2vPxM
"...showing that you don't need to worry about radiation from your cell phone". Dude. Will you please - PLEASE - just read the biological evidence and move on from that outdated (physicists) argument about photon energy. It is now amply established that low-level microwave radiation causes oxidative stress which can damage DNA and increase your risk of inflammation and cancer. Its an indirect effect. Little to do with photon energy alone.
I was so upset when I found out I had. 486SX and not a DX. The math co-processor was required! I had to upgrade my CPU with one of those “evergreens”.
> Either is a sum type. What if I don't want that.

Product types work as well, if you want. But unless your return type is a monoid (or like, a semilattice maybe?) then you're going to end up with Sum Types somewhere.

The vast, vast majority of software engineers and students work with sum types every day and they're totally fine with them. Most languages implicitly sum many values with null.
if the language forces you to eliminate deadlocks and race conditions

It does not, it only prevents a specific problem known as a data race, which is an issue related to memory/ownership.

There is no deadlock protection. And race conditions are a much broader set of issues than just data races.

I like rust, just want to keep your expectations in check.
Bitcoin for us mere mortals who are not drugdealers seems unlikely. It simply doesn't solve a problem that people have. I can pay for my groceries waving a plastic card around and it costs me nothing.

Traditional payment systems are safer, cheaper and more efficient than crypto.
What do you mean?

https://github.com/galaxyhaxz/devilution/blob/master/Source/...

This seems like distribution to me.
No literal JOIN support, but comparable workarounds. The price for a serverless, multi-tenant DB is governor limits.
And now that MS owns github there's reason to believe they're going to be more active/compliant about bullshit DMCA take down requests.
This reminds me a lot of the Bastard Operator From Hell stories (BOFH). Another classic

http://bofh.bjash.com/
Who was it?
In production (sarcasm).
One of biggest downside of that game for me.

Fortunatelly at least few years ago there was publicly available zoom hack that obviously will get your account banned, but it's not something I would care about in F2P game like ever.
Do we still need make/makefiles in 2018?
I write Go regularly and it has a great build system(go build, gd) same for other languages like Erlang(rebar3). One thing I've realized is most large software projects still use some form of make in their build pipeline. Is this as a result of the addiction to *nix or there are no better tools out there. I want to hear more thoughts on this.

Cheers!
This is really an exercise in speaking diplomatically. Often we leave jobs because we can't be as productive in the current environment. That's usually code word for other failures in the company. I think at the executive level it can be helpful to have the discussion on what you would do differently. Most adults in my experience will appreciate a candid discussion as long as you are sharing your experiences in a humble and respectful manner.
It's like they have to mention Trump to get the article approved for publication. It's like in a communist country, you could be writing about interior design but you better stick " glory to the people's party!" in there to make sure censors approve it quickly.
According to https://www.cnbc.com/2014/10/03/two-thirds-of-billionaires-m..., about 2/3 of billionaires have self-made fortunes.

So clearly family connections help. But that doesn't appear to be most of the picture.
Let us not forget what happened when the convenience of plastics hit the markets, the trash collection sector of the government was inundated with material that it never had to deal with before, in quantities that the developed countries of the world now regret. City and county trash, which is considered the government's job, was utterly and forever ruined by plastic.

Consumers loved plastics, stores loved plastics, everybody loved plastics when it arrived because it was a tremendous improvement upon what existed before, which was mainly cardboard, paper, and glass containers. But trash companies had NO way to handle the quantities other than with landfills. The companies that used the most plastics saw the writing on the wall, they were going to be charged tremendous amounts for the plastic they were putting out. This is what created the recycling programs as we know it: "In order to avoid regulation and the banning of plastic products they used, the beverage and packaging industry pushed municipal recycling programs."[1] Impressive marketing work by pepsi/coke/fritolay to pass the buck.

Apple isn't doing the same thing, because they aren't literally trashing the world, this 911 feature does not create anywhere near such a negative externality, but to say that "we already pay our government for this" doesn't mean that the the corporation is off the hook, "we did our part, now you handle the 99% of effort and costs of getting this feature we are promoting to work, oh and you will need to assume the blame if and when things don't work". I don't think it should work that way...

[1]: https://www.motherjones.com/environment/2015/07/recycling-my...
How modern Linux systems boot
I don't think that's true. When you get to smaller sizes, air resistance becomes the dominant factor. Ground based launch systems would need to impart ever greater velocities to be effective, and the launch vehicle capable of surviving greater frictional wear.
I don't see why people outside NYC wanting to move in means people already in NYC must accommodate them.

They'll accommodate them one way or the other; the current residents might as well decide how that accommodation takes place. The alternative is: "hi, just moved here with my graduate degree and a job offer to do programming for a financial company. I make lots of money, can anyone rent me a place to stay?"

"Of course, my good sir/madam, please give me a moment while we kick poor people out of this 'rustic' condo, make a few adjustments to the rent price..."

Sure, there's rent control in NYC to avoid some of this. But that's because the residents never had a choice in accommodating/not accommodating in the first place: the developers did.
If there is a genuine health problem with WiFi exposure, would you want to be the last to know?
Were the shareholders or the executives responsible? Punish any and all that are guilty.
I can still see the people commenting that the Tesla driver did not had his hands on the wheel and he was warned when this warring happened 15 minutes before the accident, so the Tesla PR blog blaming the driver had results proving again how hard it is to undo a lie/almost lie.