skysight-inc/HackerNews huggingface dataset:
Thanks. I wrote 500B, but I did do the calculation with 500M; I used much larger estimates (as is always recommended in back-of-the-envelope calculation) - namely, 256 bytes per tweet - which, in addition to 140 bytes of text[0], leaves e.g. 8 bytes for user id (2 billion uids for every living person on earth), 8 bytes for microsecond timestamp, and 80 more bytes for pointers/caching/stats/whatever. (Those 16 bytes, incidentally, are enough to have a unique identifier for every tweet)

I assume the average tweet is closer to 80 bytes, and taking advantage of that can let you store twice as much tweets in memory.

[0] Does twitter count utf-8 bytes, code points, graphemes, or something else towards the 140-"char" limit? Regardless, the computation would not yield materially different results.
Anaconda: install a Python data science platform quickly
> By your argument if I can get enough people to pronounce "cat" as dog then dog is the new pronunciation of cat.

Sure. If a large enough portion of English speakers pronounce it that way, it would be a valid pronunciation.

What other measure of validity would there be? There's no committee to dictate "standard English" (nor would what they say matter if the language actually used doesn't reflect their prescriptions), and dictionaries merely describe language as it actually is.

> It's disserve to tell people "come to this website to learn correct pronunciation" but then not have it actually be correct.

But the pronunciations offered on this site will usually be correct ones. It shows you the words as pronounced by actual people.

> There's no EE sound in Tokyo, nor Kyoto. There's no "awe" sound in "Pocky".

Maybe not in their native language, but there is in English.

> The fact that westerners will go to great lengths to say "Nic ha wha gura" instead of "Nik ah wa gra" or "Ca pu chee noh" but won't spend the minimal effort to learn a correct Asian pronunciation is effectively racist.

Maybe. People probably should be respectful of other cultures' own names if they can. Though that doesn't mean pronunciations distant from the native ones are incorrect in English.

> Some will say "but I'm saying it as it's spelled" but since they aren't following the same rules "say it as it's spelled" for European words it just proves my point.

Pronunciations which don't follow source language rules are certainly not limited to East Asian or South American words. English speakers aren't familiar with foreign orthographic conventions. That's to be expected: they are English speakers, not speakers of other languages.
Well, Tim Leary isn't exactly an objective source for making a case of psychedelic drugs being a tool of human emancipation, not that I have any particular conviction in either direction regarding the topic.

Your penultimate paragraph just screams of magical New Age thinking, though.
RSA had to recall its SecurID tokens after Chinese hackers stole its keys, cloned tokens, and used them to break into defense contractors. So: it does happen.
One of my favorite youtubers has a big collection of CEDs, and he made a video about them and their issues: https://www.youtube.com/watch?v=O7UH9QfcIi0
>Smalltalk advocates never fail to entertain.

Are there Java advocates still in 2015?

In any case, you've missed the whole: "Java is better in number of libraries (obviously) and compiler/GC" thing I wrote -- and re-stated it as if it was some kind of counter-argument to my comment.

Also, regarding "Java has HotSpot", you do know that's based on the Strongtalk VM right?

>Smalltalk never succeeded for a good reason.

Yes: companies sold it commercially instead of having it widely available, and SUN spend millions marketing Java.
There has been a similar program being run by New York Public Library in the last year. I think programs like this can make libraries relevant again.

http://hotspot.nypl.org/
Now I'm not sure if Norway has similar laws, but I haven't heard of any.

However, watching John Oliver talk about how ridiculous the civil forfeiture laws are in the US just makes me want to laugh so much.

I know of all the great things happening in the US, and I'm not calling you a bad country. But it's so hard not to categorise you together with North Korea, China and the United Arab Emirates with how trigger happy your police are, how easy it is for them to steal from the population. How terribly you treat your sick and poor, and how fascinated you seem to be with groping people at the airport.
Project Zero: Major Design Flaw in Kaspersky Internet Security
While I second your wish that conlangs were more popular (I learnt Toki Pona some time back), I would ask you to refrain from such subjective language criticisms as "it's ugly". I speak English and German natively, and I can't stand it when people criticize the other language on such personal grounds.

As for your take on the redundancy of natural languages, I would point out that it is perfectly natural and can probably be found in just about any language. (Otherwise, there would be no such thing as a thesaurus...) To stick with your example, you could also talk about "the boarding pass" instead of "the ticket" in English.

Indeed, the redundancy of words and vocabulary forms much of the beauty of a language. Especially in English much of poetry is the art of choosing the right word. I love the way T.S. Eliot puts it towards the end of his poem "Little Gidding":

And every phrase
And sentence that is right (where every word is at home,
Taking its place to support the others,
The word neither diffident nor ostentatious,
An easy commerce of the old and the new,
The common word exact without vulgarity,
The formal word precise but not pedantic,
The complete consort dancing together)

So please, if you want to criticize a language at all, let's stick to the objective side as far as possible. German grammar is difficult, English pronunciation can be utterly confusing - I'll grant that. But let's not talk about any "bad natural languages". Because there is beauty to be found in every tongue.
WhatsApp's revenue that they earned from that user base is what was driving the valuation from the perspective of everyone not in Facebook's camp. Facebook woukdnt have been able to buy WhatsApp if WhatsApp thought they could make more money off that username than Facebook.
Twitter is notorious for being ridiculously frivolous[1]. They also pay their employees very very high wages[2], which isn't a bad thing, but I assume that doesn't scale well.

1. http://money.cnn.com/2014/03/06/technology/social/twitter-ca...

2. http://www.glassdoor.com/Salary/Twitter-Staff-Software-Engin...
It could be worse
"their government and citizens should be ashamed of themselves"
Really? Are you ashamed of your government's cyber attacks on other nations? I could just replace the word "China" with "USA" in your comment and everything is still true.
And therein lies the crux of the problem with these things being subject to zero checks or balances and such a low standard of proof.

People’s stories sound shady all the time. In Canada, in my lifetime, there have been four different men whom everyone was certain had murdered people, and it turned out that they were innocent.

In many cases, people are so sure that shady people are guilty, they make up testimony to make sure the bad guy goes to jail. This is why we need incredibly high standards for convicting someone of a crime. And we still get it wrong.

So when someone “seems shady...” I stop far short of assuming that they are shady. And even if they are shady, I stop far short of thinking that the police, with the incredibly asymmetric power relationship, should be at liberty to enrich themselves based on someone seeming to be shady.
Did you know that IKEA names tend to be names of towns and places in Sweden/Norway? So if IKEA names have jf then Swedish/Norwegian must have that letter combo as well..
What if doctors could prescribe drugs for recreational reasons? Then you are getting them from a setting where can be informed about the dangers, and a professional can tell you if you have personal risk factors (for example, I have a friend with a heart condition who is at very high risk of heart attack under the influence of cocaine).

And then the professionals can help measure dependency and long term effects, and people can participate in studies and contribute to the science of recreational drug use. Drugs are always medical grade, never laced with other substances, and doctors can recommend safe alternatives to the dangerous recreational drugs.

Power dynamics between a doctor and an addict may pose ethical problems, but if the doctor has the proper oversight these problems can be mitigated.
Show HN: Musical madness
Sure, lots of other factors are important, but ultimately factors like user base growth and active users are just showing WhatsApp gaining a larger revenue stream.
That's when I switch over to emacs and ikea-mode.
>> I do not think the evidence supports that.

> We really don't have that much evidence

So you agree with him then.
Maybe 3-4 years ago. With the Launchpad version of gcc for ARM controllers, OpenOCD and gdb, it is a breeze now.
The current defaults discussion is at https://github.com/neovim/neovim/issues/2676.
Why I Build Things
Smiths, Millers, Priests: European Occupational Surnames
I think of vim almost as two separate editors. (1) my setup which is customised exactly like I like it and borders onto a IDE and (2) default setup which I can happily use to edit a few config files.
Because the government and businesses have slowly but surely been eroding the role of cash in our lives.

Most people use checks or credit cards for big purchases. Most people are paid by check, and the exceptions are usually near minimum wage.

Nobody does big transactions in cash anymore -- even if you want to pay tens or hundreds of thousands in cash for a car, a house, or college tuition, if you show up with a briefcase full of cash, then your counterparty will tell you to put it in a bank and come back with a check because they're not set up to handle cash on their end.

Government policies are designed to encourage inflation, yet the government stopped printing $500 and larger bills in 1945 and has never continued them.

Most of the people who were old enough to remember the Great Depression and hoarded cash throughout their lives because of their experiences are old enough to be dead or in an old folks' home, and their hoards of cash have already been deposited in the banking system by their families. Living through the Depression hasn't been a "mainstream" experience for many decades, and the actions of those who did have been dismissed as "silly, irrational things that old people do."

Basically it's become so abnormal to have large amounts of cash that a lot of people agree with the government -- "if you're using a lot of cash, that's so abnormal, you must be involved in something illegal." It's so abnormal it activates our tribal instincts which cause us to de-humanize -- "That's not something that I would do, or anyone I know would do" -- it's much easier to accept the demonization of people who use cash.

Of course, this is just how the government and big business wants things to work -- all those bank deposits and credit cards are much easier to track. Think about all the junk mail you get based on your credit rating -- the marketing departments in those companies love the amount of information you're giving away about your finances.
They're overly expensive and out of date.

But you're buying a niche product aimed at a tiny demographic. The regular XPS 13 is extremely popular and I'm sure they sell in the hundreds of thousand (given how many businesses/governments buy, not to mention private consumer sales). So as a private consumer buyer you're benefiting from the economies of scale when you buy a Win10 XPS 13.

Unfortunately someone has to pay for the Ubuntu install/testing/drivers and Dell ProSupport who has support staff who can help with Ubuntu (unlike regular support who only do Windows).

PS - ProSupport is an enterprise support product. The regular XPS 13 comes with "Premium Support" which is a consumer product, it is essentially normal support but they'll also help you with networking equipment, and popular third party [Windows] software. With Premium Support you have to buy SupportAssist to get any on-site support, ProSupport has it out of the box (as well as next day turnaround on parts).
Look at the application notes for any LDO 3.3V linear regulator i.e., MCP1702. Or you can power it from a 3.3V USB Serial cable...
The problem is not that they are posted automatically, the problem is that they are repeated. I'm not sure what the twitters user would do, but if someone sends me an email 4 times, I'll start to mark it as spam.
I agree. I now have NixOS on an older (2011) MacBook, which seems to work flawlessly. There's an issue with iSight built-in camera, and sound, but I didn't spend time trying to figure it out. Installation was a breeze and everything works out of the box.
I once told my wife an amusing story I'd read in Australian Personal Computer where a computer technician was told by a secretary that she was great with computers, said technician was very happy and joked that he was glad as the last person he had to help thought that the way to input capital letters was to press the caps lock key, the capital letter and then press the caps lock key again... To which the secretary asked "what's so funny about that?"

Anyway, I chortled after telling this to my wife, to which she looked at me with a puzzled look and asked me what the punchline was...
React Image Crop – A responsive cropping tool for React
Good job indeed! :)
Awesome term, with wide applicability in computing!

- teacup text editor

- teacup web browser

- teacup programming language

- teacup kernel

...
Skype has had that functionality for a very long time, well before Slack was conceived.
Never going to happen due to speed-of-light delay. Play TF2 on a server that's in a different continent if you don't know what I mean.

Nothing will stop it working in relatively local areas (i.e. for anywhere within 1000 K's you'll be fine), but where you actually live will never be completely abstracted.

It'll massively increase productivity if it's accepted by society, though, I agree with that - everyone can now work in a CBD without the insane commute times.
Attorney General Eric Holder changed this somewhat in January. It's an improvement but not as much as some people thought according to this Forbes article.

http://www.forbes.com/sites/jacobsullum/2015/01/22/despite-h...
Intel's real problem isn't the power efficiency of ARM CPUs, but rather the entire CPU industry becoming a high-volume, low-margin business.

Currently none except Intel (and well AMD) can make chips for the Server/Datacenter business, and they get to keep the healthy margins. If ARM gets into the Datacenter, expect Chinese manufacturers to put out slightly less efficient, but perfectly capable CPUs for a fraction of the cost. The death of the x86 cartel is a good thing for customers.
https://ux.stackexchange.com/questions/30682/are-there-any-r...

With that said, this is in the realm of common sense for anyone who's ever used vim bindings at least semi-seriously. We're not just talking millisecond improvements, we're talking about doing some tasks that can take several minutes in mere seconds.
(netmap author here)
I prefer to define netmap as a "network stack bypass" scheme because we use as much as possible of the OS -- all the things it does well, we do not want to reinvent. Device drivers, system calls, synchronization support etc. are part of the kernel. Native netmap support for a NIC only involves 3-400 lines of code, or 10% of the typical device driver.

Processes do ioctl(), mmap() and poll() for I/O - all standard system calls implemented by the OS, there is no NIC-specific code in the application. NICs can be switched in and out of netmap mode without reloading modules (and with the cloudflare patch, even sharing the two modes). There are no custom memory pools or hugepages to reserve. Device configuration relies on ethtool and ifconfig etc.

This approach is what let the cloudflare folks implement their traffic steering with zero new code, just a couple of ethtool lines; the change they contributed back to support the split mode is completely agnostic of the specific NIC being used.
Pie charts have merit, especially when used in a dynamic dashboard that changes based on either selection, filtering, or the passage of time. They may be over used, but they are not without merit entirely.
Who in their right mind would do thing X where thing X is risky because of an out-of-control state agency.

Someone who is blissfully unaware of how out of control the state agency is, probably.
White Hat Hackers Would Have Their Devices Destroyed Under the TPP
Scientists hope to attract millions to 'DNA.LAND'
Because the ad companies with 40k are the one that will pay the bills
I read somewhere there are hundreds of thousands of untested rape kits sitting in police labs nationwide. Catching rapists is not profitable.
These stories make me very upset. How can we, as a society, let this go on?

I wrote my Congresswoman and Senators, asking them about this case. I urge you all to do the same.
A Hacker News for Coins
To group the US in with the likes of N. Korea and China is dishonest and inaccurate. If the US were run by either of those governments, you would not have Jon Oliver, Washington Post, etc. exposing and criticizing the very issues you mention.
Albastrita planta medicinala
He said it was risky because airlines lose bags. He's right--doing that is insane.
Try using it Down Under...
I meant that they willingly took it themselves, not that it was administered forcefully. I called it "bombing" because the original comment called it a "love bomb", in all likelihood because of the assumed magnitude of the effect and not because he suggested to force people to take it.
Ah, sorry for the misunderstanding. Thanks for clarifying.
> It's not amped up actually. The degree of butchery that goes on in historical outbreaks of violence is astonishing to the post-19th century mind. Mass executions of enemies and conquered cities (and accompanying rape and pillage) happened with regularity in some parts of history.

"... in some parts of history"? Atrocities like that have never ended - human nature doesn't change. In the civil wars in western and southern Africa, rape is regularly used as a weapon of war. We all know the kind of massacres IS has been committing. I don't know an awful lot about Genghis Khan, but I'm pretty sure the machete-wielding executioners of the Rwandan genocide must have been just as effective. That kind of violence has nothing to do with the time period in which you live, there's nothing magic about the post-19th century world/mind. It's about humans being, well, inhuman. And that, unfortunately, can include pretty much everybody.
> Also supports 2fa totp, which feels to me like poking holes in the whole idea

I'm a Keepass user and I didn't know it had support for 2fa. Why do you feel it's poking holes in the idea?
> Sounds like someone wanted an untraceable 11 grand. Shady.

It is not "shady" in any way, shape, or form to want all of ones private financial affairs to be completely untraceable.

No one should, ever, under any circumstances, be required to justify or explain possession of cash or items of high value absent clear, tangible evidence of wrongdoing.

Furthermore, eleven thousand dollars is chump change, and not only that, these criminals and thieves with badges are harassing people for carrying as little as $500.
Reddit discussion; https://www.reddit.com/r/PostgreSQL/comments/3nhcnh/postgres...

I actually met the author before, he's a nice guy and a good sysadmin- I'm glad he incorporated feedback from reddit (even if he was downvoted).
Thanks :-) I appreciate your kind words
Free speech is one facet of analysis. It's an important one, but doesn't invalidate the others.
So just to be clear: He said he used drugs, a gate agent smelled drugs, the cops smelled drugs, and you just want to argue that if a dog also smelled drugs that that dog is unreliable even though the arrested party says the dog was correct..?

I just don't understand what point you're even trying to make. Just seems like you want to talk/criticise drug-dog evidence even though it has no relation to this case at all.

If the guy arrested and whose money was taken says he used drugs right before arriving at the airport I, for one, believe him. He has more to lose by saying that than he does by lying about it.
>Soft-spoken and gentle-mannered, Constable Collins carries a baton and pepper spray, but no gun. His weapon is his memory

I don't like this journalistic BS trickery.

That he doesn't carry a gun is not some unique trait of him as implied here.

Most english policement DON'T carry guns (except in special units and circumstances) -- something that a lot of the US-based NYT readership wont know about.
Thanks mate :-) I spent the day with my wife and kids, but I appreciate your kindness!
Same here. I've been a MySQL DBA for over 10 years and I've never had data loss or corruption even with power supplies dying and servers shutting down completely.

I've also used PG in quite a few projects and I can't say I find it better or faster at least for my usage. If anything it's more difficult to manage, there are way less decent tools to monitor, profiling is a PIA and those backslash commands just drive me nuts. I hate stuff like "\dt".
Chrome Web Store reports 0 users have donwloaded the app so far... what a hype.
No one is claiming that it invalidates the others.
Also, "simplify the tax code" is too often used as code language for wiping out progressive taxation (on the right) or wiping out corporate subsidies (on the left). Which makes the politics of the issue that much more intractable.
CSS hacks you may not know
You can buy Arduinos on Aliexpress for USD1.80[1] and there are no comparable offers for ARM boards.

[1] aliexpress.com/item/Free-Shipping-Nano-3-0-Controller-Board-Compatible-with-Arduino-Nano-CH340-USB-Driver/2021663360.html
If you're interested in a higher-power version, I just used the SC189 3.3V switching power supply in a design of ours. It can supply 1.5A (provided of course your upstream power can too).

The datasheet (at http://www.semtech.com/images/datasheet/sc189.pdf) has several example circuits.
The Families Funding the 2016 Presidential Election
If you've got a breadboard, just grab one of these and plug it into it.

http://www.aliexpress.com/item/MB102-Breadboard-Power-Supply...
See link to xcape in this thread.
Snickerdoodle, $55 computer with FPGA and wifi
>None of it actually works in any useful way, it's all security theatre.

It's more about the population feeling surveilled, as a means to not question power etc, than about helping solve crimes.
I agree. Add in the proper personalization and some kind of Twitter-unique algorithm that almost serves as a voting system (perhaps based on favorites, retweets, replies, etc), and you've got yourself a Reddit replacement. Which could be nice, now that Reddit has decided to become a censored safe place and it's core users are leaving.
It's swiss/schwabisch, though.
Emulating Swift's “defer” in C, with Clang or GCC+Blocks
Steve Klabnik was not talking about Box<TraitObject> vs TraitObject, but about f(x:TraitObject) vs f<T:TraitObject>(x:T). In the former the vtable is attached to the value, in the latter the vtable travels separately. These do have different semantics, compare f<T:TraitObject>(x:Vec<T>) with f(x:Vec<TraitObject>). In the x:Vec<T> case there is a single vtable that gets passed to the function, and all elements of the vector share that same vtable. With x:Vec<TraitObject> each element of the vector has its own vtable.

In terms of pseudo Haskell types these two types would be:

TraitObject t => List t -> Result
List (exists t. TraitObject t) -> Result

Rust cleverly sweeps the existential under the rug.
Nobody in power gives a shit about that woman. Having the society at large contained and docile is what matters.