skysight-inc/HackerNews huggingface dataset:
The thing is, when you have a massive monolithic API like ZMQ or (the worst) "HTML5", version numbers cannot be useful.

Semantic versioning does make sense and (usually) works when your modules are all small, specific, and self-contained.

This is one thing that the web assembly people may be missing. When I suggested they do semantic versioning for web assembly, one of them told me something along the lines of "feature detection". I.E. referring to the situation we have where you write code in JS and just don't know if it will work until runtime when you check if that feature exists.

One of the reasons they have to do that for the web is that there is a single module version packaged in the browser for everything anyone could think of to put in the browser, so a "Browser API" version number could not give any information about compatibility of specific sub-APIs.

In the context of self-contained, decoupled web assembly modules with specific narrowly defined purposes, semantic versioning will be important. If we can't get those types of modules with web assembly in some context then we will be missing something important I believe.
Don't worry, it's about time for another dot-com crash. After the last dot-com crash, traffic in SF dropped so much that rush hour disappeared. Half the twentysomethings moved out. Downtown San Jose emptied out. Just be patient.

Which big company will be the first to go? Twitter? (And why is Zynga still around at all?)
How does this compare with Tarsnap?
But what about the rise of Backpage prostitution?
I think you are the one adding to the confusion by tarring all NoSQL databases with the same brush.

HBase is strongly consistent and given that it a core part of the Hadoop stack and used by Facebook for Messages would indicate it is hardly has systemic data loss issues. Cassandra likewise is used for PSN, Steam, EA Online, Spotify and is quite capable of running in strongly consistent mode. That's just two of the many NoSQL databases that are strongly consistent and being used for major systems where data loss would be unacceptable.

Also your comparisons between PostgreSQL and MongoDB are meaningless. The complete overhaul of the default engine in MongoDB 3 (WiredTiger) has increased performance massively with a notable reduction in disk space usage. It's basically a whole new database.

https://www.mongodb.com/blog/post/performance-testing-mongod...
I don't understand why Amazon forked Android beyond recognition (and utility). That would seem to be a show-stopper for most prospective buyers and totally unnecessary.
Also helpsforcoder.com askstop.net

If you know any others please add them to the list of "damn useless clones of StackOverflow that we must remember to thank Joel and Jeff for creating."

And what about you Google, why do you index this shit? I would have thought that it would be easy to work if a site is a clone of StackOverflow and exclude it from the index. Crap like this is what is decaying the value of Google.
This technology is actively in use in Spain.

http://www.economist.com/node/13725855
Do you have to have an Amazon account, or will it operate anonymously?
> Does it help in anything?

Many argue that an arbitrary division among the disenfranchised and poor is an effective barrier for them to rise up against the minority that hoard the resources for themselves. So one could argue that it does help someone.
I agree that a lot of people have preconceived notions and can be prejudiced, but I think "very, very racist" is going a bit overboard.

I don't think it would be very hard to find places that are a lot more racist that Japan. (Not that you'd want to go there…)
The diary of Stalin's man in Churchill's London
"I think those claims are unsubstantiated due to lack of sufficient evidence" or even "I think those claims are unsubstantiated" alone comes across better than "pretty sure you're making that up".

Best not to be 'pretty sure' with accusations, even mild ones, especially when you're apparently wrong. And why are you pretty sure? Seems like you have some reasoning, mention why with your accusation or your viewpoint will be 0 on the contribution scale. It comes across like a child discussing whether or not he thinks Santa is real "Yea I'm pretty sure he exists and you're making it up"
Well, I consider you one of us. A person. A flag might be something to die for, but a culture is something to live for.

> I don't feel physical attraction for the average brazillian either.

Well, maybe you are not one of us after all ;-) Then again, who feels attracted to average people? Don't we most often feel attracted to those that in some way stand out?
This is great news. Hopefully, we in the US will get to see what a mess this is in Europe before the rules recently passed by the FCC (which will be tied up in court for years) actually take affect.
The booms last so long, and are so big, and the busts are reversed so swiftly and completely, that the latter should really be thought of as the bubbles.

If you long at the long-term trend (like the last 20 or 40 years), it's clear that the rising generations want to live in cities much moreso than previous ones did, there's a steady exodus from snowy states to warmer ones, tech isn't going away (except for occasional brief setbacks), and San Francisco and Silicon Valley are going to be the center of that world deep into the foreseeable future.

In other words, yes, a tech crash will happen once or twice every decade, but if you're counting on them to scare everyone else away and let you have the Bay Area all to yourself forevermore, you're in for a rude awakening.

http://my.paragon-re.com/Docs/General/SixtyFortyImages/Case-...
Microsoft “committed to bringing F# support to .NET Native.”
There's no such thing as "NoSQL" - it's a meaningless term. It's far better to just refer to the actual type of database: relational, key/value, wide-column, graph, rdf, etc.

Any one of these database types can have a SQL interface (in various dialects and standards), ACID, different consistency models and scale-out options. It's just up to the specific database product in what it actually offers.
Windows-only games on Mac OS X
I think it's a familiar pattern: first the attitude changes, then the law changes, and then the attitude continues to change. See: segregation, most of the rest of history.
Or EXPLAIN (ANALYZE, BUFFERS), which is very useful when you suspect disk IO may be a choke point.
Anybody what is XXS ???
I mentioned it hyperbolically, as a way of saying a voting system being simple and inspectable is not sufficient to make your vote verifiable.
Ammar Says – It's here
$50 is absolutely insane. Still very excited about the thought of getting these devices to places like rural India, combined with things like Khan Academy Lite [0]

I don't want to be too optimistic about some inevitable miracle once you supply hardware and content, but in general these price levels are indications for what we can expect by 2020. Dirt cheap, ubiquitous devices capable of handling virtually all computing tasks you'd like say a 14 year old to do, with a rich second-hand market of devices pushing the price even lower.

And the energy requirements are ridiculously low. We've seen the latest iPads around 30 watthours, that's about 0.3 cents for a full (10 hour) charge at typical retail electricity prices, and this fire tablet looks to be about 1/3rd the battery size but more than 2/3rd the battery life, we're probably looking at about 0.015 cents ($0.00015) per hour of use. Tiny solar installations can be sufficient for this level of energy use. I'm hoping global, low-bandwidth internet that some have proposed in various forms (e.g. Google, FB) will not trail behind much.

I mean really, let's think about it. It's a quad core device with 1 gig of ram and gigabytes of storage (and SD-capable), with a screen, 7 hour battery, keyboard, speaker and connectivity... and with say a 3 year lifetime, it costs you 4 cents per day. In a few years, this level of tech becomes accessible to virtually everyone. We all expected it to happen of course, but still, think back to 2010 when the iPad was introduced at 10x the price ($500+), with a quarter the ram, a lower resolution and slower cpu. Yes it's subsidised a bit by the fact it tries to drive Amazon sales after purchase, but still. Who knows where we'll be in another five years.

[0] https://learningequality.org/ka-lite/
Drivers dont see the destination until they pick you up, quite deliberately.
Droid Maxx Battery problems
I grew up in California (north, south and central). I highly doubt I will ever move back. California, in my experience, was filled with hatred and intolerance. Not on the surface, but dig a little deeper, disagree with the hivemind just a little bit and you'll find its friendly veneer quickly fades away to a grim reality.

Beyond its never-ending bureaucracy is a politics of the personal that becomes inescapable. All that was left was to leave.
The traversal order of object properties in ES6
Indian startup has plan to beat Google's Chromecast
Oh ok.

In many countries of the world, primary schools are schools that cater to classes between kindergarten and high/secondary school.

Calling a primary school "The Primary School" is like calling a brand of bottled water "The Bottled Water".
There's a cross platform solution built in Java, Simple Amazon Glacier Uploader (SAGU).
[simpleglacieruploader.brianmcmichael.com]
If on Linux there's a nice CLI option too.
[https://github.com/MoriTanosuke/glacieruploader]

They're not half as sleek though.
You may find https://news.ycombinator.com/item?id=10395046 relevant.
App costs more than my annual glacier bill :), but like others I've been looking for something like this for a while. I'll definitely support it.
Because the hardware is basically a near-loss leader meant to dump another sales acquisition funnel into the market. Which is actually what AMZN should have done with their Fire Phone; no one's buying an Amazon-branded product as an aspirational purchase (even the Kindle is a utilitarian buy), so trying to capture the high end is a terrible, terrible idea. Instead build a low-end device at Shenzen-level pricing and just slap purchase option after purchase option on its UX. Low quality has a quantity all its own.
I admit that many Koreans have unhealthy level of hatred towards Japan as a nation, but your description neatly sidestepped the whole issue of "why", didn't it.

Koreans do remember the times when Japanese teachers would beat up Korean boys at school for using Korean, force Koreans to adopt Japanese-style names, and send young Koreans to the Pacific to be slaughtered, for the glory of Emperor Hirohito.

Personally, all the Japanese I met were nice people, and I normally don't talk history with them (I mean, what's the point?), because there are more pleasant stuff to talk about. Hopefully many others in Japan would also meet some Koreans some day and realize we are all the same people, with different historical baggages, trying to make sense in a world that doesn't make sense.

But then there are always some jerks who would say "Koreans are so mean, why do they hate Japan so much?"

Well, duh.
I run through loops with multiple inner loops playing around with football stats. It will hit 4+ million combinations in under a second - all on an 8 yr old Q6600 processor. Just amazes me every time the power we have available to us.
Anyone else been struggling to get their suite (https://github.com/kamalmarhubi/one-second) running without modification?

I've had to modify the python code in a few places ... don't know why it isn't working out of the box - feel like I must be doing something wrong.
Yes, actually. In one second it can parse the first ~33 million numbers for primes using a Sieve of Eratosthenes. This requires about 115MiB of RAM.
Systemic collapse of the dollar would be entirely unprecedented. I have no clue as to what the effect would be on the real economy. It will probably not look nice. I somehow suspect, however, that the internet will not go down.
RAP: RIP ROP [pdf]
I know I had some issues building LT on Debian 7 (long time ago now) -- and the whole bundle node+nw.js appeared to be a bit fragile. Hopefully Atom Shell is a more stable/sane/better tested platform -- it appears that's what the reasoning was if I'm reading what appears to be the relevant issue correctly:

https://github.com/LightTable/LightTable/issues/1728
For replication instances run in a master-replica setup using Streaming Replication try:

http://www.repmgr.org/

repmgr is an open-source tool suite to manage replication and failover in a cluster of PostgreSQL servers. It enhances PostgreSQL's built-in hot-standby capabilities with tools to set up standby servers, monitor replication, and perform administrative tasks such as failover or manual switchover operations.

repmgr has provided advanced support for PostgreSQL's built-in replication mechanisms since they were introduced in 9.0, and repmgr 2.0 supports all PostgreSQL versions from 9.0 to 9.4.

https://github.com/2ndQuadrant/repmgr
src:
http://instagram-engineering.tumblr.com/post/13649370142/wha...

For Sharding try:

http://instagram-engineering.tumblr.com/post/10853187575/sha...
http://rob.conery.io/2014/05/29/a-better-id-generator-for-po...

For clustering try:

https://github.com/smbambling/pgsql_ha_cluster/wiki/Building...
https://wiki.postgresql.org/wiki/Replication,_Clustering,_an...

I too wish there existed a nice dashboard db management tool like the ones Rethinkdb and Couchbase provide out of the box.
Nope, shouldn't be within years of rainy seasons of being enough.
https://news.ycombinator.com/item?id=10442115
Interesting personal take on recent California history. But the latent racial anxiety that is an important part of this story (and is ironically captured by the title of this piece) would be outrageous if it wasn't so comical. The author glosses the racial and ethnic diversity that makes California special and he seems like a good guy. But he ignores the ugly racial politics that still lurks in a diminishing but active part of the electorate. This headline from earlier this year, as much as anything, sums up the "darkness" that colors much of the nostalgia expressed by nostalgic Californians, especially those of the author's and author's parents' generation:

"It's official: Latinos now outnumber whites in California"

http://www.latimes.com/local/california/la-me-census-latinos...

One of the things I love most about California is its racial and cultural diversity. But a lot of that transition from the "agreed-upon, commanding" version of "modernist California" to the "post-modern phase" was embodied politically by a white flight impulse among people like my grandparents who beatified FDR then in the 1950s and 1960s started voting for conservative politicians like Ronald Reagan when he was elected governor and ended up reliably supporting a Republican establishment that sanctified Prop 13 and championed funding cuts for the public institutions that formed an important part of the foundation of the California dream. They got theirs and they were loathe to pay it forward for a state that they felt was being overrun by people who didn't share their values and were not like themselves.

With the election of Jerry Brown and the dominance of Democrats in the legislature, California seems to have turned a corner fiscally and a lot of the doom-and-gloom headlines that gleefully pointed to the deficits of the previous decade have faded away. California still faces a lot of challenges. At least it is facing up to them.
Hm, the happy note on the end about the good parts of progress was light on the massive increase of income inequality. A city with foreign investment and state of the art medical facilities is good and well, but is unrelated to what makes San Francisco San Francisco, which is a generosity toward difference, and a welcoming "come as you are" philosophy. If nobody except the highly affluent can live here, we've lost our way.
This gets repeated a lot (the whole "Japan is racist!" trope) but it's nonsense. Actual studies carried out proved Japan is not only the least racist country in Asia, it's equal to most European countries. They're actually less racist than France. South Korea and India on the other hand, are orders of magnitude worse. See the study yourself:

Source: https://www.washingtonpost.com/news/worldviews/wp/2013/05/15...

The reason why the myth gets perpetuated is because young, white affluent males go over there for whatever reason (teach for a while, anime, exotic extended trips, etc) and don't get treated like little princes. So they go back home, hop on their favorite "gaijin forum" and claim they were discriminated against and that Japan is racist. That's why young hot Japanese girls weren't throwing themselves at them, or why people weren't bending over backwards for them.
With Python this is usually a version mismatch - 2.x and 3.x are subtly incompatible.
Unicode date formats can be used in PHP via `ext/intl`, the ICU wrapper library;

$ php -r 'date_default_timezone_set("Etc/UTC"); $x = new IntlDateFormatter("en_GB", 0, 0); $x->setPattern("yyyy"); echo $x->format(time());'
https://news.ycombinator.com/item?id=10443932
The first example (sum.c) is mistaken: it says the number of iterations per second is 550,000,000, but actually any compiler with -O will remove the loop entirely (since the sum variable is not used for anything), so the execution time does not depend on the number at all. The answer is limited only by the size of the integer, and the program will always take far less than one second.
The was a Conservative attack ad in the recent Canadian election that says in Chinese that the Liberals will make brothels open in Canadian neighborhoods.

Obviously this was a really stupid move. Good thing the Conservatives lost.
The grep one is tricky. If no characters match, it's fast.

But if some match, and if it is ignoring case, it's much slower. It's actually faster to read the whole file into memory, lowercase it and check with python for index of match.
Singapore is the worlds largest tranship port - and it's just run out of capacity. Lots of big port expansion (and relocation) project underway though.
One thing that conflicts with people's preconceptions, is that Japan isn't as racist as people believe. Usually the reverse is true, Koreans and Chinese claiming Japan is racist, while being racist themselves.

Take a look yourself. They did several scientific studies. They found Japan is less racist than France, and equal to most European countries:

Source: https://www.washingtonpost.com/news/worldviews/wp/2013/05/15...
pasha reply
reply next
Is this still the case if you set LANG=C on the command, so that you're lowercasing ASCII bytes instead of Unicode?
Alternatively: do you know how much your computer could do in a second, but isn't, because the majority of software is so full of inefficiency?

In my experience, this is something that a lot of developers don't really comprehend. Many of them will have some idea about theoretical time complexity, but then see nothing wrong with what should be a very trivial operation taking several seconds of CPU time on a modern computer. One of the things I like to do is tell them that such a period of time corresponds to several billion instructions, and then ask them to justify what it is about that operation that needs that amount of instructions. Another thing is to show them some demoscene productions.

I got a few of these questions wrong because I don't use Python, but I could probably say with reasonable confidence how fast these operations could be.

Related articles:

https://en.wikipedia.org/wiki/Wirth%27s_law

http://hallicino.hubpages.com/hub/_86_Mac_Plus_Vs_07_AMD_Dua... (I know title is a BuzzFeed-ism, but this article came from before that era.)
Too many classic films remain buried in studios' vaults
I have one, during setup it asks you to log into your account to 'complete the setup. i couldnt at the time, and some apps worked, and others absolutely required the login, but it was half-usable without it.

When you log in it 'feels' like a cloud-powered, personalized device and I imagine if you had a second device and were to log in it would probsbly bring much of your info over. im curious to see what they do with tying the Amazon account to a device in the future.

I was also a little worried as a non-US resident that it might be locked into amazon.COM accounts when I use a different locale, but everyting seems to smoothly work.

Its no ipad, but I can buy ten of them for a price of an ipad. As a longtime ipad owner I finally feel like theres competition, and the price point is unbeatable. IF you gave me $50 to spend on a tablet, Id get the fire. if you gave me $200, Id get four fires. If you gave me 500 Id buy an ipad, and if you gave me $550 Id buy an ipad and a fire.

You cant go wrong at that price point, but for what its worth when its in the hand it feels like a device I would have expected to pay $150-$250 from anybody else.
It's time we legalize prostitution to bring it out of the shadow's. Its naive to pretend it does not exist, the illegality of it only hurts those who engage in it for a living whether they are doing so willingly or not. Keeping it illegal on moral high grounds leads to unintended consequences like sex trafficking and criminal charges the effects which last a lifetime.

Path2Freedom is trying to raise money for a $20 million dollar 100 acre refuge/community for victims of sex trafficking

http://www.path2freedom.org/
Good point. Could work on other things while at the office, but seems difficult to have enough time while down a founder, and trying to run and M&A at the same time.
They would get so much pushback for artificially raising prices, with the increased demand they can claim innocence/market forces - this seems like the most logical explanation to me, also don't think they'd want to collude with a potential competitor for profit-sharing that seems a little conspiracy theorist...
I got 10 / 18, that's a pass! I learned some of these numbers from doing a lot of stress tests on the game I work on.

I think the really big thing is to actually create some infrastructure around your product to run performance tests whenever you're developing a feature. That's the only way you're ever going to good data.

As an example, the SQL tests will act very differently depending on if the table was in the buffer pool, or it had to be fetched from disk (I wrote my own tool to run tests on MySQL if anyone is interested, https://github.com/arianitu/sql-stress)
I still don't understand why anyone building a new canal through Central America would not be trying to maximise the effectiveness of their work by building a sea level canal wide either enough for continuous crossing in both directions or dig two canals and make each one continuous flow in a single direction.

Yes it's a bigger challenge, but these projects are some of the few remaining opportunities in modern economics to say "we expect payback time of two decades" and not get laughed at. No locks no lock maintenance, continuous flow, more ship, more money.

It's also possible to use novel techniques from the last hundred years of progress to "dredge forward" using water itself as an an active tool to wash away all but any hard rock terrain that needs clearing. The rain and loose soils that hurt the first attempt at the Panama Canal could be turned into a positive factor with today's technology.
Schubert!
Ok. I don't know which one though.
>As far as I can tell, from my visits, California is dystopia. A different sort of dystopia than Washington, D.C. or Boston, but a dystopia nonetheless.

Stop being a melodramatic, spoiled American. Current-day California is nothing like:

* Present-day Russia

* Present-day China

* Present-day Mexico

* Pinochet's Chile

* Nazi Germany

* Soviet Russia

* Anywhere else in the Eastern Bloc

* present-day ISIS territory

Besides which, plenty of people hated Reagan.
Users pissed as WeChat starts charging for money transfers
The Founder Visa