skysight-inc/HackerNews huggingface dataset:
Ask HN: Any recommended open-source repos that use ReactJS?
Do you have any recommendations on open-source projects that use ReactJS (and employ best-practices)? Much appreciated!
Yes, the opening paragraph in italics and parentheses explains that "you" == "YC founders".

"Founders getting a nice new post somewhere else" does not sound like "avoiding dying" to me. It sounds like the opposite. Could you clarify your point?
I think many important entries get to the first page not because people upvote them on the "new" page, but because people keep on re-submitting them, where resubmition actually functions as an (unintended) upvote.

That said, it seems that HN has grown so big, many "top stories" don't get enough time for discussion before completely disappearing from the front page. It might be time (shudder the thought) to introduce channels...
As much as I am a fan of go, this sounds like it's a bad build infrastructure more than any fault of Java. JAR shading exists, their imports were probably out of hand (and significantly unused), and while they were microservices, they probably could have had groups of them share a JVM (and benefited from the shared permgen space).

Still, that's time and effort, and in Go you get all of those things for free. There's far fewer janky edges (I spent hours figuring out the problems with signed jars, shaded jars, and symlinks when trying to deploy)
America is building new nukes.

https://www.revealnews.org/article/new-mexico-thrives-on-nuc...
I'm not. Hash functions are used in cryptography for password storage (eg SHA2-512).

Best practice would be to use a KDF with a hash salt, but in a lot of cases, SHA2 + salt + pepper is sufficient.
General cryptography -- for example, message validation -- does not need to be slow. In fact, slow message validation would cripple hash functions for cryptography, increasing CPU load and reducing throughput.

Password checking is an edge case. Special purpose password hashing functions with tunable difficulty should be used for those. Do not use general purpose hash functions: They are better than plain text, but they are designed to be fast, and this makes it easier to brute force them.
This is not an effective Kickstarter parody because the financial goal is actually somewhat reasonable.
> How does gofmt replace the Visitor pattern (just to pick one at random from the GoF)?

This would not be the first time that we have had a discussion on HN about this exact design pattern in Go, so it's hardly a random choice. And given past precedent, I think it's best if I end my half of the conversation here and propose to agree to disagree. To quote my previous post,

> I'm really not interested in starting another flamewar about why Go lacks $X and therefore $Y is better, because we have had enough of those on HN, don't you think?
Great point! I just added a Usage section.
There is a cornucopia of distances to choose from. It's not as simple as "just use the best one." Cosine similarity assumes a certain projection of data (by ignoring distance of points are from the origin). It preforms well whenever that's a good projection. I think it's best to think of it as one way to reduce dimensionality, and should be used when you think that's the right way to reduce dimensionality.
Ravens guard John Urschel is living big in a tiny car – Baltimore Ravens Blog
I can't tell if this is sarcasm...
Smart and Efficient Home Automation
Collision attacks is a non-issue with modern hashes.

The point of hashing passwords is it's a one-way cither. ie can't be unencrypted - can only be brute forced or rainbow table attacked (the latter is where salts and peppers come into the equation).

https://en.wikipedia.org/wiki/Cryptographic_hash_function
And the cycle continues, from one crappy enterprise language to the next. I don't who said it, but whoever said "Go is a bold step backwards" is spot on.
This is true regarding heap space (you can allocate couple gigs in one line), but perm gen space and JIT space can also be significant in JVM case.
This, precisely. If I have to compile YourApp 1.5 with YourTLSLib instead of just `apt-get upgrade`, I'm going to be sending you flaming karmic poop for your karmic doorstep.

And not just new features--though SemVer is very often honored in the breach more than the observance--but breaking, sometimes undocumented changes (two Go projects, Packer and Terraform, both come to mind).
Are you saying that we should do it?
Raspberry Pi Displays for the Adzerk Office
Yes, That Debris Is from MH370
Yeah, shit like that really does suck. At the very least, we get that kind of service now.
You should read Sun's J2EE specs. There is little semantic distinction between a stateless session bean and a container hosted micro-service. The specs were never fully grasped (imo) by the Java community and those who got it (per gossip I heard) -- appserver vendors e.g. IBM, JBoss, etc. -- effectively crippled the spec by resisting the completion of the APIs that would commoditize their containers.

Sun was really ahead of the game in various fronts.
> I feel I should note that Walker exempted police unions from his union-busting.

OK, eww, yeah, Walker was wrong then.

Fundamentally, forming a union is an act against your employer's interests. When your employer is a private entity, that's not a big deal. It's a dispute between two private parties, let them hash it out amongst themselves.

But when your employer is the government, forming a union is an act against the public's interests. Public servants should never, ever be allowed to act against the public's interests under any circumstances. And this goes double when your job is a fundamental part of public safety. It's why Reagan fired the air traffic controllers: because such a group going on strike is a direct attack on public safety. Imagine if there was a police department that actually did their jobs instead of choking black people to death on the streets; now imagine that "good" police department suddenly went on strike because of a pay dispute. Imagine how many people calling 911 for domestic violence, home invasions, etc. would be completely and thoroughly screwed.

Police unions simply are incompatible with public safety.
Yeah. Just put the year in parens at the end of the title if you're worried about it.
If this doesn't get funded, perhaps we can start a "Burn SF to the ground. Again." campaign.
Genetic Access Control Using 23AndMe
Let me tell you about my mother
Stardock Fences Crack 2.13 Serial Number Free Download
Hmm, well the way I was imagining it, every new post will get the same amount of promotion, but it's true that it is random in that you never know who you are going to show it to. Some people might pay attention to the New Posts box, some may not.
@asanagi: You're shadow-banned as of 15 days ago.
Related:
http://blog.lostpropertyhq.com/postgres-full-text-search-is-...

HN Discussion:
https://news.ycombinator.com/item?id=8381748
AVX-512 was the only interesting part of the microarchitecture, and honestly the only reason I would bother to spend the money to buy one. I imagine it will greatly reduce the adoption rate of the AVX-512 features and capabilities. Disappointing.
Actually, CALEA [2] is a requirement for all US carriers (ISPs/telcos), it's just an extra requirement on anyone peering with a US firm. It's also been around since 1994.

CALEA intercepts are implemented through automated systems, the judge signs a warrant, it's entered into a computer and the wiretaps are done automatically, with the traffic routed to the requesting agency's systems.

In China, they probably noticed that they don't have a legal intercept facility built in, and don't want to spend the time to negotiate with all of the interested parties. So, they put a person on site.

The threat and the outcome is the same. If you don't provide legal intercept, you're going to get locked up.

For an example of what level of access these systems provide, a Greek carrier was hacked through theirs - the hacker(s) turned it on and used it to listen in on the Prime Minister's phone calls[1].

I'm not saying that the Chinese are doing the right thing, just that it's largely equivalent to what happens here.

[1] http://spectrum.ieee.org/telecom/security/the-athens-affair

[2] https://en.wikipedia.org/wiki/Communications_Assistance_for_...
>"In addition to the margin call concern, just because a stock is overvalued doesn't mean it will reach its fair value before an adverse event (let's say the company makes a gamble with positive expectation, but it doesn't work out) happens that lowers its fair value. "

I'll assume that you meant the opposite of this quote (, that the stocks being short-sold beat expectations, and their fair value went up,) as what you said would benefit the short seller.

You are right that the stock could take longer than expected to reach its eventual (lower) value, but this is why you would bet on a large number of stocks (i.e. S&P500), to reduce the risk of a single or few adverse events cancelling out the strategy. In addition, by purchasing the S&P501-750, with the money from short-selling, you would be fairly well protected against market upside risk (as it is unlikely that the S&P500 will be the only stocks to do well in a bull market). You could also purchase options to reduce the risk of the short, but a (simpler) alternative would be to take out a put option on the S&P500, which the better believes will go down; this is obviously somewhere between the portfolio bias approach, and the short approach in terms of risk (and reward if you believe in EMH).
> Not everything submitted to HN "deserves" to receive upvotes, to be perfectly honest.

This is certainly true. It is also the case that some things submitted to HN deserve upvotes and don't get them. A case in point, this very article:

Try #1: https://news.ycombinator.com/item?id=10007658
==> 4 points by curtis 17 hours ago | discuss

Try #2: https://news.ycombinator.com/item?id=10011219 (this submission)
==> 42 points by curtis 2 hours ago | 18 comments

The obvious conclusion is that the first submission didn't get upvotes just because it wasn't very good -- it simply didn't deserve them. And the second submission got upvotes because it was better. It was quality content. But of course in this example, they're the same article!

Now let me be clear. I understand that it is the nature of this particular beast that there is simply going to be a lot of randomness. However, I believe we can make it noticeably less random with some fairly modest effort. And if we can make it less random, then I think that would be a good thing. Would the proposed "preview" page actually do that? I don't know. But I certainly think it's worth talking about.
This is a problem we had to solve at reddit a long time ago. It's called the "rising" sort:

https://github.com/reddit/reddit/blob/c6f959504466333c0d7d51...
Looks like at base clock speeds it's a ~50% increase vs a 2600K. However, I have a ~20% OC so I really need to see how much the 6700K OC's. Still it's seems unlikely to be worth spending ~750$ for a new CPU, RAM, Cooler, and MB.
Open source tools published to disable Windows 10 tracking
This version looks actually pretty nice. Using the format toolbar to the right you can almost forget is not Pages (iWork)
I read somewhere that after being captured by the allies some german physicists were recorded speaking in disbelief about the bomb. They were under the impression that any bomb would have needed many many times as much enriched uranium (think tons) resulting in weapons too big for aircraft. That was an indication they hadn't done much criticality research with enriched material.
Finding an Alternative to Startup Events
Scholarpedia, the Peer-Reviewed Open-Access Encyclopedia
Inside Snapchat's war against porn
I have the same situation, not worth the upgrade. Maybe in 10 years there will be better CPU.

If you want upgrade, buy watercooling and overclock it.
Show HN: Real-Time Twitter Sentiment Analyzer
In my 28-year career I've noted that if a project has not been fielded 2 years after its announcement, it fails.
We did this on reddit (and they still do). It works really well.
As far as humans vs. animals, its all part of the whole elite/Malthusian belief system that values only some people and regards most lower classes as little more than animals. Its sort of a 60s eco-warrior wildlife management mentality applied to human population.

That belief system is missing the reality of the similarity between individuals in different classes, the current trends which seem to actually aim toward inverted population movement, massive resource efficiency improvements possible with better application of technology to society, and the inherent value of human life vs. lower life (see ideas like the noosphere).
Eh, the reason we spent so much effort at Oak Ridge is that we tried all vaguely practical methods of getting weapons grade fissionables, and that was the location for uranium enrichment, thermal, caltron, and gaseous diffusion.

But the most practical method turned out to be breeding plutonium and separating it, and that was done at Hanford on a vast scale, the largest single WWII construction project. But not inherently super electricity intensive, the piles had to be kept cool, and ... I'm not sure anything was all that power expensive.

Ignoring the minor detail that they had 1/166th of the uranium needed for a Hanford style pile, assuming that 1,200 pounds was the first large quantity the might have gotten their hands on ... well, industrially there was no way they could have pulled this method off, we could just barely do it. They couldn't build reliable airplane engines with > ~1,000 hp of output.

Niels Bohr dismissed the concept of A-bombs for WWII early on, he thought "you would have to turn the county into a factory". When "Nicholas Baker" showed up in the US, he observed we'd indeed done just that.
I know. I made that comment in the post you're replying to.
MH370: Reunion debris is from missing plane
I said like slack not slack, the fact that it would be open protocol if not open source was implied.
Traditionally you'd deploy a bunch of apps to one container (Tomcat, or whatever) and they'd all share the same JVM. I'm not sure if jars are shared in this way or not. I think OSGI was supposed to allow deploy apps to reuse the same jars and resources but I don't know how commonly that is deployed.

Now it is more common to run Tomcat or Jetty embedded for your app so that they are isolated.
One of the few parodies that actually made me laugh IRL.

I wonder if almost $2M raised are also a parody.
You can download your raw data, and/or run it through Promethease: https://www.promethease.com/

(I will admit to not having compared more than a handful of SNPs with what 23andMe has to say about them, and I suppose they could have tampered with the data, but that seems like a lot of effort for the one-time payment they got from me...)
Just want to say that we're a very happy Amplitude customer and have been since early on.
Holy crap yeah, I don't know what other app was put together so poorly as Spotify. It wakelocks like hell, it crashes constantly, none of the menu items make sense, AND aren't consistent with where you are in playing songs, it seems totally random as to whether songs show up in your queue or disappear, your history sometimes stores albums and sometimes songs, it goes on and on. I use spotify mostly as just a grooveshark replacement, but as soon as my trial is up I'm ditching the fucking thing.
Tourbillion: Open Source /dev/null-as-a-service
Java Mobile Development Webinar (iOS and Android)
The future is fingerguns. "Pew pew to open program".
But isn't volume-based pricing a good approximation of cost-based pricing? With the new setup, are low-volume customers paying extra to subsidize high-volume customers?
I would argue that plutonium breeding is only obvious after you have performed some criticality experiments with an appreciable-sized block of enriched uranium. This was new physics at the time, without computer simulations. Bomb theory, critical mass, could only be understood after you get your hands on some enriched uranium.
We aren't in the Schengen area, that's a different treaty. And we aren't letting in random Moldavians. Applying for citizenship still implies submitting an application for review, which includes things like a criminal record, birth certificates from parents and from grandparents as proof that they were Romanians, plus proof of legal residence in Romania for 48 months. The process is for "regaining citizenship", being easier than the full process. And no, we shouldn't apologize, our relationship with them is no secret, some of us also want the unification.
1. Even research centrifuges are a lot more than "discussion" or a "thought experiment", the terms that you proposed. Perhaps "research" is a good word for the stage they were in?

2. You're attacking the timing, but the timing makes sense. People are much more interested in the topic now, so it makes sense to publish it now.

3. You seem very eager to guess at the political motivations of the article's author, but not everything is about politics. The quote definitely gets the readers thinking, but (assuming it is accurate, of course) it seems very appropriate for the end of the article. Articles often end on an open question, and it is fascinating to think of what could have happened had history gone differently.
It's $2B
Thanks for your comment. It scared me a little and gave me a perspective. First thing: I hope you're all doing OK now and your health improves.

I'm a bit envious of all the great hackers getting plenty of nice Open Source projects done (mostly Rust community, because that's what I'm into). Secretly, I would like to be a open-source-star-developer, but I can't see it ever happening...

Between dayjob, family-time/babywork (newborn son) I squeezing any time I can get for my hobby Rust projects, and I still feel like I don't get much done.

I eat OK, drink just two coffies a day, but maybe I should get more sleep, slow down and hit the gym...
The "quarter mile stretch of wall all to your own" reward already has over 16k backers. How are they planning to deliver when the wall is only 300 miles?
> General cryptography -- for example, message validation -- does not need to be slow. In fact, slow message validation would cripple hash functions for cryptography, increasing CPU load and reducing throughput.

There is definitely a trade off between the two (performance on servers vs rate of passwords an attacker can crack). But generally the advice is to go for the slowest you can afford. Hence why KDF's have an iteration parameter so passwords can be hardened as harder gets faster.
It would seem that you could implement that abstraction within the language

def int int_indexing(int values[])[] {
int i = 0
int result[] = list_create(list_length(values))
foreach (values as dummy) {
result[i] = i
i = i + 1
}
return result
}

I haven't tested this, and I had to look in the source code to find the list_create function from the standard library. Of course, since the language lacks type parameterization, you'd need a different indexing function for each type of array.
> Any advice on joining a startup that could make me lots of cash?

But they all do make you a lot of cash! Just ask the founders or recruiters. And the startups are 'hot' and 'just about to take off' and 'an IPO is on the horizon'.

It's all a bet. The companies you list are established with 100s of employees, internal processes, security badges, onboarding programs and you will have little control over the success. You receive stock options (rarely real stock) as part of a compensation package and if your salary is already good (market rate) then it's likely few options and more like a yearly bonus in other industries. You might be lucky to be able to buy pre-IPO stock with your own money as employee.

Of course I know people who made lots of money with stock (most post IPO though). Add Twitter to your list, one of the hottest pre-IPO startup just a couple of years back: Their stock price is now below the IPO price.

Anyway. Go for it you like the company, their culture, the salary and benefits. Treat stock options as a bet and don't look at new houses until the cash is in the bank account.
Haxe doesn't have decorators doesn't it? Wonder if it's on their roadmap...
I just got this email a few minutes ago....these news sites are fast.
I was talking about the S&P500, which is composed of a few hundred different companies, so the risk of one company hurting you is low. You are right about the risk of shorting, but it is the strongest bet you can make. I would probably take out a put option on an S&P500 ETF if I agreed with the post I initially responded to. By buying the S&P501-750, you would also be fairly well secured against market upside risk.

My first response was intended more as a rhetorical question asking whether the poster is actually willing to bet money on their idea. I never really meant to enter into a discussion on the pros and cons of various trading strategies.
Martin Richards still maintains a freely available BCPL compiler you can get from his web site.

http://www.cl.cam.ac.uk/~mr10/index.html
http://www.cl.cam.ac.uk/~mr10/BCPL.html
> How about the alien civilization controlling our sector of the galaxy - do they have the stewardship duty, in particular not damping toxic waste onto our planet, not hunting us?

No. I would certainly hope they don't hunt us or use Earth as a dump, but there is no duty for them to not do so, or some kind of inherent right enshrined in cosmic law for us to have undisturbed development.

> until a species develops to the stage when it recognizes that "right" has different definition.

There is no development towards some kind of ideal morality. That's a colossally egocentric view to take. I'd say it's even rather ethnocentric since there are some cultures who, generally speaking, have quite different views than you do.

> We left a lot of things in the past which today would be considered a sign of mental illness, like human sacrifice for example.

Did we really?

Perhaps the rituals and names have changed, but imaginary alien anthropologists would not see much difference between abortion, martyrdom, death penalties, mob killings, voluntary euthanasia, some kinds of homicide, and the kinds of human sacrifice that occurred in our past. To be sure we would make our excuses, but the peoples of the past who committed human sacrifice also did not consider it abnormal or wrong and sometimes were so convinced of their duty they volunteered themselves for sacrifice.
Netflix is giving employees a year of paid parental leave
Why you need automated testing
With regards to your first question 'cause the sibling gets the second--I'm talking about a plugin architecture. Having to recompile an app to add a third-party feature is, in my world of "the user is more important than the developer," bogus; it means that I can't just use my OS packages if I need anything even remotely out of the ordinary. (nginx is the only thing I regularly use and might want to extend that has that misfeature, but it escapes that annoyance only because I've never needed to add a plugin Ubuntu doesn't by default.) Packer and Terraform attempt to get around this by shipping plugins as separate binaries. It is not the worst solution in the world, but I think it's an unpleasant, unsatisfying experience even when I do my best to separate that from just finding Go fugly in the first place.

It's an unrelated field to my day job of devops/server software, but I wrote a plugin system in .NET and it's super trivial to just suck down an assembly and expose its types to the core logic. I've written the same in Java, and Ruby basically makes it a breeze with a Gemfile and a 'require'. It can be slower (though for the overwhelming majority of tasks not at all too slow for a tool, rather than a high-throughput server or whatever) than Go can in some cases be, but it doesn't suck to use, and it's for that reason that while I can understand Go for server stuff I have a real beef with it intruding on my systems when I need to use it as a user.