skysight-inc/HackerNews huggingface dataset:
Ruby's Japanese heritage is probably why it handles encodings like that - I think there were multiple encs it had to deal with at once or something. Also Unicode doesn't completely handle all kanji in that there's some that have an old style not available in Unicode. But maybe that's not relevant.
Libertarian Says Social Justice Is a Cause and Effect of the Great Enrichment
Roomba VR
I am a happy NixOS user but am glad to see this project progressing and gaining a wider audience. It shows that the ideas behind Nix are solid and offer more than just theoretical advantages over a traditional OS (and its package manager).

I think a lot of people will get a taste of these advantages through e.g. Docker and Snappy and will eventually go all in with GuixSD or NixOS. These types of stateless software ecosystems will continue to become more common until eventually they are the norm.
I'm curious as to why you think this is the case. For one, users are fickle and attention greatly shifts every time some new social network comes out from complete left field. Facebook got Instagram, but they lost big on Snapchat.

Additionally, Facebook isn't doing so well in emerging markets, which have by far more volume in terms of number of users and purchasing power.
I was just pointing out that the C and Rust versions provided weren't quite equivalent.
He's also made a fool out of himself in very unashamed and public ways, and spread a lot of FUD. Windows XP raw sockets and Windows meta file come to mind. He's also said that Metasploit is a controversial piece of software that's main use is to develop malware.

Steve Gibson is a talker, even if he doesn't know what he's talking about. He will say whatever he wants and issue corrections later when he's been proven wrong. It's not a cheap shot. It's well documented, he's been called out on it for years, but he's still calling himself a security expert while simeltaneuously spewing bullshit, for 15 years now.

And "not current" in security means "useless", or sometimes "actively harmful". There is no way to call yourself a security expert if you're out of date.

http://attrition.org/errata/charlatan/steve_gibson/
finally a voice a reason!

I actually think the tech world's outrage is the equivalent of survivalist doomsday paranoia. In their minds once the evil government people have our data it's just a slippery slope to fascism. (the survivalist at least have their guns! so they can go shoot cops that day)

Of course grounding yourself in reality you should realize that a 1984-dystopia-scifi government is effectively impossible in an advanced educated society. While people are mildly annoyed by databases (and that's why nothing gets done to stop them) - people have always been outraged when the government abuses those databases. Societies that are way further along in terms of mass surveillance (ex: Singapore) aren't on the verge of dystopia.
huh? but ca and sf is two party consent?

http://codes.findlaw.com/ca/penal-code/pen-sect-632.html
Or, you could just eat glucose. You guys are complete morons. Why would you use a starvation pathway to force protein to create glucose so you can use glucose, when you can just eat some fucking fruit.

I can't wait until you twats pass away.
A better title would be, "The unspoken dread of Silicon Valley". Or else , "Yes they're coming for your job also". Possibly why this article has no previous comments
If we know the platforms they're running on then they could be detectable with deep-linked information via some Shodan equivalent, perhaps.
In Cory Doctorow's book Little Brother, the protagonist defeats gait sensors with some pebbles in his shoe. It's really not such a bad idea, as every step is going to be different as your foot tries not to hit the pebble too hard.
Abstract concepts that are necessary for software to be useful or practical are applicable despite the alleged changing environment. If they weren't, js/node wouldn't be reinventing these concepts, like package and dependency management. I think it's good to revisit occasionally to see if there's a better way, but my experience with node has always been an amalgam of cognitive arrogance and assumptions about how "those guys" (any other software ecosystem) built a needlessly complex and bloated or slow solution to a common problem. At the end, these solutions are equally complex or lack major features, such as security or stability.

I'll point to one major counterpoint before anyone else does though: JSON turned out to be pretty handy. I am glad we didn't stick with XML, although that's what browsers expected in the early 2000's (Ajax/xmlhttprequest).
What makes you think you could do that?

Given your stance, I suppose you would be OK with censorship too, assuming it was monitored by a soft paternalistic AI intended only to 'protect' people?

Unfortunately we don't have any AI like what you described, and history has proven time and again that governments abuse powers like this to their own advantage.
Implies "illegal" of what? The argument was that you can't smuggle cash because cash is a legal commodity. That's nonsense; you can smuggle anything. The prototype for smuggling is smuggling legal goods so you don't have to pay import taxes. Drugs have to be smuggled because they are illegal, but the goods being illegal has nothing to do with what makes smuggling smuggling.
From the HN guidelines:

Please don't submit comments complaining that a submission is inappropriate for the site. If you think a story is spam or off-topic, flag it by clicking on its "flag" link. (Not all users will see this; there is a karma threshold.) If you think a comment is egregious, click on its timestamp to go to its page, then click "flag" at the top.

Also:

Please resist commenting about being downvoted. It never does any good, and it makes boring reading.

Please read:
https://news.ycombinator.com/newsguidelines.html
> And on topic: Why can't the grsecurity patches just be merged into the kernel?

Because even apart from straight-up bugs like the one being discussed, they are full of design decisions that fail in that direction, by design. Given the option between accidentally allowing malicious code to work and accidentally breaking benign software, Linux upstream prefers the former; grsec prefers the latter. For grsec it is better to have a kernel panic than an information disclosure, if those are your two options; for Linux upstream the preference is backwards.

So if grsec is adding a safety option (in this case it was fundamentally caused by a check for integer overflow, IIRC, and getting things to work with that check), they're willing to risk breaking code and figuring it out later. LKML is willing to risk having the safety option not apply in all cases, but not risk breaking code that previously worked.

Working through the stuff grsec provides and making sure it fits the LKML worldview (i.e., it only fails closed when the risk of false positives is sufficiently low or the admin has an option), both in design and implementation, is slow work. But it is happening.
Ruby is phenomenally easy to write. This post essentially describes a way to make Ruby less slow, which would reduce the incentive to leave the language.

Once they port all Rails libraries to Rust, you can still use the extremely-ergonomic Ruby programming language, but it won't be "slow as hell" anymore. And ruby performance is "tolerable in most circumstances" as-is.

I certainly agree that it could be awesome to have Rust on Rails for those who would find even Rails on Rust performance intolerable, and Iron's abstractions inadequate.
This used to be the case, particularly when submitting forms on non-HTTPS sites. Well, not the court-of-law and Gitmo bits, but that the information could be intercepted. Old Netscape browsers and such.

Not so much these days.
In many cases federal law trumps state law. State law is likely to not be allowed to hinder a federal investigation. Typically the FBI isn't allowed to record conversations it isn't a party to without a warrant if you have a reasonable expectation of privacy. They are likely going to argue that there is no such expectation of privacy at a public bus stop.
> So it's understandable that he doesn't like somebody comparing of moving something you stole to moving something you earned.

Where are you seeing this comparison?
I was taking the point of "Why is the problem taking so long when it seems like a simple thing to calculate?" which was a little orthonogal from theme of the total post, so I can see why there would be some confusion.

The article talked about 30 minutes to run through a "is this set of items in this other set of a bunch of items".

While it would probably make sense to do this efficiently in memory the reality is the company mentioned are probably doing it inefficiently in memory; asking some tool which can do this type of work effectively and is fairly well known was my basic suggestion.
> My point is, this is some small potatoes 1980's style shit that is nothing compared to NSA Echelon

Absolutely. The "creep" factor of this however is more tangible to the general public so I imagine they will come under significantly more (relative to population size) pressure to answer for this.

Microphones hidden under rocks are much easier to understand and perceive as an intrusion and threat, compared to the nature of Echelon
> With Rails reaching version 5.0, there are plenty of APIs that are heavily used and extremely feature-stable. My goal with Helix is to eventually make it possible to reimplement a lot of these APIs as an native extension gem.

Sounds extremely exciting!
I'm sorry if this is only tangentially on topic:

I was reading the article and got to the part related to installing CUDA drivers.

I am currently on the market for a laptop which will be used for self-learning purposes and I am interested in trying GPU-based ML solutions.

In my search for the most cost-effective machine, some of the laptops that I came across are equipped with AMD GPUs and it seems that support for them is not as good as for their Nvidia counterparts: so far I know of Theano and Caffe supporting OpenCL and I know support might come in the future from TensorFlow [1], in addition I saw that there are solutions for Torch [2] although they seem to be developed by single individuals.

I was wondering if someone with experience in ML could give me some advice: is the AMD route viable?

[1] https://github.com/tensorflow/tensorflow/issues/22

[2] https://github.com/torch/torch7/wiki/Cheatsheet#opencl
I'm not the OP, but my portfolio and side projects have outright given me jobs before. Quite a long time ago I had a small project done in Java, but I built an XML file format for tracking all my stories, and an XSLT script for generating a burn down chart, calculating velocity, etc, etc. OK... XML and XSLT... I said it was a long time ago ;-). I provided a link to the Java code as proof that I could do some basic Java/Swing stuff, but everybody who saw it commented on the simple project tracking. In the end it got me a job with a small group who were having difficulty with that kind of stuff.

What I find interesting is that if you look at my projects on Github, they are not particularly well written and my portfolio/blog is almost cringe-worthy in how pompous it is. But I think that the fact that I'm always dabbling in something and experimenting says something about me as a programmer.

If I had to do another interview, I think I might point them to this: http://mikekchar.github.io/core-wars-kata/ It's me implementing core wars, one pomodoro a day (got up to 65 pomodoros before I got side tracked on something else). It's nothing special. There are lots of problems with the code I wrote and I did lots of stupid things. But it's an honest exposition of how I write code. I recorded everything with asciinema and if you increase the speed 3 times you can watch a pomodoro in about 5 minutes.

I should actually get back to that project because it was really quite a lot of fun :-)
I ran into this the other day. I couldn't justify paying $5 for the Android app.
Renting confers an enforceable property right.
Not to mention the subtle social engineering I caught on my visit - a little mail icon on the navbar, made to look like I have (1) new message.
How to Pull the World Economy Out of Its Rut: Warnings of "secular stagnation"
I think this may be partly because the internet is becoming a lot less anonymous. There are lots of things that I would not mind discussing online, but which I really don't feel like putting into the public eye, or having related back to me. They're pretty bland, honestly, but for many of them they're not things I'd like to discuss. Hell, even recipes for pork are something I'd rather not have popping up in my strongly Jewish grandmother's news feed.

I'd imagine most people have things like this, from innocuous things that might just get them teased at the office, like an obsessive interest in historical reenactment, to embarrassing things like health problems, to even mildly illegal things like enjoying weed.

Paradoxically, at the same time, the internet is getting more private. Because everything is tied to a real world id, and people don't want to expose everything about themselves online, things are moving to private forums. Things like closed facebook groups for friends, instant messaging, etc. Personal websites that someone put up and made open to the world out of their own interest are getting harder and harder to find. Blogs seem to have killed them, and now even the blogs are dying.

And it really is getting harder to be anonymous, as far as I can tell. Most major email providers really want some sort of information that ties your identity down, like a phone number. Same with a bunch of larger social networks. Forums seem to be dying slowly, and even there, often an email tied to a real phone number is needed.
Progressive stratification does not imply companies will disappear. We might well end in a situation where people "graduate" from one social network to the next as they get older. So preteens will start on Snapchat, move to Instagram when going to high school, then Twitter and/or dating networks in college, LinkedIn as they hit the job market, and eventually Facebook when settling down.

Most of our cultural output (books, films etc) works like that already.
Every time I need to center a div, I have to google how to do it. I really hope this site ranks above the fold... because i'm going to forget the URL, and in a few months i'm going to google the same stackoverflow answer I search for each time.
There's plenty around, eg: http://journals.plos.org/plosone/article?id=10.1371/journal....
How many platforms and frameworks have been completely ported over to a better language? There are many languages that have arguably succeeded PHP, and yet WordPress and Facebook remain on PHP, which would belie your assumption that "it may not take that much effort to [re]create [some framework] and get rid of [that framework's original language]"
Ask HN: What's your workflow for simple side projects?
Simple one page static pages that you may make small edits to (such as a simple web game or demo page), what's your setup for efficient deploys? Framework, hosting, uploading?
I think it's less that the web is terrible and more that the centralization of content to a few singular systems has made it very easy for junk content to be gamed to the top. There still is a grand amount of content out there but it does take significantly more digging to get to it.

Blogs for example are still striving very strongly, it's just that a lot of the content that you seem to desire (as I do as well) is buried past the first four pages of SEO items and various aggregation websites. It's like digging through strata of earth; for example finding good cooking blogs means you have dig through layers of Yummly, Cooks.com, Foodnetwork.com, and About.com search results. Then you have to drill through the various food labels such as Pillsbury or Kemps. Then you have to go through the chinese cloned sites that just scrape content and repost it along with thousands of ads. Finally, when you're down around the 20th results page, actual blogs start to pop up.

And exclusions in searches just aren't good enough. Every time you think you've excluded out the unwanted aggregate sites and food producer sites, you have thousands of auto-generated Chinese sites to prune through, or brands you've never heard of.

There is still great content out there after looking for it - the main methods of discovering this content has just been gamed and polluted. While Google, DDG, et. al. have taken steps to ensure that when you search for some content you get the most desirable result in a special pocket on the page, that's not the same as discovery.
We detached this subthread from https://news.ycombinator.com/item?id=11698213 and marked it off-topic.
I don't get it. If LISP is such an EPIC language why are there no major pushes from LISP community, or just showcase a piece of software that proves it.
I have been looking on internet about what makes LISP cool it's ideas about code is data, powerful macros and hell lot of bragging about being able to define your own syntactic sugar but can't find a single MUST HAVE piece of code that makes me say "I have to learn this". It's a ML age now and developers around the world are looking for such gems, but I don't see LISP picking up momentum (I did notice Erlang picking up momentum upto the point people feeling crappy about syntax invented Elixir).
I think you're onto something there with that comparison to survalist doomsday scenarios. Some people have very vivid imaginations and they fail to see how there theory is basically impossible and then when challenged they fall back to some trope about slippery slopes.
But it also provides bugs, as demonstrated. (As another anecdote, at least as of many years ago, grsec + OpenAFS led to frequent deadlocks that never happened with a stock kernel.) Now of course Linux has tons of bugs too as does every nontrivial patchset being merged into Linux. But grsec has a preference for risking bugs that compromise functionality / uptime but not integrity. Linux upstream has exactly the opposite preference.

On a desktop machine, a slightly increased risk to system availability is totally okay. On a server machine, it's a harder call, especially if the security benefit is only a defense-in-depth measure. For most servers out there, if they're running arbitrary code as an unprivileged user, something has already gone horribly wrong.
> Do you have a database of walking styles? Does anybody?

I nearly always walk around with a 3-d accelerometer which can indeed "phone" home.

Here's the ML extraction mechanism as explained by a Samsung engineer - http://www.slideshare.net/satnam74/the-fifth-elephant-2013-t...
Unicode now handles all the Kanji in JIS. I wouldn't be surprised if Ruby predated that. It almost certainly predates good library support for all the Kanji in JIS.
Typically you should pass raw pointers (constness depends on your use case...). I can't really think of a scenario where the method/function needs to be coupled with the pointer type.
20 years ago, perhaps. But 30 years ago, you could buy workstations that were programmed in Lisp all the way down to the metal: https://en.wikipedia.org/wiki/Symbolics
It's also eerily reminiscent of the Stasi era. Just take a trip to the Stasi museum next time you are Berlin and perhaps you'll freak out a little too.

https://www.amnesty.org/en/latest/news/2015/03/lessons-from-...
Except that's just an image, and the driver never drove with it on the streets for obvious reasons. Did you even read it before posting?
numpy/scipy super easy to install (apt-get install python3-scipy) if you are not trying to link it to a manually compiled ATLAS/MKL. Otherwise you have to download and modify config files to point to the lib in case of MKL and update alternatives for libblas/liblapack for both MKL/ATLAS.

Cuda on the other hand is annoying because you have to both make sure the driver works with multiscreen setups and that cuda links against that driver correctly and uses a specific gcc version.
> fascistoid retards

This breaks the HN guidelines, which ask you not to call names in comments. Please reread them and when commenting here, post civilly and substantively or not at all.

https://news.ycombinator.com/newsguidelines.html

https://news.ycombinator.com/newswelcome.html

We detached this subthread from https://news.ycombinator.com/item?id=11696759 and marked it off-topic.
I don't use Google, and prefer they not keep tabs on me all the time...but I think governments have a much...much worse track record on suppressing people than corporations. Google can be wiped from the earth by merely a new invention or a shift in the market to a better product...or financial fraud. Pretty hard to up root an entire legal structure and apparatus that grows every single year and has the ability to jail you or kill you.

What I find terrifying is corporations like Google that have all of this data working hand in hand with the government. This creates two problems, a) the government now has tons more data they shouldn't have giving them more authoritarian abilities and b) that company now has immense lobbying power and can stifle competition for its mere deep relationship with the government. Basically, fascism.
In California it's two-party consent.
What would be more interesting is the internals of numpy. What is it that makes numpy 'blazing fast'?

Instead, there is only high school level math in the article, with dot products and matrices and so on.
It's unusual to the point of being unbelievable for Lincoln High.
What elements of modern chemistry (and practical impacts) flow from QM specifically?
Why? One wants you to look at ads more relevant to you than random placement. The other wants you to stay in line, not question your leaders, accept the oligarchy, and if you don't, your life will be made a living hell until you are rendered neutral.

Yeah go government.
This is a nice fundamental introduction, but where would I go to see how to actually run code?
See also the Lisp Curse:

http://www.winestockwebdesign.com/Essays/Lisp_Curse.html

https://news.ycombinator.com/item?id=11174946
> But it also provides bugs, as demonstrated.

I agree with it in general, but wouldn't go with the same conclusions. Upstream linux also sometimes results in random deadlocks and issues that people try to debug for weeks. That's what the rc cycle (6+ of them usually) is for.

The unstabilities of grsec are kind of a side-effect of not many people looking at it. If this change happened on lkml, I'd bet someone would pick up the OpenAFS issue earlier. I don't think anyone from grsec team would be actively opposed to more users testing the releases.
There are several things you could take away from Lisp. I don't think you caught the good parts yet though.

My idiot instructor for comparative programming languages set me back years in understanding the cool parts of Lisp. He focused on "List Processing", which seemed pointless to me because lots of languages have lists... (I work with him now, so I'm allowed to call him an idiot)

You seem to think it's about the function calls. Maybe you had a bad instructor too, and he focused on "functional programming", which is all the rage for the last decade. I dunno, maybe you came to that conclusion on your own.

The thing I now think is wonderful about Lisp (Scheme for me), is that you can write your program however you want. If you want to use switch statements, and your language doesn't have one (Python), just make your own:

(switch foo
(case bar -> (do whatever you want))
(case hmm -> (do something else)))

Some languages have backtracking:

(backtrack
(keep trying)
(different things)
(until it works))

You just can't add those kinds of features to most languages because most languages are not programmable...