skysight-inc/HackerNews huggingface dataset:
The main problem I've found (as an modern JS developer) is that in many situations "mainstream" (AKA C/C++) CS topics are not so relevant to JS. Javascript is Async by default, function-based instead of OO (until recently), dynamic typed and was made to mess with the DOM.

So I feel like some of the concepts taught in the most recommended books such as Clean Code are only tangentially relevant and some times just plain irrelevant. On the other hand, massive books/material written for pure JS are really low quality compared to these classics (except some blog posts, but with these it's difficult to get a round education).

So the most difficult part for me was to find out which concepts were relevant for JS in high quality books and which were not, something that is not easy when you don't know these concepts. Then learn the things not mentioned that are important for a modern JS developer such as NPM, exporting modules, minimization+gzip+tree shaking, etc.
It would be interesting to have some examples of ads that you regard as not falling in that bucket.
>Completely disagree. Charles Petzold's HELLO.C is hundreds of lines of code. Hello World on the Web is, well, "Hello world!".

It's actually 87 lines of code, with a disclaimer comment, ample empty lines, a callback to play a wav when clicked, and an error message for when it's not run on NT. So, like 30-50 lines of actual Hello World necessary code. And that includes the starting up boilerplate.

That's about as relevant as complaining about the large binary size of a hello world program in a language creating static binaries. It might be larger than expected, but it usually includes a whole runtime. So once you add actual code, the binary's size doesn't scale linearly with the code size.

For comparison, a modern CSS "reseting" file, which just removes empty values is usually larger than the hello.c example.

This is the problem with trivial/contrived examples. They don't show you how the thing you're discussing scales in actual use.

In this case, the hello world in HTML is not representative of what you need to do to create a medium/large SPA in HTML.

And the old Windows api you could always wrap in higher order stuff, or even use as a basic layer to create your own UI library (still native).

The web stack, because of how it is done, you can't.
And knowing that you personally helped bring this about, what do you plan to do?
Yeah, the two weak points pointed out have always been weak points. It's unfortunate, but disabling autofill has always been my recommendation.

> Altogether it looks like LastPass is a lot better at PR than they are at security. Yes, that’s harsh but this is what I’ve seen so far. In particular, security vulnerabilities have been addressed punctually, only the exact scenario reported has been tested by the developers.

This seems unfair.

LastPass fixes the initial vulnerability punctually - we do not know what they will do in the future. Is it better for them to wait, come out with a defense in depth approach, and then patch? Seems silly.

Of course, how long do we wait? Historically, I would argue, LastPass has down defense in depth fairly well - when their was a breach they were quick to not only address the vulnerabilities immediately but soon after they rolled out Content Security Policy and HSTS, two technologies that were rarely deployed in the wild at the time (and are still sadly too rare).

My suggestion to LastPass users is to:

1) Enable 2FA
2) Up your PBKDF2 Rounds
3) Disable as many browser integration features as possible

I don't recommend dropping LastPass and trying to roll your own key-sync store with KeyPass/Dropbox as some have done. I don't know of any other browser-based password manager that isn't equally weak to attacks based on browser-integration.

Alternatively, don't use a browser-based solution. This is less convenient but you'll avoid by far the largest area of attack surface.
> they will lose the most productive half of their populations.

You cannot simply call one gender the most productive half of the population as if the attribute is inherent to their gender. It is not right.
Thank you, I wish more people would realize this.
The Canadian Revenue Agency seems to think that I should not do that. They also seem to think that traditional taxi companies are also not eligible for this exemption.
I don't think the U.S. has quite the same problem Canada (or the U.K.) does of people/jobs concentrating in only a handful of mega-expensive cities. It may seem on a forum like this one that "everybody" is moving to NYC or SF, but If you look at the population change statistics from the census, the NYC and SF metro areas are growing relatively slowly. People are mostly moving elsewhere, for a variety of reasons, but cost of living probably being a factor.

These are the the 10 fastest-growing large (>1m population) metropolitan areas in the U.S. in the period 2010-2015:

1. Austin, 2. Raleigh, 3. Houston, 4. Orlando, 5. San Antonio, 6. Denver, 7. Dallas, 8. Nashville, 9. Charlotte, 10. Phoenix.

Plenty of pretty affordable options in there.
So what happens when a similar company uses the technology to promote a value or practice that you support? Let's say, democracy in Russia or women's rights in Saudi Arabia? Or, for example, suppose American culture undergoes a massive regression over the next 8 years: what about a company that promotes pro-LGBTQ viewpoints and legislation within the United States?

How are you going to legislate what is "good" use of the technology and what is "bad"?
I have a slightly different take on the latter: we learned that doing specialized persistence that solves hard problems is hard. And it is pointless when it doesn't even solve the most basic problems of reliably storing data.

We also learned that just because something calls something a "database", it doesn't mean that it replaces what came before it. There's room for new categories of things that solve different problems than, say, relational databases, when it comes to persistence.
I'd argue that what you're identifying as those businesses in the majority were at one time, startups themselves. Without the previous generation of concentrated wealth those businesses would not be in the position they are.

I do, however, also agree with your counter-point to the previous comment.
For servers, I highly recommend Penguin Computing. My company is a customer of theirs, and very happy ones at that.
Understanding Mutable and Immutable Infrastructure
Our voting system is itself flawed, and leads to the entrenchment of power in two parties, which are private organizations built for the purpose of consolidating political power.

As long as we have First Past the Post voting [0], we will be stuck with whatever candidates those two parties choose to offer us. We will not be able to use our votes to elect candidates who accurately reflect our political will - we will only be able to choose the lesser evil out of the options presented to us.

The political discontent arising from Trump's election and presidency should be used to change our voting system to something that doesn't suffer from Duverger's Law [1] or the Spoiler Effect [2], and that will allow the outcomes of elections to closely map the range and number of actual political opinions - i.e., something that makes electoral results accurately reflect the real will of the people.

[0] https://en.wikipedia.org/wiki/First-past-the-post_voting
[1] https://en.wikipedia.org/wiki/Duverger%27s_law
[2] https://en.wikipedia.org/wiki/Spoiler_effect
Of course any creator of patented nuclear powered widget wants the patent to exist longer, not shorter, because it's easier to make money. But shortening patent life is for world progress' sake, here the most beneficial strategy for individual might be not the most beneficial strategy for the world. Progress is in many ways evolutionary and future inventions are based on the previous ones. So if you would make patents indefinite in time, you'd effectively remove this step from progress and will make it work around (also disincentives creator of patented technology to innovate, if it's market leader it can also slow down everything), possibly slowing it down. Patents make sure that inventor have time to return investments, it's a balance exercise. Nowadays world communicates/works on much faster speed and contains much more people/companies that's why I think this balance should be moved to the shorter patent length.
Germans switch on 'largest artificial sun'
Are you using 1Password's cloud sync or the older Dropbox/iCloud/other method? (Really curious about all 1Password users in this thread)

I've read a lot of reviews but many predate 1Password's cloud option.
I fear the day "good UX people" come to GIMP and Blender.

It used to be that OSS was developed by people that actually used it. Maybe it wasn't pretty, it had a steep learning curve, but it got things done and was efficient once you learned how. Often you got fresh perspectives on how an interface could be done, since people got fed up with existing solutions.

Nowadays you get UX experts preaching how an interface is supposed to look like, which mostly means copying Apple or Google. You get tons shiny whitespace. Burger menus, because that's what "everybody is used to".

GIMP with "good UX people" would turn into a bad copy of Photoshop.
>I never say it is untouchable

No, but you did say "Who in the right mind would propose cutting EPA budget". I would think about it, as I hope my elected officials would.

>but 31% is a lot. Perhaps they need to convince me their cutting will yield to better spending

This is fair.
Bay Area population growth slows, some counties losing people
Ok! pm me
bummer n-gate didn't comment on its own hn post
> "and first, we get the user to switch their browser"

Since they are on a blockchain, I believe they could solve this by including the user in the selling of the attention.

I, for one, would like to have some chump change in my browser, so that I can open easily some paywalls.

Say they get the NYT to accept ETH as payment; NYT would have its revenue tied to users adopting this attention selling. And the NYT would advertise this technology freely.

This is how micro-transactions can be bootstrapped.

----

After all the ads are using my connection, my pixels, my eyes, my neurons. Why not include me in the transaction?
The Battle for Top AI Talent Only Gets Tougher from Here
I've known people who've lost huge amounts of work due to a failed hard drive. Stuff happens.
OK so that runs on the host to the Docker instances. Pretty cool!
I've always considered Lastpass to provide convenience at the cost of security, and as such am not concerned.

To me, the point is managing the dozens of separate logins you have to manage to use the web. I often can't be bothered to remember which sites I've signed up for, let alone what the username and passwords are.

For critical accounts (email, financial stuff, etc.) I'll always take the effort to memorize some high quality and unique usernames and passwords. I find this to be the best trade-off.
A request to https://1min-ui-prod.service.lastpass.com was necessary to attack this, that request has a referring URL sent by default by Chrome / Firefox / Safari.
I'm not sure campaign finance reform would do much. Look what we saw in this last election; regular everyday people (generally the non-urban ones) have poor education and don't understand the issues. All they care about is the "Mexicans", abortion, guns, which bathroom a tiny number of people use, etc., and they'll vote for politicians who tell them what they want to hear on these issues. These pols can easily convince their constituents that things like this new law are good, because it'll reduce "unnecessary regulation" that "strangles companies" and "reduces competition" and "drives prices up". The voters are too short-sighted and stupid to remember all this and notice when, in fact, prices just go up and privacy protections disappear as a result of laws like this, so the pols won't be held accountable.

Campaign finance reform won't help this kind of thing. Just look at Dave Brat in Virginia; he won over Mark Cantor, despite Cantor being a long-time incumbent with a huge war chest and lobbyist backing and Brat being a little-known Tea Party candidate. Or just look at Trump: how much did he spend on campaigning? Virtually nothing. Hillary was the one spending obscene amounts of money on campaigning, and she was horribly unpopular and lost.

The problem isn't money, it's the voters.
Javaslang data validation
CRA helps starters with plain React, but I believe CRA doesn't come in default with Redux (react-redux), react-router, redux-thunk.

And useful (arguably opinionated) stuff is missing like react-hot-loader, redux-logger, sass-loader, font loaders, customized webpack and webpack-dev-server. Also it does not differentiate between smart and dumb components. For large complex SPAs, all that stuff is very useful.
In order to do that, they'd have to increase the price for rides to less attractive (to drivers) destinations. A trip that ends somewhere unlikely to have another customer available (like an outlying residential area in the evening) is way less attractive than an identical time/distance trip to somewhere with lots of likely fares (a central business district, for example)

So, if drivers can see the destinations, they will simply avoid ever picking up jobs for "bad" destinations, unless properly incentivized.

Customers going to "unpopular" destinations are essentially being subsidized at the expense of drivers and customers going to "popular" destinations. If you remove the destination blinding AND don't bother to increase the price for "unpopular" destinations, people trying to go to "unpopular" destinations will find they can never get a car, even worse than now

Anyway, I agree they shouldn't be distorting the price market like that, it just creates frustrations for both sides
>But at the end of the day what matters is who gets out to vote.

I'm afraid that this sounds to me too much like the political equivalent of 'do what you love and the money will follow'; based in faith, rather than evidence.
Ask HN: Bloggers, what tools are you lacking?
Hey HN!

Title probably says it all. What tools are you lacking? Are there (still) any annoying tasks which you would want to get rid of?

If you solved any such problem in the past, how did you do it?

Thank you for your input and time in advance! :)
Bottom line: We're all in a prison, and shit sandwiches are for dinner. I'll take the one with 90% less shit until (hopefully someday) we're all released from the prison that is American democracy.
NSA spying on citizens wasn't because of corporate interests. Obama was extremely paranoid that a terrorist attack would affect his legacy and reputation.
Doesn't matter. When you have cancer, you have to pick: chemo or not.
TensorFlow RNN Tutorial
Is Small Data the Future?
Is the IntelliJ UI "butt ugly"? No, but you'll probably say it is as to not contradict yourself. Blame the craftsmen not the tool.

>Even the end result UI design look & feel is butt ugly

You know what else is butt ugly? Programmer art and UI.
This is politics. Nothing is "practical" except what you are willing to do. A man got on TV and said "I could shoot supporters in the street and still get votes," then was elected president.

You can do literally anything. Saying "it's impractical" is just you getting in your own way.
Sure, it'd probably be an uphill battle.

But, Symantec has generally shown little/no morals in past times when it comes to attempting to protect their business interests. Not really seeing why this would be different. :/
Unfortunately, that could offset global dimming[1], which appears to be currently slowing the current rate of climate change.

Things seem like they are going to get really bad. I try not to think about it too much. It doesn't seem like there's anything I can do.

[1]https://en.wikipedia.org/wiki/Global_dimming

Edit: Changed link to Wikipedia entry
Arrow's impossibility theorem is often trotted out as an argument against ranked preference, but in federal elections non-dictatorship is an irrelevant consideration, as information-scarcity prevents a voter from leveraging his unique position as the deciding vote.

It makes quite a lot of sense as a downside in limited, party based voting situations. IE, if you were an independent in a theoretical senate where 50 republicans, 50 democrats and you were to vote on a party-line proposition.
I'm not 100% sure but I think justin is explaining the lowering transformation here:

https://www.youtube.com/watch?v=dUTzeP_HTZg&t=36m30s
The irony here is no Democrats want to take away any guns. Most Democratic proposals have been along the lines of stricter background checks. Republicans - elected officials - really are calling for blanket Muslim bans.
Better Than Free (2008)
Markets are definitely not created by regulation. Markets exist even in the absence of a functional government at all.
You've said the same thing in three different comments in this thread, and I understand why you feel that way. Let me ask you this: Did you add your name to the petition to end the electoral college and support a more balanced and fair voting system? I did, because even though I feel strongly that every vote counts, it's a reality of the US system that some votes count more than others.

There has to be a better way to run this "democracy" we were born into, and that change has to start with us; the entrenched politicians won't dare change it on their own.
Not so much an expert, but I did Perl for 8 years before 13 years (so far) of Ruby so a lot of exposure(!) I've not been a fan of extended syntax but it might be worth me giving it a proper go and writing something up if it's helpful so thanks!
I may be misremembering, but I thought this was the method used by at least one other app. 1password comes to mind but I can't check it right now.

I ran into this when checking unexpected files on a client's system.
He appears to be correct. Much was editorialized, so legit issues got mixed up with false statements.

> So the NSA did not secretly collect all data from the unencrypted fiber between Google and Yahoo's data centers?

I recall mentions of this, but do you have a source for your "all" claim here? As that would be a bit different than passively watching for specifically tasked IPs (or other selectors).

> And the NSA never paid RSA Security 10 million dollars to back Dual_EC_DRBG as part of the broader program Bullrun intended to subvert and weaken cryptographic protocols that underlie our national security and critical online infrastructure?

I believe this was theorized based on something that did look legitimately concerning in a Classification guidance document, but this was not substantiated within the leaks. Did new material come out which substantiated this claim?

> You are aware that the Snowden documents discuss intelligence agencies outside the US as well, and detail our coordination with these agencies?

We definitely partner with agencies outside of the US, this is not a secret.

> What about spying on allied foreign world leaders?

This was also certainly in the leaks. Countries gather intelligence on other countries, whether that is for nonproliferation reasons, understanding military intentions, or other reasons. People are free to believe that this shouldn't happen, but again, not much of a secret.

> Gag orders placed on the largest companies on earth?

What are you referring to here? Collection for FISA targets, or something else? Not very clear (We probably do agree with it being problematic).

> Parallel construction?

This was in articles about the leaks, but I do not believe there was any material in the leaks which indicated that this was a known practice (versus a theory of what might happen).
Please don't use win32 as an example for all native UI coding, its garbage. Consider Qt or anything else, even X11 looks good compared to win32.
Americans love Congress. The approval ratings are very, very high. The ratings you cite are wrong, because they show the wrong thing: they show what people think of other peoples' Congress members. American voters are very happy with their Congresspeople; that's why they keep re-electing them. They just don't like everyone else's Congress picks (esp. ones in the "other" party).
It's not about a value I support or do not support, it is about actively meddling with the cornerstone of our societies: the functioning of democracy and the one-man-one-vote principle. As soon as you allow attacks on that all bets are literally off. So any use of such technology to influence voters (in fact, any undeclared influencing of voters with specific intent on behalf of a group not immediately associated with a campaign) ought to be illegal.

This is a very important thing: the only reason we have non-violent transfer of power in our countries even in hotly contested elections is because people believe the results are arrived at through a fair process. As soon as that belief breaks there is a good chance that the next close election, especially in winner-takes-all or first-past-the-post systems will result in riots or worse.

Incidentally, this is why Trump was playing with fire around his potential loss of the elections.
>If maybe 1 or 2% of people in swing states who thought like you decided to vote instead of deciding not to vote, the outcome may have been different.

Could you explain what has that got to do with me, and the fact that my vote doesn't count, for the reasons I've outlined above?
In industrial industries like Oil & Gas, there are also a lot of advantages to having clusters of suppliers and service industries together. When I worked in the drilling business (not in Houston but in another city fairly nearby), pretty much all the overhaul, fabrication, part suppliers, etc. were all in the general area and we could visit them to review plans, oversee tests, etc.
Wouldn't they just do what all browser-version-specific websites have done in the past and have an http landing page with a conditional redirect? User agent is IE6, and you progress to ie6.bankofamerica.com. User agent is Chrome/Firefox, progress to webpage with browser version warning and download link for IE6.
I find the reference to Moore's Law interesting - particularly in light of Carver Mead's acknowledgement that it was principally a way to push collective action:

"I always had to—especially in the early days—explain that this is not a law of physics. This is a law [of] the way that humans are. In order for anything to evolve like our semiconductor technology has evolved, it takes an enormous amount of creative effort by a large number of smart people. They have to believe that effort is going to result in a successful thing or they won’t put the effort in. That belief that it’s possible to do this thing is what causes the thing to happen.

The Moore’s Law thing is really about people’s belief in the future and their willingness to put energy into causing that thing to come about. It’s a marvelous statement about humanity."

Source: http://spectrum.ieee.org/semiconductors/devices/qa-carver-me...
voting with the minority is the same as abstaining.
At my old company we got not only Christmas and other Christian holidays off, but also many of the Jewish holidays.

It depends on the company.
Agreed re. contractors. When you use the Uber app, you pay Uber. Not Joe Shmoe and his nice newish car. Therefore the HST should be payable, to Uber.

In turn, drivers who earn > $30k should provide their HST number to Uber, and Uber should be billed HST in remittances.

In turn, drivers can write off HST paid on all business-related expenses.

Yay, Value Added Taxes.
Right, and the voters are happily voting for pols who defund education and healthcare.
Trial jobs would be ok for some candidates, but I would be furious if, after spending a lot of time in the interview process, a company tells me only at the end that the job is a contract to hire job. Trial jobs should be advertised up front at the start of the process.