skysight-inc/HackerNews huggingface dataset:
There's two kinds of videos I watch. The first ones are ones I find on the internet, usually immensely popular. I ignore comments on these.

The second are videos from my friends, or select channels I subscribe to. These usually have a small viewer base (<10000 views), and in the comments one can actually have a useful discussion.

Of course now many of these small feeds say 'Comments are disabled for this video'. I assume it's because the channel owner does not want to link their google+ account, or some technical fuckup - it seems unlikely they'd all change their settings, but I guess it's possible.
Although not mentioned in the article I'd venture to say language design choices squarely aimed at solving distribution woes, like:

- static linking only (unless you 1. use cgo and 2. dynamically link against a native lib)

- trivial cross compiling (but no cgo)
Let's say I have an anonymous pseudonym used on a number of other sites. I can now have it on Google+, with one big difference: it's no longer anonymous. Google will know who's using it because of their real name policy, and can then put two and two together across sites they don't own.

Anonymity means no-one knows who you are, not "no-one except Google."
> During the 1960s, the US and the Soviet Union competed for supremacy in space. But there was another contestant in the race - the Lebanese Rocket Society

Ignoring the France[0], Japan[1], the UK[2] and China[3], that is.

Kind of a weird hook.

[0] http://en.wikipedia.org/wiki/Diamant

[1] http://en.wikipedia.org/wiki/Mu_(rocket_family)

[2] http://en.wikipedia.org/wiki/Black_Arrow

[3] http://en.wikipedia.org/wiki/Long_March_1
Great question!

The basic answer is (from what I can tell) that postgres ships with sane defaults. Lots of little gotchas exist in mysql that experienced mysql dbas know to deal with and avoid. On the more sophisticated side, pgSQL seems to have a focus on being "Really Awesome For Experts" where MySQL seems to be focusing on "Being Easy to Get Started".

I've been using pgSQL for my side project and for my "personal tooling" at work, and I can honestly say that it's just as easy for me as MySQL was for the same sort of things.
> That there may be a second order effect via interest rates is somewhat plausible, but it just boggles the mind how many people seem to believe that this second order effect would ever trump the first order effect of savings decisions.

This is just what I'm talking about. Dismissing the economic benefits of increased investment as "second order effects" when what really matters is whether the recipients of the money make more economically productive decisions than would the consumers in the alternative.

Take the obvious example. On the one hand you can invest money in a local small business which would otherwise not have had an investor and will use the money to hire more local employees who will go on to pay local taxes (allowing lower tax rates or more local services) and consume further local goods and services. On the other hand, you can go to Walmart and buy some knickknacks from China, which will do very little for the local economy as the primary result will be to stimulate the economy in China. It seems exceedingly obvious that the investment can be better for the local or national economy than the consumption. On the other hand, you can easily imagine some investment choice that would be less beneficial than some consumption choice -- because what matters is not the distinction between savings or investment and consumption, it is the economic benefit to the local economy of the ultimate use of the money.

> investment not in the sense of "buy some shares/funds", but in the sense of "create new means of production".

That distinction is certainly important, but that's exactly what I'm talking about. If you buy some shares, now the person who sold them has the money. So what does that person do with it? Perhaps they immediately turn around and buy some shares in something else. Now that seller has the money, and so on until somebody does something with it other than buying shares. So what is that? It could be something useful, like some economically productive type of consumption, or increasing the means of production. It could be something stupid, like hoarding gold or sticking it in a mattress or buying a prime piece of real estate and then not using it for anything. But these are the same decisions that the original party faced, and there is no reason to expect that the seller(s) of the shares will be any better or worse at finding a productive use of the money than the original party would have been.

Let's even go ahead and concede that on average savings are less economically productive than spending for some reason. You still have the same problem, because averages are not instances. There remain many instances of saving or investment that are more economically productive than many instances of spending, and preferring the latter to the former is conceding an enormous amount of economic inefficiency.
How to talk to girls.
edited to add: - timestamp with time zone

- More robust, fewer crashes, less corruption of data

- More features (JSON data type, partial indexes, function/expression indexes, window functions, CTEs, hstore, ranges/sequences/sets, too many to list)

- More disciplined (doesn't do things like auto-truncate input to get it to fit into a column)

- Not owned by Oracle, it's actively developed, regular major release schedule, etc.

- Better Python driver (don't know about other languages)

- Choice of languages for database functions/procedures (Python, JS, etc.)

- Better partitioning support

- Better explain output, explain analyze, buffers

- Multiple indexes allowed per table in a query
this is awesome!
still, i miss one essential feature - compared to mysql on aws and heroku/postgres: there is no replication for read replicas. yes, you can deploy a "hot standby" replica in another availability zone for failover, but you cant read from it.
Not really anything useful in this article. To make fibonacci "non-blocking", you use process.nextTick callbacks to "interweave" the computations, just like real threads!
RF testing requirements and efforts vary from country to country, and even with certified devices there might be manufacturing defects that could cause interference. So it's impossible to be 100% certain.

The rules were there as a "better safe than sorry" measure, implemented at a time when most people didn't carry many electronic devices (way before cell phones became popular). The pilots have training to fly with multiple instrument failures, but even so you want to do what you can to reduce the risk of that happening.

RF interference can occur in a wide area of the spectrum, so it's not really possible to eliminate it just by changing frequencies. Even if you could, getting the aviation community to change their frequencies which are used all over the world in all airplanes and at all airports would be exceptionally expensive.
Interesting - I opted in and will give it a try.

I frequently use the https://youtube.com/tv layout after seeing it on my Samsung Smart TV
I think the author didn't spell out the issue with that useless bit of trivia because the issue is obvious. Whether the implementation of the function is inefficient or not is immaterial to the argument. Most things arn't CPU bound, some things are. So the complaint stands.
JIT Crash-Course: SMIs and Doubles
Hi All!

Mailgunners will be hanging around in comments, ready to answer any questions, should you have any.
Merchants are not going to accept this, it's the same as a CNP transaction.
It's like how a super-villain goes evil, but not at all. I miss his brother...
Yes I really want to have a reprogrammable CC that I hand to a waiter NOT - Why not just have the fed mandate Chip and Pin after a certain date like Europe did.
As a pretty satisfied paying Picturelife user for the past year, I was kind of wondering when they were going to make some effort to attract those Everpix users. Good move.

Let's hope the "extended" freemium accounts of those Everpix users don't end up taking down Picturelife as well.
Ask HN: giving advice to the newly graduated...
I recently got asked for advice getting a job in tech and it caught me off guard a bit. I am by no means a guru. My current state of things (work - life - family) feels at times like a series of very lucky accidents.

The letter below was drafted for a kid who lives in my bldg. I live in the literal shadow of NYC. West bank of the Hudson River about 2 km from the West Village. The reason I mention this is a general attitude I have towards the young people in Hoboken (my city). I used to walk my (recently deceased) dog at night and see them smoking pot and doing teenagey things in the park and want to say to them - "Take the PATH across the river - the trouble you get into will be of a much more rarified and enlightening variety...".

NYC so close is like another world to these kids... They'd probably kick my ass - so I leave them be.

Anyway. This kid recently out of college looks like a decent kid. His mom approached me to ask me to help him find a job. He studied somekind of website design program at a local Catholic college.

I typed the following and gave it to the doorman to give the kid whan he sees him next. Thi is what I thought was decent advice for cracking into a tough job market for entry level folks.

It has nagged me for the past few hours as I wonder if it is good advice. It is based upon hiring folks for a techops dept for an adtech company in NYC.

I am in my 40s so feel a generational gap. There is also this insular Hoboken thing at work... Also, the fact that his moms asked me probably makes all that follows null and void.

For future iterations - what would you all change/ delete / add?

https://gist.github.com/mbubb/7471197
.... and when the waiter accidentally presses that button and changes the card which your business lunch is being charged to?
> Why doesn't Google include the native Dart VM in Chrome?

Probably because Dartium (Chome w/Dart) doesn't yet have the kind of performance advantage that makes it compelling enough to split the web that way -- making developers use dart2js for client code means that you don't need separate client code for Chrome (Dart) and everyone else (JS) -- and needing to commit to extended support of two different scripting runtimes in Chrome for the future.
>'s' has no meaning by itself

That is exactly the point. It is just a string. That is the entire context of the variable, there is no more insight to be gained. The more generic a function is, the more generic the argument is, and thus the less context exists to be put in the name. Naming it "thisIsAStringJustSoYouKnowTwiceThatItIsAStringLikeTheTypeAlreadyToldYou" instead of "s" does not provide any benefit.

>I've rarely seen any code that would use 's' appropriately in a 4 line method that wouldn't hesitate to use it everywhere else inappropriately.

You should read more code. Both go and haskell have tons of examples, as this is standard practice in those languages.
Some engineers I worked with went and interviewed people at various San Francisco startups about their experiences with their databases.

The MySQL startups tended to say "We love MySQL. We've gotten in the habit of taking an hour or two of downtime in the middle of the night every week to run all of our schema migrations, and we've had to build our process around that, but one we had it in place, everything's been fine."

The PostgreSQL startups said "We love PostgreSQL. We run schema migrations in real-time during the middle of our workday, and we don't have any problems."
I am not a Mac. I am not a PC ....
Exactly, G+ Twitter, FB are content exchanges with value added in form of comments and discovery in my opinion, not content creation places. P.s. Google returns 404 on his G+ profile, is it correct http code? Shouldn't it be something from 5 while case is being resolved at least?
I don't understand why. Any other company now (presumably) has the right to digitally offer out of print books too. No one else wants to do it, either out of lack of motivation, cost or potential revenue. You can't blame Google for that, this is a massive step forward for society.

It's not really a win for free markets if you now need to legislate.
Blink - The Power of Thinking Without Thinking
Dart does run on the server. The VM runs standalone for scripts and long-running apps, and the dart:io library provides very node.js like file, network and HTTP APIs, with the addition of Isolates for actor-like concurrency.
> I think a bunch of things that people often classify as "luck" should really be looked at as timing issues.

I think there's some Venn Diagramming to be done here. Luck doesn't mean that something is impossible to react to; it simply means that you're not the instigating agent of the event. There's a very large set of categories that are luck, and some of those are timing issues.
(Disclaimer: I'm a postgres community member.)

I think the biggest advantages are trust and flexibility.

Trust, because PostgreSQL language semantics are cleaner, closer to the SQL standard, and less likely to surprise you. And postgresql just has a good reputation for traditional engineering quality.

Flexibility, because it offers a lot of APIs and features that can be very useful to adapt your application as needs change. You don't have to go crazy with features, but even simple apps can benefit a lot from prudent use of them -- a trigger here, a foreign table there, or LISTEN/NOTIFY (for cache invalidation) can just save you a huge amount of work and make the system more robust overall. The extension mechanism is very powerful.

Before making any big decisions, do a trial migration and see what you think.
Also this: https://walla.by/the-wallaby-card
That sounds right up my alley! I'm currently tracking the geolocation of computer science professors by tracking the gaze of the NSA's agents who are watching them through the myriad of security cameras in our country.

My academic resume isn't going to get me noticed for a PhD program but it sounds like someone is finally looking at ability (I had great scores on the Computer Science GRE in 1990, but they apparently only last five years and that test has been discontinued)!
Looks pretty cool. Too bad the holograms are not included :)
> Everything interesting like night life, public transport even groceries and restaurants are all either non-existent or so far away that you always have to drive.

Nightlife, public transportation, grocery stores and restaurants are not non-existent in the Peninsula and South Bay. And if you live in one of the downtown areas, most of which are clean, safe and vibrant, all of these things are accessible by foot. Rents in these downtown areas are generally no more expensive than rents for comparable housing in desirable neighborhoods in San Francisco, and in many cases, the rents are meaningfully lower.

This said, it's worth considering that a lot of people prefer not to live in a dense, urban environment. One of the most attractive things about the greater Bay Area is that it offers different kinds of environments for different lifestyles within, by US standards, a relatively small geographic area, so there's something for just about everyone. What's wrong with that?
Its a bit hard to read the mag stripe by eye - unless your a mutant in which case call in Phil Coulson's team stat
I'll just leave this here:

http://wiki.postgresql.org/wiki/Things_to_find_out_about_whe...

Plus, I've heard that mysql will ignore maxlength for chars, causing issues when moving those to postgres.
can it be tested on Google+?
This is a very cool gadget, but I think it's a strange name.
True. You're much more likely to apply data management fundamentals in a project than optimize impala queries on petabytes of user data. If you're a 10-50 person startup...maybe even a 200 person startup, what core/critical internal problems can you think of that would require such large scale computing? Would you allocate precious resources to a 'big data' team to monitor your logs or user activity? You most likely wouldn't need to. For the most part, only the big companies deal with that much data and only a handful of people would be in charge of managing it.

Edit: I also don't want to sound close minded or rule out an era where every company, large or small, will have TB's of data on their hands. I just haven't seen any indications that we're going in that direction.
Keyword Research in an Excel Spreadsheet
Super cool idea! but, terrible name choice, no one is ever going to call it just "Coin" they're gonna call it their "coin card". "Coin" is already slang for money in general like, "dough" or "clams" and is also already a form of money.

Do you have a coin?
I lost my coin.
Check out my coin.
I paid for that with coin.
Coin is so convenient.
I got rid of all my credit cards, I just use coin.

All of those will be "coin card" if this catches on.

Similarly, I have an account at Simple. And while it's a product I absolutely love it's hard to explain to people what I mean by "I do my banking online at Simple" or "I like simple because they charge no fees" It seems like I'm just being grammatically incorrect and I honestly feel like it contributes negatively to peoples perception of the company. Also search is a bitch when you've got such a crappy name.
Took me a sec here to realize that WP = Windows Phone. I was checking my WordPress sites (the "other" WP) to see if they disabled my YouTube plugins, and thankfully no.
SWAYZE: Free Ghost Blogging Theme by WooThemes
Yeah, cgroups are pretty awesome! I created a screencast about them @ http://sysadmincasts.com/episodes/14-introduction-to-linux-c... if you wanted to learn more about them and have never used them before.

There is also a great talk by John Wilkes (Google Cluster Management, Mountain View) about job scheduling via Omega at Google Faculty Summit 2011 @ http://www.youtube.com/watch?v=0ZFMlO98Jkc
Based on Coin's FAQ:

1. Yes, it should be usable with ATMs without issue.

2. You cannot lock your coin with a password, but it will deactivate after it loses contact with a phone after a user-specified amount of time. In theory, I'd assume you can disable Bluetooth on your iPhone and it will effectively "lock" your Coin until it can pair with your device again.
It's new, yes. I wrote it about two months ago because I needed a parser and found the existing solutions too bloated.

> It doesn't allocate or buffer, so when it says that it verifies proper nesting, I assume that doesn't mean verifying that start tags and end tags have matching names. I think that would be impossible.

It does match start tags and end tags, and in order to do so it does, indeed, need a small buffer. However, the only thing that needs to be stored in this buffer is a stack of element names, and that rarely needs much space - a simple fixed-size buffer is sufficient. It can be safely allocated on the stack if the application wants to. See the documentation for the yxml_init() for more details. The "mostly-bufferless" part of the homepage refers to the lack of a complicated input buffer and the avoidance of complex buffer management for output where possible.

> It looks like you pass the parse function a character at a time. To be fast, you'd want to somehow encourage that to get inlined.

The function is quite large. You can probably get it inlined when put inside a header file and when it's only called in a single place, and you may indeed see a performance boost. I haven't measured how significant such an improvement may be.

However, if performance is the primary goal (it wasn't for yxml), a completely different design would probably be better. Yxml needs to manage an explicit state object for each input character. For each new character it has to look at the state to know how it's handled, handle it, and then update the state for the next character. I was honestly surprised to see that yxml performed quite well in my benchmarks.

A more efficient design is probably the goto-based state machine approach that, e.g. ragel[1] can output. The reason I didn't go for that approach is that it complicates buffering. You either need to have the full file mapped into memory (not possible when reading from a socket or from a compressed stream), or you need to implement your own buffering and provide hooks so that the application can fill the buffer when it is depleted. The latter approach is used by most other XML parsers.

[1] http://www.complang.org/ragel/
Why all the vitriol? Because your hands are tied once you've bought the car. And even if you trust Renault (or any other company) and are pretty sure they won't abuse your weaker position today, can you trust them tomorrow?
Vi Hart: I have no plans to stop uploading to YouTube.
Moving beyond all the security concerns and potential technology shifts in this space, I'd be concerned with durability. By the time my credit cards expire, I typically have had to replace them at least once due to wear.

I'm not charged an additional fee to get those cards, but this would cost me.
Http://tech.pro/blog/1704/2-ways-to-get-started-with-phonegapapache-cordova
How often are the cashiers checking the back of the card? Many of the card readers I see are on the customers' side of the counter, and I swipe it myself, often because I'll enter a pin. Also there are self-checkout kiosks with little or no supervision. I don't think that the lack of a signature line is the _biggest_ downside.
World's first Skype certified WiFi IP cam launches on indiegogo
And this is why we can't have nice things. This conflation of the higher principles of fair use with people simply wanting to get popular movies and video games for free.
Requiring ID is against the rules of every major card network; so are things like adding surcharges, and having minimum transaction amounts. Think about it, anything that adds friction to using a card makes it more likely you might use cash, eating into the card network's revenues. Anything that does that is likely to be frowned upon or prohibited.

Report merchants that do that.

For Visa, call your card issuer.

For Amex, call them.

For MasterCard - http://www.mastercard.us/support/merchant-violations.html
It feels like we've gone in one big circle, where first we move the DB on to a separate machine for performance, yet now more computation will go back to being done nearer the data (like Hadoop) and we'll try to pretend it's all just one giant computer again.
It happens in litigation all of the time.

People decide to do something they shouldn't do, talk about it on GMail, and some "unfortunate accident" results in the deletion of said data when litigation time comes around and it's time to preserve stuff.
Amid PRISM, release the data request figures already? Think again, lawyers say
OnStar is a feature that can be disabled. This is straight up DRM.
You can be sure that that will come.
I assume it's easier in the sense that your waiter could add your card to his Coin, then immediately go buy a TV at the store with it. Not having to make a fake card or needing the address of the card holder to use it online.
Oh come the fuck on. At least to anyone who's written a C program, using "s" for a string argument is absolutely clear. Read the man pages for pretty much every goddamn string function in the standard library; strlen, strcmp, whatever, they call name them either "s" or "s1", "s2" if there are multiple strings.

Maybe we should do strlen(const char* theStringThatIsBeingMeasured), that's a lot clearer. Maybe we should expand char to character, and strlen to stringlength, because it might not be clear enough.
Chef Testing: 5 Steps Before Deployment
Pretty sure a magstripe writer isn't really that hard to get.
If my game would be a tv series it would have already been canceled
"Works like a debit card when you swipe it" - I'd probably get this if I wouldn't effectively be paying several hundreds of dollars per year for it in losses of credit card rewards.