skysight-inc/HackerNews huggingface dataset:
Its not as hard when you format it a little nicer (and when you have syntax colouring)

[SerializableAttribute]
[ComVisibleAttribute(false)]
public class Dictionary<TKey, TValue> :
IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>,
IDictionary,
ICollection,
IReadOnlyDictionary<TKey, TValue>,
IReadOnlyCollection<KeyValuePair<TKey, TValue>>,
IEnumerable<KeyValuePair<TKey, TValue>>,
IEnumerable,
ISerializable,
IDeserializationCallback
{
...
}

And this is of course ignoring the fact you copied that from the documentation witch shows all interfaces the class implements. IDictionary also implements ICollection & IEnumerable so you wouldn't need to include them. So to actually implement this class it would more likely be

[SerializableAttribute]
[ComVisibleAttribute(false)]
public class Dictionary<TKey, TValue> :
IDictionary<TKey, TValue>,
IDictionary,
IReadOnlyDictionary<TKey, TValue>,
ISerializable,
IDeserializationCallback
{
...
}

maybe less
I really don't understand how this got to the front of HN, but okay, i'll bite:

Articles like this make me ashamed to live in a country where we have so much, and yet feel the need to complain when things don't go exactly our way. As if the world owes you a lack of breast cancer, or a stable marriage, or a steady, decent job.

Ask the migrant worker who's here illegally, far from his family, who works a soul-crushing routine, saving pennies to send home, with no visible end in sight, with absolutely no form of health care, with virtually no rights as a non-citizen, about finding a job. Maybe he's lucky that he doesn't look for white-collar jobs. That he only has to stand outside a home depot in the rain and hope to get randomly selected, jump into the pick-up, and head off to whatever manual labor might make him a few bucks that day, so he can put a small portion away for his family and use the rest to buy something from the dollar menu.

Poor us, we starving, huddled, highly educated, successful, safe, free, white middle-classes.

Jobless? Cancer? Kids to support? Even with all of that, there's still so many options and opportunities afforded to this person. Sometimes things won't be perfect. Bumps in the road happen to everyone at some point or another. But that doesn't mean you have to wallow in your misfortune. You can also take stock of how much good there still is, and how much worse off you could be. Be thankful for the bumps and keep on rolling.
That rocks so much. It will fit perfectly to my workflow, where I write my commit messages with "Closes #[ID]." text at the end, which actually triggers github to automatically close the issue.

Totally awesome!
> How much of the Imp's advantage here is due to features
> of Squirrel the language itself, and how much is due to
> their 'cloudification' of the ecosystem?

I believe it all relates to the cloud aspect of it. The systems model is that the Imp is simply an intelligent channel controller at the end of the connection. This gives two advantages, one is that "infinite" state can be kept off chip, and the other is that updates can occur without the modules participation.

I don't doubt that a similar setup could be recreated for the Spark with some standardization on what the Photon expects from the network.

As for the patent, at least what they are trying to patent is actual hardware not some 18th century practice but done with a computer :-)
In my case the Cobra (for just me) is cheaper than a bronze AHCA plan. For the time being I am happy with it.
Not sure who downvoted; but I appreciated the suggestions! Someone submitted a patch with the changes and I merged it a few hours ago. Thank you! :)
Is video game addiction a physical addiction?
Choose Your Own Adventure Presentations with Reveal.js, Python and WebSockets
Baking everything into AMIs is the "right" way to go, but if AWS had a supported, hosted git server inside their network to push into, I'd rather have the speed of deploying from git, and only bake AMIs when necessary for system upgrades.
If you're starting a business, "what will our operating costs be in 3-5 years?" is just about the last thing you should be worried about. In fact, I'd guess that most new business owners would love to end up facing that problem. I certainly would. Plus, it's not like they gouge you after 5 years; Microsoft has a strong incentive to keep its products/services competitively priced. I'm far from a Microsoft fan, but I fail to see how BizSpark is anything but a huge boon to the startup/small business community.
> You don't think the future is decentralized, including the funding of big projects? Wow.

Nowhere did I say that. I think there is room for both. You seem to think there isn't.
A re:Invent banner was all over AWS sites for half a year now, I can't believe that this is it.

I was expecting Jeff standing up in a suit and talking to a live audience. Instead, there is what appears to be a pre-recorded video stream of advertisements on how AWS is great:

>Think you're a good architect? These 12 tips will help you get around our global, fast and secure AWS infrastructure.
The best way to fix this is to eliminate the S-box lookup, thereby making AES constant-time.

For example: http://rd.springer.com/chapter/10.1007%2F11935070_14
Given Rogaway's recent patent grants, OCB would be a more straightforward improvement over GCM.
That's just BS and given the size of your axe to grind, you have to know it.

Akka? Spray? ScalaUtils? Do they take effort to learn? Yes. Are they anything like scala.collections? No.

Why didn't you pick scala.concurrent? Or scala.util? Or any number of other packages? Why didn't you use the signatures in the official docs as-presented?

The Scala team goes out of their way to present something simple and easily digestible to most programmers, even the ones unfamiliar with Type Classes.

I mean, you basically just use a Seq like an immutable version of Ruby's Array and it just does what you want 99.999% of the time.

How often do you see people go on to propose that because much of Ruby's Array implementation would be incomprehensible to 90% of Ruby programmers that that makes Ruby a bad language? It's an entirely ridiculous metric.
As a Chinese I would prefer to believe our government is behind this. Do you know Beijing (or even the whole country) has a serious smog issue which was first uncovered by American embassy in Beijing? The incident makes the government lose their trust in public, and for quite some time people only want to trust forecast from NOAA in stead of Beijing. If Chinese government hacked NOAA, it would be out of their intention to contain domestic reactions. Actually, our government has greater problems at home than abroad.
I personally seek new, ridiculous, absurd, positive things to learn that no one has written about. Sometimes I feel like I get a touch of it, the more careful and in control I am with writing code. Life is fun when it's positive and unpredictable.
Google for "retail turnover rate". A quarter century ago when I was working retail it was about 100%, and according to google it remains around 100%. What you're worried about has been BAU for more than a quarter century. Training varies from an hour or so, up to maybe 10 hours for the most demanding cashiering jobs, although those are often hired from within.

Its a little different from skilled trades or silicon valley programming.
You're making a false equivalency between the State and other market actors. You may not be using the US government's services, but you're probably using your own government's. Forcing a service on people (say the War on Drugs) and then demanding payment through taxation is different from competing in the market. Even if you cite paying a fee for using the roads--not too controversial--to gain a monopoly on road-building, the government had to use the threat of force. You must follow things back to the origin.

> You certainly have the option of leaving that market if you don't like its fees.

For a price, and then only to enter another country.
Serious question, why don't you move to a country that has a tax system that you agree more with? No one is stopping you, it would be a free market victory.
Haha, thanks! That obviously isn't right (clearly our careers page needs a little love).
Excellent comments but I feel #2 is only more relevant than other 2.
Professor Sarasvathy explains the “Bird-in-hand principle, which is

Start with Who you are,
What you know and
Whom you know.

Number 1( Product Ideas) can be found after brainstorming. StumbleUpon was started by Garrett M. Camp( Co-founder of UBER) and they simply filtered this idea out of 6 ideas.

Number #3 is related to how resourceful you are. Mark Mark Zuckerberg did not have any money when he started Facebook. Nowadays technology is almost free so why you need money. If you need to know programming then learn it from free SaaS based resources.

Man is born entrepreneur( "The Startup of You", Reid Hoffman beautifully described it), in ancient times there was no employee-employer system developed so individuals have to be resourceful to survive.

I suggest you to "Just do it!" and build something in which you have passion and create value. Don't worry to much about capturing value( getting rich). If your passion is true then whole universe conspires to help you-Paulo Coelo( The Alchimist)
The “War on Drugs” and Crime Rates
Yes, I agree this is likely to launch into production before ethereum does.
The blog seems to have a target audience of people who have never heard of the cloud, but for those of us who are already familiar with cloud, DevOps, drift, and immutable infrastructure it would be nice to see an explanation of what specifically is new here.
>>And I really wish that C# would grow up a little in this regard, as modern programming languages need immutable collections as well, with a nice API to go along with it
May I suggest the Immutable Collection library from Microsoft?
http://msdn.microsoft.com/en-us/library/dn385366(v=vs.110).a...

Admittedly not part of the core library, but installing a NuGet package is pretty darn easy.

>>This is what happens when you pass judgement unto things you don't understand
;)

[edit: Guess I should've refreshed the page to see the prior response before writing this. Apologies.]
I also think he should have covered the time it would take to sort an array. A linear search wouldn't need to be sorted, but a binary search would. He made his cut off at around 64 elements, but if you'd include the time needed by binary search to sort the array, the cut off limit would be a higher than that -- but would also introduce a lot of other complexities to consider in a production system.
I am having a hard time to understand how CodeDeploy will change my current deployment workflow (which consists of git aws.push basically). Can someone here enlighten me?
I recently tried running Dolphin on my Macbook after a long hiatus, and was shocked to discover that my games were now running at a buttery 60fps. What's more, there are practically no glitches to be seen or heard anymore. When I last tried booting up my games about a year ago, all I could get was about 45fps at 1x resolution. Now I can have my Wii games with me wherever I go. It's stunning how quickly the Dolphin team is jumping over these technical hurdles. I find it almost impossible to visualize how a bunch of young, eager amateurs (at the time) took an insanely complicated black box and created an almost perfect software version of it!
It's not just that they might all break, but that most people don't currently have access to one. Now everyone can see those games and systems.
Everyone seems to love how much power they have with social media. Look at the ex-Mozilla CEO. He was bullied and forced to quit as a result of his beliefs.

The flip-side is that business owners can also use this power against you. Be careful what you post on social media, it may come back to get you.
Maybe it can't be helped. YC, for example, needs to make money to keep existing. To make money, it needs to invest in companies that are likely to make profit. But the best way for companies to make profit isn't to innovate, is it? It's to find an audience and some business model and all that c*p I know nothing about, but that I feel yields companies and products that "lack [...] innovation," as some complained.

Maybe, if we weren't so money driven and more of us could afford to build things for the sake of innovation and progress only, the results would be different.

But I do concur, that there is at least one exciting and relevant problem that remains unsolved in the world of bits. A problem you're well aware of. :)
> I think this is almost certainly false. Very little of humanity has been involved with exploring any curiosity. Go to a third-world village and see how much curiosity is being explored.

Throughout human history the vast majority of the population did nothing to contribute to the progress of society, except doing their job to keep their current society running. Eventually we figured out how to produce enough food without having everyone work all the time. The new free time could be used for arts and science; progress became possible.

But I think it's wrong to dismiss all the people who produce neither art nor knowledge. Without them, humanity couldn't afford to feed poets and scientists.
It may be technically true that "she messed up her health insurance", but note how easy it was to do that while believing she was doing the right thing. Using some programming parlance, the system did a terrible job of "making invalid states unrepresentable".
Serious question, why don't you move to a country that has a tax system that you agree more with? No one is stopping you, it would be a free market victory.

I do actually think you have a bit of a point. It would probably be more ethical to spend the space exploration money in other areas. However, there is much lower hanging fruit for things to cut out before we reach space exploration (warmongering and defence budgets for example)
Thanks for the feedback. Generally at line widths greater than 800px or so, it's harder to read (you'll rarely find a site with more than that).

We are looking at ways of better taking advantage of the margins on desktop though.
If you think that having an Emmy, degree from Harvard, and a slot on the NYT best-seller list makes you any more qualified for a job at the Container Store than a 19 year old high school dropout with 2 years of McJob experience, you might be a classist.
Many SSL attacks seem to require thousands or millions of interactive sessions or inputs. Is there a reason we aren't modifying our Internet-facing servers to drop connections and discard ephemeral keys when a particular IP or set of IPs performs actions that are outside the norm?
How does it's performance compare to Intel's MKL on a CPU?
Son of Stuxnet
Or even, Where were you 40 minutes before we heard that Philae had landed?
Folks who are granted moderation say don't get to keep it long enough to get used to it, and learn how to abuse it.
I work in the Information Security field, so I'm aware. I don't mean US-wide data breach laws, I mean data breach laws in the US. Many states (100% of the states I support) require disclosure in a certain timeframe if customer data has been disclosed.
"For years we Americans have been fed the convenient lie: study hard, work hard in your chosen field, work hard at your marriage, save money, organize your flour, salt, and sugar into labeled bins, and you will be in control of your life and your destiny."

I'm officially starting to get sick of hearing this. Yes, it's an interesting story, and yes, US Healthcare is in need of some serious fixing, whatever that may mean to you.

But nobody ever guaranteed that you'll be in control of your life and your destiny. Freak things happen; life isn't fair. All of these things (work hard, save, study, etc.) are good to teach kids, because it increases the odds of being in control of your own destiny. But that's it--it tilts the odds slightly in your favor.

What else would you rather teach your kids? The author mentions her own child is paying his/her way through college. Is that a bad thing? If higher education is a part of this "convenient lie", perhaps you should tell your child: it doesn't matter if you study hard or work hard--just sit back and wait for things to happen.

Perhaps sitting down and talking with her children about career paths. No one ever guaranteed that she'd be financially independent regardless of what she chose for work (that I know of, anyways). If she chose to go into a field that she LOVES, but that doesn't pay much, she needs to be aware of that. Writing is a difficult field, I am sure. And yes, doing what you love is important, but so is being able to do the things outside of work that you love.

The article talks about "massive nooses of debt" that affect the economy. Nobody forced her child to go to a college where he/she had to take out massive loans. State schools are excellent choices! Outside of the top 10-ish in the country, I'd be surprised if the higher-cost schools are "worth" their cost. Talk to your children about their college choices!

Yes, there are things that need to be addressed about our economy. Yes, our healthcare system is in a bad state. But I am sick & tired of hearing people blaming the lie that "some anonymous person/society told me to work hard and study hard, but now I'm not where I want to be--it must be society's fault". She had to downsize your apartment, she can't pay for her child's college. So what? Is that society's fault?
My own personal rule would be to only mark that I edited a post if somebody actually replied to it and my change was relevant to that response. (It is unfair to make the response no longer make sense.)

I've actually edited this response six or so times so far, but would expect few people to notice and marking it as "edited" would just introduce noise.
1. Space scientists are in many ways the pinnacle of our civilization. Of course we place a high value on them.
2. Because it's not a positive contribution to the discussion.
"Right now, what you see of the 500 million Tweets published every day is based entirely on who you follow, and that’s a great model for many people. But with that many Tweets every day, there’s no way even the most avid Twitter user will find everything that’s relevant to their interests in any particular moment."

Is it just me or is this a crazy thing to say? I wish I could opt-out of the additional tweets that I've been getting lately (I don't mind the ads). I get why they are doing it but I enjoyed having control over the content I get. If I wanted stuff pushed at me I'd try any other media source.

This one "feature" is causing me to check Twitter less than I have in the past and I wonder I'd that's the case for anyone else.
I did the same thing. I had the paperwork filled out and the check ready to go. Then I told a family member where it physically was in my apartment. In the off chance I did actually get hit by a bus and hospitalized -- at least someone could get the paperwork turned it for me.

I felt sort of silly doing it, but realized that if I really was mostly worried about some kind of freak accident, then i should actually ensure that the insurance could kick in following said freak accident.
> The advantage of "the Haskell Way" is that most of those unit tests don't exist in code; they're implicit in the type system...

This is very powerful "mantra" indeed, and millions "believe". I am not trying to say that The Haskell Way is worse or better (Java way is worse indeed), all I am trying to say is that, in my opinion, everything "interesting" in Lisps begins with an ability to define a new special form as a macro to extend the language.

Arc language and this site championed this approach to implement complex systems as layers of DSLs embedded in Lisp - the code of arc.arc and news.arc is indeed layers of macros built out of another macros, in accordance with principles described in On Lisp book.

This is in some sense an opposite to The Haskell Way you have described above. It is not better or worse, it is very different and has its own beauty and elegance (and Haskell has its own, especially these either-of and one-of types).

You see, as long as a tiny doing-a-single-thing Arc procedure or a marco (the basic building block) runs correctly in REPL, it will run correctly later - as long as it is free of side-effects - no unit test required (it is not Python or Ruby).

The real difference, is that in Haskell you cannot pass a wrong arguments to a procedure - you will get a compile-time error, while in Arc you could and will get a run-time error.

"Lisp people" it seems, "believe" in really quick prototyping, exploratory programming (on-the-go), like PG named it, while "Haskell people" believe in careful planning in advance and "safety" of double-checks.

I would say that in reality, in mountains, for example, planing in advance almost never worked - you will never cover all the possible scenarios, but making decisions quickly, on the go, adapting to constantly changing conditions of high altitude saves lives and leads to the summits. This is why, perhaps, I am "Lisp person". For me, "safety" comes from flexibility (ability to change/respond quickly), not from any "guarantees".
In general, open sourcing is helpful decision (it's also a practical business decision in several cases)! And the possibility of running C# on *nix really creates opportunities in a way that contributors grow. It's a win-win.
>Do you know Beijing has a serious smog issue which was first uncovered by American embassy in Beijing?

So no one in the Chinese government or citizens had noticed that they can't see across the street until the Americans mentioned it?
> As a public corporation, they have an obligation to maximize value for shareholders.

I wish for a world where this utterly dishonest lame duck trope stops appearing as frequently as it does.
> Since it utilizes the same addresses and Blockchain as Bitcoin, it has just as many users as does Bitcoin.

I don't think that's fair to say...
You're confusing invention and innovation.

Invention is the creation of a new product or category. Innovation is improving upon that and making it better and more accessible. Internet forums or instant messaging were inventions. Reddit and whatsapp were innovations.

The technology may have been there 10 years ago, but it was nowhere near as robust, user friendly, scalable, well designed, or good. Thus, the majority of Americans didn't use the technology. Sam isn't arguing that those are new inventions, he's arguing that they're innovations that have spread the technology to the average consumer.

> but with the exception of the Tesla, everything he talks about existed ten years ago in some form

Electric cars have existed since the late 1800s. Everything is innovation.
Introducing SimonSays
I believe the thinking is that if your business is still around after the 3 years of free licenses, it is successful enough to afford to pay for licenses from that point forward.
Andy Jassy delivered the keynote earlier this morning to a capacity crowd. We made 5 big announcements today and have more in store for tomorrow.