skysight-inc/HackerNews huggingface dataset:
I usually disagreed with Scalia, but I have tons of respect for the man. He's always struck me as one of the best examples of the idea that two intelligent, educated people with reasonable minds may legitimately come to different conclusions about the same set of facts.

I also found when reading transcripts of oral arguments that Scalia was really terrifically funny pretty often.

Once, I was doing some computer repair work for an attorney who was interviewing Scalia extensively for a book about Supreme Court oral arguments. It was late in the day, and all the other staff were gone.

The phone rang, and the attorney asked me if I would answer it since I was close, and tell whoever it was that he was busy. I picked it up and the voice on the other end said, "let me speak to x." I said he wasn't in. The voice says, "I know he's in. Let me speak to him please." I tried to deflect again, and he finally says, "This is Justice Scalia. I guarantee you your boss wants to talk to me."

Without thinking I piped up and said, "Oh, Justice Scalia! You won't believe who just walked in the door! Just a second."

Apparently Scalia thought that was hilarious and told the guy to pay me extra for popping off to a Supreme Court justice like that.

Edit: as a quick sidenote, I'd encourage everyone to actually read the oral arguments and the full opinions for important cases as they come up. The media is absolutely terrible about over simplifying or just straight up not getting the issues correct.

You will find that there is a hell of a lot of thought that goes into opinions, and there is much less predetermined ideology than the way these things often get painted.
You got there before me. Nix brings me so many happys every day.
> In POSIX systems, many time fetching functions return -1 as an error code, and I can easily see some programmer doing […]

Particular in this case which traditionally is a function which does not indicate failure by setting `errno`. On many systems it's impossible to distinguish a second before epoch with a legitimate failure.
One can also reuse the JVM, so the classes are already loaded. This also takes advantage of JIT, so the code runs faster each time.

In effect, it's using it like a server, for which the JVM is optimized.

BTW Why didn't Sun just serialize the whole image, retaining all those optimizations?
You know, the sad thing is even though I fall into the set of folks who "don't need that video", I can't figure out how to set the year on my iPad's date.
I didn't realise this was a goal, but it's good that it was. C++'s prime faults tend to be spiteful iteration time (common cause: too many templates) and appalling performance in unoptimized builds (common cause: too many function calls, possibly due to overloaded operators and overly-finely-grained code that relies on inlining not to run like shit).

The famous maxim about how much cleverer you have to be to debug code than to write it always applies! No need to make things worse by forcing yourself to debug the optimized build.
Teens have a smart reason for abandoning Facebook and Twitter
I think it's far easier to sell the argument that the voters should decide on who gets to nominate a replacement for Scalia, than that we should shut down national parks or whatever. These aren't remotely the same type of "shutdown".
Hungarian is still somewhat common in game development. Getting less common though.
There shouldn't be any error, because you can rotate the top piece to calibrate the time. He also mentions in the video that because of that you can account for daylight savings time changes.
Just as an aside, I checked out his Patreon page, and it looks like he earns around $850 a month for blogging. With that kind of money rolling in, you'd expect some pretty long essays. Or high quality short ones.
Why the maker of Roomba vacuums no longer wants to be a defense contractor
If you were an automobile engineer and you discovered a car part that had a 30 to 50% failure rate, resulting in total destruction of the car, despite the fact that the part was sold with a stellar, inspiring, lifetime guarantee, what conclusion would you rationally come to?

Would you at least buy insurance for that part?
It’s not that – but "waiting until the time isn’t negative anymore" fixes it.
>5. Citizens United was 5-4 with Scalia supporting the decision (this is what created superPACs), so potentially this could result in a limitation of corporate personhood

I think that phrasing is deceptive. The question isn't whether corporations are people with rights, but whether people retain their rights when they coordinate the exercise thereof through a corporation, which includes non-profit groups. It should be a red flag that abolishing that right would abolish the free press without some special exemption. That requires the government to start defining who is press and who is not, which if anything is a quickly fading distinction. The distinction between MSNBC/Fox News and a SuperPAC is not so clear. (Thankfully, we have such an exemption because the first amendment particularly protects the freedom of the press, in addition to the general freedom of speech. There's a lot of examples of redundant provisions in the Constitution, and I think this is one of them. The freedom of the press flows naturally from all of the other freedoms in the Constitution.)

The particular case was actually about a political group that made a film criticizing Hillary back in 2008 during the primary season. The government wanted to ban them from promoting it during the two months leading up to the election. How can anyone think that's proper?

Let's say that you and I shared a passion for a political idea. We want to convince people of it and effect change through the political process. What would we do? We'd set up a non-profit (a corporation), convince donors of our cause, spend their money on pamphlets, broadcast ads, internet ads, discussion forums, etc. We'd support candidates that back our idea, and oppose those who oppose it. That is freedom at work and it's exactly what the Citizens United decision protects.
But how do you define justice?

Guys like Scalia see the role of the justice system as systematically enforcing the laws as written. They believe that as they are unelected, they have no moral right to simply make things up as they go along, and thus that their work should be mechanical and predictable - even if it results in a suboptimal outcome.

Now, the implications of the above quote are pretty disturbing, at the same time, can I really disagree with it? I am not a constitutional scholar and don't know if it's accurate, but if the constitution really has nothing in that allows for a retrial if new evidence comes to light, that sounds like a bug in the constitution and would need to be fixed. If you skip that bit and ask judges to just do what makes sense to them instead of what's written, then the democratic process ends up being bypassed.

So even if someone disagrees with that point of view, I'd hope they can at least understand it.
The whole article seems to take the approach that these young women are wrong, and don't know what they're doing.

Seems kind of an arrogant viewpoint? :(
Looks like way more than a little C++ to me. I mean, it's a template library!
Senator McConnell has announced that the Senate will not take up a Supreme Court nomination this year. https://pbs.twimg.com/media/CbIYaMiW4AIU4ZB.jpg
Depends on your standard and which recount you look at. From https://en.wikipedia.org/wiki/Florida_election_recount#Post-... :

> under the strictest standard, where only a cleanly punched ballot with a fully removed chad was counted, Gore won by three votes.[38] Under all other standards, Bush won, with Bush's margin increasing as looser standards were used. ... because of the possibility of mistakes, it is difficult to conclude that Gore was surely the winner under the strict standard ...

While in another analysis "Bush won under stricter standards and Gore won under looser standards"

And there are also the "spoiled ballots" where "people had punched and written in a candidate’s name", eg, for people who would "check Gore and write Gore". These were rejected, even though the voter's intent was clear. "The Washington Post found that Gore’s name was punched on 46,000 of the over-vote ballots it, while Bush’s name was marked on only 17,000"

But with all the attention on hanging chad, we didn't hear about that last issue. (I didn't until I read it just now!)
McConnell is a racist and doesn't like Obama.
Which law?
Which, I'm sure, McConnell himself would do if he were a sitting President.
How not to write an honest job offer
The report is one thing, mildly interesting. However, the postscript at the end...

------

PostScript: My employment with the company ended alongside this study. As a female manager in her late 30s, I became a GitHub Inc. statistic. I hope people will continue to research hard-to-reach places, and I hope women of all diverse backgrounds will find a way to succeed in leadership at GitHub.

The link from the postscript: http://www.breitbart.com/tech/2016/02/08/report-anti-white-a...

------

What I can't tell from the postscript is if she contends that she was let go because she is white, which is how I read it initially. I'm very confused by the wording and what she intends that to mean.
Sure thing, that's the simple way :)

It was in mid 90s, but I can guarantee you that I sat next to a math PhD guy who worked exactly on what I described, including the dam deployment. Single receiver, 3mm precison from 3-4 hours of data, no DGPS. This wasn't in the US though.
Senator McConnell has announced that the Senate won't take up a Supreme Court nomination this year. https://pbs.twimg.com/media/CbIYaMiW4AIU4ZB.jpg
I enjoyed this a great deal, but one thing that I don't see touched on in any of these package management posts is the difference between system-level and user-level package management. Maybe it's because I use a Macintosh, and thus have never been subject to the joys of apt/yum/pacman et al, but I've never been comfortable with the idea that I could install some binary or library and it'd be puked into the system execution context. I use homebrew, which has its problems no lie, but I can upgrade my own versions of software that might conflict with system level stuff without fear.

I'd like the distribution to stick to its knitting and leave the decisions about my personal world of versioning and dependencies to me.
More than 50%
It doesn't matter; President Obama can fill an vacancy without Senate approval during its summer recess.
Thanks.

See https://docs.travis-ci.com/user/pull-requests#How-Pull-Reque... and http://cl.ly/3L303u2j072x/Image%202016-02-13%20at%207.17.57%... for how Travis CI checks both.
Yep, missed that!
I just switched from JSHint to ESLint to try it out. So far I haven't noticed too much difference (I use it with SublimeLinter)

Wasn't aware of the custom rule thing... Does anyone have any examples of good custom rulesets?
In 1992, I saw Scalia in person preside over a three-judge panel (including two other federal district judges) at Harvard - at the Ames Moot Court, the famous moot (fake) court for the very best two teams of third-year law students.

He did an excellent job over the two day proceedings.
It was fascinating to watch in person.

In a parallel event in the evening, I watched Scalia take questions in an open air pavilion lawn (with no security whatsoever, just an open event on campus). At one point an audience member asked him, "What's the most difficult area of law for you personally to judge?"

After seriously furrowing his brow and mind, he finally and sincerely proffered up ... "Indian (Native American) law".

My take on his answer - he found that area of law truly difficult as a strict constructionist.
Almost all tech. Why are you so focused on tourism?
The Democrats have everything to win by trying to get a nominee through.

If they get through, great! A Democratic appointment on the Court!

If they don't, it can be a call to arms and a constant rallying cry showing how different the Right and Left are. We are not just electing the next President for four years but the next Justice for the next 30.

If there is anyone with any motivation to vote whatsoever they will vote and demographics show that is good for Democrats.

My guess is that Republicans are scrambling right now to posture for a fight but actually trying to get a moderate they can live with nominated so they can confirm them and not face that and tout themselves as reasonable and willing to work across the aisle despite their well earned reputation of late.
Reposting my comment from the other day since it's something I've been struggling with for years. I'm halfway through the article only so maybe I'm repeating what's being said but...

I really wish we'd get generic package management.
A proper package management server and protocol that is.
Something that can be used and picked up by Windows and linux
distros but also by domain-specific packages (pypi, etc), browser
extensions, games with addon repositories and so on.

It's sad that right now we can't answer "and now we need package
management" by "sure, let me fire up pkgserve.d" or something.

I think a package management server would be a good first step. Package managers (clients) themselves will inevitably be numerous as different use cases call for different UIs. Android wants a pretty user-facing store. Python wants something that can interact with the python environment at a low level. Debian wants a million checks and firefox wants to integrate with the browser anyway.
I hit it with an unpopular package (like 10 stars on Github). A dependency of a dependency slightly changed its API in a patch release. Fun debugging. So glad we have this auto-install-newer-untested-versions feature as default.
>Self-contained executable or installer, please, or go back to the wood shed.

Language package managers suck, but this is way worse. Self-contained executables bundle all of their dependencies, which is terrible for both reproducibility and security. Users and system administrators have no reasonable way of identifying, patching, and updating vulnerable libraries/programs these things, leaving them dependent on the upstream providers of each binary bundle for a bunch software they didn't even write. I've seen a growing push to "appify" GNU/Linux lately, with Docker, xdg-app, OmniBus, etc. and I have become very worried about what will happen if this becomes the dominant way of distributing software on GNU/Linux.

Package management is good for users. We need a safe and sane way to maintain the software running on our computers. The control ought to be in the hands of the user, not the developer.
A dumb hypothetical because this will never happen, but: could Obama nominate himself to replace Scalia? And if the Senate somehow approved him, would he have to resign the presidency to take his spot on the bench? I don't see anything in the eligibility requirements to be President or a judge of the Supreme Court that would suggest an incompatibility. Is there relevant case law?
Read in a book: "If you spoke to your friends like you speak to yourself, would anyone ever want to be your friend?" ("Living with a heart wide open").
The line instantly changed my self-talk from negative and dystopian to compassionate and constructive i.e. things like scolding myself when I missed a freeway exit while driving. Turns out my case is not uncommon - most people call themselves stupid 8-10 times a day.
I hope in the future we're not judged by the contents of our current foreign language books.
I haven't done this for mobile but have done for web. I imagine for mobile it becomes part of yout build process? Eg. Your build runs and looks for a config named like the client name, from there you swap out designs.

For Github we had the base app in one repo and client apps in their own repos. This was more out of necessity as we had different clients on different versions of the product / with their own custom functionality.
> imho girls between 12 and 18 should not be allowed connected cameras

are you saying they shouldnt have a phone until they turn 18? that sounds super unrealistic

i think its important to respect their intelligence.

>There are just too many people, and I include cops in this, out there looking to get kids into serious trouble

maybe that is the problem we need to solve.

saying a young woman in high school shouldnt be allowed a phone sounds like victim blaming
Scalia was foremost an advocate of judicial restraint, who believed that the further the Courts stretched interpreting law, the more vulnerable the Courts become to the animosities of the Executive and Legislative branches.

I don't think that's accurate. There is a position, albeit more in the academy than on the bench, that holds that judges should only in the rarest of circumstances hold that the actions of the other branches are unconstitutional. Scalia can't fairly be described as being an adherent of that school.

Rather Scalia was foremost an originalist, it's a school of legal thought that he helped pioneer as a law professor. Today judges and legal scholars needs to grapple with originalism -- agree or disagree you need to speak to it. And with Balkin and Amir's spin on it, to borrow a quote, we are increasingly all originalists now. It's can be hard to believe it now but it wasn't always like this. When Scalia was going to law school no one was poring over the diaries of the founders or the records of the reconstruction congress looking for clues.

Scalia was by no means the sole person responsible for the rise of originalism, nor the purest advocate for it, but he was certainly a major major contributor to it. That's what he will ultimately be remembered for, I think.
https://engineering.pinterest.com/blog/introducing-new-open-...

"So, we like Elixir and have seen some pretty big wins with it. The system that manages rate limits for both the Pinterest API and Ads API is built in Elixir. Its 50 percent response time is around 500 microseconds with a 90 percent response time of 800 microseconds. Yes, microseconds.

"We’ve also seen an improvement in code clarity. We’re converting our notifications system from Java to Elixir. The Java version used an Actor system and weighed in at around 10,000 lines of code. The new Elixir system has shrunk this to around 1000 lines. The Elixir based system is also faster and more consistent than the Java one and runs on half the number of servers."

These are pretty strong claims, I think.
I've had the opposite experience. As I've grown as an engineer, so has my appreciation for elegantly written tests. They help me refactor more quickly, anticipate edge and corner cases before the give birth to bugs, and deploy with greater confidence.
My father remembers Moskvich. It was supposed to be car with increased ground clearance, but distributor was placed that puddle over 5cm would flood it. Apparently you could see drivers drying them out occasionally (yes, you had to know how to take it apart)!

All I could remember was him adding gas directly into carburettor during cold mornings. Getting 10 year old rusted Opel after that was like living in future. We finally felt europeans.
In most places 24 hours wouldn't be possible, because even if you were somewhere with 24 hour sunlight, for part of the day the shadow would not be cast on the earth. You need to angle the sundial so that it's perpendicular to the sun's path through the sky, so for at least a portion of the cycle the sun would be 'below' the sundial, casting a shadow upwards. I suppose if you were very close to a pole near the summer solstice it could work though.
A new way to write software without dependencies
It's one thing to shoot yourself in the foot, it's another thing entirely to go down for someone else's screw-up.
No, voting is protected by the Ewual Protection Clause. Here's the argument: http://www.law.gmu.edu/assets/files/publications/working_pap...
Make of this what you will: https://upload.wikimedia.org/wikipedia/commons/c/c6/Graph_of...

As tptacek said, political labels aren't necessarily objective, so this graph would differ depending on the methodology. It's also a little harder to measure justices' leanings because there are so few data points.
The explanation that "base 2 is natural for memory" makes absolutely no sense.

Base 2 prefixes make sense for memory because memory chips have a power-of-two capacity. Base 2 prefixes makes sense for address space because n bits can identify 2^n different addresses. Page sizes are base 2 because it allows for easy bit masking to select the page number and the address within the page. Bit masking is, in fact, one of the main advantages of base 2. So yeah, base 2 has its place.

We can make hard drives that have a base 2 capacity. We can make flash drives with that capacity. The reality is that we can pretty much make them any capacity we want. The fact that it's convenient to calculate with base 2 capacities on a machine where it is most convenient to calculate with base 2 numbers comes as no surprise and is equally valid to any form of memory or storage medium.

That doesn't make memory "naturally base 2", of course. memcpy doesn't stop working when I specify a size that isn't a multiple of sizeof(int). We could work with non-base 2 memory capacity perfectly well while losing none of the performance.

So the author here ends up trying to make post hoc rationalizations for why some things ended up base 2 and other base 10 when really for any amounts the benefits he ascribes to base 2 memory apply.
Dang, could explain the difference between what generic_user and vonnik is doing that prompts the different response?

Is it the difference between saying someone is in hell, versus wishing someone were in hell? Or is it the difference between attacking another user vs a third party? Or is it because you think Scalia is a legitimate target of hatred?
IPython Debugger Improved (PDBI)
Facebook thinks '6 degrees of separation' is wrong – it's actually 3.57
Ah, I see. I'm assuming then that Rust generics are not generative templates like C++/D, but closer to Java/C#.
there are times where the V22 looks straight out of a science fiction movie. https://upload.wikimedia.org/wikipedia/commons/1/15/3rd_Batt...
Would love to see NSQ as part of this.
I considered including some mention of crypto assurances of packages in the article. I did not, because it would take someone who knows the constraints dictated by such systems far better than I to come up with a means by which such mechanisms could be integrated into a PDM...and have people still use it.

Most of the integrity of packaging systems (at the PDM level), derive from the assurances provided by the underlying VCS - e.g., Git's tamper-proofing assurances by virtue of how its commit DAG is built. If your system has a registry in the middle, that does create an SPOF; if that registry intermediates the VCS with tarballs, that takes away the clients' ability to rely on the VCS for verification. So, in my naive view, that's the point at which signing becomes more crucial.
C++ 11 Auto: How to use and avoid abuse
When you say it doesn't work for you, what do you mean? You've tried applying for jobs and not getting interviews?
The difference is obvious. pip works on all os/platforms. apt-get certainly doesn't.

If I write a language and ask users to use their favorite package manager to fetch dependencies, I'm not going to build a big community because packages and their dependencies will not be shared across platforms, or each user will have to add some manifest for every package manager, or different repositories will have to be maintained for each platform ...

os package managers and language package managers ARE orthogonal.