skysight-inc/HackerNews huggingface dataset:
>Wrong, you can fork() and only the thread issuing the fork () call survives the fork(), for example.

Thinking about it, it makes perfect sense.

Threads are processes that share the same memory space. When a thread is created (via pthread_whatever() or clone()) it starts executing some code that is practically in a $RANDOM place. So how would one go about copying the state of a process that has threads ? Freeze all the threads and copy everything ? That way the thread, that is probably doing some job at the moment, would end up being cloned without it knowing. So you would get two processes (threads are processes) that are doing exactly the same thing. Until something external changes their (internal) state, that is.

Non-determinism should always be avoided if possible.

This still does not say that one couldn't write portable, threaded, UNIX compliant code. Nor that those undefined behaviors from the specs would be fixable by rewriting the spec (by adding atomic fork+exec, that seems to me to be the context of this whole thing).
You made me picture a brain evolving some sort of internal lisp in order to build language processing optimizations. :-)
I wouldn't bother. I'm pre-update and have turned it off when I installed Windows 10.

Yet App history shows a cpu usage of 0:07:25 and network transfer of 1.5MB for Cortana.
I was surprised there wasn't a list of Publications available on Medium, so I decided to build one!

Just passed over 300 Publications. The list is ordered by the number of followers, and I'm working on adding additional sorting/filtering options.

Still looking for more publications to add to the list, if you have any suggestions please add a comment.
If you want to do something not all that popular (eg. conjoint analysis) or something cutting edge (duplicating recent research results), R is pretty much the only way to go.

Why? Shouldn't you be able to do that in Python (or MATLAB if that's your thing)?
KUTU FİLMİ HD SEYRET
Gravity waves fall to science
I think that we should crack down on walmart and other large companies who service poor people, blacks, and other population groups that disproportionately commit crime. We should force walmart to behave more like target, catering towards higher income people, with higher prices and better service. And if poor people need to pay higher prices at a non-centralized location, that's the breaks.

Similarly, walmart should be prevented from doing things like allowing the homeless to camp in the parking lots. Target is the pioneer here - they force the homeless to illegally park on the streets where the cops can harass them until they leave town.

In short, rather than having all the crime in one spot, we can spread it around the community! This won't help things, but at least we won't have a single unsympathetic scapegoat to blame.

(Also blame walmart when it does try and stop crime and the inevitable results occur, namely criminals being hurt/killed as part of the law enforcement process.)

I can't think of a better illustration of the Copenhagen Interpretation of Ethics than this article. Poor people steal and hurt people but we can't blame them. Walmart is nearby so blame Walmart!

https://blog.jaibot.com/the-copenhagen-interpretation-of-eth...
The Shut in Economy
Message to trump
Wow this author really hates anarchists.
ahaha, i didn't read the sarcasm that time, sorry for replying with tmi
How startups are valued by VCs
Marjorie Rice, pentagonal tilings!
Microsoft Internet Information Services Opspack Overview
Women code better than men, unless we know women wrote it
Isn't the point of the police to have a monopoly on violence?! I mean, I'm sure Walmart could create its own army if they had to, but ... do we, as a society, really want that?
What you actually do in Python is use https://github.com/kennethreitz/envoy
Startups Providing a Service Are Difficult to Scale
Mobile phones and hindsight
To me this is a great example of why Lean focuses on cutting waste, not cutting costs.

I don't expect execs to learn a lesson, though. Cost-cutting fits in much better with our managerialist culture. Decreasing waste mostly has to happen when employees doing or very close to the work spot opportunities for improvement. But any fool can look at a corporate budget, pick out the biggest expense, and say, "Well, let's cut that by a lot."
I said this the last time this came up, and I feel the same journalistic failure is present in this article:

Could the troublemakers simply be attracted to Walmart and would go elsewhere if things were different? Walmart might even be doing the police a favor by concentrating them all in one place.
Will robots take over the world? Not just yet
>everyone shops there.

And this is true pretty much everywhere I've ever been that wasn't a large city or very close to one.
I didn't see anybody asking them to "prevent all crime". I see calls for them to return to previous crime levels, to levels similar to other stores.
Typically, I see folks create a working branch, make incremental commits, such as a commit per day so as not to lose work, then rebase them all into a single commit before pushing back to origin. We haven't had any problems with this approach so far. YMMV
I'm curious. How important, on your list of priorities of social values, is the matter of ethics in game journalism? I deduce it's somewhere in the top 3?
Don't listen to hype. Look at the problems you need to solve. If you need a big, complex, distributed system, than maybe microservices are a good idea. If you're building a simple webapp... not so much. Things that work in the large don't necessarily work in the small.

I write stuff in Scheme. I'm a hobbyist, there's no reason for me not to, and I love the language. The apps I write are sometimes single-threaded (or coroutine-based) monoliths. But I only have one machine available for me, and the things I'm writing are fairly simple. It's good ENOUGH. And Worse really is Better[1].

1:and I truly mean that in the Gabriel sense. As in the New Jersey model. Not any other way.
100 million weekly visitors? The US only has 300 million people total.
I like this comment, but it's a bit hard to tell where the sarcasm stops...
Yes, it's obviously a binary issue and there is no possibility whatsoever that Walmart could do things to prevent crime that have a lower net cost for society than calling the police.
The Margin (* + *) and Font Size (font-size: calc(1em + 1vw)) declarations are really cool, it's the first time I read about them.

What do more experienced designers think of them? Handling spacing between elements is usually a pain (should I add margin on the top, or the bottom?), and font sizes proportional to the display width is IMO genius, so why aren't these declarations used more often?

EDIT: the article title is a little unfortunate, I thought it was about the modern Javascript ecosystem and that every tool has to have some kind of plugin system, modularity, extensibility, and require a ton of boilerplate to fit your 3-file website. Or that's what I expected, anyway.
Rocket Internet – platform for scale, not innovation
Shell does things well provided all the intermediate states are naturally expressible as streams of bytes. Otherwise not so much.

I think the advantages of using a single language for everything outweigh the disadvantages - see e.g. http://www.teamten.com/lawrence/writings/java-for-everything... (though actually my single language is Scala)
A way to measure your life
> They are costing the PD a fortune for it.

Seems to me that the criminals who commit crimes at Walmart are costing the PD a fortune. Although — surely it's easier for the police to patrol the Walmart and catch criminals there than troll through the entire city hoping to catch them?
IME that comes with: Sure, the new tool looks cool, but is it battle-tested? How many tools end up being relied on heavily while they're still in beta? And does it solve any of our current problems? or is it just neat?

As a grumpy SA, I see way too many people try to push for new tools because they "seem cool", instead of "Do they solve a problem we have?"
From the article:

> He can’t believe, he says, that a multibillion-dollar corporation isn’t doing more to stop crime. Instead, he says, it offloads the job to the police at taxpayers’ expense.

I think citizens should be very concerned about the notion that instead of their taxpayer-supported police doing the policing, an expectation of corporations policing their own territory should exist. That's a little bit Snow Crash, isn't it?
What happens when Millenials run the workplace
I never thought I would appreciate Java...but the industry has really made me.

Take your .war file, drop it onto JBoss. It deploys across the cluster in a zero downtime manner, isolates configuration, provides consistent log structure, cert management, deployment. You can deploy dozens of small war's to the same server and they can talk to each other. Load balance across the cluster automatically based on actual load. Run scheduled jobs and load balance the scheduled jobs themselves. Allow them to be isolated and unique within the cluster.

I may not like Java as a language, but from an infrastructure standpoint Java was basically Heroku long before Heroku was Heroku. The infrastructure is just...solid. The downside was that the XML config stuff was just messy.
No code is better than no code
Half of mobile games revenue comes from 0.19% of players
I remember when my brother worked for Best Buy (electronics retailer) in the late 90's. Best Buy gave a large bonus if the shoplifting numbers were low (cannot remember the term they used). The Minneapolis store he worked at never got that bonus, as it had all kinds of thievery going on. They even hired cops as security (nice part time gig with the discount they had). The Fargo ND store always got its bonus ($700 per part timer, I think).

Walmart is Best Buy times 100. Blaming Walmart is just plain dumb as its a sign of something wrong with society. I wish we'd get over blaming things and get to being honest and admit the problem is people. People can have all manner of things fixed, and yes, its harder than demanding the victim of the crime pay for it. Charging Walmart more is going to up the prices and hurt a lot more people who really cannot afford another tax.
"[Walmart] said it would skip calling the cops for first-time offenders shoplifting merchandise valued below $50 if the shoplifter completes the company’s theft-prevention program."

The response to having too many petty crimes is to not call the police? This whole situation is bizarre.
Building weatherproof companies
I don't share this concern, I've been rebasing frequently(several times a day) for years now and never caused any unrecoverable problems. I would recommend that the last thing you do before pushing a branch you've rebased is

git diff origin/master branch

This way you can see if the diff looks like what you expect it to be. If it doesn't and you believe you messed something up while rebasing just

git reset --hard origin/branch

and redo the rebase
That's your reply to a well thoughtout counter argument?
Maybe some people go 100 times per week?
Yeah, that was one solution that I've tried, the second one was https://www.reddit.com/r/sysadmin/comments/4w0saz/workaround... but as you said on (re)boot it does not work.
Open Source vs. 'Corporate dicks'
The replies are nested too deeply. There's about 5mm people who own 3d printers. Not all of them will be interested in putting their stuff on my platform so I think 30% of those is a realistic number.
> anyone who uses their brain for a living will need 'enhancements' like this just in order to compete and be employable

I presume you've heard of coffee...
>Since text fields in mysql are stored as separate files

Bwuh? Over in MS SQL you just go for an NVARCHAR and forget about it. What is the right way to store this data (if you really do need to store the JSON rather than just serializing it again when you get it out of the DB)
Inside the Trump campaign
Event bus mostly
Tony Faddel sold me a tub of Hummus
I'd be super hesitant to see laws written like that; it would be very easy to get them wrong. I'd much rather see some sort of cost recovery system for businesses with excessive crime. That would avoid penalizing the stores doing fine, and wouldn't fix possibly-inappropriate solutions in law.
There is this, but the bait and switch actually has a justification in his mind : by publicly acknowledging that math is everywhere in the first and promoting this fact, we reinforce the extent to which innumeracy impacts those who suffer from it.

This is a political opinion, of course, and not an assessment on the extent to which maths help people.
Yeah I was unhappy with the article as well.

No board member agreed to be interviewed for this story, but the company disputes that it puts profit before people.

That's the thesis of the article -- that there's a forced choice: either people or profits. And WalMart is choosing the wrong option. It's hackneyed, it's cliche, and if you want to run with it you'd better have something more than just a bunch of opinionated interviews. By choosing the right 20 people, you can get them to say just about anything you'd like.

Where there's such a high-volume movement of people, especially involving at-risk populations, there's going to be crime.

There are about 6,000 WalMarts in the United States. Worldwide, Walmart serves 260 million people at 12,000 stores every week, employing about 2.5 million people -- 1.5 million people in the U.S. alone. In 2013, the FBI reports 367 violent crimes per 100,000 people/years.

I found this out in one minute of searching the internet. All of this is relevant context for a story like this.

I'm not a statistician, but doing some simple math, assuming those 260 million people served every week just stayed at the store year-round, every year there would be 954,000 violent crimes committed at WalMarts worldwide.

Of course that's just funny numbers, but even back-of-the-napkin math shows that 1) whatever number we get for estimated violent crimes at WalMart, it's going to be a big number, and 2) with a dataset that large, it's far too easy to cherry-pick individual crimes to make a case where none may exist.

There still may be a story here. Beats me. Why am I digging around for stats online when some schmuck who wrote this was supposed to be doing all of that before he wrote it? And including it in the article?

ADD: You know, if you know a few cops who think the crime down at WalMart is just out-of-control? That's a great story. Write it that way.
This is the kind of facts we need more of:

* estimates on how many kgs of oil, coal and gas have been used, by year.

* estimates on how many kgs of CO2 each one contributes with when used.

* How many kgs of CO2 are estimated to be in the atmosphere.

* etc

Sadly AGW proponents here and on Ars never seems to want to discuss these numbers rather than rather unscientific things like how many scientists signed the latest report.

Edit: and let me add before someone else does, sceptics are mostly equally bad at this.
"Nor do they allow people to camp overnight in their parking lots"

They're refusing to look at the demographics. The criminals have nothing to do with my Dad in his fancy RV. The article is close to understanding the problem is socioeconomic class but for political reasons can't say the real problem, so, um, it must be the campers, yeah they must be the problem.

Another peculiar logical and demographic problem is the article implies corporate spending on employees will magically reduce crime, much as hospitals hiring more ER nurses will reduce shootings.
See .... microservices are where you take a process using IPC and force it to go over a network and use TCP ...then you pretend it will run better and scale more
but avoid the whole 10x infrastructure growth and the fact the devops team has tripled in size to manage the frankenstein ... dont forget to add in the whole SDN layer the network guys absolutely love
German law has recently merely been changed to require consent. It's still necessary to prove that consent was not given, to find someone guilty of rape.

It seems very unlikely that Appelbaum would be found guilty by a court. I could also imagine that a prosecutor wouldn't even take this to court due to lack of evidence.
You can embrace unidirectional flow in Angular 1.X as well even if it's not enforced by the framework. I'd actually recommend it as it makes things so much easier to reason about, but I'll admit that it can be quite verbose, especially without the syntactic sugar that Angular2 provides.
Your characterization of your two sentences and a link as a "Well thought out counter-argument" aside... it was a question you've dodged, so thanks for the answer. ;)
They are two different categories of crime, yes. That's why we don't throw people in prison for a decade for petty theft, or put petty thieves on the Petty Theft Offender national registry and require them to notify their neighbors when they move into town.
> Global vars set wherever in a program are preferable to explicit params when creating a new process?

The outside world is always going to be implicit global mutable state; spawning an arbitrary process to do who-knows-what is inherently that kind of problem. If you could express it as an actual function you wouldn't need to run a separate process.

> And there's no way to have default params or anything?

Well not in C. You can sort-of do it by having a struct with fields that you fill in where all-bits-zero is the default but that's generally more trouble than it's worth.
NASA's Space Robotics Challenge: The Tasks, the Prizes, and How to Participate
Heh, one of the few times I shoplifted as a teenager was from a Walmart. It was from one of the more run-down ones, and it did seem easy.

Not many stores I would've dreamed of doing that in ('twas only teenage hijinks anyway), but it's true when you have a big crappy commercial space where crap is just laying around (Walmart, kmart, Ross, etc.), it really gives the impression that the purveyor doesn't give a crap about their crap.
This article is riddled with poor reasoning.

1. The author's claim about "the politics of who gets to be a part of the mathematical elite" has almost nothing to do with the contention that "math is everywhere".

2. Math is everywhere. I make this claim by virtue of the facts that (1) you can, in any situation, ask questions like "how many?", "how much?", and "which one?" (which leads to encodings) and (2) Math is just our ordinary processes of reasoning, made rigorous and mechanized. Whether you're looking at someone's face, walking through the zoo, or cooking, there are underlying mathematical realities to be considered, if you're interested.

3. The author writes, "When we talk about math in public policy, especially the public’s investment in mathematical training and research, we are not talking about simple sums and measures." Except that, sums and measures and similar basic arithmetic are extremely relevant to making policy. When we talk about % growth targets, or inflation, or social security, back of the envelope arithmetic is just what you need to get an idea of what a policy actually does, or what it's results have been.

4. Examples in this article are cherry-picked and without supporting context: "Priests used astronomical calculations to mark the seasons and interpret divine will, and their special command of mathematics gave them power and privilege in their societies" But this is only true if mathematical prowess (rather than say, winning a lottery or being supposedly divinely annointed) was the key to joining the priesthood. Once accepted as a priest, what difference would it make whether you gave mathematically correct, or entirely nonsensical predictions to a crowd?

5. As another commenter writes "Mathematics is one of the most open fields of [S]cience". This is spot on. Existing free resources are really fantastic, and while you can make a completely valid point that not all children are given the relevant fundamental education to allow them to take advantage of that, the same argument applies to any field of education -- down to and including basic literacy. It makes no sense to lay the blame for this on mathematics.

tl;dr: This article is a giant non-sequitur, chock-full of poor reasoning.
I've been working with configuration management for some years now, apart from also working as a developer so I don't believe I'm confusing them as much as I'm admitting that containers make configuration management and deployment easier. I might not have been so eloquent on that point but it's my feeling from using Docker for the past 2 years.

Nowadays all that I do is setup a barebones CoreOS instance and fire away containers at it, be it with kubernetes (and then my config management is a bit more robust so to setup k8s in CoreOS) or just use CoreOS's own fleet if it suffices.

Then I get the goodies of containerization such as process isolation, resource-quotas, etc.

Like I said: it isn't painless, sometimes much the opposite, but it's worked much better for the lifecycle of most of the products and services I've been working on the past couple years.

Even before with automated deployments it wasn't so easy when configuration begins to get hairy. And yes, you can argue that this might be a smell of something else but that's what I've seen happening over and over.
A turing machine can simulate the whole universe and everything in it.
Nice username. Have you checked if there's any impact on Windows Update?
That's pretty much what I did. I dip back down into the 'base' stuff when I need to, but in general I stick in the hadleyverse of tools. It's been great.
> Do you remember ever enjoying using/reading a website with more than two columns?

Pinterest
Is it? I think there's a long-standing expectation that you take care of your own space, that emergency services are there for emergencies. In any case, the asked-for remedy is basically to return to their staffing levels of a decade ago, which doesn't sound like a corporate dystopia to me.
Well Thom, seems like you know all the answers already. You don't need news.

Just about all economics is Voodoo. Your bias is showing though, you might want to get that looked at.
> Doesn't that undermine the whole decentralized web of trust concept? All those services are operated by US companies - or what if someone simply compromised Keybase itself?

Ideally: Nothing. Keybase refers to other sources. I.e. a page on GitHub woth username and key fingerprint. So if keybase is compromises those links miss and it's no prove.
Hype is as bad as seeing a promising technology just as hype without trying understand the problems it might solve.

This is quite frustrating for both people who are aware of those issues and trying to fix them as well as the people missing out on the real advantages of such technologies.

This reminds me of similar sentiment around virtualization and cloud computing later in my peer group:

Some sold VMs as security feature and people focused their criticism on that, without understanding other advantages like quick/self-service provisioning of systems.
Later one, cloud computing was trivialized as "it now just somebody elses computer" which completely ignored advantages like no ramp up costs and the ability to problematically manage your systems life cycle.

PS: Considering every new thing a fad probably also makes you consider 'hadoop' the latest shit in big data processing and assume today's tech companies hipster are fighting over wordpress plugins. (Like, really?)
Yes! That's it. Well I got down voted so many times the movie must really not be a crowd favorite :D
You Don't Know Jenkins – Part 1 – Automated Jenkins (Re)Install Using Chef
It would be great for future versions to be modified to support restify and hapi.
I Went Camping in the Trunk of a $145k Tesla
No One Wants to Buy Those Stolen NSA-Linked ‘Cyberweapons’