skysight-inc/HackerNews huggingface dataset:
Which is still just path finding: estimate travel time for each segment, use travel time instead of distance as edge cost.

Don't take that as a dismissal of Google maps: it's the most impressive path finder I know, working with high performance over long distances, taking into account real time information, and calculating meaningful alternative routes to choose from. It's an impressive piece of technology that actually makes the world a better place by saving humanity a lot of travel time that can now be spent on better activities.

Google Maps would certainly be high on my list of best inventions of the last few decades. At the same time the routing is just a good path finder with a good travel time estimator informed by real time data.
Needs a different size grid for mobile so you don't fat finger mines, otherwise pretty cool.

Do not trust other people's flags though as they can be wrong - possibly intentionally.
Underground, by David Macauley, is a great book about what it's like underground in Manhattan.
https://www.amazon.com/Underground-David-Macaulay/dp/0395340...
his children run https://alanwatts.com/ and sell them but you can also find lots on youtube like: https://www.youtube.com/watch?v=uCpFFxzkLzU
> How do you automatically go from sort( ... some elaborate compare function ...) to sort(key=some completely different function). Yes, there's a wrapper

Yes, there's a wrapper. You use it, add a comment "this is wrapped in the migration to 3" and move on.

> How do you automatically infer the intention of somedict.keys()? Is it going to be used as a list or as an iterator?

If it's being iterated on first thing, it's an iterator. If list methods are called on to it, it's a list. This just hasn't been a problem for us, sure, it took some looking at, but it wasn't more than 30 seconds per case.

> I have the feeling that your positive experience with 2to3 might rather be the exception than the rule for old and big code bases.

Maybe so, but the codebase was ten years old and hundreds of thousands of lines.
Right I agree. I mean to try to explain why so many go to this conference, not to criticize the conference itself.
Thanks! They are called "Umlaufspuren" (literally ~traces of circulation) according to the german Wikipedia-page for "Mehrwegflaschen."

I will look out for them.
Which is very common, even in controlled drift events. Over the course of a single run, tires can completely change grip coefficients.
Immediately many EU companies just dumped their data that they were arbitrarily collecting because it became a liability overnight instead of something that may be an asset in the future.

Many of these companies didn't have consent to have the data to begin with or at least no way to show that they collected it.

A good example is Wetherspoons Pub chain dropping their email database they used to spam people with. I've noticed I'm not caught in any more breaches according to Troy Hunt whilst before I was getting my email breached once a year by some company. According to Troy Hunt's breach DB, over a dozen companies with my credentials have been breached forcing me to never use those email/password combinations again.
All marketing email has an unsubscribe link if it didn't before, and you know it actually works now to stop the emails, not just confirm your email address works.

You also know you can get all the information a company has on you, and get them to delete it if you need to. I haven't made use of it yet, but I've read of people who have.

From inside the business side, I see most companies thinking about GDPR compliance when developing new products and features. What was never the case before and you notice now is they try to minimize PII collected to avoid headaches, and they are very careful about how data is shared with 3rd parties, asking for consent before doing it, etc.
For many, it helps build followers and get lots of likes. I’m not sure that was the author’s intention.
I don't see the issue? Either you want to use Git or not. I have gigabyte-scale files in my 6-month old repo's and haven't ever run into any issues. Of course this may be because my git server is right next to my desk and I'm on gigabit ethernet ..
The window is already broken. Do we leave it and die from exposure to the elements because it costs money and effort to fix, or do we bite the bullet and fix it with something stronger and sustainable?
Name calling was not my intention, I apologize.
Okay, I was using vianavigo, maybe transilien is better (too many official apps..)
In principle this is true but there are some caveats regarding the usability: It does not present the cache in a friendly way. There is no Index or something like a nice starting page with your top browsed sites - you get the idea.

I guess this is totally doable with squid or any other caching proxy, but I don't know any that does this
I had a workshop spotlight. Those sessions were generally a lot calmer.

A big problem was cramming hundreds of posters in one large space, with a relatively poor search experience (posters were kind of arbitrarily organised with some categories only having three or four entries). If they'd split them over both exhibition centres (or multiple rooms/floors), it might have calmed the crowds. Also since it was hard to know exactly where to look, there was a lot of wandering around.

There's also the heavy corporate side where people spent the evenings going to not-so-secret invite-only parties (lots of FOMO going on). Lots of jobs going, but ridiculous amount of competition now.

Despite that it was pretty friendly, and I had good results emailing people I wanted to chat to, and going to the socials.

Really the field needs to start publishing in journals again, and not obsessing over one or two mega-conferences each year. In other domains, there are huge congress events, but they're much more informal (eg EGU, 17k people).
Lockerbie The town scarred by Pan Am flight 103
Brilliant Qualities Every HR Professional Must Possess
Ingalls was completely correct: It should be Actors all the way down (and Actor Systems all the way up).

Soon there will be packages with millions of Actor cores for quadrillions of Actors. Operating systems, e.g. Linux, will be inadequate for Reusable Sacalable Intelligent Systems.

See the following: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3428114
I noticed the email about a week ago, and couldn't understand why my subscription was expiring. Didn't even remember it was a lifetime one, thought there was something wrong and they were kicking me out and not charging the annual fee.

I would look for alternatives, but since the fee is not unreasonable, I'll pay for it. That said, the way they conduct business is shameful.
Great insights. I'd also add; the notion of UI/UX and good business covering up engineering is highly dependent on the business space. The further down the call stack you go the less you're going to get away with bad engineering.

If the product is Digital Ocean or DynamoDB or embedded software installed in Ford F-250s UI/UX and slick business aren't going to mask bad engineering.
I don't know about privacy, but it certainly increased the amount of popups I have to click through daily. Thanks, wise European bureaucrats.
You also get a consistent user experience with a current Firefox browser; it might be slightly different than the one you get with a consistent Chrome browser. There's a reason a lot of companies standardize on a single browser for their internal web applications.

The purpose of avoiding browser monoculture was to avoid a world where a single company deploying a single closed-source browser owned the gateway to the World wide Web. The goal was never to make it easy for an arbitrary number of browsers to operate independently of each other; in fact, browsers are very complex software to get right and service providers have a responsibility to make it hard for users to get their accounts compromised even if they bring a browser with implementation errors into the loop.

I'd be more concerned if Google was blocking, say, Firefox, or if the block was harder to overcome than changing the UA. This block is inconsequential. Change the UA and be done with it.
> No one ever listens to let alone agrees with the person yelling at them. Ever.

That's why advertisement doesn't work. Ever. /s
Simple Tips for More Secure Python
What is DX and why does it matter?
Tangentially related: ever since I read “In Praise of Cash” [1], I started doing as many transactions as possible in cash. I make sure I carry enough change in different denominations so that I can pay almost any amount without having to worry about inconveniencing the receiver for change. It may seem like a hassle to others, but I’m ok with this.

[1]: https://aeon.co/essays/if-plastic-replaces-cash-much-that-is...
Traveling the Loneliest Road
The problem with this stance is that it is very difficult to get a Show HN to the front page. You usually have about a half hour after submission to get four or five upvotes. (I watch /new and I've seen good projects submit over and over to try to get bites - with no luck.)

But also: self-promotion is a good thing. Or I should say: a better thing. If you can't promote your own project, then you are left to use advertising. This is why advertising is so hot right now. There aren't many avenues for self-promotion.

Let people post their links and let's see where the chips fall.
Dynamic languages generally enable faster iteration in the early stages of a project, but once you have a large, mature codebase, static types allow you to work faster and produce fewer bugs. A more performant language will also run your test suite faster which can have a big impact as a project gets very large.

Also, while I agree Go’s error handling isn’t very elegant, it does force you to explicitly consider every potential error, which in my experience makes uncaught errors far less likely than a language with bubbling exceptions.
No,it has not, just made things annoing and complicate for companies. I think it's a goal of supervised EU communists to make our business less effective and competitive.
Blame the content providers who are unnecessarily tracking you, and not the legislators that force them to now tell you.
Homelessness rises in U.S., driven by California housing crisis
A big moment finally comes for the Little Shell
Which, I believe, is why states rights and autonomy are so important. The federal government wasn’t intended to be a behemoth overseeing half a billion people. It wasn’t to have any authority other than that afforded by the constitution. The balance was intended to be controlled locally at the state level.

When recently reading about the recent Supreme Court decision regarding the individual mandate I saw that 26 or so states were in support. That sounds great: to enforce at the state level. When it’s not a violation of human rights issue, I’d love for states to pursue these goals, then document and communicate them, build communities of ownership around them, and if/when they fail, provide experimental data to other states interested in pursuing that path.

Some states are better at this than others, but I would like to see increasingly liberal policies at the local level and more conservative policies at the federal level (personally).
It's fraud.

The legal way to do this is to go bankrupt, launch app 2.0, and market it under a similar name.

They have a ponzi scheme business model, it failed. There's nothing legal about this; you make promises, you sign contracts, you have to live up to them.

We, the little insignificant people, have to afterall. The rules for us and them are the same.

You do this to a few people you lose your shirt, you do this to thousands or tens of thousands, that accousts the public trust. Management should be in handcuffs and in jail for this.

This news site is questionable for calling the business practice "questionable".
I operate a B2B SaaS. We sell a service to other SaaS companies. To deliver our service, we are sent PII from our customers which we process as a subprocessor under GDPR.

From the perspective of selling a B2B SaaS service, GDPR has been incredibly successful at making Security & Compliance an important discussion that is had during the sales process. Most leads will have security/compliance as an agenda item during sales calls, while before GDPR this was much less common.

GDPR has effectively turned Security & Compliance into a selling point and a point of competitor differentiation (it was this way in the past too, but much more so after GDPR). I think in the long run, this has/will result in companies having a heightened awareness of security/privacy and budgeting more time and money on security, simply because GDPR has connected it more directly to the business's bottom line.

I think it's good in the long run. In practice, the result is probably a decrease in risk of data breaches (less companies have your data, and the ones that do are more aware of their responsibility to treat it properly).

It's important to note that this benefits everyone (not just people of the EU). Very few companies will go through the trouble of treating EU data differently than non-EU data. Everyone is benefitting.
Is it possible to send a no-cors POST that causes side effects (regardless of the opaque response)? I have only used the DevTools protocol through puppeteer, so don’t know anything about its authentication. Could it be vulnerable?
How the rise of individualism is upending the Middle East
A different context and reasoning: this article inspired me to use cash (wherever possible) for different reasons — “In Praise of Cash”. [1]

[1]: https://aeon.co/essays/if-plastic-replaces-cash-much-that-is...
I'm in an org that runs multiple services in Go. The dependencies on library stuff has been a very minimal need. I think you are optimizing for an imaginary problem. With microservises, a team should have non breaking API versions running and work with teams to transition to a new API version when needed. If the underlying uuid lib or kaftka lib changes, teams may or may not need to update, but they can do so on their own time.
Jackson's electrodynamics is probably the closest thing to this I've seen. He often mentions offhand that it's trivial to show one thing or another, but when you actually do the derivation it's many pages.
> with Picard and Munkowitz wife-swapping the teams to keep things moving and the team extra productive

There’s a way you could say the same thing without being weird. “Swapping” would have sufficed!
IPC is pretty easy in Q. I'm not saying you could be at Google scale with one machine, I'm just saying you could get rid of your entire stack and just use a bunch of networked machines running Q. Though, for maybe the majority of businesses, a single beefy server running Q would be sufficient. The performance of the language and integrated database is pretty exceptional.
The code paths to change UA and implement XSS protection are different code paths.
It does give you a (perhaps false?) sense of having some level of control over what is stored where and how much tracking happens. Also, as an unintended side-effect, it helped boost my productivity a bit, as when I open some link and the page keeps twisting my arm to accept all the cookies, I just close the whole tab and go do something more useful instead. And lots of sites, especially news and media related, do this - I skip like 1 in 5 pages because of badly implemented or hostile privacy dialogs.
Back to your technical points and this shitty timeline, I have a few questions:

1) if we were to eliminate ICEs completely in the US, how much would more electricity would we need to produce?

2) Is there any declining returns of renewables as we aim for that much more? (I don't think but just checking.)

3) Assuming no problem generating the energy, how much more batteries would we need? How much more rare earths and other environmentally costly resources would we need to mind, or are you proposing e.g. fluid pumping?
You are committing the lump of labor fallacy. Silicon Valley has a large number of immigrants (and tech workers in general) yet it has the highest tech wages in the world. By your naive analysis you would expect “higher supply = lower price” to hold, but it obviously doesn’t.

If you’re going that the large number of immigrants (and transplants) in the Bay Area is a result, and not a cause of the high wages then you are only half-correct. High paying jobs are created there because that’s where all the best talent is, and the best talent moves there because that’s where the highest paying jobs are. It’s a virtuous cycle. Can you think of any other possible reason why the Bay Area pays as much as it is? The valley is no different from any other lame suburb in the country, literally the only differentiating factor is the people. Many of whom are not local.

If there were fewer tech immigrants, then there would be fewer companies founded here, fewer offices opened here, and the companies that were founded here would be much less successful and pay less due to limited access to talent.

No matter how much you are willing to pay, you can never acquire the talent you want if you artificially restrict your hiring pool. Why does Barcelona employ Messi? Is it because they are too cheap to hire a Spanish striker and are not willing to bid up the wages of one? Of course not.
Good point. I'll fix that. Do you mind telling me your screen resolution? I think this problem may be more pronounced on relatively low-res screens.
He Sold His Business for $400M and Raised $30M to Help Unlock Your Office Door
I mean a very specific sort of model: a causal model.

A model of that kind has to be able to generate predictions given the agents interaction with the object. Ie., how will the thermostat behave if I turn on the air conditioning.

The problem is that we acquire these models during an entire lifetime of being embedded in an environment, esp. a social one.

A self-driving car is never going to predict human behaviour given its own behaviour without having lived a human life. The question of what it should do given how another driver/pedestrian/etc. behaves isn't something it can solve with "mere statistics".

It might be that human behaviour around roads ends up being extremely predictable, I'm doubtful that's the case. I think a car is going to need a Theory-of-Mind to navigate complex social driving environments, ie., a causal model of the behaviour of other animals.
Weekly Robotics #70
Anyone who is interested in learning about this should just go check out the report for themselves. Your selected quote is a bit odd, Huawei can’t explain how it is regulated?
Sort of. Someone bought the leftover parts from the original factory, and brought back the company name, selling completely refurbished ones. They've been trying to sell completely new ones as a low-volume automaker, but haven't successfully navigated the bureaucracy on that so far.
The Chinese Builders Behind Africa's Construction Boom
I've used the new laws twice now to close online accounts with companies that were uncooperative or too 'clingy' (looking at you, OVH and Microsoft). Much easier to send a registered letter than waiting on hold or searching for an online option that was deliberately made hard to find, or which may not exist at all.

I have also used it to stop unwanted postal ads from local companies. I get to find out how they obtained my info, and also stop some junk mail.

For the sibling comments mentioning the GDPR popups / cookie notices, why not add a blocklist for these to your adblocker? At this point adblockers should be considered basic security software, like a firewall or antivirus. These lists exist are are pretty comprehensive.

As an American living in Europe I think it's a great law and I wish there was something comparable to protect my friends and family stateside. And as someone who administers a fair amount of business and client data, I do not find the law inconvenient to comply with. I am very pro-privacy and protective of user data, and I didn't have to make any major adjustments.
Do you really think people on HN are scared of cookies? Ha. Save it for the CNN comments pages ok.

edit: If you're not worried about the cookies then can you take the requirement for state mandated popups on any site that uses cookies out of the GDPR, thanks.

edit 2: (due to being throttled for wrongthink)

According to the GDPR website to comply you must "Receive users’ consent before you use any cookies except strictly necessary cookies." How do you suggest websites get users consent other than popups? I'm sure everyone who is sicking of clicking through them and everyone who is sick of implementing them would love to hear about it. Why don't you "Show HN"?
Apparently it was a best seller. You can't tell me, that its to special that i don't get it.

Bestseller = Mainstream => i'm not far away from mainstream.

And you can take certain aspects of my opinion and argue with them. I tried to convey what i saw in it and what not after all.
AI Research Rankings 2019: Insights from NeurIPS and ICML,Leading AI Conferences
We've Just Had the Best Decade in Human History
In terms of what a company has to do, not that much changed since GDPR's predecessor. The difference between the previous law from the 90s and GDPR is mainly publicity (privacy wasn't as big a topic in the 90s) and higher fines, so what I notice as an EU resident is that more companies implement it. (Also companies abroad, but I can't say that e.g. Google's update impacted me beyond annoying banners: they still say "you consent to us doing anything we like" and that is probably legal.)

The previous law was optional to implement for member states but I lived in a member state (the Netherlands) that did (as "Wet Bescherming Persoonsgegevens") and I think most other states did as well. Any company that wants to do business in the Netherlands had to comply with that law already (just like you can't come here to do business that is illegal for any other reason).

The main features as I see them are that companies have to obtain consent or have a valid reason for processing personal data, and you have a right to view your data. That was the case and is still the case. I've done data access requests prior and post GDPR and the responses are identical.

A number of details changed, but if you complied with the previous law and you're not a personal data broker, then you have to do very little to comply with GDPR. To give an example, consent now has to be "freely" and unambiguously given, whereas before it just had to be unambiguously given, which means that an employer can't ask you for consent due to the power relation and it's popularly interpreted to also mean that you can't bundle it ("consent or don't get the service") because then it's not "freely" given.
We need to rethink how we provide Internet access in Africa
Blogspam for Breitbart; includes screenshot of a Gab tweet. Flagged until someone provides a source that isn't a rightwing propaganda site. Preferably including references to the original German-language info.
How was it sustainable when we called them programs instead of the current indentured servitude system of subscriptions? Maybe programmers won’t be paid like doctors anymore, but there was a time when it was the only way software was sold and it was a more sane time and the software was of better quality as well.
The programming language Scheme was originally named Schemer against Actors ;-)

The monad (https://wiki.haskell.org/Monad) is another mostly unsuccessful lambda calculus way to try to address some of the issues resolved in the Actor Model.
U.S. Tiktok Rival Triller Lands $10M in Investments from Rap Stars