skysight-inc/HackerNews huggingface dataset:
This article is all very well and good, my only concern is that, imagine in a few years someone wants to find the list of all the laws and regulations and frameworks and whatnot that they need to comply with to run a truly international website... where would they find that information?
It's good to be skeptical, but everything I've read so far makes me believe Hunt's motives are good. His efforts are beneficial to HN readers and beyond.

This search shows four results within the last week and then it starts to drop off. How different are these search results from other popular sites? Ars Technica, Techcrunch, Anandtech, Bloomberg, LWN? Even if you focus on individuals, maybe it's not too different from the articles of Bruce Schneier, ESR, Linus, Theo de Raadt, etc?
Yeah, this also matches my (+10 year) experience as a professionnal dev ... with one exception, though: the "maintainance-can-of-worm" packages.
These are packages which, by design, can never be considered as finished, and periodically need to be updated to stay relevant in your application.

There are three reasons for this:

1) Those packages implement an ever-growing pile of tricks/heuristics to convincingly solve problems from the domain. They include: physics engines, SMT solvers, compilers/jitters/optimizers, computational geometry packages, video encoders ...

2) Those packages implement an unification layer over an ever-growing/evolving set of underlying APIs/protocols/formats. They include: SDL, ncurses, curl, ImageMagick ...

(these are not to be confused with "bug-factories" packages, which might not solve a complex problem, but still require constant updating to fix the current bugs, and benefit from the new ones).
> misuse of public resources

Is it still misuse if it’s net positive for the state?
British astronaut hails 'groundbreaking' Airbus satellite
My question though is why is it up to customers to report sales tax? I've literally never done this, every retailer I've bought from has included sales tax in the purchase price, collected it, and paid it. Why was Newegg not doing this?
Malibu bans restaurants from giving out plastic straws, stirrers and utensils
No. I’ve known about timing attacks for as long as I can remember. In any case, any specific individual’s familiarity with timing attacks doesn’t change the fact that using the term “constant time” to refer to time complexity is far more common than using the term to refer to timing attacks susceptibility. Not to mention formal algorithm analysis predates the formal description of timing attacks by many years. https://en.wikipedia.org/wiki/Time_complexity#Constant_time
Google's Walled Garden
On the Nature of Wine
Isn't a teacher sitting next to the learner?
You mean other than, "Your vehicle software is defective and unsafe and therefore banned for public road use by NHTSA as non-conforming to federal safety standards"?
Apart from the deserved mocking in the other answers, I'd like to point out that GDPR applies to Chinese companies doing business in the EU as much as US companies doing the same.

It should also be said that China has far more onerous regulations of commerce than the EU and US, for example in regards to foreign ownership. But you actually know that, otherwise you wouldn't preface "China" with "communist". Which, however, isn't terribly accurate, because modern China really have much of all to do with communism.
Could have the unintended effect that people are ok with spending longer traveling in a car though. E.g. people commute 2 hours a day to get into London via train
What the hell are you talking about? Yes diesels are more expensive, the engine has to withstand much higher pressures internally, so it's made from solid iron rather than aluminium petrol engines (this is common situation, there might be exceptions). You can see it in weight difference - it can be up to 100kg more between similarly-specced engines.

Result - you can run a diesel engine for 500,000 km easily, even more but other parts of the car won't usually keep up. Not much support needed apart from changing oil. I didn't have a single issue with my BMW 3l one, drove it for 100k km so far (and bought it with 100k km already), it drives like on my first day. There is a reason why all the buses and trucks have/had them - cheap to run, reliable.
> Troy's intention here is to eventually be soaking a whole lot of zeroes this this

huh?
> Less edge cases to deal with

I believe this is wildly inaccurate.

We already have the infrastructure for self-driving vehicles. How do you handle a mechanical failure of your personal flying drone? Does it drop you to the ground or on a group of pedestrians nearby? This surely only increases anxiety of people walking below. What is the recommended height for a self-flying drone? 100's of ft above ground? Not to mention there are no drones (to my knowledge) that can legally transport a human today in 2018, how long until we develop/regulate that technology? (I understand it's the same with self-driving vehicles but we've been working on this for _years_ already and things have improved significantly in that time period)

While I like your outside the box thinking, I disagree with the notion that there are less edge cases than self-driving cars, at minimum it's on par with the same amount of edge cases as self-driving vehicles.
I would argue, unless you specifically NEED the blog format for some reason, to use whatever you use for your project documentation.

i.e. if you program mostly with python then use Restructured Text and sphinx, etc.

Why? because then you can't say you are unfamiliar with the tools when it comes time to writing docs for your project, something we all suck at doing.
I understand you and I have to say that there are more than only a few things politicians like to say that are absolutely not possible if you can calculate and know how to look up things in Google. The whole German "Energiewende" and electrical car thing is impossible to do. It's just a wishful dream.

What is absolutely possible is to ban cars from certain areas for certain times. And the thing is, VW and the other car manufacturers are the guys at fault. I'm pretty sure they will have to pay a big price for their downplay of the scandal.
I only see 1 post about it: https://hn.algolia.com/?query=https:%2F%2Fwww.troyhunt.com%2...
Likely because they are still in college, and China would rather want the leaders in their fields to work for them instead, and also teach the newly graduated to take it from there?
Even though this is what car manufacturers might want, I think it's more likely that autocars greatly reduce the rate of car ownership. Why own a car when you can just call one whenever you need it? In this scenario autocars are more like Taxis or buses, i.e. not secondary homes.
Geoblocking IPs is not a solution, unless you're willing to let some people slip through and block people who you don't need to block. Also, not everyone connecting from a EU country is a citizen thereof.
Yes, the start of your last paragraph states what I would like to see, and the statement I took issue with specifically dismisses 'clean, solidified' abstractions, not messy, failed attempts at it, yet I am also very well aware, from personal experience, that we often have to deal with code that is not like that (even though, in some cases, written by people who thought they were doing SOLID work.)

The question is what to do about it, especially given that abstraction and the separation of concerns are not suddenly going to fix things after all these years of being more honored in the breach. I do not think that there is a programming style that leads to the writing of understandable code without having a coherent vision of the big picture, because I do not think you can understand the purpose of code in the small without knowing its place in the big picture (except insofar as the author has successfully separated the independent concerns, which brings us back to my original point about the value of abstraction.)

One can still modify such code, but the less you understand about it, the more likely it is that you will make mistakes, and there is also a real possibility that the result will be harder to understand than the original - this vicious circle is one reason why much-modified code is usually difficult to understand.

While I don't hold out much hope for programming style to save us from this situation, I think we might do better with tools to help us understand code. In particular, I sometimes find myself doing program slicing by hand (what ways are there to get from A to B that modify X, for example), and there is some tool support for doing so, though availability is spotty at best.
Zeroeth Law of Robotics as applied to programmers...
> I want to strongly differentiate between what "one implementation of rust does" and what "the language guarantees". Because if you are going to claim it's rust that makes the guarantee, as the author did, you should be able to back the claim up.

It's perfectly reasonable to use "Rust" as a proxy for the only implementation that can be realistically deployed to the Web (rustc). Everyone knows what the author meant.
Yeah, which is kind of annoying... I’m European and shed no tears whatsoever for the supposed loss of precious “second amendment” rights (never had such a thing, never wanted such a thing), but I work in the paint business where we use electrostatic guns to apply powder coatings... and those have all disappeared (as has “electron gun” of the cathode ray tube variety), all of which is quite annoying collateral damage.
The problem was the excessive spam and the fact that people preferred central moderation versus doing everything client-side. The groups I used to frequent have essentially been abandoned at this point (though they were active as recently as 6 or 7 years ago).

Personally, I feel a lot was lost in terms of capability of online discussion by moving it to web forums that lack actual message threading and closed source platforms. Even people who prefer email lists seem to not consider NNTP as a viable solution to online discussions.
>How different are these search results from other popular sites?

Generally the sites you listed have unrelated articles posted which are all on the subject of some distinct topic. The articles posted here in the past week have all been about the compromised password tool.
That evens out demand, but doesn't eliminate it. That's like evening out a 20ft wave down to a tiny wide swell vs the sea itself rising 10ft. We'll still need to double base generation.
It's not. But an otherwise law abiding citizen who doesn't realize they are supposed to file will suddenly get a tax bill that could be hundreds of dollars.

The law is very complicated and filing the payment is not straight forward. And while many people I know understand it fully, I don't expect everyone to.

Edit: I see the confusion. When I said "new tax" I meant, taxes on orders that happen after they started aggressively enforcing the rules. I.e. no back dating.
Thanks for this. I've been wondering how to better help my legs and general body health. I go to the gym regularly and I'm in pretty good shape, but I know there is some ongoing issue with my legs related to sitting all day. Wasn't sure how to tackle it - I started doing more leg exercises and even squats (but only up to 90 degrees). This article make it clear that I need to do a few different types of squats to get the real benefit. My legs have been scrawny chicken legs for years because of sitting at a desk all damn day. And it surely doesn't help that I cross one leg under the other half the time and alternate throughout the day. My legs feel slightly numb sometimes which I know is terrible. My leg muscles have atrophied to a large extent and I suspect that there is even a blood flow / circulation issue all surrounding the "use it or lose it" concept. I'm not sure if it's possible, but maybe my veins or arteries also got smaller from lack of use. I've noticed my legs get fatigued much quicker and take longer to recover.

It's been very difficult to get full function back, so for anyone reading this - try to avoid making the same mistake I did. I overlooked the issue for too long. I will certainly overcome it, in time, but it sucks and it's a long process because my body has become used to not needing my legs 95% of the time.
> while living costs are low.

Are you sure? From what I've seen, Shanghai real estate is comparably expensive to SF.
The inability to justify time makes people avoid doing the work. Some people will strongly avoid it, other people will just weakly avoid it, but nobody will be more inclined to do it than if the time was taken into account.

If your methodology makes people avoid doing important work, it's a bad methodology.
Daniel Berlin has way more practical engineering experience than you or I. He's a longtime GCC contributor.

(I just think in this specific instance he's wrong.)
The Inclusive Internet Index 2018
Welcome to the Age of Climate Migration
I understand why they did this, but I think this might be a bit too broad.

There are plenty of things that I might buy that have the word "Gun" that are not directly related to weapons; my favorite XBox game is named "Gun", there is a Gregory Peck movie I like called "The Guns of Navarone", and there's the aforementioned "Guns, Germs, and Steel".
I'm not sure if you're just being snarky or not, but use the link I gave in my comment. There are 3 articles this week about the "have I been pwned" tool.
To restate my disclaimer:

> No idea if they were "boogey man" stories or real though.

It may very well be a tall tale designed to scare people into filing their sales tax payments. And/or shopping in state because the net gain for shopping in New Hampshire would be $0.
Not that I'm pro-gun, but I'd much prefer that Google stay out of politics. The potential for abuse is enormous.
GDPR is so complex, but this helped my understanding a little bit: https://www.convert.com/gdpr/ab-testing-application-complian...
Intuitively, that only applies when there's actually some pent up demand. At some point, availability of teacups really won't drive more demand.
Disguising the true cost of a purchase is not something I would file under advantages, and neither will Newegg when their customers stop doing business with them after discovering that they've unnecessarily foisted this accounting burden onto the customer.
Saying that developers "don't use" state machines just because code isn't littered with things like instantiations of machine and state classes is an interesting point, but kind of glib. I use state machines all the time as an abstraction to reason about programs.
And "rifle", I think. You can't even do searches like "shogun" (famous novel) or "begun".
ok, but maybe combined with the notice that if you're from EU, you should leave, that would be an effective measure to show you mean it when you say 'no business with EU'.
It reminds me of that old xkcd: https://xkcd.com/214/
I would argue LED lighting does increase the demand for all sorts of lights rather a lot. It is due to increased efficiency, but that is not directly what creates the demand. The increased efficiency means light bulbs are no longer a fire hazard, allowing lights to be strewn just about anywhere and left on indefinitely.
and yet, https://www.google.co.uk/search?dcr=0&tbm=shop&ei=VHqVWp-WL4...
It isn't? European companies shouldn't be subject to the DMCA, unless they have a nexus in the US.
And once again fucked incentives are at risk of screwing us over. In fact the article notes exactly that two-thirds down:

> To be clear: For both economic and environmental reasons, it is good that US power demand has decoupled from GDP growth. As long as we’re getting the energy services we need, we want overall demand to decline. It saves money, reduces pollution, and avoids the need for expensive infrastructure.

> But the way we’ve set up utilities, they must fight that trend. Every time they are forced to invest in energy efficiency or make some allowance for distributed generation (and they must always be forced), demand for their product declines, and with it their justification to make new investments.

> Only when the utility model fundamentally changes — when utilities begin to see themselves primarily as architects and managers of high-efficiency, low-emissions, multidirectional electricity systems rather than just investors in infrastructure growth — can utilities turn in earnest to the kind planning they need to be doing.

edit: replaced expectations by incentives which is what I meant
Oh lord. This is the most technologically sophisticated company in the world. And they just... wow.
What tool do you use to manage switching JavaScript on and off on a per site basis? I too want to default off and whitelist but I'm not sure the best way to do it as the browser addons I have found make it easy to turn JS off, but they default to on and don't have a default off capability.
Ask HN: Virtual Dispute Resolution Software
Using email to resolve a dispute appears to be causing more problems than it is solve and wondering if anyone knows of any virtual dispute resolution software, website, service, etc.

Issues that are being issue, include, but are not limited to:

- Process controls (pre-agree to deadlines, response time, etc. and related default response based on failure to act/agree)

- Notification of changes, response required, etc.

- Logging dateTime of access, edits, approval, etc.

- Tracking outstanding disputes

- Prioritizing actions

- Isolating & deduplicating issues

- Mapping issues to existing contracts, documents, websites, etc.

- Sign-off tracking

- Response reporting based on delay, completeness, etc.

- Link to URLs and/or screenshots to support facts
NewEgg doesn't have to unless it has nexus (a physical location) in the state. If it does not have nexus it is up to the consumer to pay their own taxes. It has been this way since the mail order days.
It's too late. They've chosen that bed. Now they'll have to lie in it.
> willingness to fearlessly dig into someone else's code.

That's kinda illusion. If you start digging into some really complex code, like distributed processing core, meta-programming framework, low-level optimizations, it can take you years to understand all that is going on. Often it's more economical just to rewrite it, even if the previous system was far better than what you'll produce. Whether companies like it or not, projects live with original team members and once they move on, it's getting complicated to maintain or extend them.
Somebody bought them from me online through a credit card and they cancelled the credit card payment. It was that easy! And it was from a stolen credit card number so you can never get it back

This is more a flaw in the traditional banking/credit card system than a flaw in bitcoin. The same sort of fraud could happen with any unrecoverable purchase (e.g. restaurant, hotel, travel).
But remote work has been an option for decades, and rush hour is still a thing.
Herman Kahn's Doomsday Machine [pdf]
All explained very nicely here:

http://www.ct.gov/drs/cwp/view.asp?A=1510&Q=270228

It’s technically not sales tax, but “use tax” in this case.

For years tons of online retailers didn’t charge sales tax with purchases, all of those purchases were subject to use tax. Even Amazon (or was it eBay?) wasn’t charging tax in CT a few years back iirc.

There are lots of various reasonings in why they don’t collect depending on how charitable you are to the retailers, ranging from “We get to advertise cheaper prices” to “We didn’t want to manage taxes in 50 states”
A significant proportion of utilities are regulated by states' Public Utility Commission, and the utility bring rate cases to the PUCs every so often, which set theoretically regulated rates of return on equity (which therefore in turn drives prices).

So -- vastly oversimplifying -- unless the PUC targets a lower ROE, it's unlikely to see electricity prices fall.
Best Vlogging Cameras for Vloggers
Heating with nuclear energy is even more.
VW just closed one of their highest quarters ever, the Diesel scandal seems to have not affected the brand much. This is not what I expected but consumers apparently care less than what you might think.

Politicians will say whatever they want to get people to vote for them regardless of whether or not their plans are actually realistic.

The electrical car is doable as a complete replacement, but not overnight. It will need a lot of work and time before this can be a reality, but step-by-step we might get there.
I would (maybe naively) think that the cost of GDPR compliance would be small if your company is already safeguarding user data and respecting user privacy. If a company’s cost is “staggering“ doesn’t that say a lot about its existing privacy practices?
Beautiful Paper Rose Easy Step by Step Tutorial
That makes sense. I use Python the for most part. I feel like I have seen this happen with old libraries where they used to be very popular and maintained then became abandoned a few years ago.
https://ico.org.uk/for-organisations/guide-to-the-general-da...
The Problems with a Large-Scale Shift to Organic Farming
If it's your back your worried about, I would recommend deadlifts over squats. They're much easier to do from a technique standpoint & have less risk. Also squats are more for leg strength. Deadlifts are great for your back and also work several other muscles, including your legs.

Squats are great for building leg strength but have a high risk of back & knee injury under heavy loads if done incorrectly. Even if you do them correctly, a heavy load might force you to lean forward which can damage your back. There are much safer lifts for those of us who aren't experts, such as hex bar squats.
Also "ar 15", unsuprisingly.
Google is very political, to begin with. And if they're afraid that their product might be involved in getting people killed, it makes sense to change the product. You don't have to be too "political" to make that decision.
Neutrality is a myth. On every issue, one either sides with the status quo (explicitly, or implicitly by staying silent) or the opposition.

For Google specifically, they were never neutral in the first place. You are already getting results tailored to you.
Very simplified, you can not use or give personal data to someone else without optin given consent (where you must state in non legal, non tech speech for what they will be used) and same goes for enabling others (ad networks, google,..) to get those data. Or you are breaking the law. Further, user must be allowed to view, change or delete those data and remove consent to use them in whole chain (your site, ad network used on your site,...) Furthermore the consent must be freely given (forget trackwalls).
Only if you buy. Rents definitely aren’t. Shanghai and Shenzhen are worse than Beijing on rents, but not incredibly so, you won’t find $4000/month one bedroom apartments unless it’s some kind of luxury skyscraper. $2000/month for a nice two bedroom is easy, you could probably go lower than that and still be in a decent location.
Yeah this way to over-reaching. It's a cheap ploy to gain public favor. Correct me if I'm wrong, but I don't think Google shopping results were a major contributing factor in gun sales.
That'll solve the problem!
Well, since this is for testing purposes, one would assume that we don't know these statistics yet.
“Ratting out”

“Following tax laws”
Silicon Valley faces make or break moment amid big tech backlash
Would you really need a car if you lived in Amsterdam though ?
A framework for evaluating data scientist competency