skysight-inc/HackerNews huggingface dataset:
In a vacuum I would agree with you that simply manufacturing guns does not in itself lead to gun violence. The person buying the gun is ultimately responsible for its use.

However, gun manufacturers don't operate in a vacuum. Gun manufacturers, through marketing and sponsorships, have intentionally worked to create a culture where people feel that they need to have a gun to feel safe. The NRA, working in concert with firearm manufacturers, has for decades pushed the idea that a home with guns in it is safer than a home without- this sells guns, but it couldn't be further from the truth.

Enthusiast magazines, blogs, and radio shows, sponsored by firearm and ammunition manufacturers, espouse the idea that the end of the world is coming in the form of Islamic terror, and to be prepared you must buy as many guns and as much ammunition as you can. Politicians, lobbied by the NRA, preach that Obama and Clinton are going to take your guns away, so you need to buy more.

These are all calculated actions designed to increase the fear and panic in the public, and to convince them that the only solution to this fear is to buy more guns. This results in scared, afraid people with deadly weapons and frequently little-to-no training.

The form of these lawsuits would not be "you made this gun so you are responsible for how it's used", they would be "to sell your product, you generated endless reams of propaganda to intentionally create the circumstances which led to" whatever specific thing, be it an intentional or accidental shooting.

I'm not saying that this is definitely true, or that there is strong enough evidence that this is true to win what would be a very contentious lawsuit- but I think you're wrong to suggest it's a completely frivolous question.
I always imagined an app with a command line/chat bot/text interface that would be used as a middleman for everything.

For email you'd simply type:
@email $@bob@gmail $@this is the subject $@this is my message/email content

You can of course use different parsing symbols than $@, but the concept remains the same and can be extended to many things. Typing simply @email will bring up format and usage info. If it's your first time using that function then you will be promoted to enter your sign in credentials as well.

Example for alarm:
@alarm 15:30 2x2m

This will set an alarm for 3:30pm, 3:32pm, and 3:34pm
I'm amazed by all this too. I don't have any visualization of a calendar. It always seemed quite arbitrary to me as Kings and Popes down the line have added months, removed weeks, etc.
I also definitely want Sage in Debian, and don't think the "Debian moves too slowly" argument is valid anymore for Sage. It was a compelling argument in 2007, as mentioned elsewhere, but Sage is much more mature now. infinity0 -- thanks for your encouragement from Debian!!
One can sympathize with a President's staff trying to provide him with a mobile device.

Any of a mobile's radios could be used to pinpoint his current location, given knowledge of is unique identifiers; that's probably not cool with his physical protection detail. Such knowledge would also make the mobile a prime target for spoofing AP's, cell towers (BTS simulators work for bad guys just as well as for the government), and websites. Then there's all the Tempest issues with inadvertent radiation.

On top of that, his email, and by connection, all of his contacts, are probably the number one spearphish targets in the world.

I wonder if someone makes a phone has hundreds of link level identities and rotates through them?
Wow, that example parrot image is pretty impressive, given that it is just three colours, and I'm viewing it on an LCD!

I never knew anyone had tried that before on a spectrum. At first I thought you were just talking about the other trick, getting more than 2 colours per 8x8 by changing the palette as the raster scanned down the screen. The multi-colour parrot is way more adventurous!

I'd love to see the parrot image on an old CRT to get a feeling for what the effect might look like with the phosphor afterglow. Leaving the spectrum behind and using a bigger palette range, like on the ST, the effect seems much less epileptic fit inducing, because you can pick closer colours to switch between.
Sure, except that the military "nudges" people toward voting in the direction they want.

Regardless, even if they didn't, your argument is in no way in support of the idea that they have a democracy. A democracy requires public discourse in order to be healthy.
This acquisition makes absolutely no economic sense to me.

I have not seen estimates that put ASICMiner over 15% of total mining, and have not seen any indications that they even have 16nm parts.

Presuming they do have 16nm parts, and can capture 100% of the GROSS revenues of mining through to 10nm part availability, (call it 2 years) they will have GROSS revs of (at today's prices): $850mm, or $425mm/yr

That's Gross. For the whole industry over the next two years. Net Income will be dramatically lower than that for the industry as a whole. And, every process jump you are at risk of being behind, and losing the sweetest bite at the apple.

I may just be jealous, of course, but I don't see how these economics pay off. In reality, you will have a hard time with more than 1/3 of mining power. If we assume ASICMiner is at 15%, that's max $75mm or so in gross revs per year. Is Bitcoin mining really a 6x Revenue /30x earnings business? Especially when 20%+ of that revs just came off the underlying's price moves in the last two weeks?

At any rate, I just don't see this as a sensible acquisition under any circumstances, and if I could short it somehow, I would short the hell out of it.
You probably have 5 or 6 completely different USG models so far - from the very limited initially to the current situation where states are mostly afterthought and it is driven by the imperial bureaucracy in Washington. Each vastly bigger than the previous.
Also if you don't know what your target palette is you can do k-means clustering over colorspace, and the palette is the cluster centers (each point you're giving to k-means is an <r,g,b> or <h,s,v> vector).
Ren Tech also has 200+ math and signal processing phds in its payroll. I'm not sure how well the individual trader does (maybe they do okay, but I have my doubts that I'm not going to be consumed by big sharks in the market)
I use a monowheel for getting around town.
This pretty awesome. You can make a "ruddy mysterious" atmosphere with this!

IT Crowd Reference: https://www.youtube.com/watch?v=aKPGhifKcgU
"this summer we might see clear oceans in the Arctic." - this is absolutely terrifying.
You are correct. The original article did not have that information.
California's taxes are not straightforward. For example, my effective state tax rate is ~7.3% at $160k. It's a progressive tax, so calculations aren't as easy as slapping a generalized number.

If you're making $500k, it also isn't likely a high point of concern.
I have been in that position, the person when asked will usually just reinforce their position with a statement like "It was there, I swear it was.", fault their recording technique, or their equipment.

Believing your mind is playing tricks on you is really the last ditch effort at rationalizing something for most people. They don't come to that conclusion easily without some sort of history or practice doing so.
Augment could be your next marketing tool
Surpassing Western Union's market cap.
As a corollary to writing the C standard library in Rust, are there any plans by the Rust devs to remove the C standard library dependency itself? That, to me, is just as interesting of a proposition.
Similar to the current top comment: are these replacements following or planning to follow the new regulations? That seems to be the difference between this being, "there are safety concerns with these services that we are trying, in good faith, to regulate our way around", or being, "we don't like these huge arrogant companies coming and taking over our town". I'm super curious which it is, or how much of each it is.
The quick edit copy is ridiculous, it inserts newlines between one line of output if it wrapped instead of obligingly copying the content as it was sent to stdout. The selection mechanism makes nearly no sense, why would I want to select text by a rectangle?!
This isn't a story about a mass shooting. It's a story about how a very large internet site is responding to the story.
A new source of a code inspiration for dev
Mostly visual experiments.
I came to this thread hoping to answer this exact question. :)

There isn't a huge benefit to writing things like strlen in Rust. But a lot of libc is big, complicated things like the DNS resolution logic in gethostbyname. These are also where we find a huge number of vulnerabilities in popular libcs. The internal logic of functions like gethostbyname should be able to profitably take advantage of Rust's safety features.
sorry, that parsed poorly.

It's a bit self serving for me. I operate a science nonprofit outside of traditional academia.
While I can definitely agree with the point he is making, I want to add a counterpoint: culture is you.

Whatever is fed to you through the tubes is at most "someone else's culture"; and while you may choose to identify with part of it, it's never yours.
If they're really after you, is it really paranoia?
I'm sorry, it's not fair to evaluate the technology based on the top app from their official showcase page?

I did the same thing with Ionic; the top app on their showcase page is ChefSteps. It's definitely better, but sorry, not indistinguishable. Not even close.

I stand by my claim that saying that "2016 hybrid" apps look and feel 100% native is nonsense. It's fine to use those technologies, but be honest about your reasons.
> And in that case, why not lift them into a language type system?

Easier said than done. First, lifting a new verification property into a type system requires changing the language or creating a new one, so it doesn't solve the problem (another rewrite?). Second, and more fundamentally, some properties cannot always be proven one way or another, but only admit sound classification as yes/no/maybe. Type systems don't usually work well with such properties. There's also the problem of how much of the specification power you want to include in the programming language. More on that below.

> it's very useful if all the tools share a common understanding of those properties.

Sure, but see my response to fpoling.

> it will have to be via a commonly understood specification that's a de facto language definition.

Some such standard or nearly-standard specification languages exist, e.g. JML for Java, and ACSL[1] (inspired JML and supported by frama-C) for C.

> So given we're creating a new safe language

Your new programming language can be whatever you like -- like Rust. The specification language -- for your new or legacy code -- can be rather orthogonal. Even Rust would require a formal specification language for greater correctness, as the language itself cannot specify many interesting properties. Whether, in terms of language design, it's better to unify the specification language and the programming language (as, say, Idris aims to do) or keep them separate is subject to a heated debate (dating all the way back to Dijkstra and Milner). Obviously, if the specification could be unified with the language without it having any negative effect, then that's something desirable; the problem is that many people believe that no such language (or even an idea for one) has been conceived of just yet.

> Even if it were as safe as Rust, C would still be harder to read, and harder to write as well. We can and should do better than C.

Oh, absolutely! I'm all in favor of using Rust over C! But that doesn't mean that rewriting existing code in C is worthwhile in terms of cost-benefit, if your goal is to increase correctness.

[1]: http://frama-c.com/acsl.html
http://www.urbandictionary.com/define.php?term=technopoly

Facebook CIA project: The Onion News Network https://youtu.be/cqggW08BWO0
I thought the H-1B was a temporary visa?
Would that be the same for Germans?
I'm pretty sure a simple while loop is better than either:

size_t strlen(const char * s) {
size_t index = 0;
while(s[index] != 0) {
index += 1;
}
return index;
}
Donald Knuth on email:

"Email is a wonderful thing for people whose role in life is to be on top of things. But not for me; my role is to be on the bottom of things. What I do takes long hours of studying and uninterruptible concentration."

http://www-cs-faculty.stanford.edu/~uno/email.html
This is not a government rank, it is an elections ranking.

From your comment history, I can see you have an axe to grind in Brazilian politics. Please keep it to relevant discussions.
I'm not sure about that. Once out of copyright you couldn't release a cartoon featuring the character (as that's a trademark), but you could make copies of steamboat willie and freely distribute the content over the internet (or VHS).
they are quite tasty.
How does HN's duplicate detection works? I had submitted this same URL 3 days ago: https://news.ycombinator.com/item?id=11866192
Also bigger than Twitter.

Bitcoin has maybe 3 million users (maybe). Twitter has 300 million. I'm investing in both, and I wonder how much Bitcoin would be worth at 300 million users. The network effects are going to be fun to watch
K-medians or k-medoids yield more pleasing results in my experience
https://theintercept.com/2015/03/16/howthefbicreatedaterrori...

Until people stop supporting hierarchical power structures, ie voting for presidents, working for a company where there's a single boss at the top and so on, using only a limited number of sources to obtain your data (ie media) which fuels your bias making your knees jerk and the current implementation of the financial system, people will always distrust new faces in the neighbourhood, foreigners in "enemy" countries and so on.

Its all too easy to give out just enough info to get people chasing after the wrong thing. Misdirection is one of the key elements of the spooks work in order to maintain secrecy.

Trust is the key element here, how can trust something done in secret?
The problem you are referring to is known, although I'm not sure how widely spread.

You can't measure the measurer, so there's a gap in our perception. There's a RI talk on this, where the color purple is discussed. There's really no color purple, for example. It's your eye picking up the absence of green when seeing blue and red light together.

In other words, perhaps purple is a program in your head.

Perhaps our ability to understand the nature of a measurement is an absence of something we yet to integrate into our knowledge base? My vote is for a momentary access to the global consciousness. Like an API with a "search" timer on it. It serves efficient queries faster. It does this in a fixed timeframe using a hierarchical form of evaluation. It knows everything it knows so far.

In other words, perhaps causality in this reality is based on some type of immutable programmable storage. Perhaps that' why it's hard to change things here too.
Drew Houston of Dropbox: Figure Out the Things You Don’t Know
Dependency management isn't really a solved problem in any language ecosystem or operating system AFAIK. I'd love an example of the best case.

I feel like this is why things like Docker exist.

For a language like python, I'm not sure this is something you would really want to try to solve at the language level. Let's say you solved it for pure python code. You'd still have the problem of interfacing with native libraries and the OS itself. For instance, NumPy and SciPy are typically kind of a pain due to Fortran dependencies.

I think Docker is a pretty nice solution. I feel like for any language, any time this becomes painful, I assume I should either be using Docker or AWS+Chef. Disposable VMs essentially.

In a sense, virtualenv is a lot like a VM. It provides a reliable execution environment on demand without forcing you to have an actual different machine. And you don't have to deal with virtualization. But. . . it has its limitations. Because, if this is what really matters to you, you might really be wanting a VM.

Languages that run in VMs already (like Java) solve this problem a bit better at the language level. But Java dependency management turns out to be a nightmare anyway. This is probably just one of those hard problems. But if you really want reliable environments for just your app, I think it's going to be better in the long term to think about containerization and virtual machines instead of virtual environments.
So, with libcore, you don't have a libc dependency. With libstd, you do. There has been some interest in making it easier to port libstd away from it, but it would likely be a cross target, like musl itself, rather than an official move. We'll see what the future holds!
Agreed with Quandl being a good source for financial data. Their APIs are also quite well-maintained. Within Quandl, I've found Zack's to be a good resource.

I work with both Quandl and Zack's pretty frequently, let me know if you're interested in buying large amounts of data from Zack's, and I can perhaps get you a discount from the listed prices on the Quandl website.
There is a new trend, especially with virtualisation, whereby you push Layer 3 all the way down to the host.

In my case, at $WORK, we use a product called Calico with OpenStack. Calico turns our standard Linux machine into a router with BGP to advertise the IP's of the VM's running on it to the rest of the network.

We use BFD on the edge to detect failures other than link down (for example, if for some odd reason the SFP is still inserted and link is still considered up, yet the ToR is deadlocked and no longer routing traffic).

Pushing layer 3 down further means we no longer have large VLAN's spanning multiple switches and having a huge broadcast domain, it provides us with more flexibility in where workloads live, and traffic can be sent to the end nodes using ECMP and other types of load balancing.

Our network guys love it, they already know how to traffic engineer using BGP, this makes it even simpler.
> sometimes we need access to specific data attached to errors (e.g SQLSTATE).

Dave's post and my entire comment directly address this: Add a `SQLCode() int` method to the custom error, return `error` type and users can assert `codeErr, ok := err.(interface{SQLCode() int}); code := codeErr.SQLCode();` somewhere up the stack to get it.

But yes, the standard library's use of sentinel errors is unfortunate and can't be fixed.
Implementing your own recommender systems in Python
It's not a high priority task, no. (Though it would be quite interesting to see it done.)

On Windows and Mac OS X you shouldn't really avoid C libraries (kernel32.dll and libSystem.dylib respectively) because the syscall interface is considered a private API. (You can avoid it technically, and apps sometimes do, but Microsoft and Apple would be within their rights to break us at any time if we did that.)
Why do you think its so bad? Javascript and HTML are plenty fast, and if need something faster you have access to a raw GL context and associated APIs.
A short comic gives the simplest, most perfect explanation of privilege
But many don't see it that way. They don't think "I wish I was a woman" or "I should have been a woman." They think "I am a woman."
It moved her statements to the left (for now). I very much doubt that she's going to actually go through with things given her past history.

Examples: TPP, gay marriage etc. One could try arguing that she has evolved but MANY see her as just flip-flopping to what seems politically expedient at that time. Hence the tremendous amount of distrust.

Embrace incrementalism = let's make mediocre great again. Imagine that kind of mentality when it was announced that we were going to try to send someone to the Moon.

"Let's shoot for the moon!"

"Enh, let's just name an airport instead to build support"
That's really neat. I'm tracking with how you are getting everything but the year offset. Could you explain where that's from? (E.g. why is 2016 +1 and 2014 -1?) Is it just determined by anchoring at Thursday Jan 1st for 2015, and every year before/after moves the day back/forward one (adjusting for leap years)?
Not coherent I'd agree. The comment implied that prolonged exposure to sunlight would cause large amounts of vit D to accumulate, which would have certain presumed effects.

A couple of problems with that "theory". Vit D is produced in the skin by conversion of precursors on exposure to UVB radiation in sunlight. However, the amount of vit D in total is bounded by the quantity of substrate and rate limiting as vit D is produced. Therefore sun exposure never produces excessive systemic levels of vit D.

Furthermore, human residents of the biblical era in the holy land would likely have good vit D storage levels by default. Additional sunlight would not materially increase circulating D level.
It looks like the feature set is fixed on numer.ai? If so everyone's probably developing mega ensembles (this is what netflix's competition ended up as, with teams merging because their models did better together). Compared to quantopia, where you're responsible for feature engineering too (though numer.ai is probably easier to get started, since model selection is imo the fun part).
On nightly, we have the ability to swap out allocators. But I'm not aware of an allocator written in Rust that's as high-quality as jemalloc yet; it'd have to be pretty good before we'd move over. I'm not aware of any serious effort to write one, yet.
I've seen this comparison a lot but I have no idea what the significance is. Why does this matter?
The reason I like small smartphones (3.5-4 inch screens) is similar to this. It's a middle ground.

I won't argue that a 6.5" screen is great for doing stuff on, and you can more comfortably do more stuff on it than on a hand sized device. I'm just not sure why you'd want to.
This is just a negotiating posture. Read WalMart's web page. If WalMart had an alternative, they'd shut down all at once, not one store at a time.
There's no real reason for companies to do what you're suggesting. Why would retailers move away from their local currency? And even if they decided to do that why would they switch to something like the blockchain instead of just a database to track holdings?
Mutations that arise in aging sperm add little to autism risk
Aggregating Wikipedia Traffic Statistics
Yes, everyone's heard of RenTec, particularly those of us in the industry. Their existence doesn't seem seem germane to my point.

You were claiming that a little guy's edge won't be rapidly eroded by the market. This is only true if his trading strategy is uncorrelated to every other little guy's trading strategy. But this is unlikely. The space of unsophisticated strategies is not all that large.
I don't know about all humans, but western media certainly needs that image to schlep
Probably because WU is a money transmission network, so somewhat comparable to what Bitcoin does.
Anyone who disagrees with you must either be joking or astroturfing? How impolite.
In trying not to generalize to avoid falling into a fallacy I said most but the only one I came up at the time was Common Lisp, now I'm having a hard time thinking on anything else.
This is inevitable as everyone saw what happened at the litecoin halving last summer (if you don't pay attention to such things, it was a massive spike then dump).
I would agree with you about this particular thread, and I don't think it should be flagged, even though there's no new or interesting phenomenon to stories about Reddit "censorship" either.

But the stories about the shooting itself do deserve to be flagged. A line has to be drawn somewhere, otherwise Hacker News becomes Reddit without subreddits.

But Reddit already exists and is better at being Reddit than HN will ever be.