skysight-inc/HackerNews huggingface dataset:
I'm not sure if I'm misreading this, but your tone sounds quite snarky. That kind of attitude is not exactly the normal tone for comments at HN.

So, I appreciate this article, but the content does seem somewhat redundant to HN. Every now and again a new life-hack article will appear, and then talk about Pomodoro, then people posting links to their time saving apps. It's a tested technique, so why not? Maybe it really will help someone today get their project shipped. It's not the worst thing that can happen around here :)

I like that the HN community supports constantly trying to be more productive. "Building it" can be hard for people, depending on their background and what "it" is-- and I don't think having a sarcastic oppositional stance is going to encourage or help anyone.
I cannot comment on Chrome itself, but internal C++ development at Google has a pretty comprehensive array of checks, both static and dynamic.
http://postgresql.1045698.n5.nabble.com/jsonb-and-nested-hst... seems to be the relevant threads. Apparently there are issues over wire format, and jsonb being in core (and unless I'm misreading things jsonb is to be a new type separate from json, which is unwelcome news, I didn't know about that although it does make sense from a "binary copy of database files" sense)
That's far too simplistic and cannot be taken seriously.

One of the first serious issues you'd have to consider is migration from other countries to your model country with basic income. There's billions of people out there who'd happily live on basic income in some first world country and I'd absolutely encourage them to do so, given what the first world's riches are built on (but I digress...).
Why Simple, the Anti-Bank, Sold to a Giant Real Bank
Why it is hard to view working "just for healthcare" as positive? Is it hard to view working "just for money" as positive? I.e. suppose that one works only because one needs money and otherwise he would spend his time playing Tetris, walking on the beach and reading medieval poetry. Why is it negative that he still works and not lives off other's money and other's work, involuntary taken?

If this is not negative, then how is it different for healthcare? It's the same money, only spent in a different way, mostly because american tax code is weird and the government tried to mess with pay arrangements repeatedly which gave birth to various fringe benefits including employer-sponsored healthcare. But at the end of it, it's the same money, isn't it?

>>> one can't afford this on a teacher's salary in most parts of Bay Area.

If you raise salaries for a wide class of employees - what do you think will happen to the housing prices? Also, where would the money come from? California has about 300K teachers. Each 10K of salary increase would cost 3 billion dollars (not counting pension costs, employer's part in taxes, etc. so actually more). Where those additional billions would come from?

But teacher's salary in Bay Are is not so far from software engineer's:
http://rossieronline.usc.edu/teaching-salary-california/

The second and third highest paying districts are both located in Santa Clara County, which is also home to Silicon Valley. The average salary in the Mountain View-Los Altos Union district is $100,530, while Los Gatos-Saratoga Joint Union has an average salary of $92,636.

Considering other benefits like pensions, I'd say not so far from that of many software engineers.
Google Drive API – Code School
Angular Best Practice for App Structure
1,000 rounds of PBKDF2 is less secure than just using scrypt, and probably less secure than just using bcrypt. But the code looks correct as written.

It seems like a red flag that it took more than 50 lines of code to do this simple thing, though.

EDIT: Specifically, should the PBKDF2 "key", not be used for something (like HMAC) rather than being used as the hash itself?

Using the output of 1,000 rounds of PBKDF2 as an input to HMAC wouldn't get you any extra security.
We do not yet have the technological foundation to feasibly implement a Banks'ian Culture-type "hard" UBI, and we barely have the beginning glimmers for even "soft" UBI like what many are discussing today. We lack energy production and management, AI, and nanotech for even rudimentary hard UBI, and even soft UBI is infeasible due to knock-on effects whose management is poorly-understood. Example: we already have a diabetes epidemic with low socioeconomic groups, and the obesogenic environment is not well studied enough to know if giving those groups more access to free time will improve outcomes. Will those groups on average use a soft UBI to improve their overall health, or will they choose poorly and the benefits of UBI blowback into exploding healthcare costs? No one really knows yet. I would like to believe that soft UBI would lead to better health outcomes, but that might simply be my own socioeconomic background speaking.

The few soft UBI trials commonly found in citations were too short-lived to tell whether we were simply observing a Hawthorne Effect at work or if the outcomes were sustainable.
Yeah, I realised after typing it that there's probably a huge amount of availability bias in my statement. It wouldn't surprise me if Wordpress MySQL deploys outnumber all rails/django postgres deploys combined. And the PHP mainstream isn't moving away anytime soon.

MongoDB, though - I do question that, however I have no figures and it again probably depends on the circles in which you move whether you see a lot of it or not. I don't move in node circles much, so I hardly see it at all.

Mea culpa. That said, in the startup-filled tech incubator in which I work, and in which rails is pretty dominant, postgres is king. Make of that what you will.
That's because "for (;;) ;" is and idiom that's commonly used in a programming pattern called the "for(;;);ce field", to work around other C and C preprocessor quirks, by syntactically insulating and protecting statements in C preprocessor macros from outside interference.

As a matter of fact, by deploying one of those the beginning of the macro, one in the middle, and one at the end, you can set up what's called a "trifor(;;);ce field", an anti-anti-pattern that is documented on the c2 wiki thusly:

The trifor(;;);ce has the power to grant the wish of whomever touches it, and molds the Sacred Realm to reflect that person's heart. The trifor(;;);ce does not discriminate between "good" or "evil". However, if a person without an equal balance of power, wisdom, and courage makes a wish, the trifor(;;);ce will split into its three separate parts: the piece that best personifies the wish-maker will be the only piece to remain in hand, whilst the other two will take residence in whosoever most personifies them. Reassembly is then required for such a person's wish to be granted, but does not exclude another from making the attempt.

No, I'm just joking and making shit up. Don't anyone ever do that! As bitchy and pedantic as gcc and clang are about other things, I'm disappointed they don't complain about that.
Show HN: Chrome extension which speaks main web content
> On the other hand, it is telling that Apple gave priority to iOS.

Maybe not. It could just be that OSX has a higher testing effort. There is a bigger spread of versions across the OSX platform than iOS. And also Apple does have quite a few hardware specific builds of OSX they need to test.

Still completely unacceptable though.
Prince Charles showing off his worn-out gardening coat: http://www.dailymail.co.uk/news/article-2291333/Countryfile-...

(he also wrote a couple of books about organic gardening)
Ironically, this graph does an excellent job of showing a correlation that really exists between the two data sets, albeit a non-linear one.

The only misleading thing about this graph is the title, which states a causal link with no evidence of one.
With a graphical browser, the images-of-text are ideograms I (ignorant westerner) do not understand, so the experience is the same. That's probably intended as humor.
For what?

Whatever your jurisdiction calls false representation or misleading advertising, where someone takes your money after offering one thing but in fact giving you something else instead.

In this case, it appears that no harm has been done if they didn't actually take that money in the end.

However, there seem to be plenty of stories around without such happy endings. IME Facebook's ad management system is so bug-ridden that it's hard to believe this doesn't happen all the time.
Retiring staff forces firms to retrain Java, .NET  as mainframe sysadmins
Want horror stories? Try consulting.
Gmail's 'unsubscribe' tool comes out of the weeds
That assumes Facebook exists in your jurisdiction so there is a legal entity you can actually take to court, though. A significant difficulty with small claims processes, at least where I am, is that because you typically don't involve lawyers on either side so you can keep the costs down, you can also have difficulty even figuring out who you actually have an actionable complaint against if you're the little guy and you're up against a business with a non-trivial structure.
Chasing flavor-of-the-month seems like a pretty lost cause. I would like to see the patch in as well, but this seems like a pretty terrible reason for it.
I work in the enterprise space and MongoDB is very popular. It isn't replacing MySQL or PostgreSQL at all (neither of which I've ever seen) but rather Oracle. And it's big in the higher end internet space as well:

http://www.mongodb.org/about/production-deployments/
Is San Francisco losing its soul?
Even if FB thinks that they have a total legit case, they can fear the exposure of the misinformation and FUD in the discussions in the court and press coverage.
Cool story bro. You may want to check out digitalocean for hosting - their cheapest option is only $5 a month - about equivalent to the smaller $40/month aws option. It's very simple as well.
I was toying around with your (quite excellent) Yowsup library a little while ago and the one question I always had was this: Since WhatsApp doesn't have an official library, wasn't Yowsup always in the cross-hairs?

I mean, it was only a matter of time before they clamped down and claimed that you were violating section 3.A.iii of the ToS by reverse-engineering the WhatsApp protocol, right?

Don't get me wrong, I would have loved it if Yowsup was allowed as an (unofficial) API - or something like that. However, as a newbie to the world of programming & software development in general, I am trying to understand what was wrong about the DMCA notice. What, in your opinion, should they have done instead?
Does anyone know how aggregates in Julia compare to aggregates in SQL in terms of speed? I like the power of SQL, and know it well. I wonder if Julia is worth investigating.
Not true at all. Apple has quite a high percentage of users on both iOS and OSX with the latest versions.
> He's pointing out that it's a practical impossibility.

I'm not convinced that it is NOT financially viable. Especially in Switzerland where the governance is exemplary compared to other countries. I believe it is, only a real world example will convince me and Switzerland IMHO is the perfect country to run this experiment.

The fact that you equate taxation with extortion for example, shows that you have a different, not necessarily wrong, starting point than me.
Hi there,

I'm Markos Charatzas, the author of the post.

This is actually a series of posts written (http://qnoid.com/2012/11/10/A-post-about-user-identity-that-..., http://qnoid.com/2012/11/10/Mockups-on-user-identity.html, http://www.youtube.com/watch?v=_9Zu-AHhXyo), talks given (https://speakerdeck.com/qnoid/user-identity-nsconference-201... https://speakerdeck.com/qnoid/user-identity) and open source code released (https://github.com/verylargebox/VLBUserIdentity) on how we should think of user authentication based on existing user behaviour (never signing out) and trends (long lived sessions, email verification).

When talking about mobile, people don't log out of every app before locking their device.

If you have any further questions after reading all the above happy to address them.
I am interested in it for another reason.

I am working on a not-yet-released (needs test cases!) CPAN module called PGObject::Type::JSON.[1] This module would let you effectively grab JSON types from the db, serialize and deserialize on the db query so you don't have to worry about it.

The serialization and deserialization is cool, but the question is what you can do with it. With the json functions if they become more functional, we could use JSON as an input to stored procedures, allowing arbitrarily complex data types to be fed into or out of stored procedures easily without having to serialize in tuple/array format.

A single, cannonical, well supported format would be huge in that it would allow you to do things with the database with extraordinary ease that are not trivial to do today. For example, really good json support + composite types as tuple elements (including arrays of composite types) + really good indexing support should give you an ability to approximate the power (for at least some workloads) of full custom type development, without needing to go to C.

[1] https://github.com/einhverfr/PGObject-Type-JSON
Doesn't matter, the system updater can blow away Chrome or anything else.
The Bevometer
Good morning Hacker News ~
We recently launched our Kickstarter for the Bevometer and think your readers will love it. Kickstarter runs through March 14, with rewards delivered in May. Our entire process is complete, it's just a matter of lead time receiving inventory.

https://www.kickstarter.com/projects/jrichmond/bevometer-i-count-your-beverages-for-fun-health

The Bevometer is an innovative take on the traditional koozie. The built-in technology automatically tracks your beverages with THIS TIME + LIFETIME counters. Definitely fun and also supports a healthy lifestyle.

I'd be happy to provide images or content if it would be helpful.

Thank you for your consideration,
Jenny
____________________________________
Jenny Richmond, CFO
Bevometer, LLC
C: 503.789.5424
O: 515.274.9641
jrichmond @ BEVOMETER.COM
I don't see tinco saying it is simple to replace these things. Where do you see that? I suspect you're unconsciously framing tinco's position this way...

Another possible way to interpret the 'ashamed' statement is that tinco is simply saying we should be trying harder to move forward when we are using such old technologies with such warts. Why can't we get rid of the warts? We should try harder. Perhaps this is what tinco is saying? I think at least equally plausible to the naive position you're projecting onto tinco...that it's 'simple' to replace these things.

Kudos to Neovim for making the effort! It is certainly appreciated.
Note also if you living on the dole, you get free housing, free healthcare, free phone, free childcare services, free education, etc. etc. All of which you'd have to pay for if you were stupid enough to work. So actual initiatives are even worse. Even now, welfare already pays more, if benefits are counted, than a minimum-wage job:

Welfare currently pays more than a minimum-wage job in 35 states, even after accounting for the Earned Income Tax Credit, and in 13 states it pays more than $15 per hour.[1]

In fact, in 33 states and the District of Columbia, welfare pays more than an $8-an-hour job. In 12 states, including California, as well as the District of Columbia, the welfare package is more generous than a $15-an-hour job. In Hawaii, Massachusetts, Connecticut, New York, New Jersey, Rhode Island, Vermont and Washington, D.C., welfare pays more than a $20-an-hour job, or more than 2.75 times the minimum wage.[2]

[1] http://www.cato.org/publications/white-paper/work-versus-wel...

[2] http://www.cato.org/publications/commentary/why-get-welfare

Of course, there are incentives to work still, but $1200/month and accompanying tax raise may kill them for many more people than now.
Why I Stopped Being A Voluntourist
Vawa.vim plugin – highlight all occurrences of php variable under cursor.
This plugin will highlight all occurrences of the php variable under cursor. This is help full both while writing and reading code. When writing, this helps to prevent typos, by highlighting the variable as long as the name matches, or not highlighting if there was a typo. When reading, it can improve readability by quickly showing the location where a variable is actually used.

You can fully customize highlighting.

Screen shot http://i.imgur.com/f9N2asZ.gif
Source on github or bitbucket?
New PayPal scam to trick people into future pre-approved payments
Is Facebook Building a P&G-Style House of Brands?
Yes, I suppose that's true. However, I believe OS X's software update requires packages signed by Apple and doesn't simply trust the integrity provided by SSL, so I don't think that can happen.
You might be very surprised to see what you have pre-authorized to pull funds from your account.

Log in to your paypal and then look here

Profile > My money > My preapproved payments > Update

https://www.paypal.com/us/cgi-bin/webscr?cmd=_manage-paylist

I was startled to see I had some that I had no recollection of authorizing.
"I hate the ideas many programmers have about backwards compatibility, unless it affects me." – FTFY

> "There is nothing holy about Unix era software, chances are it's shit and a lot of it should be thrown out."

1. we're still very much in the "Unix era"

2. There's nothing holy about software at all. Rules shouldn't be broken, but rules can be broken.

> Look at SublimeText, it's got 1% of the features of Vim, yet it's converting Vim users left and right, by its sheer usability.

If anything I'd say Vim is converting TextMate/SublimeText left and right. Most SublimeText users are former TextMate, and many new Vim users are former SublimeText users.

> We as developers in the Open Source community should be ashamed people are still using Vim to write LaTeX in Bash running on terminal emulators

Speak for yourself. I don't personally write LaTeX but I still very much use the shell, and Vim.
But it sounds like you're labeling a member of some other species or something.

In professional and unknown context, you can't really go wrong with woman for anyone above drinking age. (It's the most polite and neutral possible, I'd say.)
Please don't touch "The C Programming Language" if you care about modern C++, as you will learn lots of idioms that are good in C, but the WRONG THING in C++.

Better learning path:

- A Tour of C++, Bjarne Stroustrup

- The C++ Programming Language, 4th Edition, Bjarne Stroustrup

- Programming: Principles and Practice Using C++, Bjarne Stroustrup

- The Design and Evolution of C++, Bjarne Stroustrup (how C compatibility got to influence C++'s design)

Additionally read everything you can from Andrei Alexandrescu and Scott Meyers.

Then maybe, read The C Programming Language.
System programming languages with GC were already used at various Xerox PARC systems.

UNIX brought us into the wrong path.
Quoting Aristotle:

All paid jobs absorb and degrade the mind.

Anything more than 3 hours of work per day, equates slavery.

I don't think the above quotes are absolute, but are hard to argue against. However, I wouldn't expect any other approach from The Economist which content's quality has been growing logarithmically lately.
Continuing on,

Spoken Japanese and Chinese have little to no relation, except for Chinese words imported into Japanese.

Hiragana, however, is derived from Chinese characters thousands of years ago. The Chinese characters were used in Japanese writing to write words phonetically.

See http://en.wikipedia.org/wiki/File:Hiragana_origin.svg
Seconding the C++ Primer! I've been slowly working through it over the past year, and have found it to be outstanding.
How To Sell Your Company To Google In A Year
I can think of no reason why there would be any such restriction.

Suppose Facebook is getting paid by Bing, and won't offer crawling to those that aren't paying it? Suppose Facebook considers Baidu's crawler to be evil and chooses to prohibit it for that reason? Suppose Facebook just kind of likes the guys at Bing and decides to allow them special access? If you agree in the first place that Facebook should have the right to put ANY sort of restrictions on who can crawl their side, then why should ANY of these be prohibited? This is not a "common carrier" kind of situation.
Yeah, I think this is completely off-base in blaming the axes. The axes are perfectly fine in showing the actual correlation that's present here (almost certainly due to a third common causal factor, of course).

There's no really magically "unbiased" way of choosing axes. There seems to be a popular view recently that you should always start your axes at zero, I assume as a backlash to some graphs magnifying very small differences by choosing zoomed-in axis values that visually exaggerate variation. That isn't really an absolute truth either, since interesting data regions are not always near zero. For example, if you graph temperature variation in different cities staring at 0 K, you can make it look like essentially all habitable cities have around the same temperature, somewhere in the range of 250-300 K give or take. Of course 250 K versus 300 K is a huge difference to human perception of temperature, while the entire range 0-200 K is more or less irrelevant when discussing weather, so starting your axis at 0 would be a poor choice. In this case that would be the biased choice, intended to visually minimize actually important variation by choosing an unreasonably low starting point for the Y axis.
The best introductory text to modern C++ is, in my opinion, Accelerated C++ by Moo and Koenig. It's concise and teaches the language instead of spending 6 chapters teaching fundamental algorithms (yet another broken linked list class!) or OO principles (which often results in terrible C++).
Who cares about node.js? I am yet to see any Fortune 500 deployment on our consulting projects.

Following fashion usually doesn't lead to good results.
Doing Easy. An essay by William S. Burroughs
Could you crunch the numbers and explain how? A back of the envelope calculation will suffice.
I'm curious why people still throw around this essay even though Stephenson said he changed his view on the topic.

Of course the points made are still valid but they are by no means absolute truth and never were.
These guys are the best white-hat SEO growth hackers on the planet, just copy them and don't question it.
Show HN: How to load SoundCloud tracks by voice
Growl-like notifications in the Magento backend
Certified Ethical Hacker Council Hacked
Following a political conversation about 2 years ago, a very insightful left-wing commenter pointed out this:

"One of the biggest failures of Europe's socialism was the lack of any requirement to half the weekly working hours in 70s and 80s."

I wish this idea was more widely discussed, but still the mainstream idea is that more working, produce more value as if 'free time' does not hold any value.

It some scenarios is ridiculous. In Greece for example, the government trying to boost spending, opted for a law that allows commercial stores to open on Sunday. Before that it was illegal, you had to have a special permission to do that.

Of course, the problem is NOT the working hours. The problem is that people don't have money. Apparently the government thins that Greeks are waiting for Sunday to go buy sugar, milk and cigarettes. Says a lot about the level of contact that our (Greek here) politicians have with reality.