skysight-inc/HackerNews huggingface dataset:
Hey guys,

Thomas from cdnjs here, we have been on HN before.

https://news.ycombinator.com/item?id=4412044 - 671 days ago
https://news.ycombinator.com/item?id=2828516 - 1057 days ago

cdnjs has been very successful since inception in early 2011, this is mainly due to Cloudflare's early and ongoing sponsorship of the project.

According to BuiltWith, we have over 187,000 websites using cdnjs in production - http://trends.builtwith.com/cdn/CDN-JS

According to w3techs, we have just recently overtook Microsoft's cdn, which puts us in around third place for market size - http://w3techs.com/technologies/comparison/cd-cdnjs,cd-micro...

jsbin, codepen and jsfiddle users generally use our tool for code snippets.

We have had no major downtime and only one brief security problem which was due to a library version which had insecure swf's.

We have 100's of developers contributing to the project, and our repository has become quite active - http://www.ohloh.net/p/cdnjs

As always our thanks goes out to the community who help us keep the libraries up to date and Cloudflare's dedication to speeding up the web. A special mention goes to Pete Cooper who has been the primary moderator and sole reason for our growth in the last 12 months - https://github.com/petecooper

I will try to answer other questions in the thread today.

Edit: With regards to peoples privacy enquiries, because Cloudflare is our official mirror it is best to consult their privacy policy. I have been working with http://taskforce.is over the last year on campaigns against mass surveillance so I do take the issue very seriously.

Edit: Also a lot of users don't use cdnjs in production, it's just very convenient when developing to be able to quickly include scripts.

Atom Plugin - https://atom.io/packages/cdnjs
Sublime Plugin - https://github.com/dafrancis/Sublime-Text--cdnjs
This is awesome, unfortunately hn misses a lot of awesome things. You could always submit a third time.
Unusual at the time. It surprised me, but I was reading LessWrong for 2 years before I read this, and have internalized the notion that probability theory is basically universally applicable.

But back then when Frequentism dominated, I believe we tended to limit probability theory to reproducible experiments.
Bitcoin and Charities Were Made For Each Other, They Just Don’t Know It Yet
I think the general level of criticism seems a bit harsh.

It's perfectly usable even under the weight of at least HN, quite a lot of effort has clearly gone into it. There's some edges that want polishing, particularly around page transitions but I don't see much from a quick look or any of the comments that couldn't be resolved in short order. Most of the issues are where they've been a little keen to apply effects.

I'm not sure I'll ever warm to javascript on the server for my own needs, but good luck to them I say.
Their main forum home page is a theme called Lavender which is quite busy. There are other themes available that are less cluttered and busy, Vanilla and Cerulean are a lot nicer in my opinion.
Without more info about what your work or life are about, it's hard to suggest something too specific. Since we're being generic, I'd say that it's hard to beat the value of learning how relational databases work. Focus on learning the basics of SELECT - that takes months but you can get the rudimentary parts down in a week. If you already know the basics, then look into index design. Why/when/how and all that.
This would require motivated students with access to university computers. Would the universities own code created on their systems? OSS likely wouldn't be permitted for employees of most companies that could afford computers in the late 70s.

Also need to find Chuck Peddle and tell him to either avoid Jack Tramiel or not to quit Commodore.
Jersey group in campaign to create 'Bitcoin Isle'
There are so may factors at play in determining the amount of gain from using such a service, e.g.,

1. How widespread the usage is. The more widespread it is, the better the chance of finding the resource in the browser cache itself, instead of having to make external request.

2. Geo distribution of resource by the CDN. The closer the nearest CDN server to the end user, the quicker the delivery.

3. Popularity of CDN domain used to serve the resource. Since a DNS request is potentially involved in fetching the resource, the domain name should be widely used to keep the DNS cachces warmed up.

I am especially skeptical towards adding DNS calls to my page. One for HTML and one-two for static resources is what I have seen works best in practice, especially with modern browsers that do not have the two parallel downloads per domain limit.
Seconded. I'd also like to get my hands on it.
We have users in China, and unfortunately CloudFlare is banned there too. Also Russia blocks some of CloudFlare's IP addresses, and Iraq AFAICT.
> Look at this thing of beauty http://support.djangobb.org/.

I feel like I just traveled to the past.
Why C++ Sails When the Vasa Sank, Scott Meyers – Moscow C++ Party
Just tried. Very fast and easy to use!
Strongly suggested.
No, Eugene didn’t pass the Turing Test...
Longitude Prize – £10 million fund to help solve the greatest issues of our time
How Did The Meter Get Its Length?
I'd tell them how horrible the "modern" laptop is and how we'd have to turn things around in order to prevent wasting away all that research for decades to come.

I'd show them this video: http://vimeo.com/71278954
> People aren't using Go because of Google, but Go gained a lot of attention, and therefore a lot of people looked at Go, because of Google.

I chose to ignore Go initially because I thought it'd be yet another soon-to-be-abandoned Google project and because I felt that a programming language created by a large (unfocused) corporation doesn't have the best chances to develop in the direction I'd like (yes, I know how C started...).

What got me interested in the end was a) well-known (to me anyway) developers using Go and writing about it, b) the purported ease of learning, simplicity, standardized formatting and resulting "fun", c) concurrency features (lacking in many older languages).

Conclusion: it actually works to look at the needs / interests of influential developers and create something that fits for them. As far as Erlang is concerned, I believe too many of them have been put off by the syntax. Or it mostly attracts people who do not talk about it much, for some obscure reason.
> In every situation where I switched a job my current employer was willing to match my offer.

Doesn't that bother you?

That means in every instance, your current employer agrees that you're in fact worth more than they were paying. Why weren't they paying you that in the first place?

For these kinds of negotiations, I'd expect a 6-month back payment at the matched offer rate.
It's like the Office Space version of arbitrage. Where the rules lead to unintended opportunity, there's space for exploitation.

(See also: frequent flyer programs)
At least they don't have to use C++
Is that a full book? It seems that it has only first 3 chapters. However, I found the other chapters in the directory with the original submission, but they seem to weirdly overlap with content.
You can use http://www.cdnperf.com/ to figure out which may be best for your circumstances (lowest HTTPS latency, downtime etc.)
This forum software is quite new and they are only on the 0.4.x version. It is still under heavy development with lots of changes and fixes being implemented all the time.

I use this NodeBB for one of my forums and I have no issues with it. The only complaints I have had was to do with a plugin and not the actual NodeBB software.

Their main theme at the moment is called Lavender and I do find it cluttered and a bit busy but there are other themes available to use. They do tend to change the theme with each major release so when 0.5.0 comes out soon there may be another theme for you to check out.

The plugin and widget system they have is very useful with new plugins being developed all the time.

The infinite scroll can be turned off.

I have had a few issues with upgrades but that was down to me a slight version error on their upgrade script.
Ask HN: what's the best WebGl 3D engine for creating games?
What is the best WebGl 3D engine for creating online games? Three.js? Playcancas?

I want a high level engine where I can focus on creating a cool game. Easy imports from Blender is a huge plus.
Reading your post you sound like me at "unmotivated" times in my life. (I would say I go through cycles, but nowhere near as extreme as your description).

When I start getting to the stage you are at, I make a point of doing some outdoor sports (a few people mentioned climbing. My personal preference is whitewater kayaking, or mountain biking - something that requires full focus and involves a bit of adrenaline).

I used to do a lot of outdoor, sports (worked as a river guide for a few years, and kayaked nearly every day). Now I have an office job, and see the difference. Something that gives you a bit of adrenaline helps you achieve the same feeling, as others have described with climbing, but not associated with coding.I think this helps you bring more balance to your life. If you don't do a lot of exercise, just getting fit will make a big difference as well.

At first it might be difficult to motivate yourself, but once you get into a habit you will find it easy, and you may even get annoyed the days you don't get to do your sport.

Anyway, that's what I find helps me. (Promising myself to start riding my bike on the trails on my way home from, now the weather is getting better).
People hate to register, some follow-up thoughts
So Google stops Spotify fraud?
I wish there was a comparison in the performance benchmark. What was its purpose if we cannot compare it to the mainstream Bitcoin software's performance?
Ah, the "modern web". Where hipsters have to take something that was perfectly fine and ruin it by re-implementing it badly in the latest fad language. Love it!
This seems to be a common sentiment. Personally I haven't noticed much of a difference in my mood between summers and winters. There might be a difference, but it hasn't been enough to be obvious to me.
"Peter Greste and Mohamed Fahmy were sentenced to seven years in jail by a judge and Baher Mohamed was sentenced to 10 years. Three other journalists who were tried in absentia were handed 10-year sentences."

All for supposedly 'spreading false news'...
Nice, we're evolving the same mechanisms for quick herd notification that animals have.

This is why humans and animals scream when we're in danger (not because screaming is a very effective danger mitigator), and this is why some animals jump in place when they detect danger (http://en.wikipedia.org/wiki/Stotting).

We've had these two signals exploiting our vision medium, and our sound medium. And now increasingly, we're adding signals exploiting our digital network medium.

As those become more and more commonplace they have a very tangible effect on our society. Think Twitter riots and what not.

BTW, people in Japan get an instant smartphone warning when there's an earthquake.
Cars replaced horses and carriages, not bicycles. Look at old photos of cities: do you see streets crowded with bicycles or with buggies? Reality is that people need to transport things besides their own bodies, including other people.

Reality is also that humans generally prefer having some room and space. Crowding people together CAUSES problems. If you've ever lived in an apartment building, you know this.

But it can't be any of that new technology enabling higher standards of living. No, it must have been an evil conspiracy. We should all ride bikes and live stacked on top of each other.
This might be the feature that makes me switch my personal email.
> Now instead of a 10 minute drive

Your experience is not universal. I live in a large, crowded city, and I know from repeated experience that in my case, in rush hour, cycling to work takes 30 minutes, public transport takes 40-60 minutes and driving in my own vehicle takes mental insanity and a parking space, which nobody has.

Cycling is not only the fastest method, it has the least time variance, and is cheapest.
Also check out Cockpit [0] for a similar, pre-dating project.

[0] http://cockpit-project.org
No. IRC and RSS/Atom also not supported.
How are drivers supposed to see bikers behind them when there's a lane of parked cars between them? This makes no sense. Bikers should act as if they're invisible and should come to a full stop at every intersection.

Bikers on public roads should also be licensed and insured just like car drivers. Equal rights, equal responsibilities.
Spoiler: "we measure from Los Angeles, Dallas and New York"

Not very useful for European resident.
> BTW, people in Japan get an instant smartphone warning when there's an earthquake.

To be specific, BEFORE there's an earthquake. Otherwise it wouldn't be very useful :) And it's not just smartphones, this system is in place on dumbphones well (using the GSM Cell Broadcast feature).

Americans get an instant smartphone warning when a child has been kidnapped http://www.imore.com/amber-alerts-your-iphone-what-they-are-...
Omnisense – Join the new humanity
I posted this because I found it of particular interest that the blackmailers ask for payment in Bitcoin.

It makes you think if Bitcoin is turning into a giant example of "be careful what you wish for".

We have exchange after exchange get hacked and legit Bitcoin users losing their money, and now Bitcoin enables extortion schemes that couldn't work so effortlessly before.

Where is this going?
> how far can you get in a car doing 60 mph in 10 minutes?

In the city that I live and work in, at rush hour? Absolutely nowhere.
Operational Distributed Regulation for Bitcoin [pdf]
This is a really cool idea, I particularly like the fact that it can be disguised as another app on the phone. Rather than it being "I'm the panic button app Mister oppressive government operative, please delete me" it can just be disguised as a calculator.

I wonder if there is a choice of which app to mimic for the disguise, and whilst this isn't going to be a silver bullet it definitely adds another layer of defence to people who really need it.
How I tested my Android app :-)
Framework7 Full Featured HTML Framework For Building iOS 7 Apps
Raspberry Pi Compute Module development kids now available
> Because in London, Amsterdam, Tokyo or Singapore the weather is amazing all the time

Either you're being sarcastic or you have never spent time in London.
Are you a Swift Developer? iOS Blog are paying for screencast authors.
Who needs prank calls when we can troll the comments sections of news websites.

Wubba lubba dub dub!

Plus... honestly: "underappreciated prank calls". You gonna talk about some ancient childish nuisance behavior as if it's a red book animal species worth protecting?

Jesus, nostalgia is a powerful reality distortion field. Next thing, people might start talking about how scratched dusty vinyl records sound better than lossless digital audio.
"The speed is the DNS lookup speed only, and does not include the name resolution speed. The time it takes to resolve a name server's name to its IP address is NOT included in the speed calculation."

Why NOT?
Well is it clear that vitamin D from the Sun is at least as effective as vitamin D from diet? ;)
Egyptian here.
Puzzles me how such a piece gets all the attention, while hundreds of other Egyptians sentenced to death, and other thousands killed in peaceful protests do not get nearly as much coverage.. Oh, an Australian
One more personalisation data-point ... I get the Ping Pong Dim Sum restaurant chain as my top result when I google for ping pong! Not entirely unreasonable since I am in London where their restaurants are located and I do eat dim sum more often than I play table tennis ...
I would also like to add that laziness adds a lot of power and flexibility to common procedures.

For example, let's look at a canonical quicksort in Haskell:

quicksort :: Ord a => [a] -> [a]

quicksort [] = []

quicksort (p:xs) = (quicksort lesser) ++ [p] ++ (quicksort greater)

where

lesser = filter (< p) xs

greater = filter (>= p) xs

This is nothing too interesting, but now let's say you want to write a function to find the minimum value of a list

In Python, this would probably be done like this:

def min_list(lst):

current_minimum = lst[0]

for e in lst[1:]:

if e < current_minimum:

current_minimum = e

return current_minimum

However, in Haskell, a very similar procedure can be defined like this:

minimum xs = head (quicksort xs)

(head returns the first element of a list)

Now, if have the slightest care for efficiency, you would never, ever write a function like this in a strict language.

However, in Haskell, minimum [5,2,7,1,3] would be evaluated like this:

> minimum [5,2,7,1,3]

> head (quicksort [5,2,7,1,3])

Now, head 'demands' one element from quicksort, so quicksort would start getting evaluated

> head (lesser ++ ...) [p = 5]

(++) is nonstrict, and only evaluates the elements you really need. Since right now only one element is demanded, we
can expect that nothing to the right of (++) would be evaluated

> head ((quicksort (filter (<5) [2,7,1,3]) ) ++ ...)

Now filter is also lazy, and it will only evaluate elements as needed. Right now, only one element is demanded by
quicksort(notice the (p:xs) in the definition. quicksort only cares about the 'p' right now)

> head ((quicksort (2:(filter (<5) [7,1,3])) ++ ...)

> head ((quicksort (filter (<2)

xs) ++ ... ) ++ ...) [p = 2, xs = filter (<5) [7,1,3]]

Now, quicksort demands another element from filter (<2) ..., so filter (<5) runs until it finds the first element that
is also (<2)
> head ((quicksort (1:(filter (<2) (filter (<5) [3] ++ ...))
) ++ ...) ++ ...)

Filter will run through the entire list, comparing each element to 5,2 and 1 in order, and find nothing, returning [], which will hit the base case for quicksort []= []

> head ( [] ++ [1] ++ ...)

Simplifying to

> head ([1] ++ ...)

(++) has enough evaluated elements to give '1' to head, which finally returns

> 1

Notice that we passed through the list only once, just like in the python, in contrast to running an entire quicksort. While this is not as efficient as the python version as it keeps a few unnessary elements in memory, and compares elements to all previously found minimums, it is much more efficient than evaluating quicksort, and is pretty damn cool. With some GHC magic, the memory usage is also reduced somewhat.

I personally believe that the expressiveness gained through this procedure(we wrote quicksort and gained minimum for free!) offsets the loss in efficiency.
Plane Crash? Nah, Just a Google Internet Balloon Returning to Earth
Once a car has started the turning process, its driver is no longer looking for bicycles behind it, but is looking in its direction of travel, as it should be. It's too late for it to stop and allow a bicycle to go in front of it.

Cyclists should come to a full stop at every intersection, even if the light is green in its direction of travel.
> Also need to find Chuck Peddle and tell him to either avoid Jack Tramiel or not to quit Commodore.

My first thought was that that this was the perfect time for 8-10 year of a ton of 6502 based home computers coming out and dominating the home computer market. And I know 6502 assembler... And had a development environment more advanced than anything they had. And the knowledge of what would be popular.

And when 1985 comes around, I have a version of AROS sitting on my laptop, that while still not a perfect reimplementation of AmigaOS at present, could still boot and run on Amiga hardware... And would leapfrog several years worth of OS development. And I'd have ten years to go through it and make changes to make it more amenable to e.g. memory protection. The big question at that point would be: Snap up Amiga before Commodore had the chance (assuming the timeline was not ridiculously altered at that time), or let them go ahead, but try to prevent Commodore's ridiculous face plant.

But in the meantime, I'd have until 1980 to prepare an alternative to MS-DOS and prepare to try to get into IBM at the right time and try to undercut/prevent Microsoft from getting the deal...
What do you think Chromium and Opera is written in?
Why CLisp is under GPL
I actually have been looking into how hard it would be to get Firefox based on Qt useful again. Maybe someone would be interested in helping?
FWIW the death sentences passed on 183 people in Egypt did get a lot of coverage and condemnation here in the UK. I wouldn't read too much into stuff being picked up here on HN - it is pretty random.
Oz magazine publisher Felix Dennis dies
I am asking you why you think it is important. I am not really interested in "beliefs". It seems curious that it is automatically assumed that diversity is beneficial. As I said, maybe there is a reason why your pals are your pals and you work better together with them than with strangers.

I guess I believe that a company does not have a moral obligation to foster diversity and social mobility. It is possible that a company can benefit from that, though (ie wider candidate pool - lower wages, and so on).
I feel ya. And Javascript is ugly, I personally would never use it if I didn't absolutely have to.

What's more, Node.js code tends to look horrible with all the callback indentation and spaghetti. An async server's programming environment and style could have been done way more gracefully.
The solution is simple:

1. License and insure all cyclists on public streets. Equal rights, equal responsibilities.
2. Require all cyclists to stop at all intersections, no matter what. Any cyclist who runs into a vehicle is at fault by definition.

This is the only realistic solution.
We use NodeBB at http://bitbangers.co.uk/ but with a different theme. You should take a look and see how different it is.

http://convoe.com/ also uses NodeBB with a completely different theme.
Used this to find webcams of places with thunderstorms rolling in, and found this here in Switzerland [0], quite fun to watch when you skip through the history. Day started out lovely but now they are getting hammered.

[0] http://palacegstaad.roundshot.ch/
10 ... But the small startups don't have the resources to do much about it.

This is not about moral obligations. It's about how stupid it is to use such a subjective filter for potential hires while lying to yourselves how “open” and “cool” you are.
Some people seem to expect more from their job than just a place in a cubicle where they can do their duty for 8 hours and then go home. They want to have fun, be together with cool people and so on. If you can't bond over music, there is one fun factor less (btw Michael Bolton was a reference to the movie "Office Space").

If you manage to run your company as a factory where individuality doesn't matter, only code output or whatever, good for you. I don't see why it should be the go-to model for everyone, though.

I seem to remember blog posts about the music system at GitHub. Not sure if they play music over speakers? If anybody would put Michael Bolton on, the feelgood atmosphere might receive a serious dent.

Btw I am not a recruiter.
Contrast to hp: we had a hp laptop w/ a next business day in-home warranty that nonetheless spent a week or more in hp's repair shops on two occasions.

Back before flat screens were good, I remember our company would source big old CRTs from a brand with 'on-site replacement'. Turns out this actually meant "Did you keep the box and packaging? We'll pay for the shipping back to the repair depot". Um, no, because the boxes are huge and so is the polystyrene foam packaging. "Sorry, warranty doesn't apply to you". Sorry, last time we buy your big monitors.

Similarly, the Toshiba customer support centre wouldn't talk to you unless you paid them $55 first. Uh... I just want ask about buying some technical manuals. Nope, $55 to talk.
Your commute looks nothing like the average American's commute.
Canonical's cloud-in-a-box: Under the hood