skysight-inc/HackerNews huggingface dataset:
My heart got a little warm when the OP mentions a long black. Without looking, I'm guess he's from Melbourne.
The people who avoid the GPL3 do it because they do not share the goals of the GNU project. The GPL3 expresses the same philosophy as the GPL2. GNU released a new version only because companies discovered a loophole (a bug if you will) in the GPL which allowed them to build non-free (as in GNU) systems based on GPL software. GNU was founded to fight such systems.

However, Linus Torvalds (Linux and git) has no problems with non-free at all and in fact wanted to support the production of such systems. Like many users of the GPL2 he never actually shared the goals of GNU.

Git's license was deliberately chosen to support the building of non-free systems. According to GNU ideology that is evil. If you are a GNU contributor you are not supposed to even link to non-free solutions. So yeah, of course the hardcore GNU ideologues do not like git or the people behind it.
Obvious click-bait is obvious.
Before i know about
"on duplicate key update"
i used to first run an update check the results on how many rows where matched then insert if there was none.

Another way i remember doing was having a unique key and inserting if an exception was thrown the update statement would run update.

Both where slow as hell. Du to the back and forwards stuff required.
I think you'd need partial unique indexes to make that remotely concurrency safe.
Sequoia backed Thousand Eyes – SAAS based network performance monitoring
It is open-source software, not a walled garden - there are going to be multiple options, and they are not going to all be named ["PLOTTINGISHERE$i" for i in 1:4].

If you like MATLAB/pyplot/matplotlib style, PyPlot.jl is for you.

If you like ggplot2, Gadfly.jl is for you.

If you like gnuplot, Gaston.jl is for you.

Finally, but not least, is Winston.jl, which is its own thing altogether.

I think in many cases its good for packages that overlap to come together/one to become dominant, but I don't think that applies here.

https://github.com/stevengj/PyPlot.jl

https://github.com/dcjones/Gadfly.jl

https://github.com/mbaz/Gaston.jl

https://github.com/nolta/Winston.jl
this looks like a great way to ensure that your functions stay in memory forever -- you should really implement a way to remove the handler from the window.observable array.
> Where Mercurial falls short to me is that if you create a branch in your main repository like that, then it never goes away as far as I can tell.

`bookmarks` will do that. Or you can use unnamed heads and track them manually[0] (that's essentially what bookmarks — and git branches — do). "Detached heads" are not a thing in mercurial, heads don't have to be named.

[0] obviously there's nothing to track if you're just going on a short tangent, just commit your stuff, and go back to the original to merge if it was a good idea or forget if it was not. And yes you can create a bookmark "after the fact" e.g. do half a dozen commits, realise that it's going to take longer than you thought and create a bookmark for the current experiment on the tip.
I don't think that's correct. He thinks that a team IS a group of players. Just like a list IS a group of items. team.players.count is like list.items.count

But that's a small point, in general I agree that he should not be inheriting from List here.
http://mercurial.selenic.com/wiki/GpgExtension
For 99% devs out there these tools boils down to pretty much the same. UPS of git is Github and Linus
Will you remember though, six months later? What about when someone inherits the codebase from you, or you inherit a codebase from someone else containing a solution someone else implemented? You'll be stuck trying to diagnose and fix issues with very little guidance, because only a handful of other people may have implemented the same solution as you.

Having a single, canonical solution, even if it it's imperfect, is usually better than having a myriad of equally imperfect options. At least then documentation and community guidance can coalesce around it. Its caveats can be properly explored and explained, and when you do run into trouble and go looking for help, you're far more likely to find people who have had the same problems in the past.

Saying "feature x is hard, so we'll leave it to developers to figure out" is a disastrous mindset for any piece of software. The whole point of frameworks, runtime libraries, DBs, etc. is to provide developers with standardised, battle-tested infrastructure to do difficult things that require specialist knowledge outside of their area of expertise to get right. The argument that the hardest stuff should be left out, because it encourages developers to try and figure it out themselves is crazy: if the PostgreSQL developers can't work out how to implement upsert perfectly, then non-DB specialists are likely to do even worse.
This is a great blog post about Mercurial and git:

http://gregoryszorc.com/blog/2013/05/12/thoughts-on-mercuria...

tl;dr: "If you take anything away from this post it should be that Mercurial is a flexible and agile tool."
Not yet. But my wife and I spend a month there each year since 2010. Will be heading back in late May of this year.
The 1st time I heard the analogy of a "silk road" online, it wasn't for an underground marketplace, but an agoric packet-routing scheme, the "Digital Silk Road":

http://www.virtualschool.edu/mon/Bionomics/Extropians/HardyT...

Under that scheme, local microcredit along each hop would (theoretically) allow global routing without any global/monopolistic governance or currency.
London's first underground farm launched
A bizarre paper-based process – and how to improve it
Most people prefer what they already know (learning any new system or process is always frustrating because you are attempting to map concept rather than learn concepts - square peg, round hole).

I prefer (and use) git myself, but it took awhile (and much of my developer/friend network to go first) for me to commit to the switch from subversion...my main issue was that subversion worked well enough for what I needed/wanted at the time. I didn't really switch until it became harder to work with others because of my subversion use and easier to work with others if/when I adopted git.
http://www.merriam-webster.com/dictionary/post%20mortem

First known use: 1846

(next to "Party leaders are conducting a postmortem of the election to try to find out what went wrong.")
This is a big issue for some people in my lab too. There are interesting efforts towards this, check out Julietta:

https://github.com/tknopp/Julietta.jl
Indeed, ESR wrote this about it: http://esr.ibiblio.org/?p=5211

"This is a brief heads-up that the reason I’ve been blog silent lately is that I’m concentrating hard on a sprint with what I consider a large payoff: getting the Emacs project fully converted to git. In retrospect, choosing Bazaar as DVCS was a mistake that has presented unnecessary friction costs to a lot of contributors. RMS gets this and we’re moving.

I’m also talking with RMS about the possibility that it’s time to shoot Texinfo through the head and go with a more modern, Web-friendly master format. Oh, and time to abolish info entirely in favor of HTML. He’s not entirely convinced yet of this, but he’s listening."

He's also involved in freeing code-repositories from their prisons, and porting them to other versioning systems, with the Reposurgeon. See https://gitorious.org/reposurgeon/

"reposurgeon enables risky operations that version-control systems don’t want to let you do, such as (1) editing past comments and metadata, (2) excising commits, (3) coalescing commits, and (4) removing files and subtrees from repo history. The original motivation for reposurgeon was to clean up artifacts created by repository conversions. It also functions as a repository conversion tool. Supported VCSes include git, hg, bzr, and Subversion."
I helped found the VR lab at SAIC many years ago. We did 3D sound (via head related transfer functions), full on motion platforms, haptic feedback (e.g., a race car goes off the track a little, and you feel the chatter in the steering wheel), and SGI Reality Engine 3D graphics.

The problem? It was cost. We had a tentative agreement to put VR racing pods in a Las Vegas hotel, but after the prototypes where developed (and they were great fun!), we did better cost analysis and cancelled the project because the "ride" would have been way too expensive for end users. The custom motion platform was especially expensive, but added so much to the experience.

Later at a different company, I was lead programmer for a VR demo system for Disney. The demo was great, but when they deployed to production in Disney World they had to cut corners on the motion platform, etc.

edit: my point is that there is a lot more to VR than just 3D graphics - if you want to achieve what is called "suspension of disbelief."
Context matters here. Emacs uses bzr because it is an official Gnu project, but it's buggy and increasingly unmaintained, so there are reasons to switch. Jordi seems to have some personal thing against Git, while ESR favors Git but is bad at interacting with humans. It's standard mailing list politics, with technical considerations irrelevant; IMHO the two most likely outcomes are sticking with Bzr and moving to Git, depending on how much ESR manages to piss people off.
One way of doing it would be to use a record type, one part of which would be the list of players. This is analogous to the composition strategy in OO. You could then manipulate values of that record type using lenses.

The important question is what you actually want to do with this data. The thing that has always seemed crazy to me about OO is how you can have page-long discussions like this one without even talking about what the data is being used for. The notion instead is to "model the real world", which sends you off on a wild goose chase that is almost always unnecessary.
> Julia aims for a different niche than R or Python, and is far more performant than Octave.

Julia's loops are more performant. Its vectorised code is not.

http://stackoverflow.com/questions/19208014/is-the-julia-lan...
Does the Language You Use Make a Difference (revisited)?
Yeah I was wrong. Thanks!
getExecutablePath
git is as prone to bitrot as hg.

git doesn't run fsck on the entire repo for each operation, and unless you fsck or clone you won't detect corruption for quite a while.

it's exactly the same for hg, which is built on the same hashing concept as git (actually the other way round, as hg came first).
Not agreeing with the FSF's rather dogmatic stances does not make you "anti-free-software". Having no problem with closed source does not make you "anti-free-software".

(Except in the eyes of zealots, but who cares about them?)
"The Cypherfunks": a decentralized band and cryptocurrency.
> Or use a better language ;-). E.g. in Scala

You might want to watch Paul Phillips' recent talk:

http://www.youtube.com/watch?v=4jh94gowim0

You will probably start changing your mind about whether Scala is a "better" language. Especially on the collections side.

> to get all the benefits without the drawbacks of Java style subtyping.

Actually, the Scala collections have the exact same problems caused by subtyping that Java does (and quite a few more actually, as Paul explains).
I admit to having some bias, but your bullet-points are unsound. To each in turn:

* Swartz was in the process of creating something novel for which public data sets with a fair market value of zero dollars "housed" in JSTOR was required.

* Admission status is irrelevant. MIT is and always has been an open campus.

* Very true. You and the authors of Tidbits and most likely every reader of this comment located in the US also violated several policies / rules of their state, local, federal governments just by waking up this morning, taking a shower, and cooking breakfast. If you are involved in a creative endeavor of any significance you will find it almost necessary to bend/break rules of institutions that will in turn benefit from that very creativity.

* Very true. You are currently also violating the EULA of several software applications misusing your own computer resources.

* Debatable. The Computer Fraud Abuse Act under which he was charged covers only "protected computers" namely those owned by US Govt, banks/financial institutions, or those engaged in "interstate commerce." Power-hungry and technologically illiterate authorities have rendered basically every computer hooked to a network including smartphones as "protected computers" engaged in commerce.

* Partially true. Swartz was arraigned in Cambridge District Court charged with violations of state law of breaking and entering. Charges were dropped.

* So you are saying if New Jersey charged the authors of Tidbits with a spurious charge it would be ok for MIT to not support them? I find the abuse of the subpoena power by New Jersey and the abuse of prosecutorial discretion in both cases to be poison fruits of the same tree.

By the way, the common-sense amendments to CFAA, HR 2454 & S. 1196 need your support if they are ever going to make it out of committee.

http://thomas.loc.gov/cgi-bin/bdquery/z?d113:s.1196:/
http://thomas.loc.gov/cgi-bin/bdquery/z?d113:h.r.2454:/
>And 3-4 years is if you are lucky. Macs are pretty reliable but when they do go wrong, it's always expensive and catastrophic.

Well, if it's under 3 years, then you're covered under warranty, no?

>A good friend of mine worked in an Apple Store in London and they had a scary high number of machines with logic board failures in 2012. That never gets recorded on the stats because the machines disappear and come back magically working with no explanation as to what was wrong.

Well, there's not much of an explanation I guess. It just happens that certain productions runs are faulty. Could be a misaligned machine at the factory, some part outsourced that had lower tolerance than expected, etc.

These things happens when you have runs of several million exact same machines outsourced to several factories. So a faulty run of some thousands could have been dropped in London. What could Apple do? Post a bulletin that this sub-component of the logic board is faulty and have users attempt fix it? The logical thing to do was to replace the whole thing and perhaps sell the old machines as refurbished models.

(There was a similar problem with logic boards on G3 iBooks, back around 2003 or so. And there are always problems with a percentage of any production run, sometimes with hard disks, displays, GPUs, whatever. No way to avoid it, nothing is perfect. They cant even test most of those beforehand, because some are issues that develop after some use, and people are always demanding faster delivery and complaint of stores not stocking new models fast enough).
I don't think partial unique index would have an impact on concurrency safety. An appropriate one would be useful for making the query for the most recent value faster, but that doesn't mean it would be concurrency-safe without a transaction.
Quite frankly, not sharing GNU's goals is a feature, not a bug. The less the source code is encumbered by onerous political restrictions, the better.
>And "anti-GNU people" is just a lame insult

It is an insult? Like "people with common sense" or "individuals of sound mind"?
'Science Guy' Bill Nye Debates Lawmaker on Climate Change
The economic argument falls a bit flat, because it ignores both basic economics and its own premise that time is money.

Most people who can directly translate time into money - those for whom four hours of time spent repairing a device equates to 4 hours * x/hour are in a position where they cannot add four hours to their workweek. They do not set their own hours or are at the ceiling of paid hours or cannot acquire additional paying work.

On the other hand, the argument completely ignores the time costs normally associated with acquiring a new piece of electronics. These include the time spent researching hardware, comparison shopping, physical acquisition, learning the features of the new device [since it is unlikely to be identical to the old] and then configuring the device to meet one's expectations.

Consider the author's economic options:

- purchase a used older iPad similar to the damaged one.

- replace it as a tablet and compare Windows, Android,
and iOS products.

- replace it with another Apple product without
considering other products.

The time and effort involved in researching and acquiring a device in the first two alternatives to repair is fairly obvious.

Even in the third case, there's still potential for enormous time spent comparing various models and optional configuration and reading reviews to decide on the exact specification, then potentially searching for the best price.

What really makes the third choice attractive is not the time savings but the simplicity of the decision tree. Deciding on another iPad immediately carries less mental overhead. This is exactly the same advantage as repair - a person can make a direct decision as soon as the device breaks.

The advantage of repair is that it scales. Buying a soldering iron potentially reduces the cost of future repairs. Buying a replacement device stands no chance of reducing the cost of future replacement devices. Consumer oriented behaviour produces nothing but more consumer oriented behaviour. In that sense it is economically irrational.
4GB of RAM on a 6-core Intel chip; vim (ctrlp, nerdtree, tagbar, YouCompleteMe, syntastic, emmet, floobits, a bunch of other pathogen plugins; @see usevim.com), git, tmux; no windows; npm (Express usually), grunt, bower, Python for miscellaneous scripting.
> And "anti-GNU people" is just a lame insult.

My point was that in the context of Emacs, arguably the GNUest of the GNU, being anti-GNU is nothing to scoff at. Indeed, bzr was chosen for a long time because it was an official GNU project and was usable enough.

The hg devs went through great pains to change the license from GPLv2 to GPLv2-or-later. Lead dev Matt Mackall calls himself a free software advocate (not open source) is good friends with the likes of Bradley Kuhn and Eben Moglen of Software Freedom Conservancy and the Software Freedom Law Center respectively, and makes a point about defending Mercurial's copyleft. Ideology being important for GNU Emacs, it also seemed important to me to argue in favour of Mercurial on these grounds.

That Mercurial also happens to be fast, featureful, innovative, and generally kickass is a nice cherry on top. Its only significant drawback is that it's not as popular as git.
It seems like all those papers are at least 10+ years old, though, and mostly irrelevant today. Especially when you look at what the Oculus folks have gotten around to fixing.
Petty factionalism within Open Source where if you don't support the latest views of the GNU committee and Dear Leader then you are against open source (which is ridiculous). Largest dispute has been a lot of GPL projects that won't move to v3 since there are a lot of problems with it.

Not even worth replying to, in my opinion.
> Git has sensible default settings, for example, git log is easier than hg log|less.

cat >> ~/.hgrc
[pager]
pager = less -FRX
[extensions]
pager=

There, I fixed it.

> Similarly, git show HEAD^ is easier than hg log --patch --rev tip

Wait, what? Those commands do completely different things. What are you trying to do?

Furthermore, the assertion that `git show` is "easier" than `hg log` seems odd on its face, why is it easier to have two different commands to see the same thing, with the only difference being the length of the revision set? (yes I know `git show` can also show other objects, but that's now how you used it here).

> Want to make a test branch and play around? git branch blahtest and play. With hg, you have to use queues

Uh… no. You can create a bookmark, or just commit stuff (hg has no prohibition against what git calls "detached heads", they're just anonymous branches).

You have to use MQ if you want to do quilt-type things. Used to be you also had to use it if you wanted to perform extensive history-rewriting, but that hasn't been the case for a few years now.
You can't force people to not use Windows just because it is not aligned with your political views. What about OS X ? Do you really think OS X is more free (in the FSF sense) than Windows ?

A professional programmer is OS agnostic, he has his preferences obviously, but he can use whatever OS his clients are using.
That banner... Why?
16Gb Ram, i7 processor, 512GB SSD, Ubuntu 12.04 64 bit, git, sublimetext, nginx, vagrant, grunt, npm (+more)
10 Common Mistakes Made When Preparing for Coding Interviews
Going by this:
https://support.google.com/googleplay/android-developer/answ...

Even though they've moved off checkout all this does still apply.

It is absolute madness.
Stunting affects about 147 million children worldwide.

This long term under nourishment is very common. The WFP (world food program) gives estimates of 227 million for Africa and 553 million people in Asia and Pacific.

What happened when local diets were disrupted? Were local foods bought in return for much lower quality food? Was malnutrition made worse? Or did we just start documenting it better?
Radius r = 1080 meters.

Volume of a sphere = (4/3) * pi * r^3

Surface area of a sphere = 4 * pi * r^2

We want to find x, some unit of measure.

The volume of the sphere in units of x^3 is:

((4/3) * pi * r^3) / x^3

The surface area of the sphere in units of x^2 is:

(4 * pi * r^2) / x^2

The problem states these are equal. So:

((4/3) * pi * r^3) / x^3 = (4 * pi * r^2) / x^2

(1/3) * r = x

360 = x
Ah, yes. It seems this plague might be spread more by EU membership than it is cured. Not a positive future for Europe... :-(
Here is the last spot tracked: http://www.satflare.com/track.asp?q=12054
>Wow do you do that? Someone volunteered me to be support for my entire family, and I can assure you that things that take seconds in linux take hours/days in windows land if not worse, and there'a a huge number of problems in windows land that simply don't exist in linux land.

Well, hundrends of millions of people can and do use Windows just fine, even for power-user, advanced stuff, and the same people would be totally lost in front of Linux. Heck, my dad uses Windows and Office, and he got his first computer when he was 50+, and he haven't even went to college. And he learned how to browse, send email, use Excel, take images with Norton Ghost, use torrent (!), pirate some niche software he wanted etc, re-install windows, etc.

The way Windows are designed most problems can be solved by reinstalling, using some GUI app etc. For us it might sound funny, but reinstalling the OS as troubleshooting is quite a fast process, and not as hair tearing as delving into the console and understanding intricasies of package managers, third party drivers and the like in Linux.

Plus drivers are always available, since it's the number one OS and manufacturers oblige.

>Most people don't do law, medicine, write books, graphics art, work for NGO, or control equipment in a lab. Almost no one does any of that stuff.

Actually millions of people do that stuff every day. Lawyers and doctors ARE millions of people. Scientists ARE millions of people. People working at an NGO are millions of people.

Heck, billions of people work with Office and its ilk of apps for their white collar job.

And I've never met a user who just surfs the internet. Perhaps some too old people. Sooner or later, all the new users I've seen want to write a document, download movies, view and edit their compact camera photos, burn a DVD, burn their CD collection, listen to music, etc etc.
You don't just "learn math" though, it's a full-time job to learn it. People go to university to learn math, and at least half of them probably don't understand it even then.
I don't know why people quote ESR like that's still a thing either. He wrote some essays in the 90s, wrote some possibly important code before that time, but one must understand his position on this list is basically troll.