skysight-inc/HackerNews huggingface dataset:
I used Git for a couple of years then changed to Mercurial and have never looked back, except now and then to wonder at the size of the crowd that has gathered around Git, driven in no small part by the success of github (which is not a bad thing!)

Git is an entirely appropriate tool for managing as something as large and complex as the Linux kernel, but I'm doing much simpler stuff, and Mercurial is simpler and has a much shallower learning curve. I'd recommend it unequivocally to teams of modest size working on average applications.

The state of git documentation is much better today than it was five or six years ago, so maybe its complexity is less of a big deal, but so far I've not encountered any issues with Mercurial that make me think "If only I was using git this would be easy!"

What I found with git was I had to maintain a fairly complex mental model of the current state of affairs, and because I'm not very intelligent that took quite a bit of effort. With Mercurial the model is much simpler, so I can spend more of my very limited attention on writing code. It's quite possible that I simply never took the time to learn git properly, but with Mercurial I didn't have to.
> not easily being able to see the types of the arguments to a function in Python. [2]

That's because of Duck Typing [1]. I really like Python for how quick and easy it is to make small pieces of software, but I fully agree that Duck Typing can become more of a hindrance on larger projects.

[1] http://en.wikipedia.org/wiki/Duck_typing
Using Cash and Charm, Putin Targets Europe’s Weakest Links
Abhay, perhaps you can disclose in your biased answer that you are employed by Mesosphere?
Your property? The monument is no more yours than it is mine. And since you asked, it would feel like someone understood the relative importance of things. It would feel like they hadn't died in vain, for an unappreciative, lethargic citizenry.

>appropriated for someone else's ends?

Appropriated for the same ends for which the original memorial was commemorating. The ends are the same.

Let's also include some perspective. The monument does not appear to be irreparably harmed. So, vandalism, technically, but definitely not comparable to the Sack of Rome https://en.wikipedia.org/wiki/Sack_of_Rome_%28455%29
That would be handy, granted. However having looked your argument over I don't think it ads up. Thus I maintain that my burden is 0%, so if you want to fix global poverty you will have to do it without my donations.

The real problem isn't that we are not giving enough to Africa, the problem is that we don't buy enough from Africa.

If you try to solve that problem instead the Africans will be much better of, you won't have to worry about convincing me, and you can make yourself rich in the process.
Yup. Do you?
Hacking ATMs, Literally
I guess you're not British.
DASH is purely an XML format for describing server-side content. The issues you are describing have nothing to do with DASH and are due to implementation decisions in both the JS player and the underlying MSE object.
For most applications where you want these, I've found that skip lists give you most of the performance advantages you want at a far lower complexity to implement and debug. Yeah, it's a probabilistic algorithm, but if you know the distribution well enough to tune correctly (and I usually do for things like time series and high scores) the performance is much better than LLRBT while also being rather cache-friendly, which is overlooked in a lot of implementations of RBTs.
is it possible to mimic hardware decoding by passing the stream through an intermediate software layer that uses OpenCL or CUDA for the hardware assist?

like https://emericdev.wordpress.com/2011/07/10/a-vp8-hardware-de...
Not just Soviet-style suppression, but state sponsored censorship. While the local rules of the park may deem that this is simply vandalism, I fail to recall such instances in the US demanding this kind of censoring and it should be pointed out a little more saliently in the article for appropriate effect.
Agreed, especially about simplejson. I work on a project that uses simplejson, and it leads to ugly type checking all over the place because you never know what your JSON string got turned into. For example:

https://github.com/openstack/swift/blob/39c1362a4f5a7df75730...

and https://github.com/openstack/swift/blob/39c1362a4f5a7df75730...

and https://github.com/openstack/swift/blob/39c1362a4f5a7df75730...

and many more just like those.

The worst part is the bugs that appear or disappear depending on whether simplejson's speedups module is in use or not.
It's worse than that; the input itself is only 8-bit and they scale up, and then back down again to 8-bit on the output side.

But it works, for the same reason that audio engineers use 64-bit signal pipelines inside their DAW even though nearly all output equipment (and much input equipment) is 16-bit which is already at the limit of human perception.

If you have a 16-bit signal path, then every device on the signal path gets 16 bits of input and 16-bits of output. So every device in the path rounds to the nearest 16-bit value, which has an error of +/- 0.5 per device.

However if you do a lot of those back to back they accumulate. If you have 32 steps in your signal path and each is +/- 0.5 then the total is +/- 16. Ideally some of them will cancel out, but in the worst case it's actually off by 16. "off by 16" is equivalent to "off by lg2(16)=4 bits". So now you don't have 16-bit audio, you have 12-bit audio, because 4 of the bits are junk. And 12-bit audio is no longer outside the limit of human perception.

Instead if you do all the math at 64-bit you still have 4 bits of error but they're way over in bits 60-64 where nobody can ever hear them. Then you chop down to 16-bit at the very end and the quality is better. You can have a suuuuuuuper long signal path that accumulates 16 or 32 or 48 bits of error and nobody notices because you still have 16 good bits.

tl;dr rounding errors accumulate inside the encoder
99% of the time I use:

- git status

- git add ...

- git reset ...

- git commit ...

- git log ...

- git push/pull ...

I guess that's "the basics" - what command should I learn next?
From the article: "The information in this post was collected exclusively from the bitcoin community on ZapChain, and Nick Tomaino from Coinbase."

The article would be a lot better if they'd been to Coinbase's HQ. If they can find it. The Market St. address in San Francisco is a mail drop for a service that opens paper mail, scans it, and emails it. The Bluxome St. address is someone's condo.
I wasn't attacking a position, it can't be a strawman. It was an analogy and an explanation of my position.
content looks interesting. I'm adding it to my list of news aggregates that I check all the time, so consider me signed up.

do you have plans to update the ui? it is sort of bland and hard to read.

looking fowars to seeing how this turns out!
A Visual Introduction to Abstract Geometrical Computation
If it interests anyone here, I have written a Firefox extension that forces YouTube videos to play in an external video player (mpv in my case). You can get it here (only for Linux):

https://github.com/SirCmpwn/ExternalPlayer

I got fed up with the YouTube player and wrote this in an afternoon instead.
"You're a moron."

That's our Linus-kun.
Overall, I do agree. Kubernetes represents 10+ years of compressed experience from the exact same folks who designed and implemented Borg and Omega at Google. It's also worth noting that Google is putting 30+ engineers to work full-time on Kubernetes. There are almost 300 contributors to Kubernetes today, just 9 months from inception. I believe we will begin to see some pretty exciting production references soon when v1 arrives over the next couple months.

Disclosure: I work for "the Kubernetes company", Kismatic. http://www.kismatic.com/
Actually, that is the entire purpose of the Quality Adjusted Life Year (QALY). Keep in mind, no one is really intrinsically concerned with the economy as an abstract concept. The things that we really care about are how this complex system affects real humans, and once we're talking about a change in quality of life for humans, we can compare them to saving lives via the QALY. It's the sort of process that's more statistical in nature, but you can get an idea whether you're doing more harm than good. The point above is that a back of the napkin calculation indicates that it is rather unlikely that someone working at Goldman Sachs is causing more harm than good if they donate half their income.
Yeah, I made my point in a snarky way, but there is definitely a political component to the swiftness of the action. It'd have been great if the job had to be submitted to a months long queue.
Супер Майк XXL / Magic Mike XXL
Show HN: Hackchase – ProductHunt for life hacks
These are site-specific implementation issues, and have nothing to do with the DASH ISO standard.
When Doxxing for Good Is Actually Bad
Thanks very much for your feedback.

This is good to know. Most of my work is in Microsoft SQL Server, and its query planner does allow other clauses to be pushed into the evaluation of the CTE.

In MSSQLServer, there is no expectation that a CTE is evaluated only once, just that is defined once - it is just an in-line view.
Thanks so much for this! I was looking for some nice helpers that weren't keeping me away from shaders the way that three.js does.

One minor nitpick: not sure how best to contribute to this based on your github. Do you prefer pull requests or the like?
> and encoding speed

Table VI. Encoding Run Times for Equal PSNR_{YUV}, HEVC vs. VP9 (in %): 735.2

I.e., HM is over 7x slower than VP9's slowest settings. VP9 speeds have improved dramatically since then, and it is now being used real-time (Google is working on adding it to WebRTC), while still demonstrating significant quality improvements over prior generations.

See also https://news.ycombinator.com/item?id=9329580 w.r.t. the quality aspect.
I don't think there's a reason why he chose to not go with JS, but to show that it's possible with only CSS.
IMO I like using less JS because it slows down the Mobile web experience. JS is super powerful and you get to do cool things with it but you always have to keep an eye out for performance.
He's more controversial than exalted. Snowden did an interesting interview last weekend with the comedian John Oliver which showed the public's perception of Snowden and the information he revealed. A lot of people aren't aware of him or not very familiar with what he did. But given the types of information collected, people weren't too happy about it when they learned what could be collected.
Groundwater Crisis Grows Beneath Crops in California
I would love to move onto HHVM and since mostly run own PHP code 3rd party code compatibility is not a problem, BUT unfortunately the editor I use (PHP Storm) doesn't yet support HHVM :(

what editors do people that are using HHVM use?
They took due care to choose materials that would not harm the monument. Public monuments and property are there for the enjoyment and use of the public, if that usage does no harm it should be allowed. The placing of this bust pushes the limits of this usage but should still be considered fair use and free speech since the artists did no harm. Even though it will cost whatever the wages and rates for the equipment needed to move it will be, I would argue that this cost could be avoided in a freer country by sanctioning this type of protest so that the artists could come forward to remove it themselves (I'm sure they would have interest from galleries or individuals for this piece) or better yet there could be a popular vote on whether to keep it.
Yes -- cost is pretty much the main concern at scale. The best thing to do is to have a revenue model that makes you not have to care about that.

Then, if it make sense at some point to try to reduce that cost, you can replace it.
Lego: The toy with no end-of-life
Actually, an approaching not entirely unlike that has been tried successfully in Russia.

http://www.thisiscolossal.com/2012/09/embarrassing-pothole-c...
Someone put up a naked devil statue in a Vancouver park. It was removed pretty briskly.

http://news.nationalpost.com/news/canada/petitions-call-for-...
Python version? Library version? Results are meaningless without that info
To be fair, the only up-front indication this is satirical is the label "satire" at the top. And, frankly, as far as satire goes, it's not particularly clever, either.
HHVM is just a PHP JIT compiler. It's not a different language.

That is Hack.
> That a single federal district court disagrees isn't a huge deal.

Sure it is - that sort of disagreement makes it unsettled law, which is where SCOTUS steps in. Last year they (thankfully) ruled that cell phones can't be searched in most circumstances without a warrant, and I'd expect at least a few of the numerous suits that popped up in the wake of the Snowden leaks to wind their way to Court eventually.

Right now, large parts of the NSA's actions are of disputed legality. We'll see what the justices say.
bespoke endpoints sound like a good compromise, but I wonder why they stick with php for the general apis that the bespoke endpoints consume? Wouldn't they get better scalability if they moved that backend logic to something like Play, which would give you NIO on a jvm?

EDIT: Removed mention of "shared-nothing", which I misunderstood.
110 Websites That Pay You to Contribute an Article, Instantly
http://flint.cs.yale.edu/jvmsem/doc/threaded.ps

You should also try to play nice with the branch prediction machinery. Doing unbalanced rets isn't good. Doing all the jumps or calls from a single jump or call site isn't good, either. Spread them around so you only have one destination per call site. The method in the above paper is pretty much the ultimate you can easily do without rolling out the really heavy machinery.
you got that right, I wish all languages did that,and why not, even suggest modifications to the code in order for it to compile or run... Errors should be an opportunity for programmers to learn, it shouldn't feel like a punishment. But we'll get there eventually.
Time was, gpl advocates would get all het up over the version of bsd that required derivative projects add in an acknowledgement statement, because making them do that was unfree.
I won't comment on Mercurial because I don't know anything about it.

I really do feel like Git is appropriate for small projects. The .git store is incredibly small (because it only stores changes) and quite simple when you get used to it. You will only only need to use a tiny subset of Git's functionality (or, heck, just the Github web-UI if you wish).

I think the hardest thing about Git for big and small teams is getting used to the mental model of Git (branching, merging, master, etc). Once you get it down you realise that Git is less complex, not more...

PS - This comment is mostly in reply to the implication that Git is a better tool for large and complex projects like the Linux Kernel.

PPS - Mercurial might be a better tool yet still for small projects, I don't know enough about Mercurial to have a qualified opinion either way.
Banking: An Oligopoly of Stasis
I think you are looking at the situation from our little tech bubble. Regardless of all of our opinions on the situation, it is still very political. This guy is actively wanted by our government for possible treason charges. If you believe those charges have merit, then erecting a statue in his honor could easily be classified as offensive.

This is part of the problem with our side of the debate. We take it as a forgone conclusion that everyone agrees that Snowden is morally right and that the government is morally wrong. We need to do a better job of convincing the general public why issues like this are important. Erecting a statue of Snowden doesn't do anything besides antagonizing both sides of the debate.

EDIT: As this post currently stands at -2 karma, I have to say I am a little disappointed in HN. This isn't Reddit, we shouldn't have brigades of people downvoting comments that bring up gray areas in this debate. I don't think I said anything unreasonable in this comment. However if you do and downvote me, the least you could do is comment about how I am off base.
I'd go even further: all forms of red-black trees considered harmful. Red-black trees are isomorphic to B-trees with a maximum branching factor of 4, but where each node is exploded into several binary nodes. General B-trees are easier to implement and more efficient than red-black trees because on modern computers a high branching factor results in better cache behaviour.
PHPStorm supports xdebug and HHVM: https://youtrack.jetbrains.com/issue/WI-18817#comment=27-865...
How to create a Java EE 7 webapp using Maven archetypes
Are you sure your comments are right? It seems to me like the value would be memcpyed, when you pass by value. There is not one unit of memory that is "taken over," or if there was, then Rust would have a serious problem.
It doesn't do anything for me, at least.
Great find.

To me there are two issues at stake: taking their 90% claim at face value that may very well still leave them a very effective charity.

I am more concerned for the fishing stock. Assume 5% chooses to use their nets to fish with - is the this enough to have a material impact on fishing stocks? Will this effect the community to the point that the rest also have to use these nets to catch enough fish? Even if not, what is the effect of the insecticide?

Your articles seem to be really convincing with usages rate, but unfortunately rather handwavingly with the insecticide.
Unsend or Edit Sent Email
Jason Scott is exactly what I'm talking about. He's almost singularly keeping the promise of the Internet alive. Long after most people have given up and signed on with the ad networks, he spends his days trying to catalog and make available human knowledge.
People are paid from what's on their timecard (aka timesheet) and job cost and billing is generated from the single source.
The Wall Street Bull is also a piece of guerrilla art in New York City. That huge bronze was made by Arturo Di Modica and installed by him in 1989. It was once towed away to an impound lot, but enough people complained that it was moved to its present location.
Someone volunteering at a library can be seen as a rich person taking away a paid job opportunity for a poor person.
Hell yeah he would be for it, he was willing to stoop to an extended penis joke in his interview with John Oliver: https://www.youtube.com/watch?v=XEVlyP4_11M
You encounter the same kind problem whenever you want to use Docker with anything that needs a compilation step. Even with front-end development you run into the same sort of issues with packaging for production (css preprocessors, coffeescript, 6to5 and such).

Some standardisation in this area would be nice, but the problem can be solved rather trivially by using a separate container with all the tools for the build process, and placing the build product into a lean production image. This process is easy to automate/script, and I don't feel that there is much gain from having some encompassing spec or standard that has to consider all the edge cases and is more complex than necessary as a result.
Wind2share, the new social referral network to monetize your connections
I think the speed graffiti, bust, or other such expression is removed is going to be more or less relative to the amount of attention something draws / is expected to draw. Or at least I heard that is how wheels go about getting oil.
Docker will hopefully solve this with new Dockerfile syntax soon. A proposal to do that has been bouncing around[0] -- even a working implementation or two in forks -- but they haven't settled on a final design direction yet.

[0] https://github.com/docker/docker/issues/7115
Looking at http://www.irs.gov/publications/p542/ar02.html I see:

Cash contributions: A corporation must maintain a record
of any contribution of cash, check, or other monetary
contribution, regardless of the amount. The record can be
a bank record, receipt, letter, or other written
communication from the donee indicating the name of the
organization, the date of the contribution, and the amount
of the contribution. Keep the record of the contribution
with the other corporate records. Do not attach the records
to the corporation's return. For more information on cash
contributions, see Publication 526.

So it looks like your small business could make the donation, which would then not be taxed. But I don't really know, you probably should ask a tax lawyer.
wind2share is a social referral network where you can monetize connections by referring potential clients to participating companies in many different industries and markets. If your referrals are successful, you will receive financial compensations for each one.
wind2share has pre-negotiated referral agreements with many companies around the world with products and services in industries like Private Banking, Investment Banking, Insurance, Technology, Professional Services and Real Estate, among others. Every time you refer a potential a client to any of those companies, you will know the referral fee conditions before hand. This means less time negotiating and more time doing business.

Since wind2share focuses on high dollar transactions, your potential to monetize your connections through referrals is huge and participating companies are interested in partnering-up with you because of those connections.

It is FREE for both members and companies so sign-up today and try it. Discover the value of your network.
Yet, the parent comment is the one that gets flagged...what?

I fall on the 'Snowden is a hero' side of the fence, but I don't see what got that comment flagged.
I find this to be a worse user experience. I would rather wait the 5-10 seconds for the high quality stream to buffer than have every video look really crappy for the first minute, then slowly get better. I guess I'd prefer a consistent experience overall. I stopped watching Netflix on my TiVo and switched to only watching it on my AppleTV because of issues like this.
The call to action (albeit now super prominent) has been there all day: https://github.com/olivierlacan/can-they-see-my-dick/commit/...

I'll try to make it... pop out more?

I'm so sorry.
Of course pull requests are great!
Sorry for focusing on a sidenote, but this connection of neoteny and Valley culture piqued my interest. Do you know if there has been anything good written on the subject?
> Sure it is - that sort of disagreement makes it unsettled law, which is where SCOTUS steps in.

The SCOTUS is more likely to take a case where there is a split in the case law among the federal circuit courts (appellate courts). A split among federal district courts (trial courts) does not really have much significance.
I'm thinking that if you did know then you would be aware of how many (often quite prestigious and well funded) models have failed to predict global climate change outcomes, especially in timing...

That's my point about models. For such a complex system they are very difficult to make with any accuracy, and there are any number of factors that can throw them off. I see this same lack of dimensionality in this article. Has nothing to do with man affecting the climate which most reasonable people agree is likely occurring.
The default mode in Rust is value semantics, similar to C++'s default. Rust does have the advantage of move-by-default on uses and checking the validity of moves, but if you want unique_ptr behavior then you need Box. C++ has the advantage (if you would call it that) of allowing arbitrary code in move constructors.
Existing standards for hash-based URNs
where you put "off by sqrt(16)=4 bits" did you mean "off by log2(16)=4 bits"?
History proves that the idea of an “Apple Watch killer” is fundamnentally bogus