skysight-inc/HackerNews huggingface dataset:
"1. There are libraries for that."

Yes, but I just think unicode support is so pervasive its not something you should really leave up to a library in 2016. Still this is just my biased opinion as a developer who needs it on virtually every project.

"2. opam."

see: https://opam.ocaml.org/doc/Packaging.html#Publishing, - basically, I think requiring a PR on github to get a package published is not "dead simple".

Finally, the title contains "widespread adoption". There is no modern language on the Tiobe Index top 20 without those two characteristics except for possibly MATLAB and C# which both don't have good package managers as far as I know, but I could be wrong since I've never used either one of them.

The List: (http://www.tiobe.com/tiobe_index)

Anyway, I'd like to see ML get more adoption. I think fixing these things are more fundamentally important than some others such as web frameworks, etc...
It's that time of the year again, isn't it.

This year, I've been telling people that it's rude not to rewind YouTube videos when you're done watching them, so that they'll load faster for the next person.
I appreciate the (quick) response, bastian! I do like the UX of Postmates, and I hope this subscription service ends up panning out well for everyone! I don't think I'm in that target market for the subscription service just yet, but I will be excited when I am! Hoping you can ramp up the CX side of things, too. Best of luck to you and your team!
A loan to save your bank from collapse when no one else will, is a gift.
There are lots of holy grails in networking. PCells are possible today but there's basically zero business cases for rolling this tech. Consider that users don't want to pay more for faster access.
Some of the correlations are interesting and could be used for marketing purposes.

Ruby: CSS is 25.76
Python: CSS is 15.75

Go is gaining fastest adoption from C, Ruby and Python developers.
VS 2015 with R# is a pain.
I don't buy this narrative. It's been used for a while to raise funds to "scale up".

The truth I fear is, if the bottom of the pyramid cant afford a computer, how much do you think they are going to be spending out of their empty mobile wallets. And then some wise ass will say but look they are spending.

The truth is they are being manipulated into spending, just like the suckers who were tricked into mortgages they couldn't afford. Who else does one think is clicking the infinite supply online ads.
Oops that was an accident downvote, sorry :(
Hi there! I am the founder of MacroFab, and I'm happy to answer any questions. Quick summary though: we do US-based (in Houston, TX) assembly, we offer low-cost prototyping options along with production quantities all with real-time quoting down to the component level, build-box assembly, programming, testing, inventorying, and fulfillment. We have APIs to allow direct integration and we have a number of integration partners coming online this year.
That's only a problem if you use column alignment, as in your example. But column alignment isn't necessary in coding. It's quite possible - and easy - to write perfectly readable and maintainable code using indentation only and no column alignment.

Defining my terms a bit: By "indentation" I mean whitespace at the beginning of a line without any dependency on character widths. Extra whitespace in the middle of a line is "column alignment", and so is whitespace at the beginning of a line when the number of spaces depends not only on an indentation level, but also on matching other text in the previous line.

In your example, the "if" line uses indentation only, but the line beginning with "f == g" uses a mix of indentation (to match the indentation of the "if" line) and column alignment (the extra spaces to line the "f" up with the "a" above).

One good way to think about it is to imagine (or actually test) what the code would look like in a proportional font. If it still looks properly formatted, you're probably just using indentation. If the formatting gets messed up (e.g. the "a" and "f" no longer line up), you're using column alignment.

Avoiding column alignment has many benefits. If you ban it from your code, so many formatting issues go away completely.

I've written about this on HN a few times, so I'll leave the details to one of my previous posts:

https://news.ycombinator.com/item?id=10206860
The 5th and 14th amendments contain a due process clause. 49 states specify common law as the law of the land, which includes presumption of innocence. Louisiana specifies a civil code, which likewise includes presumption of innocence.

The SCotUS opinion in Coffin v US stated the following:

"The principle that there is a presumption of innocence in favor of the
accused is the undoubted law, axiomatic and elementary, and its enforcement
lies at the foundation of the administration of our criminal law.
...the exclusion of an important element of proof can be justified by
correctly instructing as to the proof admitted. The evolution of the
principle of the presumption of innocence, and its resultant, the doctrine
of reasonable doubt, make more apparent the correctness of these views, and
indicate the necessity of enforcing the one in order that the other may
continue to exist."

Locals can and do get overturned by the federals.
How difficult is it to install and maintain them? Is it something that can be installed by nonprofessionals?
Come to think wouldn't the keyboard that each keys give you 3 or 4 chars with one single action (push) speed up writing process tremendously??

T9 doesnt even come close!!!
I think the fact that Pop understand the point of resting players and his longevity in successfully building out teams points out how well he understands the game. Being a great coach with talent is one thing, but having talent doesn't translate into championships. See: 2012 OKC Thunder.
I briefly tried switching to Ubuntu on my desktop a few months ago after being unable to compile some CUDA project on Windows. Gave up after spending several hours trying to figure out why it refused to set one of my monitors to anything other than 1024x768. Linux is easily the best operating system for productivity, but there are still too many issues to make it as comfortable as OSX or Windows for everyday use.
I like OCaml, just.. Has it ever been anything which can be called a successful manifesto?

I, certainly, do not remember one for JS or Node.
Since so many people obviously need this functionality, I've created a reusable Python version here: https://github.com/vitaut/neverhappen
Not a good idea to use profanity/vulgarities in anything user-facing.

See: http://thedailywtf.com/articles/We-Burned-the-Poop
Juicero: Organic cold-pressed juice at the touch of a button
People have all sorts of moral rules. It tends to vary by culture, religion, and so on. Maybe you can abstract them all into some overall set. But you lose some subtleties.

But I also don't judge the moral rules that others hold. That's one of my operating principles. You can't judge without knowing that you're right. And there's no canonical source for that. I do have opinions about how well some moral rules work vs others. But that's not about judging, only assessing workability.
That seems to suggest that this isn't a fully-formed py->js transpiler?
If only OCaml was handled like Go is...
All the minor syntax issues in Ocaml are just that, minor. After a week of coding in Ocaml you won't even notice them. The operator underloading is the most annoying, but with modular implicits on the way that will probably go away.
>>>For example, CF is used to return stolen good to the owner. It's also used to keep criminals from using the fruits of their crime prior to conviction. Should a bank robber be allowed to use the money from their heist to pay for their defense? Should the embezzler be allowed to transfer the money in question to locations where the government has no jurisdiction?

Easy fix; hold/freeze the bank robber's funds (or the crack dealers house, or whatever other property) temporarily - if they're convicted, take it permanently. If they're not convicted (be that acquitted, charges dropped, charges never laid, whatever) they should get the property back. Anything else is ridiculous.
It's worth pointing out that Lisp is homoiconic, meaning that the code you see has the same structure as its AST, so writing a parser for a Lisp is pretty trivial and is part of the reason why this compiler looks super short. Other languages like C, however...

The "code generator" part of this compiler doesn't do much, since it only translates from one high level language to another, not machine code which would understandably be far more complicated, as other commenters have pointed out.

This is a compiler from an altitude of 50km in the stratosphere, and won't actually teach you much about real world compilers that do so much more under the hood. Sorry to be Mr. Cranky HN commenter (ok, I'm not sorry).
I've been using OCaml for system's programming for 6+ years,
and it's better than most other things we've tried. I guess any (mostly) functional language with a static type system based on Hindley-Milner would give the same advantage. This advantage is basically: the compiler acts like a neo nazi and slaps you mercilessly on the head whenever you do something stupid. So in the end, you can often get to the "if it compiles, it works" promised land.

The situation improved drastically over the last years with opam which allows easy installation of most packages.

What's still missing, however is

- decent multi core

- resource management for things other than memory. For example, bigarrays don't cause enough gc pressure, and can therefore leak space. Thus people tend to manage that manually (acquire, release) which is even worse than what a C++ dev can use (unique_ptr)

- decent profiling (yes I can leverage strace and callgrind, but they don't understand lwt)

- decent runtime inspection. (what are all theses values in my heap?)
I worked in Huntsville, AL once upon a time (for those who don't know, Redstone Arsenal and the Huntsville research park do a huge percent of the world's so-called "rocket science" and the city has the highest percentage of STEM people of anywhere in the world). Their university takes engineering pretty seriously (and is literally squashed up against the research park). Even so, things can be difficult.

If you get an internship with one of the big companies, you will very likely have a great career in Huntsville. If you don't, then you'll have a much harder time. There are only around 180K EE jobs in the US compared to a couple million CS jobs. The dropout rate for EE is huge and the pass rate for FE/PE exams is somewhat low (you have to become certified after graduating). Companies must take a risk to hire new people because the barrier of entry is so high, but even then, they are fairly picky about experience. How much more picky will they be about experience when they have more options?

The argument about having trouble with current school curriculum is a red herring. Just because they are already failing and need an overhaul does not mean that the overhaul shouldn't include an introduction to coding in middle school (and for the record, they need new curriculum, better teaching methods, and most importantly, parents who actually care about their kids enough to become involved in their day-to-day education).

I don't believe for a minute that everyone can code well enough to do it for a living any more than I believe everyone who takes English classes will make a living as an author. English is important for communication, math is important for calculating and thinking, and coding is important for focusing on creative logical reasoning (complementing math very nicely). Learning how to make a turtle go through an obstacle course will teach way more about logic than a thousand "word problems".

Most children will take such a course and walk away disliking coding, but hopefully with a little better logical ability. The rest will discover a subject they enjoy and increase their proficiency before college.
Meet the Startup That Wants to Bring 'Sanity' to the Job Hunt
Thanks for the reminder to stay off the internet tomorrow...
> One estimate was that in 85% of civil forfeiture instances, the property owner was never charged with a crime"

That needs more explanation, as large shipments of contraband that are seized would likely fall under that category. How do you charge the owner of a shipping container, or an abandoned boat, or illegal items left at the scene of a crime, when the owner is not present, or is in a location you have no jurisdiction, or you don't know who the owner is? You don't, you use Civil Forfeiture and seize the illegal goods without a criminal case, because that's the mechanism the law provides.
The multiple standard libraries thing also really cooled my enthusiasm last time I investigated the language. They really need to resolve that, or at least explain on their website why a newbie should not be concerned.
The mortgages themselves weren't the problem - the problem was the way they were allowed to be bundled into mortgage backed securities, which created a firehose of investment money piling in from Wall Street to the mortgage market, which created bad incentives to issue more low quality mortgages (NINJA - no income, no job, no assets).
Wasn't Panoramix already opensource?
And now I'm sad again that the DataHand is dead.
There's enough opportunity to go around. There was 1 grocery delivery place I was aware of for us (Artizone.com) and they shut down.

Postmates doesn't even deliver to my Dallas address, despite claiming to deliver to Dallas. What they really mean (I guess) is that they'll deliver to within a 5 mile radius of down-town I guess.

That's cool and all I guess. Maybe they'll expand eventually. It was actually a surprise that this wasn't yet another SV-only delivery service on the front-page of HN.
Trips That Combine Public Transit and Cars — Citymapper
We don't necessarily need a "programming class" in the formal educational style. We need introduction to the possibilities of programming, showing the magic of having their ideas come to life on screen, or personally modifying a running piece of magic. That's the sort of thing that hooks in kids of that age, not churning them through code boilerplate.

Another goal would be to break the mystique around computing and show that it's accessible to everybody, with just a bit of informing. Too many people who didn't get into computing early on are too scared to touch anything.
Licensing could be enough alone. We're auditing everything we use for license issues because we don't have to get bit by the GPL and have to opensource all our proprietary software. Even if C# was noticeably worse (for some arbitrary definition or worse), if it had a more permissible license, that alone could draw people to it.

(Note: I don't know anything about the Java / C# licenses. This is just talking in general.)
https://existentialtype.wordpress.com/2011/04/24/the-real-po...

... is this what you mean?

I revere Harper, but his anti-Haskell rants just seem unhinged to me.
Who cares. lint on check in.
This used to be a thing....

https://en.wikipedia.org/wiki/FrogPad

I'm not sure they ever made it too far but I always wanted to get one.
ONLINECENSORSHIP.ORG LaunchES FIRST REPORT [pdf]
Yes, but then it does the same thing and given I would not want to run Windows currently anyway. It seems at least it's just the same thing (Functions copies Lamdba etcetc). No reason to switch or find one 'better' than the other unless you are fully Windows. That's why I always thought they should just port VS to Linux/Mac OS X; then they are on to something.
The problem with civil forfeiture isn't actual criminals, it is what happens to everyone who is profiled as a potential criminal.

Today, we have it pretty good, but imagine being Italian during the hay-day of the NY Mafia busts. If civil forfeiture existed during that time, any man or woman or Italian decent could have been reasonably pulled over accused of being involved in mafia activities (gambling, prostitution, intimidation, etc) and have whatever cash they had on their persons seized.... even if they never got a conviction.

The police today are under a lot of scrutiny to not profile (though they still do it anyways), but crime rates are at record lows. What will happen if crime rates rise, and the populace becomes more willing to accept policing profiling as a preventative measure?
This shouldn't be a surprise: I think most HN members know that it's possible; we know that the rewards (incredible power, status, and everything you can get with them includig the spoils of office) are worth the investment (only $600K for this solution!); we know that there are many people, including politicians, unsavory enough to do it.

The question is, why do we pretend it's not happening until there's a smoking gun?

Consider the U.S. presidential election: The outcome is worth billions each to very many parties worldwide; it's existential to some foreign governments and actors; many in the U.S. have very powerful ideological motives. How much would it cost to hack voting machines? It seems very likely to me that it's happening, though I don't know where or to what extent.

I know I'm not the first to point out this risk, but why should we assume that the reported vote count represents the actual vote? Becasue there is no smoking gun yet? That's like assuming your critical network hasn't been hacked, and doing nothing to protect it, because you haven't seen evidence of an attack yet.
There is a keyboard similar to this, except it's even more strange. Introducing the DataHand : https://en.wikipedia.org/wiki/DataHand
Seconded. Yes, she was brilliant and a revolutionary influence to architecture.

I am adding this comment as a reminder to us all, that we will also be remembered by the way we treat people.
> This is a common logical fallacy. I'll explain.

No, it's not. I agree with you. (But perhaps didn't express that right.)
Continuous Delivery at LinkedIn – Gradle in the Enterprise
When I learn something completely new, the biggest obstacle is often finding a good source of information and path to learn it on. School definitely has it down once you hit graduate classes (and they often have free accompanying material!), but I'm not sure it's as good for basic programming skills. It's like learning an instrument, you have to work at it a lot and a one-on-one tutor would probably help a lot. What people do need are good exercises and a way to find reference material that is high quality. There's a ton of bad code tutorials and classes out there and its difficult to sift through.
Licencing issues?
It's not the same UI with React Native. It conforms to Native expectations (more or less) with each platform. It just wraps both of them in the same component name, and you can have separate files if you need to specify a parameter unique to a platform. So you still have platform specific code, it's just RN's approach gets you a lot closer with the same code.
Is the Black hole at our Galaxy's centre a Quantum Computer?
It's worth pointing out that they actually built the device and have a rough guide on how to build your own: https://github.com/google/mozc-devices/tree/master/mozc-furi...

It looks like they have the code to make it work with an arduino.

edit: edited to indicate it's real (instead of saying "may have built"). They aren't selling it, but you could build your own.
Reddit's 2015 Transparency Report omits NSL canary present in 2014
Thats not true, they have lone individuals who can live isolated in the wild. its just not a factually true statement.
I was shocked the other day to also discover that Cordova is also included in Visual Studio!
If you want to build the web with Python, IMO the emphasis should be bringing Python to the web. I think a more promising project is http://pypyjs.org/ - a Python runtime in your browser powered by asm.js

Listen to this podcast where the author describes the project: https://talkpython.fm/episodes/show/32/pypy.js-pypy-python-i...
This reminds me of something a friend of mine did once.

He had a structure that was getting overwritten with garbage due to an overrun somewhere else in the code. Rather than debugging and trying to find out what was doing it he just put "char temp[1000];" at the top of the struct to "absorb the damage".

I believe it's still running like that in production to this day.
reviewed by jon stewart:

http://www.cc.com/video-clips/q9k5o3/the-daily-show-with-jon...
That's still civil forfeiture, just an alteration for the rules in which it is allowed and how it must be carried out. Which is fine, and actually supports my position, which is that a critical look needs to be taken before we decide to just abolish it completely.

Really, I just think acting like there will be no negative consequences of abolishing it, or that the negative consequences will be easily outweighed by the positives, without bothering to actually bothering to look at the pros and cons is an unsupportable position.
Too busy to read all comments, apologies if it's been stated elsewhere, but a related remark: Whenever I interview a programmer, I ask them about their pet project at home.

I have yet to meet a good programmer that doesn't have at least one pet project developed outside of the office. Active development not required, just something that they put a lot of time/thought into. I ask them to tell me about it, platform used, problems encountered/resolved, things they've discovered. Fire in their eyes -> a big plus. A statement along the lines of "I had to stop because I dreamt about code" or they teach me something new -> double plus. Anyone who tells me "I don't program at home, once I leave the office the day is done" -> 'archived' immediately. 'School-coders' typically fall into the latter category.

PS I taught myself at ages 14-17 (Basic -> 6502 ASM -> Pascal -> C) then went to college (computer science BSc/MSc). Then the internet came about. Yes, I'm that old… No, I can't keep up with the latest and greatest either. Still have a pet project (or 10)
IMO, this is a good reason to use a provider that will let you use your own domain. I recommend Fastmail. I've been using them for a while and have been very happy with them. The chances of some spammer spoofing you@somerandomdomain.com are much smaller than with username@gmail.com.
Taking that as gospel, in a supposed 'free market' economy why does the US subsidize fossil fuels all? Does anyone have a compelling reason? Isn't absorbing the cost of the externalities enough?
This Is Probably How to Control and Engineer User Growth
$700 machine that makes an 8-ounce glass of juice
Congratulations!

I wonder what the right strategy would be? I guess start small and introduce sensible and simple voting everywhere you can:

- Shareholder votes in a company
- Where to go for dinner
- Vote for mayor in a small town
- ...

Most people don't even know that there are different voting systems, yet alone that some of them are vastly better than others. (It's like watching people play Monopoly, when they are much better games around these days.)
I think it's certainly an interesting project, but the goal of compiling to JS today is to be able to access the DOM and interface easily with existing JS infrastructure.
You misunderstand me. I'll grant that Google has data to back it up. I also think not being able to explain the underlying mechanism (IQ? curriculum? selectivity? exposure to Atlantic seafood?) leads to shallow thinking, false negatives, and possibly false positives.

I can't think of much about MIT that can't be replicated by a dedicated individual. And I think the industry as a whole agrees with that. There seems to be consensus that where a degree is from matters much less as industry experience increases.
Maybe drug dealers are the unsung heroes of drug law liberalization. The Drug War was arguably driven by racist and authoritarian goals. So dealers are arguably freedom fighters, rather than criminals. Maybe he killed some people, but I suspect that was in self defense.
Show HN: A project to keep myself up-to-date in my field passively