skysight-inc/HackerNews huggingface dataset:
How and when to comment should be a decision made by the contributors working on the feature, but squashing is something I always disallow for any team I work with just to keep the history and be able to follow the programmer when chasing down a bug.

My biggest concern here is, that you have to force push because of you rewrite the git history. That way you are most likely going to loose data.

If you need WIP commits to switch branches use the stash instead. You won't overload your history that way in a cleaner way.
The exception system that Harper was complaining about really was terrifically bad. It's all based on a form of limited reflection, but previously was implemented in a way that let you pretty regularly and possibly accidentally lie to the compiler. Nasty stuff, now gone.
And I'm sure the 90% that vanishes will be the 90% you want gone.

What I'm curious about is why you think Amazon's actions will drive away those creating crap for the sake of money. When I look through the Kindle Store the thing that always strikes me is how many knocked together short books written by people with no great expertise there are. To me that's the main current impact of Amazon's democratization of publishing.

There's a very good question to be asked about why the current publishing elite should be the gate keepers to who gets published and who doesn't, however you don't have to browse much of Amazon to see the impact on quality when there is no gate keeper at all and, to me at least, it doesn't look like a utopia of art for art's sake.
I have the same "problem". I guess I'm just too focuses on fixing stuff to stop and commit. Thankfully we're alive in a time where we don't have to adapt to our tools anymore, but our tools are adapting to us.

git add <file> -p

This lets you pick chunks of code from <file> that you'd like to stage for commit. When I feel I'm done coding for a session, I just run a `git diff` in one window, and in the other one pick chunks that contain changes that belong in one commit.
Highly tangential project pimp time: https://github.com/atomirex/umbrella

So, sadly I haven't got this further the last couple of weeks, and it's more framework than even proof-of-concept (panic at a paying customer taking precedence), however, the general idea is to provide iCloud/Dropbox/GDrive type functionality to apps (on Android to start with) via the storage app framework wrapping JGit synced over Bonjour or static IPs (and IDed with public keys) with a sane UI, and ultimately things like filetype specific SQLite indexing of documents within.

I don't buy the idea that any of Dropbox/iCloud/whatever are sustainable in the long run, especially with the privacy noise. The whole thing needs to become user-oriented, not service-oriented. How the economics of that will work I have no idea, but it's becoming an itch that's getting intolerable.
Generally flight taxes are based on (1) departure airport (2) arrival airport (3) overflight countries. I remember looking at a flight from the US to France that had about a dozen government entities adding taxes and fees that exceeded the airline's actual price.
It's interesting - and encouraging - to see such things codified as a handbook. Out of curiosity, what industry are you in? (and you need not reply if you wish to maintain privacy)
Don't forget, when members of the military-industrial complex come out against "big government," what they really mean is they don't want any resistance from the elected government. Not that they get much resistance to start with.
I'm not "zenning over" anything. I need a computer to get work done. I don't need to be mucking with the computer to keep it working.

My choice is to use a (mostly) closed system, because it meets my needs.

Other people don't like systemd because they feel it removes their choices.

There is no contradiction in the two approaches. There's also no irony.

If Unix had started out with something like systemd, fewer people would be complaining about it now. It's the change that people don't like. And the apparent removal of choice.
This is, hands down, the most awesome game I have ever played through a web browser!

Please start logging as soon as possible. Simple heat maps of cursor positions, draw areas and pings would be awesome to look at. It could be shown to players in the end of the game.

If you collect data, I will help you process it. I am especially interested in measuring the percentage of players who volunteer to change a poor soul trapped far away, just because it is a nice thing to do. Percentage of players who never do that would also be interesting, just as players who figure out that they can click 2 or sometimes 4 buttons by oneself, freeing several cursors.
http://www.ada2012.org
As a developer, I would actually have to read up to know exactly what a VPN is and what I can do with it. I have a rough idea, but as it has never been something I have worked with, I have little knowledge of them. Now how would you expect the general public to manage, without someone giving them a decent explanation of them.
Had this with (corporate) Hertz club gold membership before too. Always worth checking without the scheme in case they're being weird.
http://www.nytimes.com/2014/07/27/magazine/why-do-americans-...

This is one of the better articles I have read regarding the education issues that are far too common. More importantly, it actually addresses the root problem instead of reiterating what the the results should look like. Applicability to a job is nice, but it is a goal, not a cause. Switching to new teaching standards such as New Math or Common Core is also a goal; they are selected with the hope that students will learn important, modern methods instead the techniques we used to use.

The problem is that goals don't matter if most people don't actually reach them, and we shouldn't expect people to reach any of these goals when many[1] of the teachers are just as unprepared.

The article discusses one approach to fixing this, that seems to have had some success in Japan, where teachers have a far lighter workload, and are given paid time to research methods of teaching and opportunity experimentally try them, and far more opportunities to continue their own education and learn the from other teachers. This means a few months every year, not a weekend conference once a year. There are probably a variety of ways to solve this problem, but any proposal needs to address teacher ability first[2].

[1] Note: this is about elementary level teaching, and "many" != "all".

[2] As Chevalier discusses, the availability of massive amounts of educational opportunities on the internet might be changing the entire concept of "getting an education".
> You mean to get something like Ubuntu that does the same thing?

He obviously means something not like Ubuntu (or at least Unity in particular) that does not do the same thing. There are many many distros meeting this requirement, it's disingenuous to try and imply everyone is doing it.
http://lmgtfy.com/?q=git+bash+integration
line 4 col 80 Expected '===' and instead saw '=='.

Think this one is due to coffeescript's `if var?` syntax, which compiles to a loose comparison.
Perhaps, when one is elected president, they take you to a dark theater and show you unreleased footage of the Kennedy assassination from different angles!
Interestingly, I have two different version control systems for doing these two different species of commit. The published kind, I do in my regular team version control system, complete with commit comments that explain the meaning of the complete thought that is being committed. The other kind (bookmarking my state before messing around with things I may want to cleanly revert) I do using the version control that is built into IntelliJ IDEA. It is completely orthogonal to the one used by my team.

Other IDEs should offer this feature... it turns out to be quite useful in practice.
Perhaps there are some sour grapes, but I think more than that he's just hoping for more. Harper clearly has an executes on a grand vision for what PLs should be—he regularly states that there is only one PL and we're just working to slowly uncover it. Haskell fits it in some ways, and now those ways aren't worth talking about any further, and misses it in others. Harper, I believe, writes to galvanize people to move toward his grand vision of unified PL.

ML is better than Haskell in many ways. This should drive Haskell to improve as much as it drives people to check out ML. And it has!
https://en.wikipedia.org/wiki/Fellow_(disambiguation)

"Fellow, a commonly used synonym for man"

Proving only that it's not only Microsoft that's using highly gendered language for positions of respect. However, last I checked academia as a whole is doing better in the gender diversity department than tech (low bar).
Bloom Filters for Dummies
None of the examples I gave would be helped with increasing the number of doctors etc., except some emergency situations (in others, a finite number of doctors will be able to show up). As well as snowwrestler's point that the number of handoffs must be minimized, must be traded off with how long each doctor works.

I don't an practical means to obtain "actual evidence", it would require incredibly intrusive tracking of the careers of a bunch of doctors, and deciding the why of adverse outcomes is frequently going to be subjective.

I.e. was it the doctor or the patient? Which patients were more likely to have a bad outcome because of genetics or past history? The subject of "compliance" is sobering, sure you can prescribe a wonder drug, but you can't make the patient take it (aside from some TB regimens where compliance in taking a nasty multi-drug cocktail for 18 month or thereabouts is enforced).
Why not? I'd say that Agda/Idris/Coq are substantially the same languages with variation arising only in the kind of styles of coding they emphasize.
> "Thanks, but I prefer coding, I'd rather stay where I am".

"...but i want more pay - how about CEO level pay?"

"nope."
Why is that panda's problem? If you have scipy and numpy installed, it's just sudo pip install pandas....
Why bother?
The guy should fix his site.
http://contrastrebellion.com/
If you're working in a feature branch I don't think it would be that much of a problem to be honest. Just be sure to squash the commits before writing the pull request later on.
TH isn't really the same functionality as SYB.
Interesting. I was looking at:

http://upload.wikimedia.org/wikipedia/commons/4/4f/IndoEurop...

There are subdivisions like Germanic and Romance in the language family which do seem sufficiently far apart. However, there are quite a few subdivisions that seem very closely related.

I wonder if there is a way to draw entirely new subdivisions based on benefits of knowing languages from each subdivision.

Also, intuitively, what you say about knowing unrelated languages makes sense. I am curious however, if you had some deeper insight or knowledge into why (if true) this might be?
Japanese scientists unveil floating 3D projection
How I landed a job through Tinder
Snapchat clone in Dart using RabbitMQ
Slides: https://speakerdeck.com/sdeleuze/microservices-with-dart-pol...
Focus on your niche, become highly specialized. Do higher level architectural stuff and apply your many years of experience.
both of those routes is boring - which route involve working in "the trenches", whilst still getting paid management level salaries? Don't say startup because that's just money earned on risk-taking, not guaranteed payment like a salary.
You should try to implement the Fib with tail call and then test it. http://en.wikipedia.org/wiki/Tail_call
How are self-publishers supposed to pay editors if Amazon keep pushing prices down?
I work in pandas 95% of my day doing data automation tasks, manipulating sql queries, and data-munging for machine learning. It is literally life changing for someone like me.

I used to program solely in R, but after discovering pandas I really have no need to go back to R. My project workflow consists of several IPython notebooks+pandas+sklearn.

Works extremely well in production, as in, on a flask web server, as well.
Stop trying to solve abstract problems
Added a few comments in the README about that.
Well, I did say the following:

>We should subsidize higher education for fields with high ROI, and immediately cease subsidies and loans for all other academic pursuits. In practice, this means doctors and scientists can and should go to college for free; poets can join a book club or pay out of pocket.

But while I support subsidizing STEM degrees, including CS, this is one of the few professional fields where credentialism really isn't that necessary. You can easily take CS classes through MOOCs for free and sit for Microsoft certification or some equivalent if you'd like outside verification of your knowledge. Otherwise, it's more than possible to just enter the work force directly out of high school if you're capable of the work.

Silicon Valley should be considered a role model for nearly every other professional field. There's no reason for lawyers to need juris doctors rather than apprenticeships. Banks benefit from the sorting functions of higher education, but a great deal of the work doesn't require advanced courses. And let's not start on the inflated credentialism that's crept into teaching, nursing, policing, or virtually all middle-class professions.
> once you've got that original library of books on your reading device on what app are you going to purchase additional books on?

My answer is: it depends. My wife and I have well over a thousand books on Kindle, but I've got a growing library of Kobo books (from taking advantage of some impressive discount coupons) and almost everything DRM-free I get outside a major ebookstore (e.g. books bought directly from publishers or authors) goes straight into Google Books (they're the best with uploads).

Yes, having books scattered across multiple apps isn't perfect, but it isn't that big a deal, either. Amazon has a significant edge (especially with customer service), but it is nowhere near insurmountable.
I like the general idea, I sometimes also tend to code too much until committing, however, for me it is more a combination of running tests, amount of code and of course completeness. Plus, I often start hammering ":w" when I am stuck. (which would be miss-interpreted by this tool)
It's yet another term that you can get by without knowing, and you'll probably be fine. But understanding why it's relevant to even have a word for it is the important insight. We should just as soon obsolete the term flip-flop.
Show HN: A housesharing vs. affordability map we made for London
Because Spotlight does App Store, maps, and other searches that DDG doesn't handle.
Hi there, Vasanth here - we launched Splittable.co last week (for housesharers) and as part of that, we teamed up with findproperly.co.uk to build and publish a map we thought was interesting for London, showing the location/affordability tradeoffs made for how housesharing can help move you closer to central London. Data is from FindProperly, map visualisation made with some custom JS and google maps. I think Peter from FP is hanging around too so can answer any questions etc. Any comments/feedback welcome!
Cool, I'll add them tonight.
Wow that little? That puts the machine at an about 3.5k Cray XK7 nodes which would rank it below computers in the TOP 100 list. I expected a bugger machine from a companies whose job is to render movies.
Yes, because every single GP is only in it for the money.

Many people/doctors may be bastards; many people/doctors may be knackered; many people/doctors may only be in it for the money. But they're still the minority.

I can think of 1 dentist experience and no doctor experiences where I've felt that the person had no interest in their job.
E.g. picking WPF several years ago :)? And now it's dead.
This is like a comment from a Markov generator.
GitGutter is available for vim as well.
Ask HN: Is there a safe(r) way to use public wifi?
This article about the dangers of using public wifi networks is trending on Medium but doesn't mention any solutions to the problem.

What steps can people take to reduce the security risks of using public wifi?

(There are a heap of people clamouring for this information at the end of the article)
> My biggest concern here is, that you have to force push because of you rewrite the git history. That way you are most likely going to loose data.

Not entirely true. If you only squash when you merge the branch in, there's no need for the force-push.

Rebasing into the already pushed history should be flat out banned without question within teams, and force-push be disabled within configs. It's only in exceptional circumstances where you would actually need to do these.
>“Our view is we know that’s where the world is going,

YES!

>so we made sure we had the property rights to populate a new video service,”

NOT SO SURE IF YES!

But anyway, for all the talk of "Going digital", we haven't yet seen a sport take the online plunge. "It's the future!" NFL is saying, but I still can't buy a RedZone subscription without being subscribed to cable. I can't buy an MLB.tv subscription and watch the Sox live as long as I continue to live in Boston. Hell, even the WWE, which took a huge push into the online arena, still won't let me watch tonight's Raw live online. It's half-measures and minor appeasements.

Of course, then again, Sports online would be last thing that we'd need to fully cut the cables, and the cable companies know it, so they'll pay handsomely....
The Uncanny Language of Medical Instagram
I added a few comments to the README on that subject.
"It's 100 times harder to become a Principal Engineer (Director-equivalent) than to hop on to the management ladder and make Director. It's 10,000 times harder to become a Google Fellow (VP-equivalent) than to make VP."

I think it is obvious given total headcount that there aren't 10,000 times as many VPs as Fellows. And given I know of way more people going from IC to Management positions than the other way around, it seems many ICs effectively compete with folks on the Management ladder for Management jobs. Meaning even if equal effort was required to get to Director as to PE, I'd expect many would-be PEs end up as Directors because they decided to switch to the management track for whatever reason (e.g. because they realized they were already informally managing). Sure, one of those reasons /might/ be they thought career advancement was easier on the management track, but what proof of that do you have?

To assert it's 2 orders of magnitude harder to become a PE than a director, and 5 orders of magnitude harder to become a Fellow than a VP, I think you're gonna need more proof than that.
Netbeans also has a local history recording feature which is integrated pretty well alongside the git/vcs features (just hit history on any file and see a log of all your local changes intermingled with the committed versions).
Show HN: Walk amongst your photos with Photo Amaze
The ScrubBoard: audiotape-based scratching
This is a much better comment than I could have written.
"even after you've completely destroyed the economy.... Can you think of ways to use your fleet of killer drones for maintaining your position in power?"

It is worth pointing out something that a few modern-day tyrants have already discovered to various degrees, which is that the tools of modern oppression require modern economies to keep functioning. If the economy is "completely destroyed", the drones aren't working either. They require power, maintenance, replacement parts, replacement drones, technicians to manage the gear who will need to be fed (and who will be in a position to turn on you), etc. Mind you, small comfort, but a bit of one.
As a "white person" I am getting a little tired of running interference for the equally economically successful Asians and South Asians.
I'm running ConferenceBadge.com and LeanTicket.com and Eventbrite is a really good partner of ours.

I can attest by my own experience at their commitment to being efficient. Negotiating our partnership was fast and easy, never did we felt they where trying to play us. They always delivered on their promises.
Yeah, Mercurial phases handles this:

http://mercurial.selenic.com/wiki/Phases
I may set it at my router but the chromecast will always use google dns..(8.8.8.8)
"(such as the name of your device, its current location, or if you have a long history of transactions within iTunes)"

Security, perhaps?
"Knowing the benefits of this approach, I don't understand why anyone would want to reject it."

It's always difficult to have these kinds of conversations in the abstract, but for me it's a slightly cumbersome distraction (unless you don't write commit messages). But if it works for you, you should certainly keep doing it. I tend to divide stuff into small chunks so never work on something for long without something that can be committed.
> You can really have two "species" of commits:

That's what Mercurial phases are:

http://mercurial.selenic.com/wiki/Phases
You assume that physical violnce is effective. Research shows otherwise.

And if you try beating your child and it doesn't work, what then?

Physical violence is used by bad perents who don't know effective methods of discipline.
Ah ok. I looked at it more as something you force on your co-workers :)
Does it by any chance depend on checking "Send usage and diagnostics data to Apple" checkbox?
Is that identifier used for anything else, i.e. can it be associated with something identifying the user, not just saying that all these requests came from the same machine?
If I don't publish my intermediate commits, how are you going to tell whether I made lots of small commits and squashed or just didn't bother committing until I was finished? The objects generated are identical.

Also, the git reflog keeps references to the pre-squash commits for a time, so the information is still there if you realise you squashed too much.

My recommendation is that commits should be atomic, minimal changes that take the source into a working state. This makes working with git bisect so much easier, but it does sometimes mean reordering and squashing commits.

A safety check in the case where you've got everything working but your history needs some tweaking is to note the hash of your tree in its working state, and verify that the tree you created after squashing has the same hash. You can do that by either inspecting the commit or diffing against the old reference.
PyDev of the Week: Facundo Batista
Spotify announces family plans for up to 5 users
Because when it comes to campaign reform, there is only one way to accomplish it; legislation. Word choice and accurate usage are the most important things when it comes to legislation. You've never experienced tedious noise until you've been involved in the process of drafting federal legislation.

It's not implied purpose that matters. If you leave ambiguity, someone will read ambiguity. That's why there are entire panels and institutions dedicated to interpreting the meaning of the law.

So, I brought it up, because if you say 'we should do away with all lobbying', that does, by definition, include contacts by citizens to representatives. The original question was whether the benefits from good lobbying outweighed the drain of bad lobbying. I put my two cents in because I felt it necessary to define lobbying to render the question null through poor word choice.

The real question is whether or not substantive campaign finance reform needs to occur. Businesses and citizens both should have access to their representatives. It's whether or not a business or wealthy enough citizen should be able to effectively buy an elected official.

But that wasn't the question.