skysight-inc/HackerNews huggingface dataset:
Single Page Applications can enhance the user experience in many ways, even with more "boring" apps:

* Forums/Comment Threads - If I want to reply to a comment in a thread (like I'm doing right now) I don't want the page to refresh after I submit, causing me to lose my scroll position. Even worse is when discussion sites (cough HN) whisk you away to a whole 'nother page to submit your comment, then dump you back to the thread afterward.

* Documentation - Let's say you have a long list of topics in a sidebar on the left. If I find a bunch of topics that I want to read and they're in the middle of the scroll, I'll be annoyed if the whole page refreshes when I click on one.

* Forms - If I'm filling out a long form (like enrolling in school or applying for a job) and I enter something wrong, I want to know immediately. I don't want to hit submit, land back on the same page, then find where the error is. Even when sites do this well (by saving the whole state of the form and clearly indicating where the bad field is) it's still annoying. Client-side validation also saves server resources (even though you need to do server-side validation too): every time the client catches a validation error, that's one less postback the server needs to process.

Following the emerging set of best practices (use a CDN, bundle/minify your code with a tool like browserify/webpack, don't block the critical render path) is enough to get your code to a point where it should run totally fine on mobile. The horrible state of mobile web performance more often results from:

* Fonts - for some reason these seem to take a longer time to load than other assets (or maybe their absence is just more noticable). Using a tool like TypeKit can help to get around issues like "Flash Of Invisible Text".

* Images - People not properly compressing images, using too many images, using PNG where SVG could possibly work are all contributing to slow page loads. Images are usually the largest things on the page (sometimes by an order of magnitude). They are also often demanded by "the business" in the same way that carousels are usually a result of a business compromise and not a deliberate design decision. Tools like grunticon and other gulp/grunt tasks can help mitigate these issues by ensuring that huge hi-res images have a compressed version and don't get sent to phones with tiny screens.

* Ads - Many ad networks either don't run a tight ship or don't police the companies who they allow to run code on their client's sites. The further someone is from actually owning the page where the code runs, the less they often feel compelled to make good optimization decisions.

My point is that a lot of this new-fangled front-end tooling (browserify/webpack, TypeKit, SVG, grunt/gulp, the <picture> element, etc.) are geared towards producing a better experience for the user. Many of them either emerged to deal with mobile web issues or found new importance in light of the problems developers (and businesses) face on the mobile web.
Why is it legal to collect every passing motorist's speed using a radar gun? Why is a red light camera legal? I assume they aren't.

They are both very unconstitutional, just gathering massive amounts of evidence with no warrant or probable cause. Why any of these practices have lasted longer than a year after deployment is beyond me.
Oh thank goodness someone is making a saner API.
There's Manticore being developed by University of Chicago.
"Expanding to WA", huh? At least one local restaurant might take issue with the name: http://www.gobblerestaurant.com. Which is why I read the headline and thought, "The turkey place is going nationwide? Good for them. When did they start doing pre-prepared dinners?"
The problem with asset-heavy models isn't the cost of capital, which is extremely cheap these days. The problem, as the article alludes to, is that regulator or unions might shut it down, and then their expensive asset sits idle.

That only happens if you have a single market without production mobility between them. But if one city shut down Uber's self-driving cars, they could quickly truck them to a new city.
Considering we have a serious homeless and housing problem in the Bay Area and wages outside of tech aren't keeping up with the cost of living I'm not going to feel sad for this guy. Respect the thrifty, but sad? No fuckin way.
Where in the world can you buy a 1.4 million square foot skyscraper for $600? It was occupied by Chrysler as late as 2009.
Cool project, I could see this type of idea expanded into showing real time replays on fields/training programs.
Aries has specific limitations, such as poor TCP emulation and reliability concerns. Cray is working hard to ameliorate them, and some of them can be worked around, but there are those who do not like Aries, and they tend to be loud about it. You don't tend to see people strongly praising it (aside from Cray salespeople).
function sum(array) {
return array.reduce((a, b) => a + b);
}

With a loop:

function sum(array) {
let acc = 0;
for(let val of array) {
acc += val;
}
return acc;
}
Yahoo adjusted revenue falls; Company signs ad pact with Google
Is putting the unit-tests inline with the code standard best practice in rust?

Overall it's an interesting project and seems like a nice showcase of actual rust src code.
Good point. I don't think there's a solution.
Now they'll be able to build mud huts at twice the speed.

edit: Oh come on it was a joke, like they won't use the electricity to help infrastructure, but use it to dry the mud quicker. I know at least one of you edgelords laughed.
While the type annotation syntax between Flow and Typescript are mostly identical (this is intentional), there are a bunch of differences between them:

* TypeScript allows unsound casting, Flow doesn't. These casts are very practical, as you might know more than the analyzer. Flow takes a stricter position here, which is a theme.

* Function are bivariant w.r.t. their parameters (which is unsound) in TypeScript, but contravariant in Flow. Again, this is an intentional, practical choice, but Flow emphasizes soundness.

* TypeScript asks users to add annotations in scenarios where Flow will infer types. TypeScript will infer any (there is a "no implicit any" option).

* Classes in Flow are nominal (interfaces are structural). Classes are structural in TypeScript.

* Flow adds no additional runtime syntax to JavaScript; TypeScript does (enums, for example). Flow does support some ES2016 features (async/await, object spread), but generally holds off on experimental features (stage < 2).

* Flow has a couple interesting features absent in TypeScript, like disjoint unions. I suspect/hope both systems will converge on useful features like this.

* TypeScript treats null as a bottom type, but Flow uses explicit "maybe types."
Hey, thanks for writing this.

Your article talks a lot about the nuances of the app (prototyping animation, specifically) but I'm curious how you were able to distill the experience down to 2 primary use cases - did this come from research, data, customers saying this is what they intend to use the app for?

Did you test any of this with your existing customers? If so, how did you go about that process?
Eternity Wall: the public registry underneath Bitcoin
I was just thinking yesterday of creating a similar service.
I'm glad to see someone else has already made it :D
>You get a constant drum beat of news articles showing the cops killing people who were unarmed

Anything that gets views will be a constant drum beat in the media. Media coverage is a bad indicator of reality. I would prefer these numbers stay lower [0]. But these numbers never get brought up by the media. They happen frequently enough that articles could be drummed out once a week, I wonder why they aren't?

>I don't think that people complaining about excessive use of force hurt the point of view that the US is a police state.

I'm arguing that the people who bring up foolish points as solutions are more harmful than helpful. I for one don't like reading articles like this one [1]. This isn't about being a police state - this is about people not knowing how to deescalate things. "Taking arm/leg shots" is not deescalation. Not shooting a violent and armed suspect is not deescalation. More or less asking officers to risk death is not deescalation. Yes - the US is increasingly becoming a police state. No, asking officers to risk death instead of shooting is not going to solve it.

I agree about being members of the community. Public outreach and police interacting with the community in friendly ways goes a long way. We need more of this [2] [3] [4] [5]. It builds trust, it builds a sense of community, and that's something sorely lacking in many places of the US.

[0] http://imgur.com/vu7kh0L.jpg

[1] http://www.cnn.com/2015/08/13/us/alabama-birmingham-police-d...

[2] http://imgur.com/gallery/fgGLfPv

[3] http://imgur.com/gallery/6tpEqly

[4] http://imgur.com/gallery/ONn2PQm

[5] http://imgur.com/gallery/C6d9d6Y
Well, it's not too late to sign off :)
No, X-rays have different penetrating power based on frequency. There using a back-scatter approach as it's just one van which means very low penetrating power. https://en.wikipedia.org/wiki/Backscatter_X-ray
How I Sold My Bible App Company
Diffusion of Innovation Theory
Not to ruin your day, but they're taking away your knobs, dials, and control of the vehicle.
This reminded me of a reddit comment about Australian(?) army vehicles: they deliberately use older car technology like distributers and carburetors because modern electrical systems are far too complicated to repair out in the middle of nowhere. They might be OK against lightning strikes.

Then again, with any luck the charge will travel through the metal chassis and avoid ruining any components. You're definitely protected from lightning sitting inside the car. The engine? Maybe. Could be a fun experiment with high voltage :)
> oh but how many people are saved by this: the risk/reward ratio is too high?

I don't know, and I'm pretty sure that it is unknown in general. However, drug use is lower in countries where drugs are legalized and regulated, and rehabilitation rates are higher. If this trend holds, whatever number of people are saved by being too risky for drug dealers to approach, the number of people saved by regulated legalization is likely to be higher.
And by what mechanics does that happen? How do the universe "know" which particles should behave how in delayed eraser experiments, for example? It just... Happens? How are the particles "separated" and "merged" (in lack of better terms) in the configuration space?
Apple Tells Court It Can’t Unlock New iPhones
Show HN: Num command is a Unix tool for World Statistics Day
Today is World Statistics Day - see
http://blog.edx.org/edx-celebrates-world-statistics-day/

I'm open-sourcing a statistics tool for the Unix command line. It aims to be easy for novices and is based on awk for portability. Feedback is welcome.

https://github.com/numcommand/num

Some people have asked to donate money, so I'm experimenting with Kickstarter for the MVP. Constructive criticism is welcome here or directly to me joel@joelparkerhenderson.com. Here's the preview link.

https://www.kickstarter.com/projects/joelparkerhenderson/1916466035?token=4cf62177
> New languages can outweigh low popularity with lots of other important qualities [...] abundance of libraries, etc.

How?

> If the new language is easy to learn, that pretty much defeats the issue of low popularity all together!

If the language is easy to learn it's probably not worth learning. "Easy to learn" in most contexts and for most people means "similar" or "familiar".

Of course, there are languages truly easy to learn thanks to their small surface and internal consistency (like Erlang, PicoLisp, Forth...) but they are very rarely regarded as such.

> Again, Haskell might be a great language, but it's daunting to people who only have experience with C-like languages.

My opinion is that it's their problem, not Haskell's. Instead of "being daunted" they should go polyglot already and stop whining.
Why is it legal to collect every passing motorist's speed
using a radar gun? Why is a red light camera legal? I assume
they aren't

Both those examples happen when the subject of question is on public property and whose investigated crimes are those of the actual vehicle being misused.
Well, I'm guessing here -- but the first chair designer, when they distributed their chair, didn't include with their chair protective mechanisms to prevent users from viewing the chairs erognomics, or analyzing it with a microscope to understand its constituent parts.

Contrast this to DRM and substitute a decompiler or memory editor for a microscope.

Imagine a chair that you couldn't view but could sit in. That's what modern closed source software is, only the "you can't" is now legally enforceable thanks to the Internet.
Or could just use a good language with proper support for abstraction and operator overloading like C++ (or Rust, but might not be good enough yet) and define suitable types with constant-type finite field operations implemented in inline assembly.

And write the non-crypto TLS protocol part in a safe language like Rust while we are at it.
The problem is immediately after boot before anything has seeded the entropy pool.

Like say when sshd generates host keys!
Cool, if things go well, we'll be hiring soon :)
Google knowing a bit about me & my voice is little scary, but hearing my 8yr old daughter ask about the cosmos & other scientific questions on Google, is to me, priceless.
"Marijuana is de-facto legal" to "smoking marijuana is de-facto legal" is a huge backpedal.
Click-bait and misleading. Prompting the user to try Edge is not 'blocking'.
Fascinating video, thank you!
I have some experience with C++'s templates, but I'm more comfortable with Generics in C# which I believe are done correctly. I view the code I saw as closer to C#'s approach to generics so I'm not sure your assumption is correct in my case.

I just don't want the extra mental overhead of writing and reading generic parameters whereas I never had to do that with javascript. I really enjoyed the concept of having types for my javascript objects, but am getting frightened at the concept of decreased readability due to generics.
Hopefully nothing is on 127.0.0.1:80/443, that way webkit gets a RST back, which I assume is faster (and less error prone) than serving a dummy page. I'll add a note to the README.

Edit: Added a --dest-ip option
There is likely some confusion here. Look at this quote from the article:

"Just last month, the magazine awarded one version of the car — the all-wheel-drive Tesla Model S P85D — 103 points, a tally so high it broke the Consumer Reports road-test ratings system."

So last month's issue is published, hmm, where do you go from here, up or down? That's the time you buy into a short because you know the next news can't possibly be as good.

Its not insider trading if you get your short position the week after last month's magazine comes out, yet its almost guaranteed profit.
The french have it easy. Danish for ninety - halvfems - is essentially "(5 - 1/2) * 20". Doesn't seem to hurt their maths though.
Yeah, it's one of the methods supported by Cargo. You can put them in the code or in separate modules. Cargo will also test your documentation examples. :-D
OT but the fact that resources were spent to prevent us from selecting text is disturbing.

is there a script to disable the disabler-scripts of any page?
one complication to that is groups of passengers, where only one person's info is available
Isn't that ironic (the title that is) as there is I am fairly sure more than one math :-)
Currently, there is no way to distinguish traffic from our crawlers, but of course, let us know at support@apifier.com and we will blacklist your websites from our crawlers.
Terrible headline, the word "block" only appears once in the actual article:

> The objective this time is to actively block further growth of Google Chrome and Firefox by trying to make users reconsider their decision to make it their default web browser.

Disgraceful.
Fewer master keys to target
Show HN: How I made my website 10x faster with React and Cosmic JS
I can't disagree with you about the academic job market (full disclosure: I'm actually one of the people interviewed in the article). But I do think it's useful to draw a distinction between the tough job prospects for professional academic historians and the discipline as a whole. The rise of the internet is fantastic news for the latter and ambiguous at best for the former. I worry sometimes that all of the "humanities in crisis" articles (often written by historians) will become a self-fulfilling prophecy and drive down interest in history itself, whereas they're typically not so much reflections on the field as they are inside-baseball reports about yearly job statistics.

History, taken broadly as a domain of knowledge that includes both academics and non-professionals, is actually in a golden age right now, in my opinion. Our stock in trade is primary sources, and this is the best time in history to be able to access them. I'm excited to see what historians in, say, 2040, will be able to do with the incredible wealth of new historical sources being created every second in the present.
Then you get your donuts heated whilst you wait in a parking lot somewhere because someone forgot to switch the x-ray scanner off.
Ok, we replaced that bit with your phrase. If anyone can suggest a more accurate and neutral title, we can change it again.
Your consent is not needed even for unnecessary radiation. If I shine my high beams on your car, or have a cellular phone call next to well - too bad. I'm entitled to bombard you with radiation if I want to.

But for the sake of argument Ill assume you just care about ionizing radiation (UV, Xray, Gamma, Neutron, etc). In that case I agree consent should be needed for medium to high dose. It's unfeasible to get the consent of everyone for low doses (x-ray machine x-rays can travel for miles and theoretically infinitely far).

In this case it appears the dose is only about that of eating a banana. Hard to argue you need to consent to that for radiation concerns unless you also agree that everyone should consent to every xray scan that every hospital executes, or every time your colleague brings in bananas to work. Privacy concern is valid though. Radiation one is just fear mongering if OP is correct.
I agree. It’s less about numbering system in different language and the numbers from eleven to nineteen is really just one tenth of the numbers in 0-100. It is simply that Chinese children spend much more time practicing those maths, because of many historical and culture reasons. They actually never think about any words when calculating 11 + 13, they just know the result right after they see them.

However, in terms of multiplication, the problem of English is not ..teens, but the pronounciation of numbers. Chinese or Korean has one simple syllable for each number, so only two syllable (at most 3 if you count “ten”) is needed when you shout out 32. Chinese children spend a whole year’s morning reciting multiplication table, which I could never imagine how terrible it would be if recite it in English. Therefore, every grade 3 children would shout out simple multiplication results immediately.

However, on the other hand, I believe most of the advanced mathematical concepts have nothing to do with numbers in a language.
Why did you downvote his post?
Wow, a blog post by Uber that does not contain the phrase "driver-partner" :p
Twitter censoring drone strike report tweets for US IP's? or a bug
I remember (in the uk) doing different bases when I was 9 or 10 and we did binary at 14 in the computing class
I'd love to continue using it... but I don't want to run an instance as I want to point at someone else's instance. If I have to run my own instance then I need to know I can maintain it and keep it secure, and I am not a Node guy and I find the code and all of it's dependencies to be too much for me to say that I am the man to keep an instance secure and maintained.

The thing is that I want it to perform as well as my application. Just look at Persona's portion of blame for the time, transferred bytes, transfer waterfall, connections: http://www.webpagetest.org/result/151020_X5_17EP/ (and that's with connection preconnects working... older browsers have it worse).

Persona is the biggest performance hit on my web app, and it's holding me back and I do not wish to run my own instance (just to put it behind CloudFlare and make the whole thing fly).

Whilst performance hurts, and it does hurt, and whilst I live under the shadow of "Mozilla aren't owning this and pushing it forward"... I'm very seriously thinking of using https://github.com/go-authboss/authboss and making a centralised front-end for it so that I can achieve a very similar thing in a simplified way that I can support and maintain.

The key thing though... I need performance from it. I don't have that today. I have a web account... but it needs to perform and I've seen no improvements on that front in the entire time I've used it.

PS: I even checked Auth0 and others, but I'm doing so many logins per month that it would cost 100x the costs to run my entire platform to use any of the paid services.
It's a lot easier to produce properties like constant-time execution by construction than to have to shoehorn things into them after the fact.

One project that tries to do something like this is Nadeko: https://www.reddit.com/r/rust/comments/3696wt/checking_that_...
Blocked in China: the irony.
At 1% efficiency that's 30w or ~= 6 cents per day if your paying 10c/kwh. So, efficiency is only really important if it's crazy terrible.

PS: I suspect the real issue is making a receiver fit into a reasonable cellphone case.
I read somewhere else that they are afraid of another upcoming expose, like from 60 minutes, and want to get out in front of it.

Even if that is true it was a really ham handed way of doing it. The only people this appeals to are ones that already like Amazon. The ones on the fence look at it and see "hey they drug out why this was a bad person" and think that they don't want to be on the receiving end of that and thus turn into ones that aren't inclined to work for them.
A CR writer would absolutely have duties to CR. See https://www.law.cornell.edu/supremecourt/text/484/19 for an example of a journalist who was convicted in such a situation.
Agreed and don't forget licensing. OK so TSLA makes squeeky sunroofs, who cares, they can sell batteries and controllers and motors to ... construction crane companies or something. You know all the weird details of making a tow truck, cool, here's the parts to make it electric.

Happens all the time in the automotive industry. The first "american" hatchback car I ever drove had a nice VW engine. Ironically it was something to do with low emissions.
Usually latency due to dependent requests are your killer on mobile. Even Edge throughput wasn't that bad once it finally got going.
Yes the Go code is on GitHub. It has the integration we've done with the Docker Remote API.

https://github.com/force12io/force12

The follow up releases will be for the integrations we've done with the Marathon and ECS schedulers.
I wonder what the protocol is when the X-ray van 'sees' something sketchy - "Driver, I have a sudden suspicion there's something hidden inside the door of your car..."
> That is a hiring problem

On the one hand there's a smaller pool of people, on the other hand a primary issue in hiring is sifting people who can do the job from a random draw[0], in which case interest and/or knowledge of Elm or Purescript is a huge prefilter, and can draw/poach people who wouldn't otherwise be interested (pg's "the python paradox"[1] talks about that)

[0] or worse, you don't get a random section of developers, you get a section of developers currently looking for a job, so the average competence of your draft is below average.

[1] http://www.paulgraham.com/pypar.html
That doesn't match the repeated assertions of many posters here. I can only speak for Solaris knowledge-wise.