skysight-inc/HackerNews huggingface dataset:
Looks like there's a thorough discussion of the pros and cons on the PostgreSQL wiki here: https://wiki.postgresql.org/wiki/UPSERT#SQL_MERGE_syntax
Fog Creek's interview series is making a pretty nice bid to be listed on http://allmalepanels.tumblr.com/
CD Shattering at 170,000FPS
Snowden has made a lot of powerful people very uncomfortable, so a fair trial and access to the media is unlikely.

> It's like exposing corruption in the police department and then only hanging out at the mafia's restaurant. How am I supposed at look at that guy now?

The whole point of staying in Russia is that he can't leave because the US made sure his travel documents were revoked, and Russia is unlikely to extradite him under political pressure from the US. If it was Snowdens goal to pass on information to Russia, he wouldn't have made such a big fuss about releasing that info to the media. So it's actually more like exposing corruption in the police department, and then seeking refuge from the wrath of those corrupt police, and the only safe place you can find is the maffia's restaurant.
That's correct they are not. David Simon has spoken at length on that exact issue, and it's referenced in the article I linked to quoting him.
Only the uploaders have broken a contract. Downloading information is never wrong, and they are under no contract. Hollywood sues differently, but they are still wrong.
Flummox or Alt (both are flux implementations) with async actions: my favourite part of JavaScript at the moment. The fact that the regenerator runtime means async/await wrap regular promise based libraries with zero hassle is just brilliant!
Thanks for the feedback! We're looking for a few people to purchase for $150 (to cover our costs) and help make sure the product features and fit are right!!
Teleport Your Real-Life Facial Expressions into VR with This Oculus Rift Hack
this is very good - sensible stuff, details will vary but this is a very useful start - everybody should do something along these lines, obviously tailored towards there own personal circumstances
Docker switch to libnetwork
>> 'hacked G2'

I love Pilot pens, anyone have an idea of what he would have done to it?
Adblock Browser for Android
> just discovered the 'guid' column on the posts table is hardcoded as the URL of the post

It comes up every so often. The WordPress devs are well aware of the platform's warts & WTFs. People have talked for a while about replacing it with a proper UUID, but there are way too many themes & plugins that use the guid field to get the post's URL instead of calling, say, get_permalink( $post_id ).

So now the devs are stuck. You can deprecate "guid", but you can't get rid of it. You can't replace the URL with a UUID because of backwards compatibility with third-party code. Do you add a "uuid" column? Now you have a guid column & a uuid column and people are going to get even more confused.

Right now, content staging is a bit of an edge case and folks who need it are able to store a UUID in a post_meta field. So it's not a really critical issue. But it would definitely be nice to see a proper UUID in core.

Some relevant Trac tickets:

Guids No Longer Have Permalink Format (discusses changing the format)
https://core.trac.wordpress.org/ticket/6492

Non-URL GUIDs are stripped on post update
https://core.trac.wordpress.org/ticket/18395
...which is the same way they were discovered long before they started being called "apps".
33.8M faulty airbags cause huge recall
Perhaps you missed the link in the article to https://www.sec-consult.com/fxdata/seccons/prod/temedia/advi...
I tried this for about 30 minutes without coming up with a single decent song. But I guess that is the whole point of an app that plays songs no one else listens to. I also cannot believe that there are so many unplayed songs on Spotify. You would think that at least friends of the artist listen to these songs. An app that shows songs that are just about to become popular (kind of like newswhip.com for viral stories), would be something that would be much more useful :). But maybe that exists already and I just don't know about it.
I think I must have overlooked this site before. How could I live without it? I love this hands-on compiler stuff and purity / laziness / type inference is what I'm exploring right now (even if Haskell is not my language of choice).

The compiler fledgeling I work on only knows Booleans & complex numbers and still manages type inference without unification. But then, it's not a full language, just a better numeric calculator. These articles are welcome input for coming up with improvements & extensions...
I'm European ... and I upvoted you. They sold us the EU as a big brotherhood of the European people, instead we got a giant bureaucracy at the service of big corpo.
John Lakos differs from you. In his book "Large Scale C++ Software Development" he advocates starting at the lowest level of your own code, that is, subroutines that only make system calls or call libraries that are provided by the system.

Then you unit test the second level - subroutines that only call that first level, or that call the system or libraries.

main() sits at the top level.

Not every program is straightforward to levelize. His point is that one should do so.

Also the unit tests for any one level should focus on what is new on that specific level, with the assumption that all the lower levels are flawless. In general they won't really be but when that's the case you write a unit test for the lower level.

This keeps the LOC on the tests about the same as the LOC in the deliverable.

It is unfortunate that his book focusses on C++; really he should have written a separate book on testing that was language-agnostic. There is very little of that section that's really specific to C++.

In addition to unit tests I do integration tests. If there's a file format involved I create lots of input files that contain various edge cases.
For insurance purposes, universal no-fault is probably the only easily managed way. Some states have that.

For criminal liability, the owner or operator of the car is subject. If you are driving an autonomous vehicle, that was your decision, and you're responsible for what it does in traffic, just as you're responsible for the car you drive today. So, no change.

If the car itself is shown to be defective, then you sue the manufacturer. Scaling up, there's class actions, and recalls. So, no change.

EDIT: https://en.wikipedia.org/wiki/No-fault_insurance
There are consumer products that have them mounted sideways (e.g. I think one of the xboxes?), so it seems like they're reliable enough for consumer electronics standards.
Some thoughts:

1. This is a fucking awesome idea. The sharing economy doesn't doesn't require corporations sitting on top of it taking a share. The sharing economy wants to be diffuse.

2. Black car service is a high margin market for a profit driven company. But those margins mean that it isn't suited to everyone's needs.

3. I don't think you need public meetings. That's just going to drag out implementation. In markets where Uber and Lyft are already operating, those meetings have already been held and all that's needed is regulatory analysis. The service just needs to be implemented within the existing legal framework.

4. I don't think buying code is necessarily the best first step. Comprehensive evaluation of applications may be technically hard and existing approaches may have impedence mismatch with your unique requirements. Buying existing code should just be one of several options not a solution looking for a problem.

Overall, market analysis should come first. Pick a market, look at the legal framework and tailor your decision to that. Avoid trying to change the law. If you want taxi drivers on board, make your service appealing to them when they look at the box and delight them when they open it. Don't try to explain the change, people don't like change. Town-hall meetings are fine for governments, you're not one.

Good luck.
Indeed, the US (and the EU) economy is being kept on life support through Quantitative Easing and artificially low interest rates. But the patient is already brain dead.
It is still nuanced in how you do it. For example, what about age limits for drugs? What about adults being banned from getting drugs (say an 18 year old getting alcohol). What about pharmaceuticals being sold without a prescription. What about ensuring safety standards in what was being sold (say ensuring that the crack in the store wasn't cut with anything horrible).

Edit: That said, I do think the argument that even with all this, the argument that legalizing everything now and worrying about the details later is better than keeping it illegal while we work out details does have merit. I'm not convinced it is right, but I'm not convinced it is wrong either.
With so many passwords, my will shall be a book. I use Lastpass and will prefer to give the master password :)

The thing that bothers me are the auto renew settings on my subscriptions. One (any probably only) way to stop them is to cancel the cards they are on. For e.g: Dropbox/ Amazon s3 will charge me for my hosted data for eternity.
Yes and I deeply enjoy it. That said it works best if you just accept that this is the story that the Author wants to tell and that there might be a few or more than a few logical conclusions that you disagree with. A lot of the decisions he makes seem over the top at first blush but on closer inspection the make a ton of sense.
What Number26 is doing is essentially: create a simple UI for accessing your bank account. Think of it as wrapping the "traditional" mywirecard service (= prepaid CC service with a terrible UI) in a modern interface with some added functionality similar to what your bank would expose via HBCI (which is usually offered by banks in Germany as part of their online account management product).

They haven't solved how to deposit money: you need to manually wire that from your real bank account into the bank account associated with your "prepaid bank account" for the MasterCard.

All in all, I don't really see the added value over my regular bank's web interface + PayPal (or similar). That's coming from someone who's got access to regular credit cards of course. And I - arguably - don't need real-time access to my transactions if I know that they usually show up on my online CC bill within 3 days max.
This is pretty great - One feature I really liked from go was channels and the ability for goroutines to communicate with each other. Anyone know there a pep open for a similar idea in the python world?
I can understand that events shape people, but I don't think they shape them in the same way.

Like the recent crisis.

Here in Germany it was a thing 2009/2010 and it wasn't really "that" bad, but it made the people a little bit carefuller.

In Greece the whole thing came smashing down and is still a huge problem for the people there.

The whole crisis has formed people a lot differently in different parts of the world.
I find it amazing that the messenger gets shot when unveiling a massive criminal conspiracy that goes to the highest levels of government. If there was no crime in the first place there would be nothing to unveil and Snowden would still mostly likely be sitting at his desk in an NSA data center somewhere doing his job. Do you also want any witnesses to petty crime and more serious personal crimes such as murder locked up because they happened to witness someone else committing a crime?
shameless plug time We're not an all-you-can-eat type of service, but with BoomboxFM[1] we've been working on something like this. Every week we send you 3 songs from 3 different independent / undiscovered artists, personalized to your genre preferences. Songs are free to download. That's it, nice and easy.

We're one week from demo day in our accelerator (TSF in N.C.) and actually use the "4mm songs have never been played on Spotify" in the opening of our pitch. What a lot of people are missing right now - amidst all the fighting about crappy payouts from streaming services and still shady labels - is that even if the payouts were amazing the lesser-known artists still need fans to know about them in order to get plays. As David Foster Wallace said (paraphrasing), "without gatekeepers/curators, we're all gonna be bodysurfing through shit 95% of the time online."

[1] http://www.boombox.fm/
Ignoring the disingenuity, if racism (e.g., redlining, gerrymandering, selective use of semi-legal police procedures, etc.) hasn't led to the current disparate state of affairs between races in America, then what has, pray tell?

"Racism" isn't merely a buzzword or an excuse if it's actually a historic and ongoing phenomenon.
It's not for a lack of trying I assure you. We can only interview those who accept.
I feel like MS is pretty good with their acronyms. Usually just Windows% or Microsoft%. OSS, on the other hand, is a bit ridiculous.

It's time [to] explain the meaning of "Hurd". "Hurd" stands for "Hird of Unix-Replacing Daemons". And, then, "Hird" stands for "Hurd of Interfaces Representing Depth". We have here, to my knowledge, the first software to be named by a pair of mutually recursive acronyms.
Theft of Debit-Card Data from ATMs Soars
How the Soviet Union Tracked People with “Spy Dust”
PayPal penalised for 'deceptive' practices
I clip the end off of a Montc Blanc ink cartridge to make it fit into the G2 chamber.
The icky point is when you start looking at crime as a function of not just SES but also culture. A lot of people have a hard time nuancing culture from race even though a well traveled person would easily see the difference.
WCF was built for the WS-* world, and as such is over-loaded with complexity that is covered up by way way too much abstraction.

If you don't need WS-*, use Web API services self hosted with Katana if you need to exchange data between applications/processes instead.
Welcome to a week of Java
And your point is?

Assuming your point is "we need more women in panels", here's my take as a consumer: I want to listen to experts, not experts who are women, or experts who are black or experts who are gay or experts who are latino.

And anyway, say we get a 50-50 split for women-men in panels. Then what? A population proportionate mix of asian/latino/black/white women?

How about we listen to what people have to say based on just that? Rather than what your preconceived notions of what constitutes as a disadvantage blah blah that needs to be artificially corrected.

And anyway, that would still be treating the symptom, not the cause.
The Right Way to Brag About Yourself
I wish Apple/Google/MS would realise that they could stop operating an App Store and start running an App Mall instead.

Inside their Mall, different third party stores could focus on different niches and demographics with totally different criteria for including and rating apps with different UX to browse and discover products. Some could use expert reviews, some user reviews, others taste based recommedations. Its crazy to think there could ever be a "one size fits all" store for all types of people and all types of activity that digital devices are used for. Maybe an IGN store, a LifeHacker store, a ThinkGeek store, a Fortune store etc.

Apple/Google/MS could spend their time on the simpler effort of curating and promoting good stores instead of good apps and offer them a typical referral fee on each purchase. I think everyone would benefit - better shopping experience for users, better niche surfacing for developers, new revenue source for tech reviewers, simpler curation job for the platforms.
They standardized on Ed448-Goldilocks:

https://mailarchive.ietf.org/arch/msg/cfrg/BPDuOnVbrWiMSCjcf...
The drug war is part of it. But the big thing to fix is income inequality. High income inequality is correlated with higher homicide rate, higher robbery rate, lower civic participation, higher mortality, lower social cohesion and lower well-being in children. So many social problems are strongly predicted by this variable, yet many refuse to consider inequality to be a problem.

http://en.wikipedia.org/wiki/Economic_inequality#Effects
That can be a very misleading number.

8.4% owned, how many are not privately owned have services/goods/staff provided in large part by private companies?
> This a good thing for those companies that have lots of WCF services.

I very much doubt that. WCF is one of the most over-engineered frameworks I've encountered so far, and I've seen many. It's an epitome of enterprisiness, with every miniscule detail configurable via XML, with countless layers of abstractions, factories and providers, with very specific modalities, with all kinds of pluggable serializers, with metric ton of other crap. Because WS-*.

So it's very unlikely that some average developer will go spelunking through the codebase to fix some obscure bug that occurs when interoperating with an Apache Axis-based Java web service that is using WS-ReliableMessaging with WS-Addressing over carrier pidgeons. Not gonna happen.
https://support.microsoft.com/en-us/kb/926179

The article mentions Vista and Window Server 2008, but it applies to Windows 7 and Windows 8 as well. There are some Stack Overflow threads as well.

For the VPN setup, I largely followed these instructions:

http://www.stormacq.com/build-a-private-vpn-server-on-amazon...

There are a few typos in the scripts cited in the article especially around saving the iptables rules.

OS X's native VPN client worked out of the box
> you need a relationship with someone in the Cupertino saloon.

That is no advice at all, just a confirmation of how biased the app stores are. All the big guys can do that. How is supposed a small indie dev, across the world can success at this, now?
> You would think that at least friends of the artist listen to these songs

Perhaps they have, just not on Spotify.
Tell HN: Why I Don't Supply My GitHub in Job Applications
It pisses me off that everyone just assumes that all applicants have a GitHub account. While I do, I only use it to supply pull requests to other GitHub users.

Applicants are never requested to supply their SourceForge, their Savannah or - in my case - a link to the source tarballs I supply from my own website.

I'd like to find some way to get the point across that applicants should not be judged on their GitHub. I'm cool with being judged on my contributions to free software, but not cool with the expectation that I must make those contributions by using one specific for-profit corporation's website.
HMAC in Go, Python, Ruby, PHP, and Node.js
Agree.

The idea of work ethic has been contorted.

I will work hard for years if I get a reasonable reward for it. 20 years of 40 hour weeks for a family home and reasonable life at the end? Sure.

40 hour weeks for zero increase in net worth and barely making the rent? Get outta here. Someone else can be your pawn. I'll find alternative ways to live, screw your little game.

The idea is deferred gratification, not total lack of gratification.
I was wondering about the size too. One picture has a matchbox for comparison, based on that it appear to be the size of a hockey puck (about 8cm diameter) .

edit: 8 not 80cm!
Don't say that.

My mother is 75. So is her twin sister.

Ever see the movie "Harold and Maude"?
Nintendo of America Hires Bowser as New VP of Sales
struct SLevHeader {
uint32	mUnknown1; //always 0?
uint32	mUnknown2; //might represent a bank or collective size

uint32	mNodeCount; //28 bytes each
uint32	mPlaneCount; //40 bytes each
...

I remember picking filetypes apart by browsing through C header files to 'steal' images and sounds from games.

Which brings me to my question, how did developers manage revisions and migrations of datafiles and code back then? I'd love to hear about some homegrown tools. These days you could just store all the parts of a WAD file in a SQL database!
http://www.instructables.com/id/Save-$200-in-2-minutes-and-h...

Probably that. Take mont blanc refil, put in G2. I have one on my desk and it works wonderful for the 8 words I write per month.
It is 16km to the coast of Scotland. While probably not economical for burning, I find it hard to imagine that they had no access to wood.
You point to data (not really, no sources)
You ignore alcohol usage entirely.
You generalize the behavior of all prosecutors, without data again. And you seem think you are not naive and that in some way the system is "working"...

System works to what end ?
Voxel Quest Fluid Dynamics and New Rendering Method
From the article:

American police forces deliberately gorge on the excess of 750,000 marijuana-related arrests every year in order to profit from quotas, grants, and civil forfeiture while allowing hundreds of thousands of rape kits to sit untested for years in police warehouses. Only 4% of all American police arrests are for crimes considered “violent” by the FBI, even though those crimes are offered as the justification for enormous public expenditures, wholesale Orwellian surveillance, and every violent aspect of modern policing.
I think with this low interest money--some wealthy individuals are more than happy to invest in bitcoin? Plus, I have a picture in my mind of some country, with a all powerful Dictator, demanding free electricity to power his Bitcoin farms? Just because it seems fun to specualte! I won't name the country because my ip is naked, and I am paranoid.
I'm sure all the statists in this thread would be singing snowdens praises if he had only been a senator or maybe worked at a large international bank, cause those people break all sorts of laws all the time and these apologists don't seem to mind.
Or if there is, it's probably snakeoil.

http://bindshell.nl/pub/zines/OandE/exp03.txt

(Ctrl+F: Vpn24.org)
Why? I myself am not over the moon about what Snowden did, though I recognize the necessity for it, and don't hold any personal grudge against him for it.

I just don't trust people to accurately asses whether or not something is "leak worthy", and I don't want to create a safe path for folks just because they thought what they were leaking was important for the world to know. It ruins the concept of holding government secrets, something I think benefits the US and other governments more than it harms them and the people they serve.

I think it should be a huge risk, and carry dire consequences, in general, when you release classified information. In this specific case, perhaps the fact that the US courts, congress, and the US people have all collectively been appalled at what the US government has been doing should exonerate Snowden, but only in this specific case. I would not like any kind of precedent to be set, for the aforementioned reason.

I hope Obama pardons him in his last days in office, or offers him a deal where he is allowed back in the US without serving any jail time.

What's wrong with my logic?
Why is leaking a massive spying program on innocent Americans courageous, but leaking a massive spying program on innocent non-Americans misguided? Morality doesn't stop at the border, people on the other side of it are humans too.
I am sure I will get downvoted to all hell, but I understand the politics of your comment. I am sure it will get de-railed, but it would be awesome if someone can post interviews with well-known female programmers in response here. I would love to read them.

I know one of the authors of Learn Haskell authors, superginbaby, is a mother by reading her about page after her very cool "Teach Haskell to a 10 Year Old" post.

https://superginbaby.wordpress.com/2015/04/08/teaching-haske...

She seems awesome. I would love to read about contemporary programmers, specifically in the open source world (I know, ironic given this in response to Fog Creek).

Maybe something more contemporary than the CMU Ada project, which I just found.

https://www.women.cs.cmu.edu/ada/Resources/Women/

As a beginner, I want to read about anyone who can do this better than me. I would read from anything, but if I could read machine code better I would be busier with that instead of procrastinating on HN.