skysight-inc/HackerNews huggingface dataset:
yeah - the C++ bits were clearly written by someone who doesn't know the language well. I'd be careful about using this code in production.

EDIT: Specifically I'm referring to the usage of raw pointers, unchecked pointer arithmetic, goto for flow control and raw new/delete calls. The author says they have run tests under valgrind, but that doesn't say anything unless the inputs were malicious. Ideally it should be compiled with ASAN and run under something like afl-fuzz.

Also - why do you take a libuv dependency - then use uv_poll_t directly with raw send/recv calls instead of using uv's provided TCP primitives?
I'm glad you put the explanation at the end. I don't know much about css but as i was reading I was thinking "Why would you do this? I must be missing something."
I think that you would agree that null is not a correct prediction, so clearly the Silver model has failed for those votes.
Easy access to more than 50 search services
I'm not claiming there isn't a problem, but these numbers seem odd to me. 75% of the square footage was built between 1900 and 1930. But only 40% of the buildings could not have been built today.

Is it that new buildings are roughly half the size? Or did they somehow manage to build buildings between 1900 and 1930 that could have been built today? If they could do it then, what is so hard about doing it now?
One quick way to get a feel for quality difference is to look at warranties, and how they've gone from "powertrain only" (if they were offered at all) to "bumper to bumper", and also how they've gotten longer over time (several companies offer 100k powertrain warranties and 60k bumper to bumper warranties, which would have been absurd in the old days).
Thanks, taking a look now.
Has it? https://en.wikipedia.org/wiki/List_of_tallest_buildings_in_t...
A big high-five to everyone in this subthread who decided to engage in a religious debate in response to this, of all articles!
Tax breaks in exchange for bringing jobs to a community? I'm sure government largess focuses into the equation. "Free market", haha. Programs originally meant to help people tying them to pyramid-construction projects.
I think op was just excluding them from the statement that more are needed. There are plenty of ultra luxury properties available in NYC.
No TV. Assumedly, on paper I only read Público, where the news did not appear. Observador is on my feed reader, but it's entirely natural I've skipped the news post.
Anyone else trying to read this on mobile? The text is tiny and zooming in causes the side divs to expand and cover the main text. :(
The Lib Dems were complete suckers and were treated as such by the electorate -- and that's the charitable version.
No hard data here, but it seems like most of the skyscrapers I see going up in Manhattan are luxury residential [1]. I'd assume it's a combination of scarcity of land, zoning, and project costs. Lately there seems to be a lot of new construction in downtown Brooklyn and many are definitely skyscrapers [2]. Same in LIC.

[1] http://www.amny.com/real-estate/nyc-skyscrapers-tallest-buil...
[2] http://www.nytimes.com/2016/02/18/nyregion/developers-plan-s...
https://github.com/leachim6/hello-world/blob/master/c/chicke...

Yes exactly!
Reading articles on HN has long ago cemented my decision to not go to USA.
Keep it up.

Twitter sucks because it's filled with assholes and every single day it's harder to deny the format encourages it.
I read the article. The first line of my reply was in response to the title, the rest was in response to the rest of the article.

Did you read my post?
Sales numbers for a premium iOS indie game in 2016
"TL;DR

asyncio is an asynchronous I/O framework shipping with the Python Standard Library. In this blog post, we introduce uvloop: a full, drop-in replacement for the asyncio event loop. uvloop is written in Cython and built on top of libuv.

uvloop makes asyncio fast. In fact, it is at least 2x faster than nodejs, gevent, as well as any other Python asynchronous framework. The performance of uvloop-based asyncio is close to that of Go programs."

The question asked was if there is "anything [similar in] python", so there's an obvious requirement of being able to use it from python. That leaves either something with a bit of a friendly python wrapper, or just calling out directly to (only) pure C/C++ code. The latter might be even faster, but at that point it's questionable if calling it from python really is worth the trouble at all.

So, I think it's fair to say that "uvloop may be 'something [similar in]' python".
There are some, but building very tall skyscrapers has always been a rather risky investment. (The Empire State Building was basically a financial failure.) It is difficult to get projects approved in many cities. But there's probably also just been a decline in companies and developers interested in playing the mine-is-bigger game. See also for some discussion http://www.cbsnews.com/news/wilshire-grand-is-las-newest-sky...

ADDED: As others have said, there are plenty of skyscrapers going up in cities like New York. What you don't have going on as much in the US these days are the very tall iconic prestige/vanity projects that get all the press.
Null is neither correct nor incorrect. If I don't play a game of chess today and you do, I haven't lost anything. I simply haven't played. The world is not binary.

This claim is tantamount to a schoolyard taunt like, "If you don't fight me, you're a coward." And claiming victory when your opponent wasn't even at school that day to hear the taunt.
I don't care so much about video, but audio. I can't find a site that streams audio with out flash. This is how this change will affect me.
http://arstechnica.com/tech-policy/2016/04/child-porn-suspec...

"The suspect, a former Philadelphia Police Department sergeant, has not been charged with any child porn crimes. Instead, he remains indefinitely imprisoned in Philadelphia's Federal Detention Center for refusing to unlock two drives encrypted with Apple's FileVault software in a case that once again highlights the extent to which the authorities are going to crack encrypted devices. The man is to remain jailed "until such time that he fully complies" with the decryption order."
Yes, things are changing already. Thai average wages are about $400/month, and China are about $300/month. My anecdote is a few years old, and the Baht has fallen vs. the Yuan since then.
This is an encouraging story but the headline is very misleading. It would be more accurate to say, "Portugal's ELECTRICITY GENERATION runs for four days straight on renewable energy alone."

In Portugal (as in most Western European countries), electricity accounts for about 20% of energy consumption (source: Eurostat). Transport and heating are still almost totally dependant on non-renewable fossil fuels. So there's a long way to go.
Why, I don't usually see author titles on blog posts? In fact, none of the front page links have author names right now.
Android Instant App Is the Newly Born Kid from Google Play Store
I use it for 'style classes' that you add to an element purely to get some styling change - for example '.pad-left' or '.text-center'. In this case you may be trying to override a style from a stronger selector like `.table td { text-align: left }`.

With style classes you don't run in to the issue of needing to then override the !important rule w/ another important rule - you would just remove the style class.
My 1991 conversion of Life & Death released for Commodore Amiga and Atari ST - I occasionally notice that some people are still playing it on emulators, etc.
I don't know. You tell me, as you seem to be so well informed and ready to jump in the defense of the USA.
Are you not allowed, as a visitor to NK to go and report about any place inside NK were any other citizen of NK is allowed to go and to report about?
This page contains a link in the first paragraphs that links to http://www.glennbeck.com/2016/05/19/what-disturbed-glenn-abo... , which appears to have the same text.
CSS Purge
A better alternative to Twitter should actually provide features other websites don't.

Why should I go out of my way to use Twitter to do things I can already do on Facebook?

Why would I want to share status updates with strangers vs. friends?

I understand what makes Twitter appealing in a marketing sense, but for me personally, it's nothing more than a chore to deal with on top of everything else.
If you allocate the buffer as a char * you should delete it as a char *. Thank you for the kind words.
It's lacking Elm.
This is a real blow to sites that rely on Flash's RTMP for low-latency live streaming. There's no real HTML5 equivalent right now. HLS and MPEG-DASH have a delay of around 30 seconds, often more.
I think if I were Google I would be moving everything I have access to non-Oracle technologies. If that means porting Dalvik to Rust/Swift/Go then so be it. Basically, blackball Java and suck all the air out of the room.
List of Theo de Raadt's insults
He was charged with contempt of court if that is the case I recall.
Ask HN: What's your top plugin/tool to help consume ever-increasing information?
Recently I discovered https://github.com/igrigorik/videospeed a chrome plugin.
And now I can easily breeze through most videos on internet at 2x-3x speeds. It's been awesome! Saves lot of time and increases efficiency. It was a very pleasant discovery.
Would love suggestions for similar everyday tool/plugins to deal with ever-increasing interesting content.
Isn't that just what a compiled language would sort out for you? On Bash it'd compile to

curl HTTP://example.com > file.html

and on PowerShell it'd become

(curl HTTP://example.com).Content > file.html
Having been on projects where !important was used, I'm not able to rationalize why it's okay to use. It's a quick fix and leads to bad css. We have it in a linter at work so nobody tries to pull a fast one :)
The issue is people get their news from Facebook...
The patent application seems dubious.

Under WIPO guidelines "the invention must be disclosed in an application in a manner sufficiently clear and complete to enable it to be replicated by a person with an ordinary level of skill in the relevant technical field."

The European Patent Office has a similar rule requiring that it can be "reproducible without undue burden".

USPTO says that "the specification must be in clear, full, concise, and exact terms to enable any person skilled in the art or science to which the invention pertains to make and use the same."

But as the article says, Google don't actually know what to make the adhesive out of. The patent defines the properties it must have, but presumably no such adhesive exists or they'd know what to make it out of. So, the patent application seems invalid to me.

The article also says "of course like many patents, the technology might never materialize," which is entirely at odds with the purpose of patents. One shouldn't, per the rules, be able to get a patent until the technology has materialized.
Your constitution went trough the window the moment you started having secret courts. That is stuff from fascists, secret courts.
"The first generation makes it, the second generation spends it, and the third generation blows it."

Digression:

Interestingly, this adage about hereditary rule is one of the loan phrases brought back after the First and Second Anglo-Afghan wars. Primarily these were from the language of the ruling Pathans (as we would call them Pashtuns.)

The original Pashto, more literally translated:

"The grandfather was born in a tent. He remembers living in a tent. He will lead the people well.

The father was born in a tent. He remembers both living in a tent, and living in a palace. He will lead the people well.

The son was born in a palace. He has never lived in a tent. He will not lead the people at all."

There are several of these Afghan sayings, from both the Pashtunwali and folk-wisdom, that the British officers brought back home. The most well-known of these most don't realize is an Pashto loan phrase at all:

"Revenge is a dish best served cold."
I believe bandcamp has been flash free for quite some time
I do miss the old PDS cross-assembler hardware/software. Visual Studio just isn't the same...
The visualization makes no sense. You can't go back or forward in time to check out a trend a little closer. It looks good on the surface but in my view it's totally useless to get real information.
Including Google's own Google Music, I use Firefox in my daily browsing without Flash installed, when I want to listen to my music i've to start Google Chrome which has Flash by default. The experimental HTML5-audio toggle is always disabled for me.
That's possible in HTML5 using the MSE, no problem at all.
> On the other hand it is a little tragedy that English with it's ambiguous spelling and pronunciation become the lingua franca of the day.

*English with its ambiguous spelling

On the other hand, Mandarin is hardly an improvement when it comes to avoiding ambiguity. Any other language would likely not be big enough to make it to lingua franca status anytime soon.

Again, English winning out so far is already a point for the good-enough, and exterminating other languages would mean giving up on better designs in favo(u)r of standardization on a suboptimal thing.

Is it cool that I can code JavaScript / Browser API almost everywhere these days? Hell yeah! Do I want to give up things that other languages offer (types, concurrency, non-web sockets, manual memory management where it makes sense) so we can all speak the same language? Maybe not.

I think efforts should go towards getting better at supporting diversity, rather than trying to water down everything to the lowest common denominator. Sure it's more effort, but it's not like you don't get anything for it in return.
And it will likely happen. Drunk drivers won't care.
Smart man.
That does sound very interesting. I'll definitely have to take a look again with different eyes.

Thanks for the details!
Hey, sorry, I think a lot of people got the impression I was condoning their censorship. I didn't really mean to do that.

It's more that in the west we just see it as this horrible evil thing and it seems completely bizarre that anyone would be okay with it. I guess we just assume they must put up with it when in fact they have their own rational for supporting it (which ultimately is flawed, but it's still very interesting)

Have you traveled to Taiwan? I went there a few weeks ago and I found it a fascinating place. While it's definitely got it's own identity it also is definitely very "Chinese". Like more "Chinese" than probably some provinces in the mainland. And on the mainland they get TV shows and stuff from Taiwan and people know where Taipei and Kunming are on a map. People look forward to visiting Kenting some day. Families are split between mainland and Taiwan etc. So I can sorta see why they look at it all and think it's all part of the same country. (kinda how we think Canadians are basically Americans) And you're right, they definitely have no idea about how it'd actually work haha and they definitely have a complete disregard for what the Taiwanese want (needs of the many > needs of the few I guess??). One thing I heard is them wanting to have a Hong Kong type of deal with Taiwan ... to which I said: "yeah right, over all their collective dead bodies"
We did tests here and got down to 8 seconds end to end delay, including transcoding. but also HTTP2.0 push will be super interesting here.
Also - this server passes the entire Autobahn with no fails, passes Engine.IO tests, Primus tests and exits gracefully with no Valgrind issues. Also, it builds with no warnings. Also, it has been running for weeks stable.
I agree. PR pivot at its finest.
Don’t Sit on Your Hands. Learn to Code
I do not see an entry for sed. Is it an editor or a language?
When I read it, it remind me of Cython's pyximport:

>>> import pyximport; pyximport.install()
>>> import helloworld
Hello World

The example is taken from Cython's basic tutorial page[0], in which helloworld.pyx simply has a print "Hello World" statement.

However I don't don't Cython and cppimport are interchangeable, or that using one excludes using the other. cppimport is for bringing C++ code in a seamless way, while Cython makes it easy to optimize Python code converting it to C (which you can further hand optimize if you so need it).

[0] http://docs.cython.org/src/tutorial/cython_tutorial.html
The main problem with Twitter is that it's no longer a chat system, it's a broadcasting system, where the broadcasting is done by media stars, sports people, journalists etc.

Unless you already have friends on Twitter, there's basically nobody to talk to. That leaves more than 90% of users tweeting into a void, with no one listening. This is why most Twitter accounts are inactive.

If you're a normal person with friends and family on Facebook, you're better of "tweeting" there, because you are far more likely to get a response.
I'm a bit sad that there's no version written in BS [0]

[0] https://skillsmatter.com/skillscasts/6088-the-worst-programm...
NVidia Cuda on Ubuntu 16.04
What puts a link on your saved links page? I'd never noticed that page before.
I had a single very useful use case. I needed to pick up someone when a famous trial recessed, parking close was impossible, phones were not allowed for most observers. Monitoring the twitter feed of a single journalist provided an accurate low latency notice.
1. I'm assuming the 60% were small enough, short enough, set back enough from the property line, etc., that they would meet zoning regulations.

2. The population of NYC has increased quite a bit since 1930.
One assumes LinkedIn would also know better than to tell users "We'd like to import your contact list to match you up with existing members" and then go ahead and spam everyone in that contact list about joining linked in, but that was also shown to be an incorrect assumption.

The only thing one should ever assume with respect to _security_ is that the other party is going to do it wrong unless it's written out for them.
Yeah that's confused me too. I don't understand why, other than advertising, I suppose
And makes you wonder if one will prefer NK way to UK libel laws.
Yahoo Suitors Expected to Bid $2bn to $3bn, Below Past Indications
Standard deviation is ready for retirement: Nassim Taleb (2014)
After several failed attempts to install Cuda, I found these instructions and even though they are for the beta, everything finally worked smoothly
It will eventually happen in fast food, but it's not an accident that reason human bank tellers were replaced before fast food cashiers. Menus are complicated things
Deer strikes are going to be ugly.
The Computer Language Benchmarks Game: Pidigits
I welcome this change, because I've lost a lot of form data with the backspace key. Not specifically in Chrome, because I remember having the same problem with IE 6 at the time when Firefox was still in alpha and was called "Phoenix".

Now I wish that the Thunderbird developers also remove or change their single letter shortcuts that are easy to mis-type. E.g. "A" for archive, which creates an undeletable "Archive" folder in your mail account. There's a bugzilla issue for it here:
https://bugzilla.mozilla.org/show_bug.cgi?id=615957
I was asked this once and I guess I failed. Dodged that bullet. ;)
Tourists also give them money. It's an extremely poor country with few sources of foreign currency. Tourism is a good chunk of that, and the proceeds likely go towards building more missiles and nuclear warheads, not anything good.
I have the same reaction as you. I am very impressed by this, as well as pybind11. My only worry is the fear that the automagic will break down somewhere, but I hope I am wrong and it will not hurt to try! If it works, it will significantly speed up my integration with an SDK that would have required enough extra hours to have otherwise not been worth it. Very exciting.
And nevermind that most places have free refills on drinks anyways. So the total quantity of soda you consume isn't restricted unless it's take-away.
GitHub streaks add-on for Firefox
Looks like they're not trying to do that yet. Serverless (serverless.com) has done that; Apex differentiates itself from Serverless in the OP.
> The firm has no experience with software development, but instead of contracting out to a professional developer, they decided to hire a student.

The client & the architecture firm need a problem solved. Better to ask-- What would it take to make this happen?

One place to look is to start talking with seasoned, off-shore developers. These guys often have teams of junior devs working under them. Essentially, you would serve as the PM - supervising the work, interfacing with your firm's superiors and the client. Figure out the budget and timeline. Tell your prospective boss you've got an economical and workable solution. But you need approval to bring in sub-contractors in order to meet the aggressive delivery schedule. Stretch projects like these are stuff that build great careers.
Everything could be hate speech for someone. Which what makes said laws arbitrary and dangerous.
> but Encrypted Media Extensions are definitly not an advantage

Yes, it is dishonest of Google to keep referring to 'the Open Web' when 'HTML5 video' is heading towards being simply an enabler for other proprietary plug-ins.

The Open Web of binary blobs.
> Where's the backlash against this: https://theintercept.com/2014/02/24/jtrig-manipulation/

So, some people at the GCHQ have discussed doing these things. However, is there any evidence that they've actually done a whole lot?

> Or this: https://en.wikipedia.org/wiki/Hasbara

I don't really consider Isreal a Western country, but in any case, that is interesting.
A college of my has struggled days with this issue, gmail wouldn't accept any mail send from a IPv6, ended up disabling IPv6 at the end. It seems like google only uses IPv6 for internal mail's, sending a mail to another account sends them using IPv4. Even Facebook, Microsoft etc still use IPv4 for their email's.
Portugal, Spain, Italy, France, Greece -- all these countries are advantaged on the renewable front, since they can use both hydro (lots of mountains and streams) and solar, two sources that complement each other very well: droughts generate solar, rains generate hydro.
Right, but if you play chess against a lot of children and crush them 100% of the time and I play against moderately experienced players and win 90% of the time, I'm probably better at chess
Yes, you're entirely correct; that's actually what I meant by "provided the Kernel can represent [it]" (albeit perhaps not very clearly!).

Cheers,
Rdio had a good HTML5-based player before they bit the dust.
Yeah, it feels like one of those immediately neat things that falls apart when you look a little closer. The data behind it is quite easy to work with though, and I think there's some better (more interactive, a bit more control) visualizations someone could come up with.

I used it myself last year when I was wondering about the emissions associated with different diets (specifically I was curious about what was more effective from a reduction standpoint: being a vegetarian at different points of time vs. owning an electric car. Since the disposition of electricity has changed pretty significantly since the early 90s in some places it varied pretty widely [the informal lit review of food-based emissions was quite a mess though]).
Because they don’t have html5 versions of all of their properties? several of them are still flash-only, for example, Google Finance.
I think take away is that HN crowd has no sense of humor.