skysight-inc/HackerNews huggingface dataset:
I wrote about 10kloc in Kotlin for internal testing framework. It is heavily multi-threaded and Kotlin aced here (compared to Scala).

Java8 brings lot of legacy stuff. It feels like authors just wanted to add 'functional' on feature list. No type inference or named arguments.

I think it is better to compare Kotlin to Groovy or Scala. In both cases it is simpler and more elegant language.

I found two problems with Kotlin:

Not mature yet. It is surprisingly stable and bug free (compared to Scala just 4 years ago). But some features are not designed yet and are missing (for example getters handling). Those will be added in some future milestones. Also I had to write some boiler plate code which should be in standard library.

Nullability handling is strictly required. Most of classpath API is already annotated, but I had to annotate external libraries I am using.
Why was the Issues tab removed? http://i.imgur.com/9jCrGY8.png
I don't agree with this at all. What is and isn't 'real' math is subjective and very hard to quantify. The 'feel' of mathematics depends on the field but people are often overwhelmed with the level of rigour required to communicate mathematically as an undergraduate. Saying Mathematics isn't precise seems really ill-conceived, Mathematics is very similar to Computer Science in terms of language: one can take a level of abstraction of a concept which simplifies it so that it is understandable.

Saying that Maths classes are irrelevant in a workplace also seems ill-conceived and basically to be personal conjecture.
And you sound foolish. He wasn't proposing any of these things. Read his post again, this time properly.
Agree. But! You're going to need to find a way to untangle which investor owns which mortgage (these are derivatives after all). I'd say you get 90 days as an investor to respond; after that, the city gets to take unilateral action.
That's not throughput. You are running exactly 1 promise in parallel at a time and waiting for it to be resolved.

However, on node.js you can have more than 1 client served by your server. For instance, your server could have e.g. 10000 promises/callbacks/generators active at a time. Take a look at how different solutions handle that https://github.com/spion/async-compare/blob/master/latest-re....

The results don't change at all if we for example increase latency of I/O by an order of magnitude - that's why latency is not an interesting metric for this use case. It's pretty intuitive, all the 10000 users will just get their results 9ms later but the fact that we could even handle them in the first place without crashing our server matters.

----------

You are right that for your use-case, pretty much the only thing that matters is what implementation is used for queuing async calls since it's such a tight bottleneck. Bluebird attempts to use mutation observer if available.
In the US, the mentally ill are still often criminalized, and care for mental patients has shifted disturbingly from hospitals to prisons...

Mental illnesses predispose for bad health care coverage...
I've presented my case as clearly as I could without writing a whole blog post. You are obviously certain that you are right and that I am wrong by a factor of 3.

I invite you to take a short position and put your money where your mouth is. It's a bit annoying to argue with someone who apparently doesn't believe enough in their case to act on it.
Ask HN: Heroku, PostgreSQL, Clojure
Is there anyone here working with Heroku, PostgreSQL and Clojure who can help me? I am stuck trying to run Postgre locally. I know I am handicapped with a Windows machine but any help would be appreciated. Here are my questions in SO:

http://stackoverflow.com/questions/19204548/how-do-you-connect-to-local-postgresql-in-heroku/19207088#19207088

http://stackoverflow.com/questions/19201133/postgresql-log-autovacuum-launcher-started-is-hung-apparently

http://stackoverflow.com/questions/19197944/what-is-the-best-way-to-organize-project-files-in-heroku-with-clojure
Clickable links

http://stackoverflow.com/questions/19204548/how-do-you-conne...

http://stackoverflow.com/questions/19201133/postgresql-log-a...

http://stackoverflow.com/questions/19197944/what-is-the-best...
We don't use GitHub issue tracker. Issues are tracked with YouTrack here:

http://hhariri.cloudapp.net:8080/issues/WA

Support is on Google Groups:

groups.google.com/forum/#!forum/wasabifx
"But! You're going to need to find a way to untangle which investor owns which mortgage (these are derivatives after all)."

Mortgages are not derivatives, they are debts. Tracing the owner of a mortgage should not be challenging. In the event that it is, that becomes the mortgage servicer's fault, an issue between the investor and the servicer.
How do you turn a chunk of glass into a telescope mirror?
I had zero issues upgrading, not even restoring, from the iOS 7 developer builds to the final release. Just download it from Dev Center, option/shift-click on Update in iTunes and feed it the IPSW.

Granted Apple's way of forcing the upgrade here is painful but it's more than possible to upgrade without issues and without bricking your device.
That's a fine argument with 7 times 34, because you only need 7 holes of 34 stones.

But it breaks down when multiplying much larger numbers, because the number of holes you need increases by N. With this addition system, you only need log(N) holes.

The system exists to remove cumbersome aspects of multiplying large numbers by counting. Consider 34x34. While one fellow is out digging 34 holes, making sure not to make a mistake, or finding a piece of wood that has 34 holes marked in it, the other guy never needs more than 10 holes if his numbers are less than 1024. This keeps his working area small, and he can see all of it at the same time. It's less cumbersome this way.
I'm pretty sure you could find yourself in trouble with the law if you (or a friendly intemediary) were advertising Not-Riding-a-Bicycle-as-a-service whilst riding your bicycle in a manner which whilst technically not violating any laws about use of the roads, was clearly intended to induce them to pay up.

I think even many of the most ardent defenders of free press would take exception to a newspaper whose business model consisted of charging people not to write about them. Especially if they provided a bare minimum of factual information and then invited users to "tag" the photo with "suggested" terms like "scary, wtf, wino, beat-up", like one of the websites linked from the article.
Maybe this is impossible but the move seem to take place in the future, there is a Chinese space station

Err... there is a Chinese space station: http://en.wikipedia.org/wiki/Tiangong-1
The US constitution says:

"No State shall enter into any Treaty, Alliance, or Confederation; grant Letters of Marque and Reprisal; coin Money; emit Bills of Credit; make any Thing but gold and silver Coin a Tender in Payment of Debts; pass any Bill of Attainder, ex post facto Law, or Law impairing the Obligation of Contracts, or grant any Title of Nobility."
Yeah, but that's an outcome of the way US mortgage system works (ie, the mortgage holder is preferred over other equity holders).

It doesn't have to be this way; for example in the event of a liquidation all parties with an equity interest could have money distributed to them in proportion to the interest the hold.
Machine learning.

If you also happen to be interested in finance, or think it might interest you at some point later, you could transition to quant finance (where machine learning will also be very usefull).

See if this piques your interest for instance: http://janestreet.com/technology/
The big thing this article misses is the god awful state of Child and Adolescent Mental Health Services in the UK.

MH services in England for adults are overworked and under funded, and that's much worse for CAMHS.

This is a left over effect of the weird split by age for services (children; working age adults; older adults; learning disability) which we used to have. Those lines are blurring. If you have a dementia like illness you go to a dementia specialist, and it doesn't matter if you're 40 or 70. If you have a first episode of psychosis you go to a psychosis specialist and it doesn't matter if you're 15 or 28. (Although there does have to be splits for in patients, because it's problematic to have under 18s in adult hospitals.)

ADHD is real. (Weird that I need to say that, but there are the usual suspects in this thread with their hateful denial of mental illness.)

But bad parenting is also real. Disturbed behaviour as a result of abuse is real. The meds are troubling. It's important, to protect vulnerable children, that people with ADHD are correctly diagnosed (and medicated if needed) but that people without ADHD are not misdiagnosed. Diagnosis is probably not going to be done by GPs, but by CAMHS specialists, which means that children are going to have to wait considerable lengths of time to get the help they need.

Here's the UK advice for ADHD. Healthcare trusts do not need to conform to the NICE recommendations, but they need good reason if they deviate from these recommendations.

(http://www.nice.org.uk/Search.do?x=-1070&y=-75&searchText=ad...)

Here's the UK patient information about ADHD

(http://www.nhs.uk/Conditions/Attention-deficit-hyperactivity...)
The problem with search is that nowadays, people judge results quality by their similarity to Google results. So anything that doesn't look like Google output looks "off".
The courses he's taken so far should give him a good understanding of what applied maths is (which is the type that the OP is thinking of majoring in). The scarier, more baffling variety of maths is pure maths. In the US system, half-majoring in applied maths, you shouldn't have to do hardly any pure maths if you wanted to avoid it.

Although pure maths can be extremely hard and initially seem quite arcane, I think you paint a picture of it which is subjective and in some cases factually wrong.

I agree that maths is infinitely deep and complex, but that is exactly why maths has developed to be as elegant as possible. Good mathematics is about developing structures and analogies that allow people to drastically simplify and improve their thinking about complex situations.

You are objectively wrong when you say that maths "isn't that precise of a language". Modern maths is extremely precise and the level of rigour is leagues ahead of CS. In the early 20th century, mathematicians were worried about how precise mathematics and its proofs were. To combat this crisis, mathematicians boiled down the inherent assumptions in maths to a handful of axioms, from which the entirety of maths is logically proven. Maths is not esoteric hand waving.

I studied maths at university and in my experience, there are lots of opportunities to apply my degree to the real world. Even in a more standard software engineer role I've been able to use my maths knowledge to quickly develop solutions to problems my CS peers are struggling with (and visa versa). If anyone's interested in maths, do consider taking courses in it. It's a valuable, rich subject which has plenty of real world uses and plenty of jobs waiting for you at the end
Yes, to many other countries. But how about Switzerland's neighbors? 40e for a rural hostel doesn't sound expensive.
My friend and I curate a secret list of fun events to go to in the bay area, most of them tech and startups. Hope someone finds it useful! http://events415.com/
I actually agree with your last point, but the correct course of action would be for the Government to sue the banks based on this fraud. Using Eminent domain is the nuclear option.

I'd rather see a court where the banks are ripped apart for their crimes, but for some reason this never happened.
I liked what I saw.

Sure, it's a bit rough around the edges, but it is a brilliant thing for non-devs to play around with. With a little tinkering sround, I managed to create a simple chatroom app: http://truthful-week-478.appalot.me/install.html

Here're my first impressions:

1. The color flow as a broadcast-reception link is an interesting idea but not immediately intuitive. Once I figure out what it was for, I managed to blaze through it fairly quickly.

2. Broadcast trigger actions need to be clearer. For instance, I know there a trigger for the randomcat but the fact that clicking the random cat is the trigger isn't all that intuitive.

3. Make chaining triggers a thing? I know it's not as easy as it seems but some combinations do lend themselves to chained triggers. For instance, I wanted to emit the random cat to the chat room with each text (as a test) but there was no way to chain triggers.

4. Publishing the app seems to lose the custom name assigned to form buttons. The app I posted above should say "Clear Chat" where it says submit.

5. Allow me to save my apps under a custom name? And publish the changes to the same app after Edit? Not sure about the latter - haven't tried it yet.

Overall, it is a brilliant achievement for something that is pre-alpha or pre-pre-alpha! I'd like to see where this leads!

I am now heading back to construct a simple clicker game. Wish me luck! :D

EDIT: Both Chrome & Firefox seem to throw errors about a few js files (primarily ceci.js & designer.js) in the console while loading the page for the first time. CTRL+F5 solves it. JS caching issue, I'm guessing? :)
Ok Denmark, but overall the issue is valid. For example Finland has residency-based welfare aka no citizenship needed. Just read a headline last week claiming that Finland pays more welfare to Estonians than Estonia itself. Meaning Estonian citizens who live in Finland. Most came here to work but are now unemployed. You can't come here for welfare, but if you lose your livelihood soon after you are safe.
It's so idiotic. Who of those who do evil in my view, do agree that what they are doing is evil?
Now because of hackernews "Maxwell Birnbaum" record is viewed 90 times in last one hr.
You're talking "I have serious issues on BETA software!".

Wow that really proves who you are. I think Android is just the device for you. It really fits to people like you. Because it's from Google, so you will never see the end of beta stuffs.

I always see scary warning messages for each time when I download beta software from Apple website. I still don't understand what kind of people are using beta OS for their private device, not for test device.
Google search itself is becoming Watson like, with the all the additions in the knowledge graph, and I think with Google Now google search will also have a lot more context. Watson can of course be a classical disrupter in search but Google isn't exactly inactive in this arena.
[What years have Pixies toured England?] is a nice example of a search that doesn't work. You don't get a historical list, you get very many sites selling you tickets or sites telling you about a tour this year or an upcoming tour.
I trust corporations much more.
Concurrent processing and database design.

But for second major I would recommend some 'soft' science, such as finance, economics or accountancy. Most people on those fields do not know high math.
Oh Please..

This sounds like it was written in 2007 or something.

Google has been working on question answering for years now, but only exposes it when it is sure of the answers.

https://www.google.com.au/search?q=when+did+jfk+die

(I get a "one box" answer saying "November 22, 1963
John F. Kennedy, Date of death"). You'll note that Google had to derive that I meant "John F Kennedy" by JFK, that I wanted a date, and then retrieve the answer.

https://www.google.com.au/search?q=how+old+was+jfk+when+he+d...

"46 (1917–1963) John F. Kennedy, Age at death"

https://www.google.com.au/search?q=how+did+jfk+die

"Assassination John F. Kennedy, Cause of death"

It's worth clicking the "More info" button under one of these "One boxes". Google will tell you what it regards as "facts" and where it is deriving them from.

(Also, http://www.wolframalpha.com/input/?i=how+old+was+jfk+when+he... is just as impressive)
I think I'm just frustrated with this whole ordeal of Silicon Valley Knows Best that we see when any kind of problem comes up. People get hung up on their pet theories and solutions and never stop to consider that they might be wrong.

It's impossible to solve a problem before knowing what the problem is. How can anyone here even begin to consider a solution before we know the problem? It's ridiculous. Maybe they're not allowed to use your favored solution. The solution is probably political, not technical. You can't fix an outdated/flawed policy with nginx.

It's just...weird. Half the posts in any politics thread at HN is people complaining about politicians coming up with pet theories and pet solutions for problems before understanding the problem, but they're so eager to do the same when the roles are reversed.
> ADHD has been well validated.

So has Bigfoot. The difference between Bigfoot and a Grizzly bear is tangible evidence.

Want to prove that ADHD is real? Meet science's requirements, primarily a defined cause, unambiguous evidence, and falsifiability -- the possibility of definitively saying that a given person does not have ADHD.

This is not to argue that ADHD doesn't exist -- it is to say that this is not a matter of science, and until there's some science, anyone can claim to have ADHD, or PTSD, or Asperger's, or claim to have been raped by her father when she is in fact a virgin:

http://www.stopbadtherapy.com/retracts/beth.shtml

There will eventually be science where psychology now stands. But that process cannot begin until people begin to adopt a skeptical outlook appropriate to the subject's unscientific basis.

This is why the NIMH has decided to drop the DSM, and psychiatry along with it.

http://www.newyorker.com/online/blogs/elements/2013/05/the-s...
Creating a Twitter API Proxy in PHP
That would be in contrast to the blessing, not the license.
> What kind of "shamans" is Ethiopia supposed to have, anyway? Aren't they a Siberian thing?

Erm, no. Ethiopia has the kind of shamanic spiritual healers/wise men that are quite common within the various cultures that exist in that country.
Great tutorial.

They use some terms like DC(or TF) without explaining what they mean. I could not understand them without significant effort.

For example, for "DC" I know(after careful analysis) that they mean constant average value, it could mean Discrete Cosine, or Discrete Component. What does it mean? "Direct current"?

How Direct current will make any sense in a digital signal article?
http://techcrunch.com/2011/03/25/search-googles-castle-moat/

Android's purpose was to make sure Apple didn't get a mobile monopoly, and then freeze Google out of the Mobile search biz.

You comment is a bit unclear - you may well have meant this yourself.
You'd think that, and yet there still isn't a working Spotify ripper around that doesn't involve loopback recoding.
How to Boot Windows 8.1 directly to desktop
I was so impressed by Greenwald's ability to keep his calm while being asked such ridiculous questions.

I can't believe this interviewer is quite as stupid as she comes off. So why the bizarre attacks, why act like a Government mouthpiece rather than a journalist?
If no one can get a mortgage there then house prices go to their cash only value, so one wouldn't need a mortgage to buy.
So the good luck should go to anyone wishing to sell a house there
Slice and Bake Holiday Cookie Recipe
While I am pretty sympathetic to the anti-TPP cause, the video is awful. It started off with ridiculous scaremongering about "frankenfoods", ie GMO foods, which have the potential for incredible benefits for mankind. It even specifically calls out food grown in a lab - do these people not realise the environmental damage we could prevent if we could grow meat? The nutritional benefits? The cruelty averted?

And that's the very first thing they said! I couldn't tell you the second thing, because I closed the video.

What is it about these activist organisations that compel them to so consistently throw the baby out with the bathwater?
Rad urls ~ trending URLs on social networks (replacement of Facebook news feed?)
Looks like Google is finally doing something about this. http://blog.codeguard.com/google-cracks-mughshot-sites/
Why are you telling Amazon what I am searching for?

We are not telling Amazon what you are searching for. Your anonymity is preserved because we handle the query on your behalf. Don’t trust us? Erm, we have root. You do trust us with your data already.

http://www.markshuttleworth.com/archives/1182

Shuttleworth founded Thawte in 1995, which specialised in digital certificates and Internet security and then sold it to VeriSign in December 1999, earning R 3.5 billion (about US$ 575 million at the time).

Verisign was founded in 1995 as a spin-off of the RSA Security certification services business. The new company received licenses to key cryptographic patents held by RSA and a time limited non-compete agreement. The new company served as a certificate authority (CA) and its initial mission was "providing trust for the Internet and Electronic Commerce through our Digital Authentication services and products." Prior to selling its certificate business to Symantec in 2010, Verisign had more than 3,000,000 certificates in operation for everything from military to financial services and retail applications, making it the largest CA behind the encryption and authentication on the Internet, which most people recognize as the small padlock icon in their Web browser when shopping online or logging into a secure website.

https://en.wikipedia.org/wiki/Public_key_infrastructure#Secu...
And since when Richmond is a state? You can read the constitution by spirit or by the letter. You cannot have both.
This article, "The Shape of Math to Come",talks about applying topology to large data sets. https://www.simonsfoundation.org/quanta/20131004-the-mathema...
Might stimulate your thinking.
DC is the low frequency (zero frequency) component of the signal and is indeed obtained by simple averaging.
How mobile is driving a new brand of business analysis
Both of them are phrases. Everyone understands the, strictly speaking, incorrect one. It's nice to know the origins of the phrase, but when more people use the 'incorrect' variant than the 'correct' one, it becomes 'correct'; that's the nature of language.
A mildly decent way is to check for `span[0-9]+` or the newer `col-` whatever classes. A site using classes of `container` and the ones previously mentioned probably has a 80%+ chance of using the bootstrap grid.
James I
Several retail outlets in India sell Dell laptops pre-installed with Ubuntu. It is considered equivalent to DOS, in that, choosing an Ubuntu laptop will save you a few thousand rupees compared to the same laptop with Windows (also helps that most such configurations also omit the almost-ubiquitous and mostly un-neccessary NVIDIA graphic cards). Many customers prefer this because they have easy access to pirated Windows copies. Though due to this, several of them get introduced to Ubuntu, and many continue using it. It especially helps having someone you know who is a Linux user and can help with any gotchas. I've helped several friends and cousins who got Ubuntu with their laptops.

For me though, having a pre-installed Ubuntu is a great way to ensure all the parts of the laptop are working properly.
Why big data has made your privacy a thing of the past
That's exactly what Microsoft was counting on with their UI for Windows Mobile (even down to a Start menu) and why they make such a big deal about Office being available across all their platforms.

I'm sure that when the time comes, Apple will be prepared to throw away the UI and start over with whatever suits the next form factor.
I believe similar points are made in Robert Tressell's 'The Ragged Trousered Philanthropists', in which he debunks a lot of the negativity surrounding socialism and makes very powerful arguments in favour of it. A wonderful book.