skysight-inc/HackerNews huggingface dataset:
Web browsers are pretty fast already, so if you only do those DOM updates that actually affect what you see on screen you can have your app update at 60 frames per second. That's where a virtual dom helps out.

Virtual dom systems effectively work in two stages:

1) figuring out how the DOM should be updated

2) applying these changes with as few (or cheapest) DOM operations as possible

I don't expect WebAssembly will do much for step (2), as the bottleneck there is in repeatedly crossing the boundary between the javascript world and the DOM, or in the DOM operations themselves.

Step (1) is essentially just crunching (tree based) data structures. Web Assembly should be a lot faster here, because (depending on implementation) you get denser data structures, better cache locality, no garbage collection, and so on. You'll also get much more consistent performance.

For complex web applications that keep a lot of view state around (1) might be the bottleneck, but in most real world applications I expect that (2) is the bottleneck, because the browser has to do so much work in terms of layout, CSS application, and so on every time the DOM gets updated.

If you really want to get a big performance improvement you have to do much more in WebAssembly. Use only absolute positioning for DOM nodes and create your own layout engine. Don't have any CSS except for the rules needed to display what is currently visible. Do all typesetting in WebAssembly too. This means recreating much of a web browser inside a web browser, and you can then optimize the WebAssembly code for the specific needs of your web application for big performance gains.

It may sound hugely impractical, but if WebAsembly is only 10% slower than C it's viable. It means you won't have to wait for standards organizations to give new FlexBox options, or a way to dynamically adjust font size to fit a fixed rectangle, you can just solve all these problems locally. If this works it could lead to a complete "user space" renaissance.
> The article is inspired by the book “Universal Design principles” by William Lidwell.

The book doesn't talk about this specific design principle. But the same author has a course at Lynda.com where he explains exactly that, giving the same name and using the cake mix as an example, too.

But Dan Ariely is probably the first guy that came with the idea: https://www.youtube.com/watch?v=jkaWYKlnli0 also with the cake example.
Why not Loopback?
I have been developing with the MEAN stack for the past 4 years and I am surprised that loopback isn't favored over Express. Is it the learning curve? Or do people not know about it?
I am learning a lot about engineering management through turmoil, and I think the most important lesson for me is to avoid doing too much.

There are many things that can often use improving, especially at smaller companies. Process, architecture, deployment system, reduced meetings of team, optimizing the SLM software...it's easy to get overwhelmed, especially if you have a large team, or in my case, doing the job of a tech lead and engineering manager. It is a lot to swallow. Prioritizing the most important points on what is being tackled and communicating why is very important.
I think you are right.

Personally, I find duckduckgo to be an excellent option; it does almost all of my search for me, with none of the privacy issues.

if you make it your default search, you can revert to google by using the banged g operator (g!), which will anonymize and then submit your search string to google. very seamless; very convenient; more privacy.

disclaimer: no personal affiliation with ddg
No more needs to be said than this: https://m.signalvnoise.com/we-only-hire-the-best-c711c330fc2...
"Never let a good crisis go to waste"
Holy shit. This really does describe my relationship with my IKEA furniture. This is amazingly insightful.
Ask HN: Should I continue being a social media luddite?
I don't have a facebook or linkedin account because I think these products enable (a) personal time suck, (b) bad kinds of behavioral experimentation, (c) the end of privacy, (d) 'social credit' systems.

But with the exception of (a) and possibly (c), none of these harm me directly. Now that these products are ubiquitous, I seem to be giving up substantial benefit by not using them.

Can anyone offer an argument against giving in and signing up?
Now let us see how much the Western world truly believes in its own professed creed of openness, or whether its people have merely been cowardly hypocrites taking comfort in the privilege of never having to confront the true diversity of the human world.
I didn't say that it was growing at some arbitrary rate.

Something being well funded does not mean that that funding will improve over time.

If R&D is 2% of GDP and declines slightly over time but remains in the top 10 we can still call it very well funded.

And just because acceptance rate is declining and competition is increasing still does not mean that science is not very well funded in the U.S.
> I had an XT clone in the 80s (bought in '87 if I'm not mistaken) & I don't really recall these being a factor on the PC at the time...PC drives were actually relatively fast and CGA/Hercules-era graphics were primitive enough to have put a pretty harsh upper bound on the kind of graphics you could do anyway.

PCjr CGA+ (adopted also and popularized by Tandy, often known as TGA) graphics were introduced in 1983, EGA graphics were introduced in 1984, VGA in 1987, and there were a number of less-standard higher-resolution and/or higher color modes available and supported in software in addition to those.
The style in that file seems completely self consistent. I don't know what your point is.
"In addition to ditching the requirement for regular password changes, the NIST is also advising sites to allow users to create passwords that are at least 64 characters long and include spaces so people can create pass phrases that may be easier to remember and to ditch special character requirements."

Relevant XKCD: https://www.xkcd.com/936/
This is what DuckDuckGo's "bang" searches are good for.
There needs to be a balance here.

I've worked in larger organizations where communications got funneled through so many managers that any problem, once it was a cross-team or cross-department issue, got lost in a giant game of telephone.

A pretty significant issue that could have been solved by a single configuration property change took nearly a month to accomplish just because the problem got lost through a miss in communications in one link of the chain.
The best you can do where success is guaranteed is to teach underprivileged how to program for free and help them improve their situation by finding a job in the space.
All it takes is a gunshot. Thats what he meant.
The Evolution of the Prius Transaxle – Introduction [YouTube]
Really? You have accurate enough information about the prevalence of holding cryptocoins on HN to throw around numbers?
It is objective measure - it may not be a perfect metric, but definitely objective. If there are more issues relative to the number of programmers this means there are either more bugs, users have more questions, and/or just more feature requests (which means - the plugin is lacking features). Also both plugins share the exactly same bug tracker and the same issue filing process, so you can't argue it is easier to report errors for one over another.
In the US it's saying things against the establishment consensus and large private interests that will get you fired, cut off, your story not published, mocked, character assassinated, (a la Gary Webb), or worse etc, not saying things that everybody and their dog is saying on TV.

And in this case, most major players of the establishment are, if not entirely totally anti-Trump, at least anti-Trump until they whip him into submission (e.g. to conventional Republican agendas and ways to go about them).
I've been thinking about a little app to keep "logs" about the sites I am working on. Something that lives in the menu bar, and pops up with a short key. A litle pull down to select the project, so I can quickly dump the changelog, and automatic time stamp to the entry. All this in markdown.

I can't believe nobody made this already!
Some mode of online social interaction that seems ridiculous now but will seem obvious in retrospect. This will be milked for ads and acquired by a big player while me-toos nibble the ends in the aftermath.

The market will grow from zero to millions in this time, but it will be entirely consumed by one of the big five and everyone will just think of it as a Google feature or something.
I don't have any such experience but, shouldn't the VCS log serve that purpose? Maybe in conjunction with a NOTES file?
Another reason to use zetcd over Zookeeper is security. I don't believe it is possible yet to use TLS for Zookeeper-to-Zookeeper communication (clients can connnect to Zookeeper using TLS). The Jira covering this feature [0]. This will increasingly be a problem for those running Zookeeper for Mesos, Kafka etc. from a security and risk point of view.

[0] https://issues.apache.org/jira/browse/ZOOKEEPER-236
We're actually dealing with one complex sentence here, the second of these two:

> But, dark matter isn't something to be denied. Because it isn't understood yet, to the point where we can doubt its existence

I'm lousy in English and my knowledge of dark matter is irrelevant. With those two lemmas in mind, please answer the only question in this subthread:

could something be dismissed if we don't fully understand it?
The days of true innovation are passed.
How Rollbacks at Scott Pruitt’s E.P.A. Are a Boon to Oil and Gas
Can you elaborate on how Kotlin maintain compatibility with Java?
> if I can take two days crossing the Atlantic in luxury rather than crammed into a tiny seat

Do you count business class as being crammed into a tiny seat?
Get Started with Ionic 3
you're .. mad that github is going to write down some rules about how their software works in practice, publish those rules, and then try to hold to those rules as their software continues to evolve?
Health care. The boomers are entering their prime health care spending years, and Obamacare will engender huge industry profits from "spend all you want - someone else will pay the bill!".
Cool I'm thinking of doing something for azure but not sure if anyone cares (anyone seriously using azure gets lots of free credits) :)
We've got the Lib Dems; no matter how ineffectual a Lib Dem vote ostensibly is, you're not having to choose one of the other two.
Why even bother with these weird rules? just use a password manager, generate a secure (> 128bit entrop) password, and be done with it. Also, keepass has something like your keylogger foiling method, called "2 channel obfuscation".
They have a free tier for a single user. However, for all of the features you get with Cloud66, it looks like you need their $500/mo plan (though those features may not be necessary for many use cases)
Because HTML wasn't a programming language.

Template languages were like that (e.g. SGML) and worse.

Besides, unlike JavaScript it wasn't the product of a single vendor, but a standard, and the basis upon which the web stood from the beginning.
Most of the time, hiring the best means hiring the best you interviewed. The phrase gets over used because it makes the hiring managers look good. If everyone is hiring the best then who is left?
Idris Elba and Dominic West both caught me by surprise, given that I'm English and I was convinced they were both American. Then I heard Idris in another production talking proper London ...

Discussion of his accent here from a dialect coach, "This is amazing":

https://youtu.be/NvDvESEXcgE?t=473
> Yes, fetch is basically sugar around XHR.

Believe it or not but currently it's actually the other way around: XHR is defined in terms of fetch:

> XHR is now defined in terms of fetch (see the calls to fetch in XHR's .send()), meaning fetch is lower level than XHR.

Source: https://jakearchibald.com/2015/thats-so-fetch/ and https://xhr.spec.whatwg.org/#the-send%28%29-method
Looked into this a bit more.

It seems like the debate comes down to "shoebox" vs. "vineyard":

https://en.wikipedia.org/wiki/Vineyard_style
https://live.stanford.edu/blog/january-2013/note-vineyard-st...
As the official self appointed Em-Drive denier here, my recommendation is to provide more information in the comments. Sometimes it's difficult. Most commenters here are not experts in the particular field, but are curious. Sometimes it's better to center in the worst part of the comment if it has too many errors.

Sadly, I don't know enough cosmology and general relativity, so I use this approach to this problem https://xkcd.com/793/

I think that general relativity give minimal corrections in the scale of a galaxy, only some local corrections that are important near black holes and some spots. So it's enough [citation needed] to use Newtonian physics, perhaps with some correction near the galaxy center and perhaps a small effective field with the average distribution of matter.

To track an individual star during many galaxy revolutions it may be necessary to be more careful, specially if the stars pass near another star. But to have a good estimation of the rotation speed it is possible to almost ignore general relativity.

Question time: Do the current simulations in the area use special/general relativity corrections? Do you have a link to a recent paper? A link to a simulation program? [bonus point if the link points to the option page to enable/disable relativity or select the approximation method] Is there a Wikipedia page about this? [Most of the times the Wikipedia page is easier to understand than the paper.]
I've had the impression that the UK has always been more pubically survelience happy than the Usa. I remember over 10 years ago everyone talking about CCTVs were everywhere and the law let the police use them way more than the usa ever could.
I figure there were good reasons why not to, but this really should've been done for Vulcan 1.0.
Of course google is trying to help ordinary perple - the sort who type a few words into the search box, get zero results, then add some more search terms assuming that being more specific will help the search engine find what they are looking for. So, default AND becomes default OR along with other 'improvements' but to the detriment of self-declared power users...
I quite don't understand what's going on in UK. How is this downward spiral possible in this day and age? In UK of all places.
Major movie theaters and other retail stores in Phoenix, Arizona, accept bitcoin. It may not be 100% mainstream yet, but crypticurrency is going to explode in a big way
Actually I like drones - my point is that no matter how smart it appears, software's still a pretty simple system doing what you told it to do. With what May wants, she will hatch a world where she can put you anywhere (video + ML to implant you), or hell just post online in your id, she can sign it and make it legal in a lot jurisdictions (because she poked a big fat hole in the crypto we use) and then she can use it as a big club on you - she can also control what you see on the internet, meaning she can easily make sure you see only what she wants you to see - and how long do you think that set of tricks really stays secret with 'her' - my point is it's hard enough to get this right, I think at the end of the day Arthur C. Clarke once again had the essence of it - let the 'smart' machine (I rate the internet as a very smart machine) do it's job, keep that job straightforward, the side effects are potentially horrendous.
NPR Planet Money 772: Small Change
The question is why should I even pay you $1 cent for a service for which existing underlying APIs are already extremely good( android or iOS location API and Google Maps API )
That you shouldn't have to prove "non intent"?

This is "presumed guilty".
I keep a private blog for my side-project, with key links and resources in pages specifically set for them. For example, I might have a page on market research with links to posts on specific topics. But probably I should be more systematic about it, since a lot of my documentation related to the project is also in miscellaneous text files (committed in the /doc folder of the project), and also a few Google docs (for sharing with others).

I find it really handy to figure out how your thought process about the project has grown over time.
This is the same government that blacklisted the types of porn Britons shouldn't watch: 'vanila' missionary porn is fine (for now), but squirting[1] or spanking are "unwanted in civilized society", in your words.

1. http://www.independent.co.uk/news/uk/a-long-list-of-sex-acts...
We've been amazed at how developers across logistics and delivery companies, messaging products, SaaS platforms, and marketplaces have used our SDKs and APIs to build live location features in their apps, and we're very excited to enable all of them. Thanks for your wishes!
> How could you know why your parents behaved the way they did if you don't know about their parents?

I only need to know their experiences with them and other people. Anything before stuff that shaped them is a bonus. Otherwise: how can you know your grandparents without knowing your grand grandparents? And so on? At which point does "knowing" become clogging up your mind with fuzzy distant blobs, then?

> The person you are is a function of where you grow up, that is, your community. To deny that

Would be contradictory with "in so far as I am a result of that chain, I can more accurately examine those current traces in my current me".

Though come to think of it, I'm denying it the way you phrase it. Communities and societies are even more importantly functions of the individuals in them. They have no meaning and no existence on their own, outside of a mutual agreement of actual people. We get shaped by our relationships and experiences with other people, and you can sum that up as "my community", but that's just a shorthand for my own actual experiences with the actual people I interacted with, and their experiences with me.

And who would you "absorb" culture from, if that was all there's to it? From others who just absorbed it? There needs to be a source at some point, why not be such a source, at least partially.
You don't need to guess, you can check document.styleSheets if it contains your file. See: https://curiosity-driven.org/minimal-loader#plugins
Knowing Uber's reputation, I doubt that they would use the trip origin and destination as only input variables. I'm sure they know a lot about the user from their history, credit card, social media accounts, etc.

Why would Uber stop at the route and not charge by estimated user income, their job, age or maybe even the reason why they are traveling?
Normally the conservatives would never be able to push this authoritarian agenda so openly, but a unique set of circumstances has given them the opening to push through some of their most extreme objectives.

The Conservatives are the only mainstream party promising to follow through with Brexit, and Labour have disintegrated under the 'leadership' of Jeremy Corbyn. This means that many traditional Labour voters are willing to vote Conservative to ensure they get their Brexit, regardless of whatever else the Tories are putting forwards in their manifesto. They've can basically put whatever they want in their manifesto and people will still vote for them to ensure Brexit happens - that's how determined the Leave voters are.

Current polls (although we know how reliable those are) suggest the Tories will take over 400 seats at the general election, giving them absolute control of the government with no other party able to oppose them.
The quality of Google's search results has already gone down, thanks to results being personalized based on previous searches and other data, a feature it seems no one asked for. And they continue to cannibalize themselves by making ads more and more indistinguishable from normal search results. I'm sure that's made them a lot of money in the short-term, but everyone now knows they can't be trusted, as quality is no longer sacred (which was its main appeal back in the early days!). They are now in the same category of pedestrian ad peddlers as Facebook and Twitter.

Therefore a competing product doesn't need to be as good as current Google, only as good as it used to be. Still hard, but far from impossible for someone with money.

What may be harder is Cuil's second problem as mentioned: Finding a revenue model. You can't compromise your data by manipulating searches (lessens quality) and you can't compromise your integrity by prioritizing ads (lessens trust). I'm sure a lot of people would pay big money for the answer, which no one seems to have (as demonstrated by Twitter's descent into ad trickery such as camouflaging the ad disclaimers).
im betting my pennies on real estate
Why do physicists believe that formulas should be elegant, beautiful etc.? Maybe that is not how universe works.
Sure, though we're talking about a 6 figure/mo cloud spend. That's dozens or hundreds of servers. (+network config etc) I run our tech stack, and I can stand up instances pretty easily, but I had to rack and stack, manage power, bring in leased lines, I'd be well outside of my skill set.
In the same vain, I love how Herc (the disgrace police officer) ends up working for Levy, the defense lawyer, because of all his contacts and knowledge about the police force.

"You need to learn a little something about the expense account."

Seems equally perfect character development.
I see the browser becoming the OS period. I didn't realize this until I got a ChromeBook and realized (with crouton) I can do everything I normally do on my Linux notebook.
There aren't isolated examples of strange gravitational lensing. The lensing being discussed occurs at the scales of galaxies and clusters of galaxies, so you need an incredible number of tiny black holes, brown stars, or other MACHOs.
As if it was any better that way.
The thing is Musk is making a run at taking on the oil companies by cutting into their energy markets with solar and batteries.
Last I saw, the lack of a direct WASM to DOM integration meant manipulating the DOM from WASM was roughly 10x slower.

See: https://github.com/rust-webplatform/rust-webplatform/issues/... for an example.
Technology, yes, but Hydrogen has almost nothing to do with it. The Hindenburg was only one of many great airship disasters of the early 20th century, and several of those ships were filled with Helium.

Airships have two great weaknesses. One is that they are just really expensive to build and operate. Today that's a little less of a problem because of the availability of financing and improvements in technology reducing the labor and cost of materials for constructing an airship. The other major weakness is the double combo of airships being highly susceptible to weather and also fairly fragile.

An airplane can take off and land in a thunderstorm, travel at 600 mph across the country, and then turn around at the destination very rapidly and keep going. This is why airplanes, particularly jet aircraft, won the air travel competition, they have a much higher duty cycle and are much more reliable than many alternatives.

Technology has greatly improved our ability to spot and predict adverse weather and has also improved construction materials, designs, control systems, etc. all of which can make operating airships much more predictable and safer. But they will never be competitive with airplanes for travel, they serve a niche.

Also, in regards to safety it's just blatantly untrue. Airships crashed, a lot, airplanes crash almost never (it's so rare that any time it does happen it's newsworthy, often on a global scale), any other hypothetical advantage of airships is mooted by that basic fact.
Yes, it is supposed to last "forever". It's not however a "doomsday vault" that is supposed to protect from "doomsday events". It's not meant to carry us through the apocalypse or literally last forever.