skysight-inc/HackerNews huggingface dataset:
I am sure we can debate all day the merits of different styles of testing, but Ryan (the blogger and co-founder, for those who don't want to read the article), really should think about adding some testing for features like this. To say things like "this [bug] was embarrassing, especially when that [user] was a potential investor" and then also make comments like "we had just redone our website, and hadn't done too much testing" or "I could have written a script for this [testing], but that itself would have taken up precious time", is, frankly, silly. I'm glad actual users were able to give you the data to debug and have a potentially mediocre experience in the mean time. If you are a start up and expect potential investors to give you their money to fund your dream a) don't come off sounding lazy about quality, and b) make a well tested, high quality product. Testing will make your product better, waste a lot less of your own time as a developer, and win you investors for your idea.
Do we know where is it gonna to crash?
https://github.com/seamusabshere/upsert
GHC is written in Haskell. I don't know the line count, but I understand it to be a large project.
Well, for one I wouldn't want to authenticate via Twitter, especially when it's not a benign permission like "only basic profile information".
Seems like they copped up to it and said they forgot to remove it in their new HN piece.
Actually, it really doesn't. You can prove me wrong by linking to any study where a VR rig has caused any physical change in the human body. Otherwise, you're just spewing FUD.
Short answer - no. This is a completely uncontrolled "re-entry" and no one knows where the pieces will end up.
Context? This just seems to be a post from a Mercurial/Hg advocate.

Mercurial could be 10% better than git, but unless it's 500% better, it will never displace it.
I'm sorry, I only just started learning SQL a few days ago... But I was building a simple web application and I wanted to add a user if the email didn't exist else update that user's fields. And I came across this article: http://www.the-art-of-web.com/sql/upsert/

Is that not an upsert?
There are lots of people who don't really have the ability to arbitrarily sell their time at whatever value they assign to it.

(I guess this is something like the marginal value of the DIY repair could easily be higher than the marginal value of learning something else or seeking and doing work)
I was forced to use mercurial for a few years at work and I really hated it. Sure it has a better learning curve than git (or did) but I found it to be incredibly frustrating already knowing git.

In addition, I found it to be slower, less flexible, and prone to permanent repository corruption - yes, in git you do see repo corruption but because of the cryptographic nature of git objects you know immediately. HG will (did?) happily let you work away at a corrupted repo for weeks until a fresh clone was attempted and the dreaded repo corrupted message killed development for days until the problem was painstakingly manually fixed.

This is just personal experience and a lot of it comes down to taste, but IMO if you are already proficient with git there is absolutely nothing about mercurial that is preferable and some considerable downsides I have been subjected to.

Disclaimer: This was a few years ago now, perhaps the project is more mature than it was.
Glad to see that y'all have removed the Kate Upton photo, I can see that it was just a mistake :)
I think it was mentioned on a comment, but just to make it clear:

A rootkit is not a virus nor a way to obtain privileges on a Linux box, but a set of tools providing various features to keep hidden a root access to the hacked box.

This rootkit provides various backdoors allowing to get root ssh access and advanced anti-detection features, but as far as I know, this package won't hurt you badly as far as you don't manipulate it with a privileged user.
Totally agree. Sounds great, but I'd like to know more about who is behind it.
Much like most things in life, it takes practice and intelligence.

The negative aspects are primarily because people haven't practiced enough or are being idiots.

TDD is absolutely fine with OO. We have no problems with ~2 million lines of C#. It works pretty well to be honest. If you're finding something hard to test, it's usually broken in some way and usually because concerns aren't separated properly.
Honest question: are you being sarcastic? I've only ever owned one device with an aluminum body: it was an iPod Touch and when I dropped it the screen got cracked (but it didn't fall apart). I've never broken anything on a device with a plastic body. I've dropped all my devices. From this I has guessed that plastic, being more flexible, absorbs some of the impact of falling by bending a little, whereas aluminum being rigid communicates the impact to other parts better.
Sorry to hear. I think it's admiring to see how you tried to build a product, but lack of selling/marketing always creates a bump in the road to a successful product.

We're currently using Slack. It supports both IRC and XMPP, has a webinterface and bouncers. It also gives you more detailed stats about the users, has integrations with other services and so on: https://slack.com/r/024fus8f-02566qu1 (shameless referral link.. k, thx, bye).
10 Questions On Innovation to Philippe Kahn
emacs is moving off of bzr.
Oh, I misinterpreted what you meant then. Regardless, your logic is sound and has lead me to think about things I hadn't considered. So, from now on I won't disregard grammar errors but will instead use them as evidence. That said, I'm kind of stuck on how to proceed when the ideas in a comment are trending towards valuable but I reach a grammar error. Maybe how to handle those is just a function of personal preference or available time? Also, based on your experience, should I consider user names as part of the available evidence?
Show HN: Distance Calculator – weekend project
I'm interested in your comment about the cryptographic nature of git objects. I know that hashes are used to identify commits, but I'm not sure how Git uses cryptography elsewhere — e.g. to check the integrity of repos, as you said. Can you explain this aspect in more detail? (Not being argumentative; just curious.)
I absolutely agree. It was only after I started listening to podcasts that I stopped finding running so boring. Even music I find exciting wasn't interesting enough.
The Environment Agency also puts their flood risk maps online:
http://watermaps.environment-agency.gov.uk/wiyby/wiyby.aspx?...

so you don't even need to spend the money on an OS map.
He has changed the name of his OS multiple times. Might have some luck with the latest name, but you'd have to dig for it.
NixOS added to DistroWatch after 7 years on waiting list
If you read the whole page, you see that it still requires a full table lock to avoid duplicates. A true upsert would not require a table lock.
glimcat gave a good intro into the problems elsewhere. It's the tip of a very big iceberg, but this is the real reason VR previously died on it's arse. Sadly the meat is hidden behind academic material paywalls.

Not to say you can't harm yourself with conventional setups, you can (epilepsy being the extreme example, but eye damage from using displays irresponsibly is very common in the geek world), just VR adds whole new dimensions to it that should really be far more openly discussed.
The link leads to a page that tracks the international space station. As far as I know, it's not going to come down for years, if not decades...
Well, you assumed a lot of stuff in your post, too..

But yes. Microsoft will actually reset your password, or ask you for it, to troubleshoot O365 problems. Very standard.
That's fair enough. When the software is simple, that shouldn't be a problem.
Using an ad-hominen like "notorious Wiki naysayer" makes it clear from the onset that you have an axe to grind.

For starters, while journalists use "noms de plume" their real names are known to their editors and their outlets. This is not the case with Wikipedia. Not to mention that the names behind the "noms de plume" you mentioned (Orwell, Dalrymple) were also known to the public at large. English readers could easily find that Orwell was Eric Blair.

Second, for having "to hear some better reasons than these", he gave a lot of MORE reasons in his post, which you conveniently seem to have missed. From banned editors who continue to serve on various wikipedia boards despite showing extreme dishonesty (using fake accounts, promoting stuff, etc), to hiring a convicted felon as a COO, to pointing to a book full of similar transgressions.
im not a postgres guy so I don't know how possible this is - couldn't the pythonic "forgiveness not permission" pattern work here?

That is, a proc that just attempts the insert, handles the unique or primary key constraint violation error, and then proceeds to the update as a fallback? Sure you push the concurrency risk to deletion instead of creation, but deletions are generally more rare than creations so a table-lock on deletion is more palatable.
You're headed straight for burnout. How do you expect your body to feel after you don't ever give it a break from this programming thing? This is exactly what happened to me.

By the looks of it, it isn't a matter of if, but when. If you bet your whole life on work, and then work starts biting you in the ass (which it will over a long enough timespan) then what will you do? What other areas will you be content in to carry you through?

The real benefit of balance is being able to shift your focus among various areas of your life to weather the storms of life.

A technical piece of advice: develop your taste for languages and constructing software beyond what Industry tells you.
nope...try a little harder :)
Show HN: Pensqr – A new visualized content sharing platform
You should have linked the first post in that thread. It explains what the whole thing is actually about:

https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg00...

Tl;dr: Mercurial is a free software project sharing GNU's goals, while Git is made by anti-GNU people who do not believe in free software and has an incompatible license.
It's early...
Also, they say that "For pledges to projects outside of the US, we store the last four digits and expiration dates for credit cards."

Isn't that the information that resulted in Amazon and Apple accounts being compromised last year? Perhaps those two have fixed their procedures to prevent that from happening again, but other companies may not have been pro-active. And even if proper procedures are in place, all it takes is one little screw-up.
Is it any harder than this?

class Team {
List<Player> players = new List<Player>();
public void AddPlayer(Player player) {
// rule checks here
players.add(player);
}
public IEnumerable<Player> Players {
get { return players; }
}
}

Covers SOLID, DDD, the lot.

One should never inherit the list. Encapsulate perhaps but the list is there as a fundamental structure and to inherit from it would break the encapsulation of the domain model you are constructing and increase efferent coupling.
One of the definitions is that government has total control.

That's the definition for totalitarianism. You need to couple that with populist extreme nationalism and state corporatism to really be properly fascist though.

If you want to understand how the UK social services manages sometimes to be quite so completely fucked up (and I am in no way denying that they can be scary fuckers), you need to understand the confluence of the British jobsworth, combined with really bad incentives. Using the epithet fascist doesn't really tell you anything about this though.

To put it simply, the professional penalty for wrongly taking kids away is much much lower than the professional penalty if something goes wrong through inaction. This is due to a series of high profile cases where kids died after not being taken from their parents. Unfortunately there are also a lot of jobsworth box tickers throughout the UK bureaucracy.

This is not all of them, but there are enough that when coupled with a system that doesn't really punish them as long as they are seen to be doing something, encourages some really dark Kafkaesque insanity.
Quebec Double Murder Inspired by TV show Dexter?
Great idea and thanks for sharing. We've been trying different methods to teach savings but so far the pure excitement of "I want it!" has defeated all logic. We've been stuck making choices for him instead of him learning to make them on his own. Definitely going to use this the rest of the year. Will be easy to keep track of on the phone.
I suppose this one will keep coming around and around.

Streaming music site royalties need to be compared with radio station play royalties (after the number of people listening to the radio station has been taken into account). Notional comparisons to album sales (or individual song sales on say iTunes) are spurious.
Sure, but there is only one community that uses that vocabulary. No-one doing computational chemistry or machine learning or weather forecasting or quantitative finance (or any of a hundred other kinds of programming) calls themselves a "full stack engineer" or a "javascript ninja". Only guys assembling websites out of pre-built components (aka frameworks) like Ikea furniture, for companies to use for marketing.
My biggest issues with hg are that hg's revision numbers aren't synchronized across instances, they are local only[1] making them kind of useless, you can't easily have local branches[2], and it stores changesets instead of objects.

I've ever seen a convincing argument to choose hg over git. Sure you can do a lot of things with it and I'm sure it's perfectly fine to use, but if you know git, and you like git, there's no reason to switch. What does hg have that makes it better than git that you should give up git? Popularity is what git has over hg. Someone using git will probably never have to spend anytime worrying about learning hg, but an hg user will have to become familiar with git because git is used everywhere nowadays. So my recommendation to people new to versioning systems is to pick git. I can't for the life of me understand why someone would pick hg for an open source project unless they wanted to throw learning curves and barriers at developers, or they just really really liked hg (probably because they chose it over git a long time ago).

[1] http://mercurial.selenic.com/wiki/RevisionNumber

[2] http://stackoverflow.com/questions/8995598/can-i-mark-a-bran...
I'm not very familiar with Julia, could you provide an example of what you're taking about in the last paragraph?
I think you're confused -- 1Password is a local client, with no online component run by 1Password (well, by Agile Bits, the makers of 1Password). They have good clients for OSX and iOS, and kind of shitty clients for Android and Windows (IIRC).

1Password does have some sync functionality between devices, using third-party services (dropbox, iCloud) and LAN-local using wifi. Or you could otherwise copy your own encrypted password database between machines.
That's great - didn't know that. Thanks for posting.
I'm a cord cutter. A cord cutter looking for the cheapest alternative, which is to consume no television at any price. It would be good to know how atypical that is.
The English in a nutshell:

".. we forget the force of nature. So these sorts of moments are quite disturbing to people."
It means the tokens are no longer valid. It's as if the user has disconnected the Kickstarter app from their Facebook account. To log in with Facebook again, they have to reconnect, thus generating a new token.
Not even RMS holds that position. You should read the thread.
Yes, while the current dev kit would have a hard time being a consumer success for easy to point out reasons, knowing that the consumer version will be qualitatively 10x-100x better (~4x resolution, content availability & quality, better form factor, positional tracking, low persistence, and the real key: 'presence'-inducing) lets you understand how many of the potential things that would stop VR from going big very soon will basically be non-factors.

I'm hopeful 1440p will be fairly text friendly and prove good-enough for programming, etc. but even if not quite there, that merely means that threshold will be broken a year or two down the line.
Some people frown upon training neural networks with genetic algorithms, just because gen algs are so random and hard to dissect. I think it's silly to discard anything that is a potential solution to a problem.

I go by a rule of thumb like this:

- If you are able to collect lots of training data (inputs and valid outputs) then use back-propagation. It's faster and you might get better results.

- If you don't know the outputs for inputs or if there are simply too many possible combinations (such as in the case of a game), then use a genetic algorithm. It's effectively a search engine that finds the best solution within the problem space (the solution being the optimal weights for the neural network).

Using Neural Networks and Genetic Algorithms
http://primaryobjects.com/CMS/Article105.aspx
It does imply the existence of unintended purposes.
As someone who does a lot with hand-coded upsert implementations, I would say that the problems are genuinely hard. I am somewhat on the sidelines. Not only are the problems hard, but the expected behavior is sometimes even difficult to define.

The real problem is that if the desired behavior is not nailed down entirely in the first implementation then what will happen when the operation is improved is that it will break stuff. That's I think the strongest argument for waiting.

OTOH, the concurrency issues are genuinely hard and there are a large number of applications for whom they don't really apply in the real world. It might seem to be nice to have a canonical syntax.

I guess on balance I agree with you but for very different reasons. Once you have an API, you have a contract.
The site now has an infobox stating "It has been reported that COSMOS 1220 has reentered the atmospehere [sic]".

No other reports that I can find, but this site[1] seems to have a lot of good info. Oddly, I get a completely different orbital inclination when I click on "To see where this object is expected to fall click here." (and, rather alarmingly, an impact site next to me) The main page and NORAD both agree however that it's currently still in orbit and currently somewhere around Cape Horn.

It's hard to tell whether a particular map is using live data or extrapolating a stable trajectory. At this point I imagine there'd be a large discrepancy.

[1]http://www.satview.org/decay.php
sell the result, not the medium. I've written code for fortune 100 companies and gov't agencies in "crazy" languages like scheme and lisp... I didn't say what technology I was going to use, I just told them what the result and cost would be.
Bond – Touch to stay in touch
Funny, at my company it is the oppositive.

If you give the developers the choice, they would drop git and go back to mercurial.
Your issue is actually two concurrent inserts. Once you have inserted rows, there are no concurrency problems beyond those of ordinary updates.
I've just started using Harvest but I like what I see here, too. I'm not sure there is enough of a difference (price, features) to make me switch but I see potential and the price is competitive.
I think this is the exact right question - without context hg advocacy makes little sense.

And when I personally engage in mercurial advocacy it with an understanding that as you say, unless it's 500% better than git – which it is not – it will never displace git. However hg is every bit as good as git and most of my advocacy (as in this mail) is merely point this fact out and dispelling quite a lot of FUD, which seems to pop up in these discussions.

My goal is to see Mercurial continue in its position as the Mac (or Linux) of dvcs' to gits Windows. That is as an honest, respectable choice that you might, or might not make for valid reasons.
Your Tl;dr: is wrong.
Why every household should have its own currency
Right. There is the principle--and then there is the question of controlling your environment, of cognitive self-defense. TV and the associated paraphenalia introduces clutter and extraneous cognitive load. And it does this out of proportion to exposure--for me, at least.
What are these then?

https://github.com/git/git/blob/master/COPYING

https://github.com/git/git/blob/master/LGPL-2.1
> Git is an Open Source project covered by the GNU General Public
License version 2 (some parts of it are under different licenses,
compatible with the GPLv2).

https://github.com/git/git
> What does hg have that makes it better than git that you should give up git?

Better user experience out of the box for Windows shops.

This might change with Microsoft's adoption of git for TFS, but you won't find many appraisals for git at my workplace. Many people still miss hg.
Actually, it's the other way around. On the demo video the presenter says "the audio signal is transmitted from the computer to the phone".

here at 2:15 : http://www.youtube.com/watch?v=X5I6qV2b5iw

I am more curious about if the phone has to be always listening and what happens if there is noise in the environment.

Also what if the attacker manages to bring a recording device close enough? Is the distance important because of the amplitude or because of the delay due to the speed of sound?
NSA allows Australia to spy on US law firm
Obnam is also great: http://liw.fi/obnam/

This does deduplication, but can also encrypt the deduplicated blocks and store them on (say) S3.
Git is (mostly) GPLv2. The other licenses, at least according to git's docs, are GPLv2 compatible.
I can't speak for the GP, but I also tried the demo and I did find the design sleek and appealing.

But when I clicked the comments link on the first post on the front page, it took about 20 seconds to see the comments. Also voting for a comment made the page unresponsive for about a second.

I don't know if this is because just the demo server, the underlying technology or lack of optimization in the actual app, but this is what made the otherwise cool demo less interesting to me.
Huh?

Git is GPLv2.
Perhaps worth mentioning that this article is almost two years old, and I believe certain things have changed at google since then.
I don't see any proof whatsoever in that discussion that the data is being sent back to their servers. Sure, it uses the entries somehow, but it's not known. Looks like typical redditorian pitchfork witchhunt to me.

There even was a guy in there saying you can avoid this by stopping your dnscache service. Good luck with that.
There's not a lot of meat to the article, in all honesty - but the basic concept of hyper-local currencies really appeals to me.
Why don't you, you know, CALL them on the phone? They have a customer service line for a reason. Twitter isn't exactly that.

Interesting analysis nonetheless.
Don't get me wrong, I really like some of the concepts they are considering for the architecture, however until there is a working beta, I'm just going to file this as vapourware.

I am always a little suspicious of publicising something as a solution before a prototype exists.
git is licensed under the GPL (== v2), just not GPL (>= v2).
I've had a linux machine at work since new year's , and I've been an OSX user since 2004. I'd say that my I've lost more time to that linux machine in two months than I've lost to OSX in two years, and that's not even counting the microannoyances in the UI.
For those of us less aware, could your or copx link to an explanation or why the tl;dr is or isn't wrong, or give us a quick one?
git is GPLv2 not GPLv2-or-any-later-version.
Yes like those cheap plastic thinkpads with roll cages and titanium chassis that last quite happily for over ten years...