skysight-inc/HackerNews huggingface dataset:
> No type inference. Because obviously it’s 2013 and I want to write types everywhere.

The `:=` does a fair bit for the programmer in cutting back on writing types. For me, the most needed place for type inference would be for writing anonymous closures (like what Rust has). In most other places, I am quite content with writing the types, particularly at the top level.

> Like what’s the point of all the odd rules around := vs =

The former is short-hand for variable declaration with assignment and type deduction, while the latter is just regular assignment. The primary benefit here is type deduction, which partially relieves the lack of type inference.

> and what types you can and can’t assign and pass to functions

Huh?

> And why do you have to declare imports, when the compiler could work them out for you (it’ll even moan if you import something which is not used!)

The compiler absolutely cannot work them out for you. If you have a package `github.com/PeepA/wat` and a package `github.com/PeepB/wat`, how will the Go compiler know which `wat` package to import?

The Go compiler merely moans if an import (or its alias) hasn't been used in the source file that it was imported in. I like this feature, even if it is a mild bother while debugging.

> Hello, world is about 8 lines of code. Camel case! Java rang, wants its boilerplate back.

It's two lines. [1]

> No breakthrough on error handling.

Breakthrough? I'm not sure what you were expecting, but I think the error handling is pretty sane and at least far better than error handling conventions established in C. It could be adjusted if sum types were added to the language, but that has its own trade offs.

If you desperately want exception-style error handling, then you can use panic/defer/recover, but it's frowned upon to overuse it.

> The whole design of GOROOT/GOPATH is completely broken. It’s actually worse than Java’s broken CLASSPATH crap which is some kind of achievement, I guess.

I have the exact opposite opinion. Did you know that you probably shouldn't be setting `GOROOT`? [2] After Go is installed, you just need to set `GOPATH` and add `$GOPATH/bin` to your `PATH`. That's it.

> It’s not even enforced error checking, so bad programmers will still be able to write bad code.

That is true, but Go's compiler forces you to address errors returned by functions that also return another value. You either need to explicitly ignore it or use the variable the error is stored in. (Lest you get an "unused variable" compiler error.) This doesn't cover all cases---like completely ignoring the return value(s) of a function---but don't throw the baby out with the bath water!

[1] - http://play.golang.org/p/ihEoJ0yL9I

[2] - http://dave.cheney.net/2013/06/14/you-dont-need-to-set-goroo...
> Part of it definitely has to do with the end users getting too close to those doing the development and the result is chaos.

I don't understand what you mean. Shouldn't a close relationship between developers and users be a key goal in development?
In phrases like those the word "dude" is more common than "guy", and it is frequently directed at women.
Or turning it into chemical bonds like plants do? It reminds me of Buckminster Fuller describing fire as "sunlight unwinding from tree trunks". Or burning oil as unwinding sunlight from lots of prehistoric plants and animals.
I couldn't agree more. Writing my own interpreter https://github.com/cninja/pEigthP provided many challenges but I think it was one of the most enjoyable "toy projects" that I have done. Also seeing the look on someones face when I say I wrote something to allow me to embed lisp into PHP is priceless.
Looks very interesting; I already had a shot at implementing a subset of scheme using F# (https://github.com/fabriceleal/Pang), it would be very interesting to follow this series and check the differences between my and his implementations.

I would also find very interesting to see a step-by-step series on compiling scheme (with macros included) using llvm. I never tried really hard to look for one, though.
In that case it would sound homophobic, not racist.
Go was neither designed to replace nor compete with existing functional languages.

Even if it were demonstrably true that functional programming languages are a "better" (leaving this loosely-defined for now) choice than Go in 100% of the circumstances in which one would choose to use Go, your argument still wouldn't hold water, as it neglects other important characteristics of a programming language that are neither quantifiable nor useful in the context of comparing programming languages, such as perceived simplicity and the ability to hold the entire programming language in one's head.

What's the value in denouncing a programming language because it isn't designed with your favorite programming paradigm in mind? That's just dick.

Also, are you really going to call-out Rob Pike and Russ Cox on whether or not they truly understand Functional Programming like you do?

Really? Really?
A standard 2560x1440 27 inch display is 109 though, so all it gives you is a bigger picture. For a TV or digital sign that might be interesting but not for those wanting a workstation desktop with the DPI they've come to enjoy in their smartphone/tablet/laptops.

Sign me up also for a 21-24inch 4k display to write code on.
This may be my optimism talking but I don't think violence solves any problems. We will continue to have enemies as long as we kill innocent people. Now that may be the objective; which refers back to my point that war is money. But you can not tell me that in the history of civilization that line of thinking has ever worked. People will always rebel when they consider the force governing or dictating their fate to be unconcerned with their true value or to be evil.

You bring up our police forces domestically; which have in the past decade gotten the reputation of being too militarized. This has not resulted into anything positive for police. Violent crimes are still high and innocent people are outraged and always lashing back. It has been more of a win for people like you and me, with the Supreme Court ruling that we have a constitutional right to record; which majority of police despise. There has also been an increase in lawsuits; which results to a decreased budget next fiscal year for the departments. That money comes from the taxpayers in the end but the real lost is clearly on the departments. [1] A lesser budget; which means fewer jobs created and less resources to invest in upgrades and new tools (more stress to do more with less). [2] Continuing to battle public opinion that you're needed and that you're there to do good and not evil. Next time a vote comes up on the ballot for anything that has to do with the police department; which way do you think people are going? [3] Congressional and legislative scrutiny because they have become the safe attack to ensure that they're getting constituents votes in the next election. I'm just pointing out the obvious but I believe this trend to be getting worse. This is a whole other topic though.

If our interest were to have peace in this region, we would approach the situation diplomatically but our interest are economically motivated. We have never approached this situation diplomatically since day 1.
I kind of think Rob Pike knows about functional programming.

Go was written at Google to solve very specific problems Google had. Looming large was the need for a C family language that implemented concurrency, fast compiles, and so on. The C family requirement is quite simple: most google engineers are young and don't know functional programming, have experience with Google's existing C/C++ code base, and they will be using Go to replace and extend existing systems already in C/C++. A new functional paradigm, nice as it is, would just get in their way. I'm not enamored by many features of the language, but I'm really hard pressed to say that those features do not solve Google's problems.
i'm pretty sure this article is just wrong about what the judge ruled. what does the first amendment have to do with anything?
The solar heat gain is close to 1kw per square meter. The wood stove that heats half of our house is only 6kw.
With this data you could for example built a new alexa and find out what was the most visited page last week:)

While what you're doing is interesting, and this data could shed some light on a lot of questions, you're putting the cart way before the horse here.

125k searches equates to, generously, 12.5k users? From the Chrome Webstore and PlayStore it seems theres about 500 users from those.

A correct statement would be 'with this data you could for example find out waht the most visited web page was from our subset of a subset of 12.5k users'

That said if you get a significant market share this could be very interesting. I'm guessing you don't always plan on providing dumps for free and will monetize them at some point?
I think more useful for me would be "How to build a complex system and not accidentally write a toy Lisp interpreter".
I still see full flight data to IKA on my terminal, so it does not appear to be filtered from data providers (plural). I suppose there could be one provider that filtered it and a few sites depend on them.
Yes, what a dummy Rob Pike is, to have jettisoned all the functional goodness of C.
Nice one, ya probably true.

Smartphone and camera ubiquity probably also plays a role. Just as cops know if they try to Rodney King somebody it will be on YouTube an hour later, so are criminals aware there will be a bunch of digital evidence.

Support is given to this by the fact that many of the crimes that are rising are things people can't witness you doing (bank fraud, identity theft etc).

And it's definitely not a silver bullet doing this. It's a combination of all of the factors in the article and here on HN and more we haven't thought of, all doing their part.
Great book, although I found it hard parse sometimes (compared to say the later chapters of SICP) which I suspect is because it is translated from french. Either way, it puts so much information in one place, it is incredibly valuable.
Have you tried ITA Matrix[1], now owned by Google? It's very powerful, especially compared to the standard travel sites. A good intro can be found at http://www.50by25.com/2013/05/travel-tip-how-to-use-ita-matr....

[1] http://matrix.itasoftware.com/
I don't know if we have to go reaching for lead as the reason.

Reaching???

There was strong evidence that lead caused widespread and permanent damage to children's brains. Therefore the USA spent billions to remove it from our environment. After it is removed, asking whether this made a difference IS NOT a reach.

PARTICULARLY NOT when compared to a hypothesis of differences in drug use over time that you've provided no evidence for.
Same here. I've learned a ton from the moocs I've signed up for and not completed.
Thank you for your experiences, Small things like that can cause big problems and they're easy to forget about! I'm thinking we're going to need to write out a lot of processes for doing backups and adjustments. Organization/structure will help squash those incidents you mention, I think...
[Show HN] Parentful - pinboard for parents
> Last friday we reached the milestone of 50k searches per day. Today we are releasing as promised the first dump of our database.

I hope whatever they are releasing, is not the user search query data.

Remmember when AOL did that?

http://techcrunch.com/2006/08/06/aol-proudly-releases-massiv...

edit - okay, I think it's the index data.
There are a myriad of possibilities that await you on the Archwiki. [1]

Also, you should not be installing third party packages in `GOROOT`. If you do, then yes, you're going to be in some trouble.

[1] - https://wiki.archlinux.org/index.php/Go_Package_Guidelines
Pulse of the Alley – Agatha Chang, Co-Founder of Powhow
My experience with MOOC's: They're still expensive, over-priced education.

I've taken many online courses, and I've always felt as if I could have just researched things on my own and bought a book or two. I have yet to take an online course that I felt was worth my money. All of them consisted of: Buy these books, read this material, answer these questions. Well I can do that on my own for free thank you.
There's a sample output on their page [1] which is very clean.

[1]: http://macaw.co/peek/sample/
Google Developer Group France needs 1000 subs for live in HD
Great how Asus sells the i7 with a 5400rpm hard drive! That resolution unfortunately is also low.
Very cool! :-)

I built a similar search by color tool at 99designs and wrote a bit about how it works here:
http://99designs.com/tech-blog/blog/2012/08/02/color-explore...

TL;DR I'm using R-trees to do fast perceptual nearest neighbour color search.

OP, how are you doing it in this?
You most definitely were not.
And as far as I know, "Rijeka" airport is in Croatia, not in Reykjavik, Iceland.
Really loved the sense of community that sprouted up around those articles :) I remember everyone following each other's projects on github, and the discussions in the comments on the blog posts. Good memories :)

I should finish my Ada version sometime... Or just start a new project haha
How not to Police the Internet (UK)
7 stats you should know for a more engaging Facebook page
Yes, they do. Iran has a huge influence outside their borders.

Iran has been funding and aiding al-Assad in the Syrian civil war. Hamas was, for awhile, funded almost entirely by Iran. Hezbollah has also largely been funded and supported by Iran. There is evidence that Iran provided weapons to the Iraqi insurgency during the Iraq War.

Here's a whole wikipedia article on it: http://en.wikipedia.org/wiki/Iran_and_state_terrorism
Steve Jobs' 14 Leadership Lessons
The tokenizer breaks on strings with parens in them. You should be able to split on each character and implement a simple variant on the shunting yard algorithm in only a few more lines of code and get a robust tokenizer.
I agree with you that those are all good ways to take action, but I disagree with you that this bill is not worth trying as well. This doesn't target specific NSA programs by name, but amends Section 215 of the PATRIOT Act to forbid its use to collect records for people who are not subject to an investigation under that same Section. It's far from an end to domestic surveillance, but it's a significant limitation on the legality of what they're currently doing. Why should we have to elect new people to Congress before taking any further action when we have members of Congress pushing good and legitimate measures already? Should more be done in addition to this? Absolutely. I think it's completely asinine to say that this is a worthless measure, however, and that no one should even try.
Iran has not been an aggressor in a war in the last 150 years. How does that compare to your own country? I know it puts mine to shame.
That might've been 'gardening leave'. When a senior employee with knowledge of company secrets leaves they're often saddled with a restraint of trade agreement that lasts at least a year and sometimes more. Because it would be illegal to prevent a person from working in their field of expertise, the company bars them from their offices but keeps paying them their regular salary until the restraint of trade period is up.
> We are all unified as citizens of Earth and denizens of the internet.

That's something we would all probably like, but that's not actually true to this point. Today we can't even keep $FOOs from killing $BARs (or other $FOOs) when they're in the same national boundary, so why would you pretend the world is something other than what it actually is?

FWIW I think the U.S. needs to normalize how it conducts surveillance with other nations and political entities, but I don't think that should apply to everyone. Instead it should be dependent on bilateral treaty (we won't spy or do this list of things to you, without arranging with your Foreign Ministry, and you won't do those things to us without arranging with our Dept. of State).
And yet people still point out that Volkswagen, Hugo Boss, and IBM worked with the Nazis and that Microsoft had been convicted of an illegal monopoly even though that all happened decades ago.
What makes a perk work
PubShare: WebRTC File Sharing
> Their numbers are horrible. I can't believe their shareholders put up with them.

Yeah. At the end of the day, it's all about the quarterly profit. If a company isn't chasing the short-term dollar, the shareholders must be suckers.
At only 138 pixels per inch, the PQ321Q is not a high-pixel-density or "retina" display.

For comparison, the ThinkPad W520 I'm writing this on has a 15.6" FHD display with 141 pixels per inch, slightly more dense than the PQ321Q. Windows 8 runs fine on this display and so did Windows 7.

The MacBook Pros with the Retina display have 227 or 220 pixels per inch in the 13" and 15" screens, about 60% higher than the PQ321Q or W520.

The only scaling trick I use on the W520 is to set the logical DPI in Windows to 140% and to use "XP-style scaling" instead of the bitmap stretch scaling used by default for non-DPI-aware apps - to my eyes the old XP scaling looks better for most apps. Most Linux distros I've tried also look fine after some font size adjustments.

If you ran the PQ321Q at 1080p (FHD) resolution, you'd be getting effectively only 69 pixels per inch. It's the same pixel density I'd get if I ran my ThinkPad at 960x540.

There may be issues with driving the sheer number of pixels on the PQ321Q, but the actual pixel density shouldn't be an issue at all.
added more data; chart starting time; up until 1:30 p.m. today
> Something with ML/OCaml-level of expressiveness but with a replaceable garbage collector might be the sweet spot.

That's Rust: http://pcwalton.github.io/blog/2013/06/02/removing-garbage-c...
You're is exactly right. To add to what you were saying and expand a little bit:

A principal ideal domain is a ring in which every ideal is generated by only one element, so whenever we see (a, b), we know there is some element c such that (a, b) = (c). I think this is what vog meant by having a "real" GCD - only in a principal ideal domain is your gcd unique. Without uniqueness, we can still define a greatest common divisor such that if gcd(a, b) = g, we know that there is nothing we can multiply by g to get a divisor of both a and b; that is, there's no extra factor we can add to g in order to get another factor of both a and b. That is enough to call g a GCD - but it's not necessarily unique! It turns out that in rings which aren't principal ideal domains, you can have more than one GCD! It's bizarre to think exactly what "greatest" means in this context, but you can also just think of it as "can't add any more factor while still dividing both a and b".

Ring theory is fun! (And practical, sometimes - you can describe some algorithms very elegantly via embedding the things you're working with in unusual rings.)

More info, with some examples and counterexamples:

https://en.wikipedia.org/wiki/Principal_ideal_domain
That sounds so baller. But one question.

You say that he constructed a field that "behaves like C." Granted, you put that phrase in quotes for a reason, but it seems to me as though if you pinned down the behavior of multiplication in this artificial field, then conjugation wouldn't be too far away. So what does it mean to "behave like C"? Or better yet, do you have a link to you friend's thesis or other papers?
While there was of course great variety... the most common would have been an email mailing list.

Maintainers of a piece of software would run some kind of VC repository usually, although not usually a distributed one like GIT - they were networked. Some people had commit access.
You'd keep a changelog, just like today, and the group would tag and release, just like today.

What Git/Github brings to the table is really the combination of a distributed version-control system that gained large traction (GIT) and a system to leverage that to make common collaboration tasks easier (fork, pull request, tracking meta-data, etc).
Show HN: Quick JS library loading with wouldLike.js
The same holds not just for math symbols but also for math names. Many things have similar/same names because there is a deep mathematical connection that justifies the conflation.
This assumes that people know their geography.
Looks like there is a Hacker News mod already.

http://hnews.tomodo.me
I have a similar script running and observed the same thing. Yesterday I thought that they were well on track towards making the goal, but it seems that the one day only deal heavily skewed pledges towards the first day compared to the average crowdfunded project:

http://www.kickstarter.com/blog/trends-in-pricing-and-durati...

Based on the %time vs %backing chart, the second day usually secures around the same amount of funding as the first day. However in the case of the Ubuntu Edge, it received above average percentage backing on the first day, but has already hit the trough.
The 'Killer Robot' Interface
Macbook Air. Macbook Pro if you can spend a little more.
It's not bad, but it's not good either. My ThinkPad display has 141 pixels per inch, and I wish it had a lot higher pixel density than that. Even with my 61-year-old eyes, I can still see the pixels, which tells me they are too big.

Of course people have different taste in displays, so what works for me may be different from what works for you. I just like higher-density displays.
Can you get a piece of paper that will assure and potential employers that you have actually studied what you say you've studied?
I wonder how much of it has to do with how kids getting caught for entry-level crimes like petty vandalism and shoplifting are treated. Are they getting thrown into big prisons where they can learn from their fellow inmates how to deal drugs, rob stores safely, steal identities, etc, and also get a criminal record that prevents them from ever getting an education or an honest job paying more than minimum wage? Or are they getting just enough of an encounter with the legal system to scare the crap out of them without any of the potential long-term consequences?
Thanks for pointing that out. The double-scrollbar was a CSS bug which was only showing up in some browsers. It should be fixed now.

I agree this page should be wider for posts like this.
Teenage boys that normally would have been running around in the streets committing entry level crimes are now glued to their Xbox. The declines in crime also happen to correlate with the ubiquitousness and availability of video games. As they get cheaper and more violent, crime goes down.

I really like your argument but I remember how ubiquitous the SNES, Sega Genesis and PS1 were in the 90s. I do wonder what role the quality of graphics plays here too (especially with regards to portraying violence).

Games in the 90s did cost more than AAA titles today but not by a huge amount and the hardware was similarly priced. Maybe it just took a couple more decades for gaming to be considered a truly mainstream activity rather than something for the geekier kids.
There are a few approaches for extracting colors from an image.

Shameless plug: I helped write a library called colorific to do it:
https://github.com/99designs/colorific

More about how it works here:
http://99designs.com/tech-blog/blog/2012/05/11/color-analysi...

Clustering techniques can also work quite well:
http://charlesleifer.com/blog/using-python-and-k-means-to-fi...
I usually end up fiddling around in Excel, planning out time and costs for many different ways to get from A to B..
EWR -> MIA
EWR -> FLL
JFK -> MIA
FJK -> FLL
... etc ..

What are you talking about? Every major travel website has an option along the lines of 'New York City - All airports', which includes JFK, LGA, EWR
Kind of a shame that the Rust crew doesn't seem to "get it" the way the Go team does. The Rust stdlib is TERRIBLE. Even basic stuff like file IO isn't implemented sanely. A shame as the language itself is pretty good, other than the idiotic semi-colon decision.