skysight-inc/HackerNews huggingface dataset:
If I type 'mplayer ' and press tab in a folder with only one video file, but multiple text files, does this shell autocomplete the media file? It's pretty frustrating that even the most basic stuff like these are not enabled by default on your average Linux distribution. I wonder if everyone simply stopped developing unix shells.

I'm aware that one can install support for proper autocompletion by installing additional stuff. That shouldn't be required, smart autocompletion should work out of the box. I don't want to configure and/or install stuff for every single application that I use.
I agree with you until last paragraph. As I said in another reply, I think that this law is based on economical protection of the two main political parties.

The lack of knowledge of foreign languages is clearly a issue. I think that our country is solving this making B1 mandatory to get you graduated and enforcing bilingual basic education on the capital. Not so much, but it seems to start giving some results.

We have to watch doubbed films when we're in groups because this problem. I know people that prefer original versions, but you can not exclude your friends when social watching.
Delphi could of been a competitor, but there's barely any books on it. Also it was way too Windows centered, they should of invested in other platforms. I'm surprised they never bought out FreePascal and developed both a free and open source version of Delphi and a commercial version of it. Oh well. I really don't like some things about Java, but that's because I'm spoiled by C#.

I work at a programming lab as a assistant or tutor to students, I usually find myself helping people with Java the most, and it's not my strongest language, but I still manage to figure out my way around it.
Oppress is a synonym for subordinate as used by the US Civil Rights Commission. So why don't you people calling me a troll use the word oppress for your white condition instead of pulling out magical meanings for racism.
I purposely avoided explaining it to demonstrate a point: the average user doesn't know this or understand it. They understand the outcome only.

Sorry, you are 100% correct with the SSID vs MAC. If I'm in my car with the handset externally powered, does it use course location or does it use all three sources because on KitKat on my Moto G, it gives me the option to use all three at cost of battery life?

I disagree with your assessment of the location ability. It's definitely better than you explain it. I can go through at least 100 previous data points in my history and it's spot on each time.
Mediocre programmers can learn scala, and the idea is that over time scala can help them become less mediocre. Or at least shift the bar in the right direction.
> a crime and punishment issue, but rather one of public health

Not disagreeing with anything you said, just providing a thought.

Common opinion dictates that we need the state to take care of public health; thus, in common opinion, public health is an issue of crime and punishment.

If you take it as a principle (as I do) that we need sepration of state and public health (as with church, as with education), it has interesting implications.

Update: Most glaring example is Obamacare. You have to pay a fine (punishment) if you don't get insurance and it imposes massive burdens on doctors. I am only adding this because I got massively downvoted. I guess people didn't understand that what I said was just a matter of fact. Our society does support the idea that public health is actionable on a "crime and punishment" level and in general that is still the modus operandi.
>It's better to just bury it, as safely as possible, and then remove all outside traces of existence.

Seems quite rude to leave unmarked radioactive waste lying around where future people might stumble over it.
I've got to query this, I don't believe antibiotics like penicillin cause any motor/visual impairment
The first time I smoked marijuana I was 13 years old; prohibition doesn't work, and while MJ has its burdens, prohibition has far more. We should focus on treating the addicted as human beings needing help rather than criminals to be thrown into prison.
How well does node.js work on embedded devices?

Could I run this on my OpenWRT router (560Mhz ARM, 128MB RAM, 8MB flash)?
We have plenty of negative names for alcohol and tobacco, though. Booze, fags, etc.
We are making custom patterns! We use over 14 measurements for each shirt -- everything from chest to shoulder slope.

Solid black has been a big request -- we ran out but are working on getting more :-).
Yeah it would be great if nobody agreed to commit any violence ever.

But until that point, it's nice to have some soldiers on our side who can liberate your country if the other side does decide to fight, or special forces to rescue you if you get kidnapped in a failed state by some people who decide to fight. And let's hope they're intelligent, disciplined, responsible and care about your life.
Isn't prevention better than cure?

People keep saying "prohibition didn't work" but I'm hard pressed to find a conclusive paper on the subject. Perhaps you could enlighten me?

Edit: Ask for proof/sources = down vote. Hey everyone, fuck science.
A Graphical Tool for Working with Streams of Data
I think more importantly is that this is just another in a long trend of signs that people are not scared of saying marijuana should be legalized anymore.
Bash Completion[1] scripts are what provide this feature; perhaps fewer Linux distributions are including them. I recommend keeping them in your dotfiles[2] and loading them in your .bashrc[3]. This is nice because Bash Completion operates by filename, meaning you can take any project's bash completion script and install it at `$bash_completion/completions/script-name`.

[1] http://bash-completion.alioth.debian.org/

[2] https://github.com/oinksoft/dotfiles/tree/master/lib/bash-co...

[3] https://github.com/oinksoft/dotfiles/blob/master/bashrc#L22-...
Doesn't that depend on how far my neighbour is away? Perhaps we have 500m long gardens...

The analogy is valid as is "pissing over my fence onto my head", "kicking a football through my greenhouse", "catapulting dog shit into my garden" etc etc.
You need to have an extremely addictive personality or have some completely lack of self control to become addicted to marijuana, meaning in your logic we would have to ban coke (the black drink), donuts, cooffe and one hundred other substances that can kill you if you abuse them hourly.
The easy way to learn web frameworks (TodoMVC-like project for server-side)
> The risk of driving after using marijuana is comparable to the risk of driving after using penicillin

Source? I would drive in neither case, but I certainly feel far more able to drive after a penicillin than after a few drags off a joint.
As trevyn mentioned, we have both options -- shirtless or a contour fitting shirt. We've found there's no accuracy difference.

You can't wear a normal, loose t-shirt or shirt; that unfortunately destroys our accuracy.
> because they are addicted to marijuana. It definitely happens, don't kid yourself.

As a somewhat-in-denial marijuana addict that now recognizes the health impact it has had on me over 10+ years of regular use, and have seen lots of people placated by marijuana use I think you are assuming causation where there is only correlation. I'd consider myself somewhat high-functioning, but often wonder at where my mind and body would be today had I taken better care of myself (now that I'm in my 30s).

More to the point though:

> selling bottles of cheap vodka at the grocery store 24/7 is setting up a lot of people who are trying to get clean and recover their lives a lot more difficult.

If a well functioning government is thought of as a securely-running application, outlawing cheap vodka at grocery stores at 2am is like monkey patching. Allowing monkey-patching into production creates vectors for bugs. Allowing the state the outlaw victimless crimes is like allowing monkeyh patching in production.

If the problem is that there are people who are abusing themselves by drinking too much vodka: then using resources to find and help those who need it, and separating the ones who are causing harm to others from everyone else, is going to be a better long term solution.

While the idea of "lets just make it really hard for people to get vodka, then they will drink less.. problem solved!" is great, the reality is that sometimes people will go to great lengths to get their vodka anyway. You just created criminals out of the very people you were trying to help by legislating vodka distribution laws.
First taxing the sun, now this. EEUU, please invade us.

It's ridiculous how fucking idiotic our politicians can be and people still keep voting them.

EDIT: Typo.
We learned the hard way: by people dying. They're trying to avoid a future people, who may have forgotten what we learned, from learning it the hard way. Again.
Right now, you can only see our selection in the app. The website right now is essentially a landing page to drive you to the app (where all our functionality is).
Citation definitely needed. I don't recall feeling the slightest bit impaired after taking penicillin.
> filtering / censorship of results

Could you please elaborate on this one?
> in common opinion, public health is an issue of crime and punishment.

Mh? It isn't illegal to get an STD, and you don't get punished for having an STD; yet our society actively tries to limit STD transmission. Not sure I'm understanding what you're arguing for/against.
You consider a $69 shirt elite? I've paid about that for every non t-shirt that I own. Hell, even my t-shirts are about half that, but that might be a function of my size.

Shit, my ex-wife would pay $150-$200 for what I'd consider to be a basic blouse without even flinching.
Spain's politics just keep going lower and lower. I wonder how much longer it will take untill we are kicked out of the EU.
Fair points.

Regarding your latter points, I assume you have never talked to NHS mental health staff who have to deal with addicts on a regular basis? Not a pretty job and actually puts you right in there to see the effects in action.

I fear no one, but "freedom" should always encompass the ethic of reciprocity.

That point is what's missing from all discussions on the subject otherwise it is just self-interest.
"The police don't go around locking people up - they do slap wrists and that keeps it under control"

Perhaps that is why you were downvoted. Note the NYT is an American newspaper, and was addressing marijuana policy in the USA. You may be unaware of the consequences of drug prosecution here (losing voting rights, prison time, lost professional opportunities, propery seizure, and so on), but given the difference your blithe dismissal sounds ignorant and insensitive.
I don't understand what you are trying to say. The state can take care of public health issues without making them into issues of crime and punishment. There is an entire government agency (CDC) devoted to just that.
i seriously don't get why the newspapers don't want people linking to them. what am I missing?
Kind of off topic, but can we talk about how beautiful of a webpage that is?
Ok this is good. I have been facing the same problem. I did fizzbuzz, we have the quiz I also often ask about he "favorite" or most challenging "project", but I don't dwell enough on it. But now I think I should. I like this, I will have to steal this idea.
I see this kind of passion about personal projects and excitements about doing something only in the programming field, maybe some other fields, but never fields like dentistry or civil engineering.

Am I missing something? What prevents people from other fields from having "personal projects" to be excited with?
Agreed.

Why do you think that doesn't happen?
PythonJS: convert Python to JavaScript, Dart, Coffee and Lua
So what? There's a whole world of software discussion out there besides HN.

Plus, HN definitely has its fair share of "the only thing written in Haskell is Haskell" commenters.
White people can and do experience this. I have experienced harassment by blacks because I am white. Never a physical attack, but certainly verbal slurs and taunting. Am I therefore morally justified to have a predjudicial opinion of blacks, because a few anonymous ones have harassed me?

There isn't any institionalized discrimination in the USA any longer. There's a perception of it, but that's largely self reinforced. It's easier on my ego to tell myself I didn't get a job because of my race, rather than because another applicant was more qualified. Yes, there are individual prejudiced/racist people of all races and there always will be. But the institutionalized discrimination is gone.

You say that "people see me and think all sorts of things about me because of things beyond my control." This is just reality. People judge others based on looks, whether they are obese, skinny, muscular, how they dress, whether they have facial hair or wear glasses, whether they are naturally or deliberately bald, how they carry themselves, how they execute a handshake, and any number of other things.

Do you really give an automatic free pass to people who are involved with or support any idiology as long as it's in the cause of self-liberation? One of the other flaws of humans is that they are easily swayed by charasmatic leaders promising freedom from oppression. This often ends up badly for the supporters themselves when their leader turns out to be a tyrant, or for the people the leader set up to be the scapegoats.
The state has methods at its disposal other than crime an punishment. For example, they can try to influence the behavior of their citizens by education or taxation, like they do with cigarettes or alcohol.
> You don't think the chain of command respects those under it?

There are plenty of things to suggest that, yes; from this particular article to, just for example, the news coming out of Guantanamo, or the way that military whistleblowers are treated, or the fallout from military atrocities in Vietnam (invariably blame was heaped upon the soldiers on the ground and not allowed to sully the sleeves of the officers who gave them their orders).

Of course "the military" is not a monolithic entity, and good people can both go into it and come out of it. But your "only chefs are allowed to judge food" argument is fallacious. At its worst, the military can and does do horrible, horrible things, and you don't need to serve to be able to see that.
This is incredibly prescient but then again Harry S. Truman said a long time ago "The only thing new in the world is the history you don't know". It seems that all corporations travel the same historically beaten path.
Hey man, I share your fear. I hate cars. I hate driving.

I live in the SF Bay Area. I work in downtown San Francisco. When I lived in SF proper, it would usually be faster to walk somewhere than drive, because of traffic. Then factor in finding parking. Then factor in paying for parking (upwards of $10/hr anywhere important). Add the stress of driving in dense areas, moronic pedestrian tourists who wander into the middle of the the streets, cyclists who seem to have a death wish, and other drivers who act like it's an aggression competition

Now I live across the bay (I got gentrified out of SF), and it's even worse. The freeway nearest me is bumper-to-bumper stop and go across 5 lanes of traffic, for 3 hours in the morning and for 3 hours in the evening. Everyone is just as aggressive, but the speeds have quintupled.

Bignaj mentions freedom. Shortly after buying my car, I went up to Portland for a conference. I thought, FUCK YEAH ROAD TRIP. Well, for one, turns out 11 hours of driving in one day is hard. I looked at the radio at the wrong moment and almost killed myself. I burned about $250 worth of gas round trip. And once I got to Portland, parking was $30 a night. After the trip was over, when I came home, I priced out airplane tickets. A round trip for both my girlfriend and myself, was cheaper than the cost of gas + parking in Portland. It would have saved us the better part of a day's worth of time (at Bay Area tech salaries, $400), and it would have given me a 100% reduction in near-death experiences. Maybe it's because I'm Canadian, and used to Air Canada prices, but airline travel is so cheap in this country that, for the vast majority of places people want to go, flying there is cheaper and easier than driving. I don't see how car = freedom in that regard.

I own a car. I wish I didn't, but I already have it. It's paid in full, I have a flawless driving record so insurance isn't that bad. I like going on day trips hiking. I've run the numbers, renting a car every day I want to hike would be cheaper than buying the car, but the car is already bought and depreciated at this point so too late on that. I would've traded my car for a smart car or scooter years ago if it wasn't for that. And I'd be doing without that if I could afford to live in a walkable place here.

Cars are horrible, and most utilitarian arguments for them are terrible.

And P.S.: That horrifies me too. Every 3 months, one 9/11 worth of americans die in motor vehicle accidents. We haven't declared a war on driving yet
By EEUU did you perhaps mean the US? (EEUU is the acronym for Estados Unidos in Spanish)
One of These Monets Was Made by a Nanoprinter
Same here, had no idea about this. News are just a diversion (basically just 30 minutes of sports) to keep people "busy" while they (politicians) keep doing whatever the hell they want.

Thanks to OP for posting it here.
I was one of those downvotes. I did so because I felt that your comment was just inviting unnecessary drama into a discussion by stoking language flamewars.

I'm not anti-Scala—I develop in it every day and think it's a great language. But bashing a strawman like that isn't going to win anyone over.
Please actually read my earlier comment: https://news.ycombinator.com/item?id=8090097

Here, let me quote it for you: "With optimizations disabled, I tend to see a 30% to 40% reduction in compilation time when using LLVM/Clang instead of recent releases of GCC."

Do you see the first part? You know, the part that goes "With optimizations disabled"? Do you see it?

I'm talking about running both LLVM/Clang and GCC with optimizations disabled. -O0. Even with optimizations disabled, GCC is still significantly slower than LLVM/Clang on all of the various C++ code bases that I have tried it with, and especially those that I work with on a daily basis.

How are we supposed to have a discussion if you aren't actually reading what was written earlier?
I spent some time looking into it. Quoting a customer in Europe 1 price (pre-VAT) and then they need to figure out how to pay the extra VAT separately didn't sit well with me. So I want to figure out a way where the customer wouldn't get a 2nd bill when his shirt arrives. This started to get complicated, so I unfortunately have not been able to get to the bottom of it yet.

If you have any advice on how to ship to EU and pay the taxes on my end (so the customer doesn't pay something separately), please let me know!
10 تقنيات من شأنها تغيير أجهزة الكمبيوتر خلال السنوات القليلة القادمة
Damn, my bad, yeah I meant the US. It's a bit late here 02:00 AM and I need some rest.
I for one do not want a nanny state. I would much rather have personal freedom to do what I want with my body rather than sitting down to a nice hot government ration #323. There are some things that make life worth living and not all of them are good for you.
If that means that I have to pay higher taxes then so be it, that is already the price to pay for living in a welfare state. In any case any perceived burden can be offset with a vice tax.
In studies marijuana has been shown as less addictive than caffeine. Sure people can use it to waste away their lives but unlike alcoholics they are making the choice to do it. Everybody has things they struggle with. Junk food. TV. Alcohol. Tobacco. There are many, many ways in which you can waste and ruin your life. Adding one more to the list isn't going to make a huge difference. Not to mention the fact that many lives are ruined because people are prosecuted for using marijuana sensibly and causing no harm to others.
There's no hypocrisy there. The law appears to be based on the idea that sending the article on social media should produce money for the article writer... obviously this would be a reason to encourage flowing the article out to social media rather than inhibiting it.
You don't know what you're talking about, I bet that you are not a stoner.

I've been smoking for many years, and have many friends that do. The majority of stoners will tell you that it's very safe to drive while high. Why? When you're high each and every one of your senses are heightened, making you more 'aware' of things going on around you, making you a safer driver. And in addition, the feeling of slight paranoia usually makes you drive pretty slow and careful. I have no studies to back that up, but most stoners generally agree on this.

Never heard of one single incident of smoking and driving causing accidents. Alcohol and driving on the other hand, oh boy, been there done that, never doing that again (irresponsible teenager at the time). Vision blurry, misjudgement is distance, etc., very dangerous side effects for driving usually only associated with alcohol, and not marijuana.

Btw, I'm one of those productive stoners, can't stay away from my programming hobbies when I'm high. I enjoy marijuana, but I'm not exactly an advocate of legalization. There are many dangers with Marijuana from my experience, but driving certainly isn't one of them.
I've heard anti legalisation advocates suggest that prohibition of alcohol would indeed be a positive thing and were alcohol a new drug then it should be criminalised. However prohibition attempts (of alcohol) are doomed to fail because of how much drinking is entwined with our culture. For example pubs or bars being focal points of the community, wine being a common meal accompaniment etc. Marijuana doesn't have the same culture built around it , except for a minority of stoners.
Ironically this comment is probably the only "on-topic" comment in this entire thread, considering that this is HN. :)
"It has yet to surprise us."
Inspired by Sacred Economics, Kindista is an open-source social network designed to help people share with other people who live near them. Check it out at https://kindista.org/ and/or the Common Lisp source code at https://github.com/kindista/kindista
Good project. For the sake of putting all your data into the web this is awesome.
Thanks for explaining this, I didn't realise this was the case.
Hey, light up dude. Take a puff, you'll see how fallacious your comments are.
It's now on my radar. Thanks.
This is true. But at the point where Java broke out, there were a lot of big businesses behind it.

For instance even though Java 1.0 was released in 1996, IBM got on board in 1995 and by the start of 1997 had contributed good internationalization. (See http://www.icu-project.org/docs/papers/history_of_java_inter... for a reference.) By late 1997 when I became a software developer, there was already a feeling that Java was "the official corporate future of the web". (At least by those who didn't expect Microsoft to take over the world.) But in the meantime would I mind learning Perl and CGI to teach my co-workers how to get small stuff done?

I never looked back. :-)

ADDITION: See http://articles.chicagotribune.com/1998-09-11/news/990112009... for an early timeline. Note the many, many corporate licensees very early in the process.

The truth is that everyone was deathly afraid that Microsoft would destroy the industry. The web was seen as a godsend, and the fact that Java wound up tied to the web by Netscape right at the beginning meant that everyone jumped on Java with the web. By the time the dust settled, you had a ton of big corporations involved, and it was guaranteed at that point that the language would evolve to suit their needs.