skysight-inc/HackerNews huggingface dataset:
Sure, but it is a symptom of a risk adverse culture. Risk adverse corporate cultures that pursue data that is difficult to quantify aren't exactly the norm. If your company culture values risk adversity why would you take the risk of measuring anything but the obvious? You might if you're that type of person, but risk adverse cultures select against risk takers.
De-Clutter Your Code with Asynchronous Tasks
AWS Shell – An integrated shell for working with the AWS CLI
Only a racist hates someone because of skin color. Are you saying blacks as a group are racist?

Edit: I guess the answer to my question is "Yes".
Why is that? The native app loading the website restricts its access and the app is itself restricted. Yet, it has much more privilege than a web app needs. Same techniques used with better results.
Configure telemetry and other settings in your organization (Windows 10)
China's growth and modernisation has increased their use of coal massively. 70% + of their electricity comes from coal.

https://en.wikipedia.org/wiki/Coal_in_China
Looking for info on how to build a financial web app
I am working on a web app for a client that requires basically reading a companies (retail) financial data and displaying it on a dashboard with alerts and social media integrations.

My question is how do I go about linking the financial data of different companies in real time, especially if they have different types of databases?
I love the thought that you have put into this comment. I would like to caution you about two things though:

1- The situation that you endured is a lot closer to the one that immigrants face which, although similar, has fundamental distinctions from the history of African-Americans in America.

2- If a _wealthy_person/male_ said "I think the biggest problem for _poor/female_ people in America isn't _rich/male_ privilege, but rather the victimhood mentality that many have..." I think that you'll see the inappropriateness of the statement. Which, I hasten to add, isn't just the particular criticism leveled, but also the identity doing the criticizing.
I am hard pressed to think of a substitution that isn't fraught with baggage...
Cathode Ray Tube Safety Issues
Show HN: Fastflux – Functional reactive state management for React
Yes! I've been following the Code4Startup founder, Leo, since he first launched it. It's a great boostrapped story.

I was excited for him when he announced he added someone to help, then sad for him when she wasted no time stealing it and raising funding.

Shady.
I think you're getting downvoted for implying nuclear is evil.

Let's look at deaths per kW of different power sources! http://www.forbes.com/sites/jamesconca/2012/06/10/energys-de...

You'll find that nuclear is the safest option, even when we include Chernobyl and Fukushima.

Nuclear also has the benefit of being an "always on"--- wind and solar create stresses on power grids.
"One of the above is from Li Shouwei, the deputy head of the Chinese parliament's criminal law division. The other is from the US FBI director."

... who have more in common with each other than they do with any of their constituents.
Indentured servitude is the term you are looking for [1].

1. https://en.wikipedia.org/wiki/Indentured_servant
Hey, that's what I thought too, but you do need someone to sell customers and investors on the concept. Also it sounds like he had a huge product and project management role as well.
Out of all the modern systems level languages (D, Nim, Rust, Go), D is by far my favorite.

I recently came upon this post and couldn't agree more with it: https://www.quora.com/Which-language-has-the-brightest-futur...
Hi Mike!

Great open source work. I've used d3 on many projects and, perhaps interesting to some, have used it often not as a charting library, but as a view/event model for DOM manipulation with advanced UI requirements (think dc.js and crossfiltering). This is after noticing that d3 works with large data sets very quickly - even those directly adding, removing, and editing DOM nodes & data.

My question for you is, broadly, where the speed of DOM manipulation comes from. Typically DOM interactions are very expensive in terms of execution time. I searched the docs and very briefly the source code to no avail.

Cheers, and thanks for open sourcing your work. It has been invaluable to my projects.
Hey, Cory here. I'm a (relatively new) member of that lab.

I think the coolest thing on the site is the book The Algorithmic Beauty of Plants. The PDF is available in the publications section.

TreeSketch is also interesting. There's a fairly approachable paper about it there too. Unfortunately, keeping up with regular maintenance for an iOS App is quite painful for a university lab. It was removed from App Store after its last maintainer moved on, but there has been some discussion about relisting it.
The Baader-Meinhof Phenomenon (2009)
Don't get me started
https://en.wikipedia.org/wiki/Comfort_women
> Region allocation (Ada) - used in some real-time systems. Rare.

Equivalent to solving the halting problem unless you're writing toy software with extremely well-defined inputs and outputs. Good for device drivers, maybe, but not in the general case.
I'd certainly accept that there isn't a zero-sum game between living and dead authors or between new and second hand books. A quick scan of my own bookcases would make it impossible to argue otherwise.

I'm hoping that the increase in the number of bookshops of any kind will increase the number of people who do buy new books by living authors as that is the way we keep authoring as a somewhat viable mode of making a living.
>Obvious exceptions for this would be legalized states and medical use.

If we're talking about marijuana another exception is states where it's decriminalized. If you're passing on a fantastic candidate in California because they tested positive for marijuana you are arguably insane. Possession of marijuana under an ounce is a violation (ticket) that doesn't require a court appearance or a criminal record (similar to a traffic violation).
What benefit does revealing registrations provide? How would the public interest be harmed by shielding names, addresses, and phone numbers from disclosure?

A lot of comments here saying "so what it's public record." But not a lot of asking if it should be. Something being the status quo doesn't make it right.
I can confirm. From outside the USA it looks extremely weird. But, you know, we do things that are weird for you.

For me the most ironic part is that by this rules you maybe will fire a really good worker that tried drugs. Why do you want to fire a good worker that doesn't causes any trouble?

Maybe makes sense for people, for example, that uses firearms at work. But it will not make sense if it is not complemented with some kind of mental health care.

Really, I see it as really really weird. I see that the journalist also sees it that way. But on the comments looks like it is not so much.

Is it really so usual to do this? Isn't this seen as an invasion of personal privacy?
Since "the installation process is quite complicated so that they can bypass the chrome malware checks" (second paragraph), it probably can bypass blacklisting checks too.
How is "never-ending-chain-of-thens" fundamentally different from async/await? It's still the very same code but with different (and somewhat disconcerting) sugar. I've been using promises long before ES7, and it's actually harder for me to read async/await functions and reason about them because they look so much like ordinary functions but aren't.
There are useful features in ES6/ES7, to be sure: fat arrows, destructuring, imports/exports. Classes and spreads are useful too if you do a lot of React and JSX. But async/await, decorators and generators are just fancy and questionable ways to perform routine functional stuff one can easily do in shaggy pre-ES5 Javascript.
I write a lot of ES6/ES7/JSX at work and CLJS at home and 100% prefer the latter.
I want immutable values with destructuring, lazy sequences, suit of threading macros, decent cond|p/case, protocols and whole CLJS ecosystem.
I've adapted to ES6/ES7/Redux/RxJS and often even could write code near-identical to CLJS/Reagent/Re-frame/Reagi stack. But it is definitely more painful and limiting experience.
Do you have a cite for that? If Apple has to turn on / enable key escrow that's a very huge freaking deal.
It'll be interesting to see what Apple do in this case, their having said that they would not build backdoors for their products --but it's difficult to see them turn away from one of their largest markets.

I'm guessing they will make concessions for the sake of market, whreas Google, so far, has resisted that temptation.
The First Look at China's New Self-Driving Car
The NSA uses a "three-degree of separation" rule to determine whether your communications are "fair game" for interception and surveillance. As this exercise shows, three degrees of separation is a very broad criterion, and can be used as a justification to intercept almost anyone's communications, whether they are involved with terrorism or not.
> Sure, but it is a symptom of a risk adverse culture.

If there is aversion to risk involvedon, its not the company being risk-averse, its the individuals being risk-averse, and the culture having demonstrated that failing to address quantified risks to the company (but not failing to quantify and then, if appropriate, address identified-but-difficult-to-quantify risks to the company) will lead to negative personal consequences.

But its not so much the aversion to risk that is the issue here so much as the particular personal risk profile in those environments. An environment with the same cultural degree of aversion to risk, but different personal risk profiles, would produce different outcomes.

> If your company culture values risk adversity why would you take the risk of measuring anything but the obvious?

Because the lack of knowledge about a risk (especially one that is identified and qualitatively characterized, but not quantified) is itself a risk, and if your company really values risk avoidance, than identifying and quantifying risks (and not just addressing the easily identified and quantified risks while ignoring the easily-identified-but-hard-to-quantify ones and the hard-to-identify ones) would be valued and rewarded.
What's the connection between electrical engineering and cheap soldering in China?

That's like saying it's cheaper to hire Chinese to type into a keyboard, so programmers are no longer in demand.
Will Apple have to start escrowing the root key for devices they sell in China?
The fact that the blacklist checks can be bypassed is troubling in and of itself; the fact that a security company would knowingly do so is even more troublesome. I just finished removing AVG from my mother's laptop yesterday, it's not very often you get a choice validated so quickly.
Ask HN: What is the best tool to benchmark a 10 GbE connection?
I've been testing with a point to point connection and iperf, and only getting below 3Gbps connections.

What alternate tools do you suggest?
So you want to build an App
I've got to point out that libgen is effectively a book piracy site.

I don't personally have a problem with this, but others may want to keep that in mind.
I hope Ars Technica got paid well for this P.R. piece.

I don't see why anyone would give Microsoft the "benefit of the doubt" since they are probably the most consumer-hostile of the big tech companies (even Google is merely indifferent, not actually hostile.) The Win10 spyware, the always-on Xbone camera, the (later reversed) decision to ban used games on XBone, the list goes on...

On the other hand, I trust that HoloLens will be around for a while since it is a vanity project for them and they have literally billions of dollars to burn on it. Similar to Google Glass and Facebook's virtual reality thing that they acquired.
I agree. The first sentence of the article pretty much sums the guy up and the figure is hardly inspirational. Tenacity and the ability to sell as well as to manipulate/exploit others: sure he has those, just like any typical street market peddler in Beijing - only Beijing street peddlers aren't lucky enough to have the opportunity scale of Silicon Valley. But, do these qualities make them inspirational figures? Not in my book.
I'd say the currently alive variation is Object Pascal and the two major implementations of it are Free Pascal and Delphi. See Pascal's and Delphi's ranking on the TIOBE index (http://www.tiobe.com/index.php/content/paperinfo/tpci/). Free Pascal is fairly compatible with Delphi except for the newer language features.

Delphi's expensive but its Object Pascal implementation (http://docwiki.embarcadero.com/RADStudio/Seattle/en/Delphi_L...) is good and it has some nice libraries like FireDAC (http://docwiki.embarcadero.com/RADStudio/Seattle/en/FireDAC) and the parallel programming library (http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_th...).
Hey Mike, glad you're doing a AMA.
I have a few questions:

1. There is no great javascript library for manipulating data, like pandas for python. Are you interesting in starting one as part as a d3 module? This could benefit from d3 being a standard and from your experience in writing javascript code.

2. Do you regret the original .enter() .exit() functions? These were powerful, but were a barrier for entry because they were hard to grasp. Do you wish you'd gone full functional from the start?

3. How do you get paid? Are you sponsored? Are you looking for sponsors?

Thanks much for the great work!
BitShares Vision
CenturyLink
I was curious whether or not the fact that P_moon being 29.6 (in their data) and P_algol being 2.85 would lead to the chance that they were measuring some other fraction of the periodicity of the Moon, more specifically, 2.96 – which is P_moon divided by the length of an Ancient Egyptian week of 10 days.

The linked article doesn't discuss this (that I can find), but an article the same authors posted to Arxiv in 2012 (and updated thereafter) does discuss this and they found that the two periodicities are completely out of phase, so that's pretty neat: http://arxiv.org/abs/1204.6206
Mike, I'm big fan of your work. Have been using it since early releases.

I'd love to hear your thoughts on how to make visualization more appealing for non-programming users who want to interact with data beyond the basic clicks and drops.

> D3 ... rejects the tyranny of charts

Let me share a couple of counter-examples that attempt to accomplish the opposite, albeit for the common good:

http://apps.axibase.com/chartlab/14cf1974/3/ - Basic

http://apps.axibase.com/chartlab/2111a2b7/2/ - Inheritance and Iterator

http://apps.axibase.com/chartlab/e8635882/10/ - Time series transformations

http://apps.axibase.com/chartlab/2ef08f32/1/ - Composite

What you see is a set of charts built with D3 under the hood and placed on grid layout with a mix of configuration settings and basic control structures. What's unusual in this approach is that it introduces end-users to programmable visualization through a simplified DSL. It helps users step outside of GUI editor sandbox and yet it doesn't expose them directly to JavaScript and SVG.

I'd appreciate your critique of this approach in general, not necessarily our implementation of it :) Is this level of "tyranny" acceptable in your view?
When dealing with unaligned loads, keep in mind that the penalty for a page-crossing load is huge pre-Skylake (~100 cycles); does your test set include page boundary crossings?

I believe there's still a throughput penalty for cacheline-crossing loads as well, though it's quite modest compared to pre-Nehalem (where each cacheline crossing cost you 20 cycles!)
Safe and Secure Software – An Invitation to Ada 2012
How to get startup ideas
Who you voted for isn't public, but if you voted in a primary, it is often public which party's primary you voted in. Voting in a particular party's primary doesn't necessarily mean you're an actual supporter of that party though. I've heard of plenty of cases where members of one party voted in the other party's primary because they wanted the less-electable candidate to be that party's nominee.
OS shells and browsers need to unify first. Something like what Chrome OS does seems like the way forward. Users shouldn't have to care if their pixels are being painted by HTML or native frameworks.
In the case of updates, I wouldn't mind so much if they had them on-by-default for security and stability updates, because that will usually be the best choice for users who don't know any better. However, preventing power users and small businesses from controlling their own systems even if they want to is quite a different thing, and of course it makes a difference only if Microsoft want you to have something that you actively do not want.
It's funny to read that "Feross is awesome" and that "open-source folks love to get pull requests from newcomers". I actually submitted a humble pull request to a small library mantained by Feross, and he wasn't friendly: https://github.com/feross/run-series/pull/3

I can see and understand why he didn't want my PR merged, and I know it wasn't bugfix, but I think the fear of first-timers is justified and shouldn't be dismissed (I don't know if the post is only about bugfixes, but fixing bugs is not the most amazing thing, even worse if you are unfamiliar with the project). Worse, the problem of not being able to get your PRs accepted into open-source libraries causes either:

1. a lot of forks, all unmantained, each adding a different specific feature;

2. no forks at all, because the PR submitted knows he will not be able to maintain the project alone from that time on, if his fork breaks too much from the base and can't get its updates.

I don't know what would be the solution to this. Perhaps it is project mantainers actively signaling they want contributions from new people. Definitely it is not saying: "it's open source, fork it" for everybody that suggests a new feature.

Also, I don't think it is anyone's fault, but it is definitely a problem.
Is the source code of TreeSketch publicly available? If not, is possibly any chance of releasing it?
If you think hon hai precision industry co. ltd (aka foxconn) is merely doing "soldering" in China you ought to catch up with the market reality. Almost everyone I know who is employed at Apple (in California) with electrical engineering degree, goes on multi-month annual visits to Chinese plants.
Show HN: CSpider – Scalable Webcrawling framework in C
I think the most damning quote from the article is "He also ruled that the police were under no obligation to know that drug testing field kits are inaccurate".

Police are under no obligation to know that a tool they use is inaccurate? Would the same rules apply for the acquisition of, say, firearms - i.e. would the police be under no obligation to know that the glocks they're purchasing for their officers have a tendency to fire even when the safety is on?

Edit: per comments below please s/when the safety is on/without pulling the trigger/ when reading this comment
I hate to say this...

Then, don't?
Your sentence got passed through Stanford's NLP service and here the result is visualized with d3.js[1]. Your use of the verb to find is quite interesting. Depending on structure it means different things. According to this graph it is a verb phrase (VP) followed by a noun phrase (NP:DObj) and a gerund phrase behaving as an adjective phrase object compliment. The verb to find can function in couple different ways. It can take a noun phrase direct object (NP:DObj) only without an object compliment such as the noun cat, as in to find a cat, with a semantic meaning of discovering something that wasn't there earlier, or it can function like the verb consider which equates a noun direct object (NP:DObj) with an object compliment (ObjComp) which requires, unlike the first use case discussed with only one grammatical structure following it, two grammatical structures following it. What semantic meaning can we get from parsing whether there is one grammatical structure following the verb to find or two grammatical structures. In the first case, a dog can find the cat, but in the second case, a dog can't consider which is a higher order cognitive function that requires reasoning. If I was building AI, I can already using Stanford's NPL service determine programmatically how many grammatical structures follow to find and I can also deduce that the noun before the verb to find in this case you, or me, is something capable of higher level logical reasoning, most likely a person, or, perhaps, a dolphin, a parrot, or IBM's Watson in very rare specific cases.

Any sentence can be parsed into its constituent parts. "You might find Stefanie Posavex's work inspiring" is a free standing grammatical sentence which is used as part of a larger sentence. It can be broken further conceptually into you might find something and Stefanie Posavex's work is inspiring. What I want to do is help students learn to take these last two sentences and mix them together with you and find into a meaningful larger sentence using interactive graphical visualizations.

A verb functioning as consider requiring two grammatical structures following it is one of a small number of ways a verb can behave. There are only a small handful of verbs that function as consider such as to think, to find, and to nickname.

Graphical visualization helps understanding this so much. The visualization I linked to is only proof of concept. If I used more specific labels on the nodes of the graph you would understand the concepts more clearly than me trying to write them. I'm working day and night on this. I'm learning about closures, prototypes, and the difference between pseudo class inheritance and delegation in Javascript. I've only minimally looked at how to work with tree structures. I'm so friggen' far away, I'm just a cook.

[1] http://i.imgur.com/5CHdoOO.png
Maybe they don't, but maybe they do. How many of those jobs wouldn't exist with access to a more talented team? As an analogy, I don't require a phone to communicate with my mother, but if I didn't have the faster method, I'd have to travel to see her.
Mill is masturbatory vaporware.
I understand (correct me if I'm wrong) that Elemental started somehow as a by-product of your PhD work. How did you find keeping working on it after the thesis, and growing a small team? Anything in particular that you think was important for this to succeed (I mean the keeping-on part, not the technical part)?
You (and the author) are presuming Google views mobile web apps as a competitive advantage, but we have no evidence for that.

Moreover, the article clearly conflates the desire to make web sites perform well, with the desire to make mobile web applications perform well, with no basis for that assumption. Yes, lots and lots of Chrome users visit web sites. That doesn't mean Google feels a need to optimize Chrome to deliver mobile web apps (which requires things like richer, deeper integration with the OS).
Yep, the trick, is to look at the brightness relative to a non-variable, or less variable star.

Also, note that the observations of Algol from the 1600s were just the first documentation of the star – observations of variability didn't happen until the 1700s – I'm not smart, I just checked Wikipedia as I was reading up around this topic :)
WebSocket microservice vs. REST microservice
You can see the raspberries are a little dim in this picture: http://blog.dylanjpierce.com/assets/mirrormirror/15_booting....

Looks like it's certainly possible.

I'm not a graphics/projection expert, but you might be able to boost the brightness for more visibility by adjusting the color profile of the monitor or maybe by adjusting the color output of the pi. I think ultimately it depends on the ambient light in the room and the brightness of your monitor. The brightest possible monitor would be ideal to offset the effect of the mirror.