skysight-inc/HackerNews huggingface dataset:
i see a lot of comments saying that we're watching from the sidelines criticizing, and therefore have no clue what's going on.

How is that even remotely true? We are the victims of the system. We experience firsthand what they do or believe they do.

This is like saying you think you know what the TSA is doing. Right? Wrong. Of course we do, we're the ones being screened.

what we don't know is the logic and culture behind the decisions we see, but that doesn't take any right away to criticize it.

having been an overachiever in school, and early university, it's been a constant struggle. "oh but school is not actually made for people like you" you say. yeah, i know. how is that not a problem?

edit: don't get me wrong, i've had a few really good teachers. but they've been rather few. and no, i'm not just counting the teachers i liked as good.
Some people say we need to raise wages because our teachers are so great and hard-working and they deserve it.

Others say we need to raise wages because our teachers aren't good enough and we need higher pay to attract better teachers.

It's kind of an interesting example of how two groups with basically opposite viewpoints can end up supporting the same policies.
I agree. It was one of the few posts that I read in its entirety. Small blocks of texts with plenty of graphics kept me interested. If I see a large wall of text, I usually read 20% and move on.
I love VS for javascript. With ReSharper installed it is great. I guess maybe I answered my own question by admitting I need a JetBrains tool in there but: What tool is so great for Javascript?

I use Sublime a lot as well on my Mac, and I don't like it as well.
Ah, so you can! Here's the list monad. I'm not sure the type unification on templates is sophisticated enough to get all of the niceness of Haskell monads (I wasn't able to get bind to work generically, for instance, and I'm not sure what would happen with another instance of pure differentiated only by return type...) and certainly there's no do-notation), but clearly the functionality can be expressed. Still fun. It prints the results of expressions prefixed by their (loose) Haskell equivalents. Applicative included for good measure.

#include <iostream>
#include <list>
#include <functional>

using namespace std;

// fmap :: (a -> b) -> f a -> f b
template <template<typename> class F, typename A, typename B>
F<B> fmap(function<B (A)>, const F<A> &);

// pure :: a -> f a
template <template<typename> class F, typename A> F<A> pure(A);

// appl :: f (a -> b) -> f a -> f b
template <template<typename> class F, typename A, typename B>
F<B> appl(F< function<B (A)> >, F<A>);

// join :: m (m a) -> m a
template <template<typename> class M, typename A>
M<A> join(M< M<A> >);

// mbind :: m a -> (a -> m b) -> m b
template <template<typename> class M, typename A, typename B>
M<A> mbind(M<A> &x, function<M<B> (A)> f);

template <typename A, typename B>
list<B> fmap(function<B (A)> f, list<A> xs) {
list<B> ys;

for(auto x : xs) {
ys.push_back(f(x));
}

return ys;
}

template <typename A> list<A>
pure(A x) { return { x }; }

template <typename A, typename B>
list<B> appl(list< function<B (A)> > fs, list<A> xs) {
list<B> ys;

for(auto f : fs)
for(auto x : xs)
ys.push_back(f(x));

return ys;
}

template <typename A>
list<A> join(list< list<A> > xss) {
list<A> ys;

for(auto xs : xss)
for(auto x : xs)
ys.push_back(x);

return ys;
}

template <typename A, typename B>
list<A> mbind(const list<A> &x, function<list<B> (A)> f) {
return join(fmap(f, x));
}

template <typename A> ostream &operator<<(ostream &out, const list<A> &xs) {
int i = 0;

cout << "[";

for(auto x : xs) {
out << (i++ ? ", " : " ") << x;
}

cout << " ]";
}

int main() {
list<int> xs = {1,2,3};
function<double (int)> halve =
[] (int x) -> double { return 0.5 * x; };

function<double (int)> quarter =
[] (int x) -> double { return 0.25 * x; };

function<list<int> (int)> repeatOnce =
[] (int x) -> list<int> {
list<int> ys = { x, x };
return ys;
};

function<list<int> (int)> repeatIfEven =
[&] (int x) {
if(x % 2) return pure(x);
return repeatOnce(x);
};

list< function<double (int)> > fs = { halve, quarter };

cout << "return 7 = " << pure(7) << endl;
cout << "xs = " << xs << endl;
cout << "fmap halve xs = " << fmap(halve, xs) << endl;
cout << "fmap repeatOnce xs = " << fmap(repeatOnce, xs) << endl;
cout << "fs <*> xs = " << appl(fs, xs) << endl;

cout << "xs >>= repeatOnce = " << mbind(xs, repeatOnce) << endl;
cout << "xs >>= repeatOnce >>= repeatOnce = "
<< mbind(mbind(xs, repeatOnce), repeatOnce) << endl;
cout << "xs >>= repeatIfEven = " << mbind(xs, repeatIfEven) << endl;

return 0;
}
You also don't need hindsight to know that investing/trading/speculating in a brand new type of asset in a space with nearly zero regulatory controls is not for the faint of heart.

Just like the handful of people who realized that the Bernie Madoff claims were too good to possibly be true, they didn't need hindsight. There's a great This American Life story about one such person: http://www.thisamericanlife.org/radio-archives/episode/376/w...
Creation vs Consumption – be a better hacker
That's hardly an excuse given the significance of this code.
I'm really put off by the attitude that some people have toward professional networking. I hope that if I ever become highly respected for my work, young people aren't afraid to reach out to me.

Same here. I'm a big believer in the idea that pretty much everybody has "something to offer" and that we can all learn from everybody else. I accept almost all the LI connections I receive, with only a few exceptions (blatant SPAM, obvious fake profiles, etc.)

Being in my 40's and having worked in my field for sometime, I actually enjoy opportunities to "give back" a bit and help younger people. I wish everybody took that kind of approach, but what can ya do?
Or maybe you find that all of these coins end up in addresses that have not been touched in 2 years. That would lend support to the theories that the cold wallet keys were lost.
Every time I think about what Android could have been, my frustration mounts. Google chose to use Java for the top layer on top of their native code libraries (as in on top of C libraries like surface manager, opengles, openvg, sgl, etc.). Why they chose Java instead of a language that integrates well with C, I just don't understand. It would have made the ecosystem much more open.

I wish they had considered just making the top layer in Luajit, as well as exposing a C API. Luajit would have been just as efficient battery-wise as Dalvik, and perhaps even better-performing. Best of all, people then could have much more easily built libraries for Python, Ruby, and any other language with good C interop.

Instead, we're left with Java. It's not a bad language, but it is very bad at integrating with other languages and platforms.

I prefer Android to iOS, but the iOS architecture is definitely more open to third-party platforms. Unfortunately, Apple is not so welcoming and puts up roadblocks.
If you work at a startup though, you'll die a glorious death.
Given that most miners have been operating at a loss (after power, space, hardware, etc) for quite some time, I'd also take that statement with a pinch of salt.
Yeah, Chris' blog is great and where I got most of the assets. If anything he teaches you it doesn't take much to get something good for a little work.

The sounds were purchased from http://audiojungle.net/
The whole Envato network has great resources for developers.
> What tool is so great for Javascript?

Chrome/Firefox dev tools.
I understand that point, and to rephrase my objection, I am concerned that people are accidentally trading long term choice for short term choice. There are many aspects of living within one's means that are out of the control of the individual.

For example, if a young person retired 20 years ago, he probably would have done a poor job budgeting for increases in prices for healthcare, especially given what the individual market looks these days. If, after a twenty year absence from the workforce, he is forced to work again, he will rapidly be approaching traditional retirement age with a large gap in work history and limited career options.

Maybe working or volunteering on the side can keep his skills sharp, but how easy will it be to convince potential employers of that fact?

It's possible that people are saying "retirement" when they mean "frequent sabbaticals", in which case, some better labeling of that lifestyle choice would clear up my confusion. Even then, I wouldn't blame a potential employer for being wary to give challenging job openings to sabbatical-takers due to the higher risk that they'll take off.
Surprise, surprise! A successful businessman seizes opportunities and is a tough negotiator. Were some of you expecting Space-X and Tesla to function as a non-profit?
A lecture is a performance. When at the front of the class, I always felt like I was on stage, and accordingly, I was always "on". I was conscious of everything I said, and every movement I made, because everything went into the performance. That is one of the main reasons that giving a lecture is tiring - it's work to be "on" for over an hour.

The other main mental work is, as you said, devising strategies for explaining material to students who don't understand it the first time. It requires patience and self-control (if you betray any sense of frustration, you will lose them) on top of the difficult task of figuring out what their exact misunderstanding is.

And I agree, it's harder to do the more basic the material gets. Explaining advanced systems concepts to computer science juniors was much, much easier than explaining basic programming concepts to people with no prior programming experience. The more knowledge and concepts you have in common with your students, the easier it is to appeal to things you know they already understand - and you have the advantage of being able to use some of your areas jargon.
You as an individual and your profession as a whole are different.

There is a very pertinent and legitimate point made in the article that -teaching- is not a respected industry.

It's not exactly a new comment!
They never said it was particularly important for career advancement. How did you read that into their post?

Also, what's with the condescending sneery tone?
I tried WebStorm and found their support for TS severly lacking, IIRC it was limited to automatic compilation and basic syntax detecting. Code understanding/static type analysis was basically non-existent, e.g. it wasn't checking if argument conforms the interface described in the method's definition - you had to compile the script to find that out.
Google Scraper Report Form: Algo or Manual We Wonder?
Please. The teachers union is a union, they are looking out for the teachers, not the schoolchildren.
if pCell also enables wireless power, youd just need small buffer battery.
Electronics swithcing speed is the main botleneck to doing this with light. And there are hard barriers that makes this kind of device impossible there.

But different devices with the same results are fair game.
There have been hints that MtGox's losses were due exploitation of the transaction malleability issue.

I don't know if it's possible to identify (from the blockchain) transactions that have been altered in a way that exploits the malleability issue but it should certainly be possible to identify pairs of transactions with identical startpoints, endpoints and sizes (i.e. number of bitcoins).

If it turned out that pairs of such transactions turned out to come from MtGox's wallets to third-party wallets, that would probably be a good starting point.
jshint is an excellent tool for static analysis.
As you can read in the post, if your customers interact with your Facebook group page ("like", comment, share etc) the more your info shows up in their newsfeed. Why wouldn't you give away product to increase their exposure to your company?
"but I simply do not believe you that an experienced C/C++ programmer glances at this code and knows 100% for certain that it is correct."

I agree, but then I didn't actually say that I would know it was correct (to any percentage) by glancing at it. What I tried to say was that the "boilerplate" does not detract from the code exposing its meaning or intention.

Again, I agree that the the wrong error constant could be used. But thats also true of a macro is used - especially if the constant is embedded in the macro which is elsewhere.

I didn't want to get into your point about whether this would be better written in another language, because we are where we are. libssl has bee around for a while and has accumulated plenty of dependencies. I don't think a re-write is going to happen any time soon.
I write TypeScript in vim and don't wish to run proprietary software, save for a few games on a machine dedicated for that purpose.

It works simply by adding this line on the top or bottom:

/* vim:set filetype=javascript: */

You can add other options in there as well, so it's easy for others to match your indentation style for instance.
I agree. At the end of the day, it breaks through the clutter to bring to the table clear goals of disruptive innovation to empower diversity and grow the brand. It takes a holistic approach to leverage organic growth, helping us think outside the box and shift major paradigms. They're clearly taking a proactive approach to push the envelope -- and I'm going to reach out to them today, because there's a sea change in the business, and we need best-in-class professionals like this to streamline our survival strategy. With that kind of sustainability and synergy, it's a win-win for everyone!
Well, yes, to a lot of people - both those who lost money in the affair (some people vast amounts), and also to anyone interested in following the development of BTC - if this was theft, how can we prevent repeat incidents to reassure potential Bitcoin buyers; if it was a failure in the technology, what can we do to repair that to make Bitcoin more secure, or if there was some government or official organisations involved, why did they interfere and what're they up to?
It's funny that in the show House of Cards, Space X was shown to be a company where someone got such a high salary he couldn't turn it down.
Not many people want to work on legacy insurace company backend systems, but those who do aren't necessarily unskilled labor. Many of them would rather work on space and would accept a pay cut to do so.
Yes and no in my opinion. Because while the total supply goes down, some confidence is also lost (at least short term).
Assuming those transactions you describe constitute "the theft", how on earth could Gox not have noticed their wallets being emptied?
Objective-C also runs on Android with Apportable. Less of a headache. :-)
Skimming this article, I couldn't tell if it was about DNSSEC or not. But if these are DNSSEC keys, you can safely ignore this story; DNSSEC is a sideshow. It's hopefully never going to see widespread deployment, and regardless of whether it does, it isn't going to make a difference for your security.

I've written a bunch about DNSSEC on HN (and elsewhere) and won't preemptively repeat myself. You might consider just taking my word for this.
"many people who work for places like Walmart also get Food Stamps and Medicaid."

How does this benefit Walmart? If Walmart did hire those people would they magically not need government assistance? This has to be one of silliest criticisms of Walmart around. Food stamps, Medicaid, and other government assistance program are not subsidies to employers.
Except the teachers unions want higher pay and less accountability, so that bad incumbent teachers don't have to give way to better ones.
Yes definitely aware of this. I ran wireshark on my workstation (MacBook) and had Windows 7 in a VBox virtual machine. The amount of network traffic it generates is insane. Prior to using the windows machine there was a little mDNS traffic and some SSDP stuff from my router/television and nothing else. Moment windows is online, thousands of packets everywhere. I didn't have time to reverse engineer what it was doing (as I was debugging an SSDP stack) but it's worrying simply from the complexity of filtering all of it.
My iPhone gives me a loud, blaring notification whenever my keybag gets changed, so it wouldn't necessarily be easy to modify my keybag without me knowing, unless they already have code in place with that specifically in mind.
We will lose a generation of scientists because of current-state academia
I'm trying to move from firebug to the native firefox development tools. The one thing I miss is the network tab doesn't render formatted html or datastuctures, it just text dumps (firebug give you the option and shows json, html, formatted). That and it seems the network tool turns on when you click the tab, but no way to turn off.

Other than that I really like the tools.
I was thinking about dumping the Blockchain into Splunk. Investigating the best way to do that today.
I'm against all sorts of taxes and tax breaks. It works both ways, though.

While some may call me hypocritical for accepting a write-off that I oppose, at the same time I pay the taxes that I disagree with. This makes me (and Musk) law abiding.

The government has loans for certain types of activity. He took the loans because they were the lowest cost for the capital. It is possible to take those loans and be against them at the same time.

The real problem is that the government is giving out loans that are practically unsecured, usually to connected individuals. Musk actually has a car company producing cars. Yes, he could have sought private financing, but the government underbid that financing and he took government loans. It's hardly rent seeking.
Hmm technically you don't need an IDE to make good use of Typescript. It works very well as a standalone compiler installed using npm, and you get static type checking etc. which is really the point of Typescript IMHO --- if you don't care for static typing you might as well use JS directly.

Sure, once you've got this you might as well want good auto-completion, refactorings, etc, but this also applies to any language that's not bound to one specific IDE (C++, for example, or Java).
An interesting idea, but it assumes that the demand doesn't change after a government seized a large number of BTC.
The Ford Model T was also discontinued, was it a failure as well?
I agree with your point: the title is sensationalist. The difference between teaching and owning a coffee shop (and the others examples) is that few people will try to tell you how to handle your coffee shop while a lot think they know better than you how their children should be taught.
> Why take 429k and split it into many addresses each containing less than 1,000 BTC each?

Ever heard the adage "Don't put all your eggs in one basket"?

It's possible that MtGox used to operate everything from a single, large wallet but decided to split it up into lots of smaller wallets, to avoid the risk of suffering a single, catastrophic compromise.
Not every monoid has an append operation, most don't.
I'm not quite sure I understand his objections to Xamarin. He says, "It can only output to intermediate Xamarin libraries, not native ones."

On iOS Xamarin does compile down to native code and on Android is compiled to dex format. They are not interpreted on those platforms.

Xamarin can utilize PCL assemblies, so non-ui code could be written once and used multiple places without recompilation. This is actually very handy since those libraries can be built on Windows, where the toolchain is better (IMO VS is better than XS) and the system is more powerful.
I appreciate the coding standard at a previous employer (http://www.astronautics.com/) a little bit more now, that INSISTED that braces always happen, even for one line conditionals like these. It was kind of irritating at the time though.
HTML/CSS Style Guide by Mark Otto
Well, it's not quite a chat app... but Firefox Sync does do client-side encryption. Conceivably you could sync browsers with someone afar, and then communicate securely by adding bookmarks containing messages and waiting for the browser to sync them. :P
that's bullshit. you don't know that it didn't happen - there's no telling what he did with the code in the time between commits. he could moved things around 20 times, finally ending up in the same place, with the exception of the accidentally pasted a line.

plese use some imagination before jumping to conclusions. a diff tracks changes at points in time, not an editing session.
I was going to say something to this effect, but I think the biggest one is: mathematician. It's like if you're a clothing shop owner you have a good idea what coffee shop owners do, and there are similar parallels for most professions. But not mathematician. Most people haven't the slightest clue what they do.

I guess that makes "math teacher" the most misunderstood of all :)
We agree on with native and opening up the platform at Apportable. It's why we built Apportable. It provides everything you expect from iOS on top of Android and makes it just as open for mixing code. We try to fill in the gaps that people with the native experience on Android.
Because every time a post on education comes on HN everyone thinks they know all the answers. The comments end up turning into a "Well this is the real reason..." or "Everyone needs to be just like..."

The discussions end up being so worthless that I now flag every education related post on HN because it's just not worth the time here.
Honest question: of the folks who have the necessary skills, aren't many of them working in low-paying academic jobs?

From the outside, it seems like moving to SpaceX would give them an opportunity to put ideas into practice while making more money than the average post-doc.
Definitely felt my blood pressure rise as I read this. Good job!
Sometimes there is no substitute for the insight of an outsider saying "that makes no sense, this is how I expect it to work"
Depending on whether people viewed the seizure as permanent or not, it would reduce the number of available bitcoins and, theoretically, cause a price increase. However, that assumes the volume of bitcoins demanded didn't also go down, which would most likely also happen since a large-scale seizure would reduce confidence in bitcoin and cause fewer people to use them (and many people holding them to try to sell them for traditional currency).
Well, I can say that in two weeks of homeschooling I got my son to write more than they did in five years.

He was having trouble with bullies and the school did nothing about it. They pretty much gave up on teaching spelling completely. We found out that our school is a "magnet school" for behaviorally disturbed "special" kids from other districts so kids in the rich school and kids in the poor school where communities complain a lot get to enjoy a safer environment because the rural school gets all the psychotic kids.

I gave up on them when the superintendent gave a "town hall" where he told the mother of a "special" kid that he was a partner in his education and he told me I should just butt out because he was the expert and there's a new paradigm and homework is obsolete and because I don't have a phone number to call to get Albany breathing down his neck.

F the teacher's unions.
Windows 8x is a mess (in comparison to Windows XP or even 7). For example, Win 8x now has 3 control panels (classic, metro/modern, charmbar). And (of course subjective) a lot of people seem to dislike the new art-style and color choices.
Well, the supply of BTC is finite, so simply excluding stolen BTC's has some additional problems. May be better than not addressing it, but while BTC provides a mechanism for following them through the transaction chain, it's not that simple to ID what addresses contain "stolen" BTC. What if the thieves are able to launder them through unwitting proxies? For example, steal a bunch of BTC, sell them on another exchange immediately, and now, how do you blacklist those "stolen" bitcoins without screwing over an innocent bystander?