skysight-inc/HackerNews huggingface dataset:
I can't speak to other undergraduate programs, but it's taught as the second course in Computer Science (Intro II) at Harvard College [0]. That said, it was chosen because it was less popular than other functional languages (namely Haskell or a Lisp flavor), so everyone was likely to be starting on "equal footing."

Take a look at the OCaml success stories [1]. Unison [2] in particular stands out—it's essentially the only two-way rsync tool for Unix, and it's written entirely in OCaml.

The only corporation I know of that uses OCaml is Jane Street Capital [3][4]. They've been huge proponents since they switched over, but the movement doesn't appear to have caught on among many other US-based companies. (More complete list [5].) Jane Street recruits fairly heavily from Harvard for internships—presumably because very few schools teach OCaml.

[0] http://cs51.seas.harvard.edu/

[1] http://caml.inria.fr/about/successes.en.html

[2] http://www.cis.upenn.edu/~bcpierce/unison/

[3] http://janestreet.com/technology/

[4] http://janestreet.github.io/

[5] http://ocaml.org/companies.html
Stupid in any language
Initially I thought something along these lines as well. But according to the article, it was common practice:

> They’d followed his case in the newspapers and noted the shiver it had sent down the spines of Wall Street’s software developers. Until Serge was sent to jail for doing it, Wall Street programmers routinely took code they had worked on when they left for new jobs. “A guy got put in jail for taking something no one understood,” as one of them put it. “Every tech programmer out there got the message: Take code and you could go to jail. It was huge.”
How-to: Use Eclipse with MapReduce in Cloudera’s QuickStart VM
when you do

{
"_type": "int",
"foo": "123"
}

a JSON parser will always know how to represent that object. How you process that object is up to you.

However, when you write:

{
// @type int this is a comment
"foo": "123"
}

and you call JSON.parse(), what would you expect to get back? You can no longer represent it as a simple object, you need some way to access the comment, how do you do that? Moreover, whose responsibility is it to process the annotation in that comment? the parser's? Should you get back an integer rather than a string for obj.foo? how would you support different types of annotation? What happens if you're using parser A and your client uses parser B? Does parser B support all the annotations that parser A supports? If you need to modify a JSON structure, e.g. JSON decoding, adding a property and re-encoding, should the comments be preserved? ...

You can see that having comments introduces a whole host of other questions, ambiguity and would only make it harder for different platforms to share data. Avoiding this kind of cruft is why JSON is winning vs XML for most things these days.
Ask HN: Starting a web-dev business on the side?
Context: I'm a student who regularly (4 times per week on average) gets approached to make websites and apps for people. I have the skills and I'm willing to work. Note that I'm disregarding 'idea guys'. The people who've approached me all say they're willing to pay. My degree is non-trivial - Pure/Applied Math and Statistics so I still need to give time to it. I definitely want to create a revenue stream for myself and do web development part time.

I've thought about it and have a few questions:

1) Do I start a company and be the sole employee or work on a consultancy basis (individual)?
2) Should I have a set pricing plan or quote individual clients based on their needs?
3) What are some (non-obvious) things to watch out for?
Butterfly Labs doesn't seem that stressed at all even though they're nearly a year behind on orders, still shipping those from July 2012.
In chrome, the "Tab Count" extension gives you a quick way to find the answer.

https://chrome.google.com/webstore/detail/tab-count/cfokcacd...

In my case, 82. When the favicons start to disappear I open another window.
>This is the loudest "fuck you" Germany has given the US in half a century.

Perhaps.

>In 20 years time, we may look back at this symbolic gesture as being the first act in Germany finally ridding itself of the remains of US occupation.

Germany's demand for inspection of its gold and subsequent demand for repatriation of German gold from the Fed was not a small thing.
How would download manager browser extensions play into this?
Oh please that's complete garbage.

The code for SELinux that's in both GNU/Linux distributions and Android are all open source, and anybody can go and review the code or change it.

The existence of Linux on the desktop doesn't remove the threat of having NSA code built into your processor, but if you honestly believe SELinux is a backdoor then feel free to point out where in the source code the backdoor is located instead of spreading FUD for no reason. SELinux has nothing to do with what the article is talking about, that is, having malicious firmware baked into the processor at the hardware level.
What you do on your employer's computer on your employer's network isn't private. Maybe it should be, but we all know that it isn't. We may even have signed a form to that effect.
I think it's partly amazing (though it shouldn't be, given past work of his) that Munroe took the time to render time-accurate futuristic stars, and other details. His attention to detail is what makes this kind of sleuthing possible.
Not sure what "officially" mean, but Wiki says we are currently in at least 9 wars:

http://en.wikipedia.org/wiki/List_of_wars_involving_the_Unit...
I agree with the opportunities, though in this case it sounds like the OP wants to do both. In this case, maybe it makes sense to take the job, so long as the OP really intends to go through college.

There's a lot of companies who will pay you to get your degree. Most of the college degree reimbursement plans are for Bachelor's, though some are for higher education. He can go to work now, then work, and go to school and have someone else pay for it that's not his parents.

Very hard route to do both at the same time though. I know a few people who did it, so it is possible.
Wow. Naivete is a bitch... Or one hell of a drug, depending on your viewing angle.

And given his re-arrest on what appear to be spurious charges (1st set were thrown out on appeal), I can't help but agree with this comment on VF: "When Goldman says 'jump', the gov't says: 'How high?'"
then buy certified hardware. thinkpads work great. or go pre-install with system76 or zareason.. the new system76 (clevo shell) 14.1 pro looks pretty sweet (quad core, 16gb ram, half the price of a macbook pro, ubuntu preinstalled) https://www.system76.com/laptops/model/galu1
The top comment is even relatively insightful.
Could someone post timecoded highlights? I probably can't watch a 3h keynote as I'm not a gamer, but I'd like to watch the bits I'm interested in (like about rockets, Haskell etc).
> because after you're married you can't move to a new city every week.

Americans face this issue too.

> Also the other company that wanted to hire me didn't want to go thru the h1b thing.

Life is filled with disappointments; such is the nature of life.

> But mostly because I'm still a sucker believing in non written promises.

I am not clear how you are getting shafted because you are an immigrant then. An American who is naive would also get shafted.
One way to detect if your processor is bugged would be to run benchmarks. If the microcode is different, e.g. making backdoor operations between register accesses, your benchmark results will be different.

A battery of tedious, slightly-differing benchmarks would be necessary to probe individual instruction, but I don't think it would be possible to evade this detection technique. It's simply too hard to make a backdoor operations on top of regular operations without padding the original instruction execution.
Apart form the unilateral adoption of constitution that defined German citizenship by "blood"

If they where serious they should have scraped national ID cards
I disagree. The approach that Canonical advocated for Ubuntu won't help Linux desktop. It would help, well Ubuntu which only becomes increasingly isolationist with NIH syndrome on every corner. Unity, Mir etc, etc. The list will go on.

Jolla for example help Linux desktop much more than Canonical. They actually work on improving Wayland. I.e. they push mobile Linux using components which allow sharing the effort with the desktop Linux. Unlike Canonical.
Show HN - my mini hackathon group based in Manila
In Italy it isn't popular at all, but a couple of friends of mine use OCaml, mostly for hobby projects. And I like the language. It is more advanced than main stream languages I know (C#, Javascript), but, being strict, it is easier (for me) to reason about than Haskell.
> and this right here...is the reason that Linux has always been consigned to the ranks of the also-rans on the desktop. Someone will always come up with a reason why flavour x is better than flavour y.

No it isn't. The number of people who don't use Linux on their desktop, simply because someone else commented on a forum that they preferred one distribution over another, is utterly negligible. In fact, the theory is just ludicrous!
Read the post again. It displays, for each state, the most popular brand that originated in that state. Not which national brand is the most popular in that state.
Thank you for the details. It seems I've been living under a rock and this is new to me.

Just to make sure I understand ... the way this used to work is that you acted as an affiliate for another site (e.g. aff). They would pay you a commission for signups you generate. You then market on sites such as Facebook and get the affiliate fees.

As an affiliate, one is sort of a marketing firm for the web site. However, people abuse this setup by misleading clicks/signups.

Is this an accurate summary?

Edit:
Also, how does one learn about these affiliate programs? Word-of-mouth?
> It's all Just Worked.

Try making the fonts pretty on non-Ubuntu distros. Good luck making it "just work".
Why do you delete your bash history daily. For "security"?

He deleted his bash history (AFAICT) because it had passwords in it.

if you are entering passwords on the command line such that it lands in your history, then you "delete it at the end of the day", you're not securing anything.

you can turn off history for one command. That's better than deleting bash_history (well, I don't know what an auditor would say about that).

But you should be storing your passwords in secure files, not entering them on the command line.
The Irish terrorists didn't cease their attacks because of the British method of fighting them. They succeeded in bombing mainland Britain 14 times, and they caused more than 50,000 casualties including 3,500 deaths. London rail stations to this day have no trash cans because the IRA repeatedly left bombs in them.

They stopped their attacks when their demands were met.

I fail to see what you are advocating other than giving in to terrorism.
Then you set some env vars, compile a bunch of applications for hours and then realize that your env vars were wrong or you want to change them for some reason and you have to start compiling all over again.

Unless you want some console-only LFS. But that's not me.
What HootSuite's $165 Mil. Round Tells Us About The Size Of Twitter's Ad Biz
Hacker news for movie enthusiasts
Good, but if you really want fast performance, I'd suggest that you further cache those numbers in a local database and hardcode them into the page. If using Jekyll (or your favorite static site generator), you can have it go pull up-to-date numbers when you generate the site.

I've done this on some of my sites and it's wonderfully efficient. Most users don't care what the current count is and you can reduce page load times by dropping additional DNS lookup and removing the iframes from DOM rendering. You may not realize it, but these social buttons take a lot of cycles on page rendering engines so it's an easy win to reduce overall page load time. Assuming you can convince marketing. :)
Deleting users who have written nodes/comments can lead to access bypass
I like the calculator at http://mining.thegenesisblock.com/ better. Using the defaults for network and all that it seems to give around $23,000 profit for the year.
Restify definetly looks nice, thanks.
New open source CMS: no admin panel, 95% fewer buttons, works on WordPress.
I probably should have phrased that more carefully. GS appears to care little for Open Source principles.
US avg wage has declined in every demographic but increased overall
I only want Linux to succeed because I want there to be open software stacks, especially for poor and beginning developers. Android's implicit distribution of LInux core means a more secure open stack ecosystem (even if it is special purpose at the higher levels). The same is true for the fledgling ChromeOS. And actually, ChromeOS is the real next step and competition for "distros." I mean, does ChromeOS outnumber Ubuntu yet? How long will it take?
Citizen Effect Platform (Ruby on Rails) Open-Sourced on GitHub
I would assimilate it as writing a book. Writing the book is a lot of work, but when done it becomes "passive income" in the sense that you earn money while you sleep. Consider it as the opposite of earning money by installing radios in cars. There is no money earning while you sleep.
Fine, but as law enforcement, if you receive a tip that someone is acting suspiciously, it is downright irresponsible for that tip to not be followed up on.

Sounds like the problem here was the employer, not the cops. Heck, it sounds like they didn't even have a warrant to search - they asked if they could come in and the person said yes.
First thing that occurred to me while reading OP's post.

Your symptom list is accurate. I'm ADHD and can account for all of these traits, save for alcohol abuse (I dislike alcohol in general and only typically drink Scotch, on occasion, and socially drink with co-workers).

I'm 26 years old. I started my career in computing doing tech support. For at least a decade, I've been aspiring toward this ideal of "becoming a programmer".

What worked for years was convincing myself that I still had plenty of time and my lack of progress could be attributed to [excused by] my upbringing. I grew up in South Africa and was forced into the role of "man of the household" from 14 onwards. Started working full-time at age 15 (at an internet cafe, where I discovered some new vices called "starcraft" and "counter-strike").

I did not go to high-school. All that I am and all that I know is a product only of self-guided interest and study. My little job at the internet cafe granted me the gift of access to the internet after hours. After hour study sessions led me into a career in support and IT beginning at age 16.

Fast-forward 10 years and I'm in, essentially, the same position I was in at 16. I'm still in support, making a pitiable salary. I'm still struggling to manage basic essentials (chores, paying bills on time, getting to work on time, study, motivation), addicted to computer games and in a relationship with someone that I cannot stand.

What ADHD does that's so evil is that it both incapacitates you (unless you have a gun to your head - hence why I was able to pick up IT skills on the job) and blurs your sense of "real-time". The moment you allow yourself to baulk, procrastinate and so on, you essentially box yourself in more and more.

Recently I started amphetamine treatment. So far, it has had a fundamental impact on all aspects of my life. I've picked up SICP and I've started my journey. It's no miracle drug and I am struggling at every turn, but it had made focus-management easier. If you find yourself nodding at the symptoms list get diagnosed as soon as possible.
Initializr.com is a tool to generate basic html5 or bootstrap template to kick start UI Dev.
Printing an Aston Martin DB4
Google’s Science Fellows Challenge the Company’s Fund-Raising for Senator Inhofe
It wasn't a hoax. She genuinely believed the visit resulted from her search.

Why must we either mock or promote it. Just look into it, settle what the truth is, and move on.
These reactions are extra-funny given HN's propensity to complain about the long arm of the government, state-sanctioned monopolies, artificial restrictions on the free market, suppression of competition, etc.

It seems like some people want the government to GTFO of the way when it benefits them, but cry for government when the free market doesn't tilt things in their favor.
Thank you because parent link always landed me at http://hosted.ap.org/specials/bluepage.html
I completely agree.

Maybe it should be more incumbent on politicians and law enforcement to learn more about technology and incorporate more private citizens as opposed to just big corporations in the dialogue.

It's frustrating, I think everyone realizes that technology is going to become a greater and greater part of every day life in government and yet there hasn't been much of a push for elected officials to give a shit to do anything but fundraise with it.
Or when she loves his flag so much that she colors it red.
right now I have 326 open across 6 windows.

I started using Readability to add things that I wanted to read later.

Chrome is currently using 6.3GB of RAM

EDIT: I use CMD + OPT + Left/Right Arrow to navigate through the tabs

EDIT 2: Chrome handles this. I have never been able to accomplish this in Safari and/or Firefox. Even Chrome has issues with this type of abuse.

Edit 3: Doing a quick look over misc tabs it is mostly articles I wanted to read, Cocos2d-X and other programming documentation, e-mail, calendar, Readability a few Tumblr's I follow, SO, etc.
Why Microsoft isn't going to dump Windows RT
> Believe it or not, it turns out JSON parsers work the same way

Please don't do this. There's almost certainly some parsers out there currently that don't work like this, and if not, there likely will be one day.
H1bs can be transferred easily. I have transferred it 2 times myself. Once your 140 is filed you can extend H1b 3 years at a time indefinitely until you obtain your GC. So, whats the risk that you talk about?

Most of the H1bs that are denied are ones where the candidate work as a consultant (or a body shopper). I have never heard of H1bs of reputed technology companies being denied.
Auto-Favorite Tweets to Trigger Automated Emails to Thousands of Twitter Users and Hope Lots of them Follow You
Its very pretty. I stumbled across it when I was looking for a library to make management resource planning. Too bad its very limited. I ended up using CHAP links' Timeline http://almende.github.io/chap-links-library/timeline.html, which is an excellent, flexible library.
And what if I am advocating giving in to terrorism? That does not justify terrorism, as you seem to have said.

Sure, the Irish didn't cease their attacks because of how the British fought them. Likewise, various anti-American terrorists haven't ceased their attacks because of how the US fights them.
Thats what LCA is for. Not for you to decide, USCIS will decide it the candidate is displacing local talent. If they feel it is, H1b will be denied.
John Carmack on PS4 vs. Xbox One Specs: They're 'Very Close'
Building cloud images with Ansible?
I recently presented at AnsibleFest on some AWS and Eucalyptus-related orchestration topics. One of these topics was the possibility of using Ansible to build cloud machine images. I think using Ansible and its easy to read YAML syntax, together with some module developemnt could result in a very slick and easy way to cater for image building and management. Thoughts?

Disclaimer: the example in my blog post is purely a proof of concept :)
Terrible spec-violating hack aside, the idea of the author soliciting upvotes on StackOverflow doesn't sit well with me. I'd hate for SO solutions to become diluted by answers from users who are 'marketing' for upvotes.
As I’ve said in my comment down below: I agree. Canonical isn’t very beneficial to the ‘Linux desktop’.
>The police have no right to "ask" you for permission to search your home, as there is an implied threat of deadly force.

If the police are asking instead of saying "we have a warrant" and kicking the door down, it's because they don't have the necessary evidence and are fishing for some.

There is no implied threat of anything to those with the slightest bit of knowledge of how law enforcement works. This whole story could have just as easily went the other way.

>May we come in?

>I'd rather you didn't. Do you have a warrant?

>No we do not. What do you have to hide?

>I would rather not speak with you any further until you both have a warrant and I have a lawyer present. Good day sir. door shut

Respectful, yet assertive.
It's not surprising. The Zimmerman trial was an excellent distraction to get everyone's mind off of privacy and on to racial divisiveness. Now that the trial's long over, all that NSA stuff seems so distant in the memory of the average American. It was a brilliant move by the administration.
This has been my favourite facial scrub for over 6 years, glad that it isn't a culprit in this issue.
> Arsenic is poison, and poisoning one's food is attempted murder.

This is a very naive view. Pretty much everything is poisonous at high enough dosages, but there are plenty of poisonous chemicals that are not immediately harmful at low levels.

You can have a restaurant, a food manufacturer, a water utility etc. contaminate (intentionally or otherwise) their product with low doses of chemicals that over time will cause health issues or even fatalities.

The marketplace itself cannot regulate such abuses. Even if such contamination was punishable by law, the time lag would ensure that consumers would not realize the impact until long after, perhaps even after the statute of limitations has expired.

Just look at third-world countries to see how the lack of regulation works out. Or China.

> ... I suggest changing you patronage to a better place.

I don't know whether my restaurant has rats in the kitchen. How could I? The entire point of health inspections is to find out what the consumer cannot possibly find out themselves.

> Why do you think everybody else can't do the same?

Trendy, swanky restaurants are routinely shut down for doing very bad things behind the scenes. So clearly they can't.

Companies don't work for you; they work for themselves. If they have no incentive to be good, they usually won't be good; because, say, it's less expensive to be highly hygienic. You just have to look at the literature of consumer abuses to see how companies will continually, eternally act for their own good, at the detriment of consumers.
I'd guess it's a calculation in the order of:

We build 50, plug them in, make $500,000 in 3 months
We build 50, sell them all, make $250,000 in 1 month

But I'm sure they'll have a couple they keep for themselves, and plug in at the same time as the early deliveries arrive.
In the USA, there's a chance to completely revamp the government (well, Executive and Legislative branches, anyways) every 6 years. No anarchy required.
I, uh, one question please.

How is making something that farms humans for time and influence – while deceiving them into believing they're interacting with a human – sit with you morally?

Is it part of any future you'd like to imagine, on the receiving side?
We were taught OCaml in the Software Engineering undergraduate course at FCT-UNL, in Portugal, along with Prolog, C and Java.
I would think this would be common sense at any job - unless otherwise specified in your contract the work that you do for your employer belongs to your employer, full stop. According to the article he freely admits that what he took included proprietary code - that is theft.

Now, was Goldman reasonable here? No, we can probably all agree that Goldman and the government overstepped a lot of bounds chasing this guy down. That said, I don't think some form of prosecution was unreasonable.
The only thing I find odd is the deleting of the bash history. There are no passwords in there, unless you type one by accident.