skysight-inc/HackerNews huggingface dataset:
I want to write something concise and coherent, but it's not happening today :) Instead, assuming you've read the teasers in the Moose manual [1] I'd recommend this [2] interesting comparison of how horizontal code re-use can be achieved in Java, Ruby, PHP and Perl+Moose. There's more philosophical/winding essays on Moose from Chromatic, for example at [3].

Roles/traits/method modifiers/MOP/composability etc. are all great things for getting more reusability... however (and this might sound stupid) the thing that saddens me most when writing Python code is when I find myself adding a bunch of asserts or adding program logic "manually" in situations where I'd normally specify that sort of thing declaratively in a Moose class definition or by referring to a centrally managed Type or delegate stuff through attribute features.

On the other hand, I'm barely into year 2 of full-time Python dev, so perhaps I've yet to find the idiomatic way of doing Python things I used to take for granted in Moose.

Regarding Perl 6, I don't know much about it, except that the original authors of Moose had some inspiration from it.

Is picking up Perl+Moose mind-expanding? It was for me, but I feel that what Moose gave me in Perl was a bit of a band-aid over the fact that it's such a malleable open-ended dynamic language. So as a C++/Java programmer this aspect might not be so enlightening to you, except to see how Moose achieves it in a pretty painless way that I think is very nice and idiomatic for a dynamic language (with the caveats that brings). To put it another way: it gives Perl some of the great benefits of properly declaring things up-front, without the boilerplate/inflexibility pain that I perceive the Java ecosystem's bureaucracy to be (I haven't touched Java for 10 years, so take that with a grain of salt).

If you want to explore some Moose-ish kinds of things within Python, check out [4] (there's another Moose clone in Python that's similarly inactive, sadly) and [5] (Enthought's stuff is perhaps a bit too heavy and incomplete to be the "Moose of the python world", but it gives you a good idea of some of the nice patterns possible when you think outside of the core Python OO featureset).

[1] http://search.cpan.org/dist/Moose/lib/Moose/Manual.pod
[2] http://radar.oreilly.com/2014/01/horizontal-reuse-an-alterna...
[3] http://modernperlbooks.com/mt/2009/05/perl-roles-versus-inte...
[4] https://github.com/frasertweedale/elk
[5] http://code.enthought.com/projects/traits/
Chase the circle – Simple game made with D3.js
Huge thanks to DockYard for working on the design on this; it looks amazing!

As an open source maintainer, one of the most valuable things people can contribute is great design. Not a lot of designers think to spend their spare time contributing to open source.

If you work at a company with great designers and you ever notice they have some spare cycles, you can have a huge impact by helping them contribute to your favorite open source project. Not only does the open source project get desperately-needed design, your company gets the increased visibility that goes with it. (How much is that DockYard logo on the front page worth in advertising $$$?)
Whose advice? Check out RocksDB's front page: http://rocksdb.org. Empirically what you're saying isn't true in my experience, rather mmap should be used when there's decent coherency w.r.t. the available memory. Without knowing what you're basing your belief on, I really can't address it.
For me, years of skateboarding have trained my subconscious how to fall/roll. I got 'doored' once on my bicycle, and I think that training paid off. I was really lucky my face didn't smash into the door though.
No offence but even with the extremely bright colour scheme it was quite obvious.
> Thanks for your patience, everyone.

5 years and 3 months after the issue was opened...
It says "Search" and I found it in 3 seconds.
Best salesman ever on Shark Tank
Name constraints don't work [1] [2]. It's a nice thought, though :-/

[1] http://blog.codekills.net/2012/04/08/adventures-in-x509-the-...
[2] http://middleware.internet2.edu/pki06/proceedings/chadwick-n...
I'm not a big user of Yesod, so I can't speak too much to that, though it is notoriously difficult to get Yesod to compile unless you use Stackage.

I would say that types are really difficult to do in your head. It's tedious and error-prone. That said, the advantages are high so it's valuable, e.g. your parser combinators in PHP.

Parser combinators are actually a great example of where monad transformers shine. You can see them as nothing more than a stack of `State` atop `Maybe` which dramatically simplifies the presentation and why they work. Better, you can rip out `Maybe` and replace it with `[]` to get non-deterministic parsers "for free"—all of the code remains the same.

I actually happened to write up about this recently:

https://gist.github.com/tel/df3fa3df530f593646a0

But yeah, gradual typing is seductive for existing codebases. You can just make the jump and beat them with hammers of frustration until the compiler gives you a thumbs up---but it's nobody's cup of tea. If you want discipline, you are far better off setting the rules from t=0 and going from there.

Let me know when you start porting to Haskell. That'll be an exciting time.
Yeah, I'm hoping more VPS providers have the option like EC2 does for assigning IPs, because honestly if you have the need for multiple machines most of the time you need a private network over a public IP (database servers, etc).

A few providers have started doing this, but more need to do this as it would cut down on the wasted ipv4 addresses that they have in "stock".
The Rogue Marketing of GoldenPalace.com
Actual link to status page:
http://azure.microsoft.com/en-us/status/#current

(not that convenient to copy paste the OP link from a mobile device)
"Bugs can be found in closed source software" and "code will be seen by a wider variety of programmers if the source is open" are not contradictory statements. This is a false dilemma.

I agree there is an element of false sense of security, but I fail to see how the answer to that is to actively encourage our security software to be closed source.
These posts are really dumb IMHO, Dart has a long road ahead of it.
Apparently words are hard to get right too. The last sentence of the first paragraph makes no sense in many different ways and the link is bad too.

EDIT: Actually the HTML is mangled and a huge chunk of text is not visible.
For a topic that's been taught many times, like freshman calculus, you should expect a coherent survey. New material being taught for the first time won't be so thoroughly synthesized.

Beware of consuming only content that's well-organized and produced. You'll miss a lot of the most important stuff.
Why would one store them there? Why not just use them to sign other keys that are actually used in online systems?
Can't, or don't want the hassle.
Loaded for me, but it took like 10 seconds
Paul ended his support because the bill also renews the Patriot ACT until 2017.

http://en.wikipedia.org/wiki/USA_Freedom_Act

http://www.paul.senate.gov/?p=press_release&id=1244

He's actually been very consistent in opposing Patriot ACT renewals, and I applaud him for it.
I think the very real risk here is that you think you're adding those slower fallback features just for edge cases, but in reality they get used in the majority of cases.

I believe that some code paths critical for performance in Rails use metaprogramming, for example.

I did an experiment in this paper http://dl.acm.org/citation.cfm?id=2647517&dl=ACM&coll=DL&CFI... where I showed that just be rearranging some code you can confuse the Rubinius object allocator into using a slow path for instance variables. That gives you both slow performance, and worse than that, unpredictable performance - the programmer doesn't understand what they've done wrong to trigger that fallback performance.
DO orders from Dell who has contracts in place with their hardware suppliers to supply the same part for the life of the product. Someone like Amazon or Google order enough parts that they have the same setup, just directly with the ODM.
Same here. The design bar were "hidden" and non obvious.
This is what I've been wondering. Is there any source that this is the case?
This article characterizes the new R senators as belonging more to the establishment wing of the party, in part because the party was fairly successful in getting its preferred candidates through the primaries, avoiding some of the surprises that characterized 2010/2012: http://www.nytimes.com/2014/11/16/us/new-senators-tilt-gop-b...

Some do have more track record in that regard than others though, so it might be that they won't all side with the national-security conservatives.
They could do the same by just sending some amount of south korean currency to every NK mailbox (or do it more throughly through records which I'm sure NK has kept on almost every household), while maintaining two currencies to allow NK export firms to have a competitive advantage in cheaper currency, rather than suffocating them for a period of time after unification (as you can read in the link), slowing the economic recovery.

"East German currency was exchanged for West German deutsche marks at a rate of 1 to 1, although the market rate was 4 to 1, according to the FSC.

The overestimated currency conversion helped stabilize the livelihoods of workers from East Germany in the short term, but soon resulted in a sudden wage hike, which damaged the profitability of East German companies."
Survival of the fittest and all that.
Yes. As do all of the illumos derived builds.
It may well still be able to be dismantled by executive order. Just 1) the next President could put it together again, and 2) Obama doesn't have much interest in dismantling it in the first place.
Seals Discovered Having Sex with Penguins
Lawful Intercept isn't a blanket government back door per se. It's a featureset that allows the operator to configure what is effectively a remote packet capture endpoint. That endpoint is disabled by default and requires operator configuration to be enabled.

It just happens that every ISP/telco in the US needs this capability to comply with CALEA so it's manufacturers responding to market forces. Juniper supports it, A Latvian router manufacturer supports it (http://wiki.mikrotik.com/wiki/CALEA), there's even open source code to do it (https://code.google.com/p/opencalea/) if you're building your own routers.

There's a place to focus your ire over wiretapping. The manufacturers aren't it.
yeah, we are hosed right now also.
I have to agree. When I was into bodybuiding and gaining, I drank milk (and protein shakes) at about a gallon a day. I'm naturally lactose intolerant, but drinking lots of it seemed to make me produce enough lactase that I could digest it without much trouble.

But when I stopped working out, I soon stopped drinking milk and now I hardly touch the stuff except for a little in coffee or the occasional milkshake. As far as I can tell, it made no difference in my health.

I'm becoming a fat fuck, but that's lack of exercise, not lack of milk ;-)
Cruz did break with the party.
"Bill to Restrict Data Collection Blocked in Vote "

-- actual title
You make a statement of non-partisan truth, and you're downvoted.

Well, there's your problem in a nutshell. That's why we are where we are.
I saw it immediately but I can see how that can happen. On the web, an underline doesn't quite scream "input" as much as a white rectangle with a border does.
The previous discussion was deleted: https://news.ycombinator.com/item?id=8627630 ?
> no. It means "even though this connection is encrypted, there is no way to tell you whether you are currently talking to that site or to NSA which is forwarding all of your traffic to the site you're on".

Well... that's true regardless, as the NSA almost certainly has control over one or more certificate authorities.

But I agree with the sentiment. :)
I have no clue. The information stated is "Head injury is the general category and generally implies brain injury, but sometimes there is head injury without brain injury."

I see nothing about if "generally implies" means 5% or 95%. Do you? I assume it's "more than 50%", so I went to the referenced paper. That says:

> In Table 2 head injury is the most general injury category which may also include injury to the back of the head, face and brain (some studies consider facial injury as a head injury, other studies do not). Brain injury specifically refers to the brain, and facial injury specifically refers to injury to the face (chin, nose mouth, jaws, eyes, forehead, ears). Elvik compared the risk proportions of a specific injury occurring or not occurring

In Table 2, however, you'll see that brain injury appears to be less common than non-brain injuries involving the head.

However, Table 2 is a metadata analysis with insufficient few brain injury studies to "allow correction for publication bias", and not specific to the Netherlands. (A copy of the paper is at http://www.cycle-helmets.com/elvik.pdf .) Therefore it can't be used to conclude anything about the situation in the Netherlands.

You'll also notice that point 3 of the conclusion in Elvik reads "When the analysis is updated by adding four new studies, the protective effects attributed to bicycle helmets are further reduced. According to the new studies, no overall effect of bicycle helmets could be found when injuries to head, face or neck are considered as a whole."

So, no, I don't know. I ask how you know when that information isn't available in the papers you cited.

Where is the horror story?
I don't. But, I drew a comparison between the Byzantine Empire, which IIRC correctly lasted about 1000 years after the fall of the West, so I thought I'd follow it through to the end.
I guess the moral of the story is don't host your status page on the same infrastructure your product is on!
Not with a smaller monitor. 13" rMBP and it took me a while to see it - it's obscured by the globe wireframe.

https://picto.io/i/IatX8owh.png
awwww yiiissssss
(Different poster.) In fact, one of the beautiful things about Haskell is that the type system can (usually) infer exactly as much specificity as is needed.

λ> :t 5
5 :: Num a => a
λ> :t 5.6
5.6 :: Fractional a => a
λ> :t (5 :: Integer)
(5 :: Integer) :: Integer

The type of the literal "Num a => a" means that the literal "5" works for any type in the Num typeclass. So you can mix literals with any numeric type because the compiler will correctly infer the right type. You can even get usages like this:

λ> :t (\x -> x + 5)
(\x -> x + 5) :: Num a => a -> a
λ> let f = (\x -> x + 5) in (f (0 :: Int), f (0 :: Double))
(5,5.0)
Status page works, but Websites, Storage and Visual Studio Online are all down for us (west europe). Hope it's back up when our users wake up.
Agreed :) stingy was not the right term for what I wanted to convey..
saying that it is "Technological" is merely dodging what you are actually doing is a technology based form of rebellion. It is the statement that the government is not correct, and that the people can organize and do better.

I very much agree, but keep that in mind.
https://www.google.com/#q=old+dock+yosemite
"Watch this spot!"
Yeah, a cursory glance at their marketing shows a bunch of Chinese market apps. I'm confident this is Foxconn's product.
Open source is not a hardware store
Then that's a problem with factory farms, not with raising animals in general. It's quite possible, if a bit more expensive (sometimes...) to get meat that's humanely raised.
Isn't this against the license for the font? I thought that it was explicitly for the use of designing apple watch ui.
Have you heard of Malaysia or Mexico in the '90s? They didn't like default too much either.

Germany in the '20s (not the '30s - hyperinflation was over by the '30s - just in time for Germany to be sucker-punched by the Great Depression) was a special case. They hyper-inflated in order to default. Namely, the Triple Entente had imposed massive war debts onto Germany at the end of World War 1, and Germany resorted to printing currency in order to pay off its war debts. When formal default justifies military invasion and the annexation of your territory (which was the French argument when the Weimar Republic talked about default), hyper-inflation begins to look awfully attractive.

While it's a trope to use the Weimar Republic as an cautionary tale about inflation, we can't really learn very many lessons from it, because of the relatively exceptional historical circumstances preceding the founding of the Weimar Republic.

(In the end, it was all moot, of course. Hitler unilaterally canceled Germany's debt payments, essentially calling the French on their bluff about invading the Rhineland. The French didn't invade, and Hitler was emboldened to pursue further expansionism.)
Some sort of NSA data collection reform has been supported in polls pretty consistently around 60-70%. Americans want something done.
There's no way the North Korean military will allow unification to happen. They're much farther advanced, technologically and militarily than South Korea so in any war, they will squash them.

Just watch this video of North Korean might:
http://www.youtube.com/watch?v=O-hyVzTVDLg
I don't see the problem. A true / false convention of 1 / 0 is not uncommon (nor is its inverse, but pick one) and so excel stores it as thus. Whether it displays as 'TRUE' / 'FALSE' or 1 / 0 is then determined by formatting, which is sensible.

The same would apply with dates. Datetimes are zero-indexed floating point numbers incrementing from 0/1/1900 [1]. Whether it's displayed as a date or number is simply a case of what format you select for the cell.

Formatting is then obviously specified as a flag in the metadata because by its nature, formatting is metadata not a value. If you implied formatting by the value stored, you open up all kinds of corner case issues (is "19/5/14", for example, an equation, date or string?).

I think the .xlsx format is really sensible here, and it's the applications that have woeful compatibility.

[1] Yes, 0th January is a date: https://en.wikipedia.org/wiki/January_0
Welcome to 2014! Where simple bugs are not reported anymore, but instead being written up in sensational blog posts.
It's not fking awesome. Most people should not be entrepreneurs. They don't have the correct risk profile. We're turning every job into a casual arrangement, and because there is a tech based intermediary we cheer it on. How many of us want to actually build a career, raise a family, or retire on the backs of a half dozen hustles?

"Uber driver" is just another term for unemployed.
Isn't this illegal? These seals should be incarcerated immediately.

Guys, come on... Humour. The title and story itself are humorous in nature.
Fair enough, that's what I get for believing a Stackoverflow answer (even a highly upvoted one) without verifying for myself:

https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensio...

So with Firefox, you could build the kind of add-on described by Mike.

But I have confirmed for myself Chrome extension API's lack of ability to even read the certificate of a current page[1]. Chrome may be able to read block page loads (don't know, haven't checked) but without being able to even view a cert, it doesn't do much good.

1. https://code.google.com/p/chromium/issues/detail?id=93636
I have no pity for the Republicans and every one that voted against it needs to be reminded of it every day from now until election.

I'm also not such a noob at politics that I think this is the entire story. Democrats knew this wouldn't pass. This was their last couple of months of control. So it's a poke in the eye to Republicans on the way out.

The really interesting counter-factual here is what would have happened if a large block of Republicans switched up. My bet is that you'd see quite a few defections in the Democratic camp.

If I'm a politician, I can either support something, oppose something, look like I'm supporting something when I really don't, or look like I'm opposing something when I really support it. The key issue isn't my stance, it's how I can position myself against the other politicians.

I'd love to see movement on this. Not for a second did I think this vote was anything but political posturing. But still -- any vote is a good one. Just wish it would have actually meant something instead of more fodder for all the partisans to throw dung at each other. It also looks like the beginning of "See! If we were just back in power, this time we'd really fix all those problems we approved of and encouraged the last time we were there!"

I wonder if this will have any traction among the base, which was the entire point. Sadly, I think it will.
The new R's are going to do what they're told, just like Paul and Cruz did what they were told in this vote, as well: as stars of the Republican party, they were allowed to vote for cloture and deflect attacks on them in a year when the race for President heats up. And, they were allowed to do this because the leadership knew they already had the votes to block the bill.
How can they double the password using the hashes? Are they storing password in plaintext? :O
I'd call it politics of self-interest rather than politics of national interest. These actions were perfectly logical and reasonable, if your goal is to improve the position of your party potentially at the expense of the nation.
I don't know what some designers today have with these ultra thin fonts. One can use thin font variants but only together with big font-sizes.

Form follows function => Font Function = legibility => don't use too thin fonts in smaller sizes.
The title on the article changed after it was submitted here. From NYTimes twitter:

https://twitter.com/nytimes/status/534873348686495745
Thanks, that's the summary I was looking for. I remember that shift happened, and thinking "that's odd". Then I checked out of politics for a few years, and noticed the current language, which doesn't even reference filibusters.

I am now curious to see if things will shift back once there's a Republican president. The Republicans seem far better at press management than the Democrats.
Yet the EFF still supported it.. and given your false choices, why not do both #2 and #3?
No, it’s not a big deal that Philae found ‘organic molecules’ on a comet
You obviously care about the quality of HN, as do I, as does the GP. What makes this a hard problem is that the community doesn't agree on what constitutes quality.

Serious discussion about how to manage HN needs to begin with the insight that many people here disagree with one, and most are participating in as much good faith as oneself. If you don't take that in, you're not grappling with the real problem. (I don't mean you personally, of course, but all of us.) In that case it inevitably feels like there are obvious solutions which for dark reasons we're refusing to implement. In reality, it's just a lot harder than that. That's incredibly frustrating, but we can't get anywhere by ignoring it.
Yes I have, several times.

Sometimes it's to find out what the heck is the cause of a particular behavior in a program, sometimes it's to know for sure that the program isn't trying to do anything that I recognize as malicious in a security sensitive environment, other times it's to see exactly how a game is calculating whether or not my bullet has hit the enemy (server side calculation is more difficult to fake than client side).

Would you honestly chose a black-box solution for a business critical need, knowing that it could stop working at any time and won't let you know for sure that the code is secure by auditing it (or paying a trusted security professional to do so for you)?

I get the impression that the anti many eyes sentiment comes largely from non-programmers, am I wrong about that?
The bad parts are there, but as of today it's a very powerful language that runs on every browser (hence every computer in practice?) with massive community support.
Actually Harry Reid already ended the filibuster on Judicial Nominees http://www.washingtonpost.com/politics/senate-poised-to-limi...