skysight-inc/HackerNews huggingface dataset:
I'm pretty bullish on the web, and I love web-apps, and I'm excited for a web-first future, but the progressive web is not reliable enough yet to use as a full replacement for native apps.

The article mentioned that Safari is significantly lagging here, but I think it understates how much of a problem that is. If you build a progressive web app, you can't rely on having a lot of feature support - even minor things like background music for an audio player.

But it's not just that support is bad. There are standards that flat-out don't exist yet. For example, how much local storage do you get, and when will that storage get cleared? For native apps, this is really straightforward - for web apps, we still haven't finished building a standard for reliable persistent storage.

This means that even if you're an offline only app, you still have to back up client information to a server. If you're a small dev, you really don't want to do that. I want to be able to build an application in JS and have it store all data clientside. If I'm building a document editor, I don't want your documents on my server. But if I do a progressive app, I run the chance of your local encryption keys, documents, settings, etc... just getting deleted some time.

There are a lot of ways to store information on the clientside - but many will get cleared the first time that space is low, or the first time the user clears their cache accidentally, or they have arbitrary limits on how large a single blob can be. They also can't be shared cross-browser, so if your user has multiple web browsers installed on their computer or phone, switching between them is a terrible experience.

On top of this, there are problems with the existing standard. The web is a good thing for security, but background code complicates that model. Since progressive web apps should inherently be treated like progressive enhancements, I would have loved to see this put behind a user permission - because it's a powerful feature and most websites don't need it.

But... it's not behind a permission. This is exactly the type of thing that users should be consenting to and exactly the type of feature that should be made transparent rather than opaque or hidden.

At some point in the future, the standard might evolve enough that you can start using it in exciting ways, and I'll be all over it when it does. But I just don't see it at the moment. At the very least, we need to get storage sorted out. But that's probably not going to happen for a while, and whenever it does get standardized Safari is just going to lag behind on implementation anyway.
Have you mapped all the processes through which you collect data?
Have you identified the lawful basis for each type processing? Remember consent while required is not a legal basis for processing or collecting information.
Have you verified that there are no ways for you to provide a service without collecting / processing a specific set of information (this also includes switching to a different provider within the same domain).
Did you check with all your suppliers, business partners etc. about their compliance status?

>It really is not as bad as you imply. Bear in mind these regs are designed to be complied with by EVERY SINGLE BUSINESS (BIG OR SMALL, TECHNICALLY SOPHISTICATED OR NOT) IN THE ENTIRETY OF THE EU. You are a HN commentator with ~9500 karma - you are probably not stupid and will cope fine.

It actually is I think many individuals as well as small and medium organizations don't realize the full extent yet and the nuances of switching from the DPA to the GDPR.
I work for a very large global financial exchange and I've seen estimates from multiple sources of it's impact I've also seen the estimates that LSEG did. And oh boy it will have a much more substantial impact than what most people here predict.

In fact will guarantee that if you were to be audited on the 26th of May (well the ICO won't do it on a Sat) by the ICO you would be found in violation of the GDPR in one form or another.

I think the GDPR is overreaching and there should be exemptions for small businesses.

I think the GDPR needs to have provisions for blockchain and current cryptocurrencies.

I think that fact that the EU wants to apply it extrajudicially to non-EU entities and organizations is terrifying and amounts to sheer tyranny since they have no say in how the law is enforced or interpreted nor do they have any representation.

And it's clear that you and me think about this on completely different levels, you were making jokes about wiping IP addresses from your logs about using VPN.

If we go back to my specific example then how much do you think it would cost me to get a lawyer that could advise me on GDPR in say San Juan vs London or Amsterdam?
How much would it cost me to have a mandatory local representative in the EU?
In the UK if I need help I'll talk to the ICO, I'll talk to my MP, I'll take to my EU MP, who the hell do I talk to about GDPR as a ukulele maker from San Juan.

Do you still not see a problem here?

It's terrifying to me that there is already ongoing strong arming to force certain service providers in payment, ecommerce and hosting industries to ensure that all their non EU customers to comply with the GDPR or to face non-compliance which will force businesses to stop offering services to EU residents and or consolidate the already heavily monopolized industry even further by allowing a few companies to dominate the market by providing "GDPR certified" walled gardens.
In this case, you're probably right.

...but what if you were selling a medicine that you knew worked, that you really believed in, but that you knew was going to be labeled fake by an arbiter in the employ of your competitor (and I think it's not unfair to say that the FDA is, at times, exactly this)?

Might you decide not to spend the money to attempt to achieve compliance?

Don't you think that some well-meaning organizations, knowing that they have powerful, well-connected beasts who wish failure for them, might opt to just stay out of Europe (either initially or always) instead of facing the costs of assuring compliance?
Almost, when switching from PyQt4 to PySide 1. It was roughly equivalent with some minor differences. It was much less work than switching Python 2.7 syntax to 3. There are some bindings as well [1].

I don't know much detail about PyQt5 vs PySide 2 but at least the overall logic should be the same.

[1]: https://github.com/epage/PythonUtils/blob/master/util/qt_com...
I had not heard of enlightenment, so took a peek but as far as I could make out from the docs, it is linux/unix project? I saw nothing about MacOS or Windows... did I miss it?

[Py]Qt of course is cross-platform with the local look/feel.
I prodded unroll.me a couple of years ago about their data retention policy. Their answer was sketchy so I ended up not using the service. Unroll.me users irreversibly hand over all of their emails to an unknown entity -- it's crazy to subscribe.

Original thread: https://twitter.com/elahd/status/575692415132135425

DMs: http://imgur.com/H0UABYa
Wait a minute, you're not in the EU anymore! Shouldn't you be railing against the self-serving protectionist agenda of those horrible bureaucrats of Brussels?!!
Police should have made sure they rejoined the group and then taken the mother who called aside to have a talk with them.
SSH key verification...
This article has a bit of truth and a provocative thesis but with a few notable exceptions it becomes more and more contrived as it winds on. Most egregiously it tries too hard to tie unique Japanese cultural phenomena which can be explained in other ways to universals that don't exist.
> There's still one annoyance left: you do need to keep track of accounts/users who have deleted data, so if you have to restore from a backup, you can't restore any data belonging to users who have deleted their data within that window.

That seems like a big annoyance. The only way around it is a 2nd database that removes certain data in case a backup is ever restored. Ironically, keeping data on the data you need to delete.
Likewise. Were people really arguing that offshoring was irrelevant to the decline in American manufacturing? I don't follow American politics, but it seems completely absurd that anyone would make such a claim. If true, then it's no wonder that Trump won the election.
Tkinter, it comes packed with python and is actually really good and really fast.

In fact, when I tried variations of Qt for py, I just quit out of frustration with how things either didn’t work or didn’t work very fast, now I just stick with Tkinter.
If it has cycles of 50 or less only, then they're guaranteed to find their own name (they start the cycle on the box corresponding to themselves, so that cycle must contain them)

But there are 100 boxes, assigned at random. The prisoners can come up with a mapping function that predetermines which boxes they will open based on their names, but that function will have no relationship to the one (if any) that was used by the warden.

There is no way to guarantee that the first prisoner finds his name, and that seems to be true for all of the others. It must genuinely be a case where I haven't understood the problem correctly.
Note to others: click on the screen and you'll see a cursor.
If the recent Zuckerberg testimony is an example, we need more public officials who can understand the complexity of code, technology, and the law.

I've known the young assistant attorney general in this story for more than ten years. Rob Sand is a great guy and is running to be a state auditor of Iowa - you can support him at robsand.com. Also, if you're interested in meeting him in person, I'm also happy to facilitate an introduction (friends across the country like to house him from time to time).
> I spent most of this century in the UK

As a side note, I love this phrasing. I mean, it's only 17 or 18 years depending on how accurate you are with when a century starts, but it just sounds so long.

I'm going to start saying that I've lived in the Bay Area since before the turn of the century, because it sounds cool.
If you can't provide any direct support for your position (which is contradicted by dictionary definitions [1-3] and a forum discussion on the topic [4]), I won't continue to engage. Good day!

1: https://www.merriam-webster.com/dictionary/concerted

2: http://www.dictionary.com/browse/concerted

3: https://www.macmillandictionary.com/us/dictionary/american/c...

4: https://www.grammarphobia.com/blog/2011/04/concerted.html
Well those 18th-19th century anything didn’t have a concept of entanglement or FTL, they were struggling with the notion that light, gravity, and other forces could propagate without a medium. They saw that waves could be transmitted through water, sound through air, and the idea that light or gravity could be transmitted through vacuum was baffling. Their resolution to the issue was to propose the existence of a substance which was invisible, intangible, but which permeated everything: the luminiferous ether. Light, in their understanding, wasn’t really moving through a vacuum, but this ever-present “stuff” instead. That started to fall out of favor long after the 18th century, and was finally conclusively shot down by Michelson and Morley with their interferometry.

The problem Einstein and others grappled with was different, and concerned the fact that according to relativity nothing should exceed c. Entangled particles seemed to violate that principle, because the collapse to a given pair of states was instantaneous. The modern resolution to that is more practical than philosophical, and points out that information isn’t transmitted faster than light in entangled particles. Information propagates at or below c, even though at some scale entangled particles are statistically correlated. Relativity is only violated, and causality threatened if information is transmitted FTL, but entanglement doesn’t allow for that. You need a classical channel make entanglement work for communication, and that classical channel is going to be no faster than light. Without a classical channel, entanglement just gives you random noise.
Manufacturing is a waste of time. People don't need real stuff.

Paper wealth is where it's at. Check out the 'growth' in banking:

https://pbs.twimg.com/media/DceTLZ9UQAAr335.jpg:large

"The divergence first emerged in the late 1970s". Hmm.
No it's still 50%, because first person opens box 1 and second person opens box 2. They both either live or die together.

As the problem is stated, the boxes remain where they are and must be reclosed after being opened. There are no other choices to be made, there's no way to retain or communicate any information about a particular prisoner's actions, and there are no order-dependent aspects to the problem. Everybody sees the same 100 closed boxes and gets to open 50 of them.
> ... without redundancy. Curly brackets are implied from identation

I.e. nesting information is repeatedly encoded into every line. Nope, no redundancy here, move along!
No, interesting and useful. But a few questions. So basically you have automated the job of calling PyInstaller to make a standalone app, plus the step of wrapping the app in an installer. Yes?

In order to use this, if I read the tutorial[1] code correctly, I must modify my app to wrap everything -- or at any rate, all PyQt-related things? -- inside an AppContext, and modify the outermost level to create this.

If so, this is easy enough for the tutorial but what if my app opens multiple windows and has code to create them spread over multiple modules (as one of mine does). Is there a simple way to get all these bits into one "context"? Or have I read too hastily?

[1] https://github.com/mherrmann/fbs-tutorial
Disney doesn't "make" video games, they license their characters. The Aladdin game on the SNES was made by Capcom. Another great SNES game is The Magical Quest Starring Mickey Mouse, which was also made by Capcom. No shocker there; Capcom makes great video games.

The Sega Genesis version of Aladdin was actually made by Virgin Games.
NightWatch by Terence Dickinson is often recommended.
> manufacturing things that used to be manufactured in the west

That's not how economies and economics work. It's not zero-sum at all. In fact, the more your neighbor works, the more work you have to do, because now you have someone to buy your goods and now things you need to be more productive are more available.

In fact, global economic production increased around 700% in the 20th century[0]; in the U.S. since 1950 it's grown around 3,000% 1950-2010[1]. By the zero sum theory, GDP would not have grown at all and we'd all be doing the same jobs we did in 1900 or 1950, just in different places (which means not a lot of software development jobs!).

Another benefit is that as worse-paying jobs move to poorer countries, the wealthier countries get better-paying, higher-skilled jobs.

China has become one of the largest markets for U.S. goods, and IIRC is the world's largest market for things like smartphones. American companies make a lot of money selling goods to Chinese people, who without the manufacturing would not be able to afford them, and U.S. unemployment is below 5%.

The U.S. has problems with income and wealth distribution, but other advanced economies, which have seen similar transitions from industry, don't have nearly the same difficulty. As I understand it, it's a product of U.S. law, tax codes, and government investment, which strongly favors the wealthy. For example, almost alone among advanced economies, the U.S. does not provide health care to all its citizens. That's not because China has more manufacturing jobs!

[0] https://en.wikipedia.org/wiki/File:World_GDP_per_capita_20th...

[1] https://www.usgovernmentspending.com/usgs_line.php?title=US%...
That's a great insight. I had thought of it as a policy decision, one aspect of the post-WWII globalization initiative. Encouraging trade and international connections, to reduce the risk of war.

But yes, it also looks like tribute.

Edit: > In fact they were able to skim a portion off for themselves.

Walmart was represented at those talks :)

I've heard that Mao offered 200 million young Chinese women, but Nixon passed, I guess.
I sure would like to know more about your mentoring of a robotics team. I sent you email.
around 6 hours
At SunSed we have created our own DB system for the exact same reason:

WordPress average page generation: 1 sec

SunSed CMS: 0.03 sec

Database is almost always the reason for slow applications.

Edit: if you do caching right, WordPress becomes as fast.
Java Mission Control open sourced
I am about 6mo into a job with weekly 1:1s, and am coming from a job that did them every other week. I am always excited for my weekly 1:1.

As a disclaimer, my boss scheduled a weekly 30min 1:1 when I started, but with the caveat that we could make it less often if I found it not useful. He just preferred weekly during the "settling in" phase.

Almost without fail, our 1:1s go over time, totaling between 45min and 1hr. I can't imagine how my boss finds the time, but I so appreciate that he does.

I keep a pinned slack message in our DM, of priority-ordered things to discuss. Often these are things like:

- Something went wrong this week. How did I do? How could I have performed better?

- I noticed something unhealthy with our team, how can we fix it?

- You did something that surprised me as a manager, what was your thought process (this is sometimes critical feedback, sometimes curiousity)

- Is this thing I want to do a good idea?

- Debrief on progress (or lack thereof) on a predefined goal.

- Help me with this stupid HR/Expense report thing

And the list always ends with:

- leave space for <BOSS> to discuss things he wants

This is easily the most valuable growth time of my week. I appreciate my IC time to do an excellent job, but the 1:1s help me pick my head up and think about bigger things.
Before my first one-on-one meeting with anyone reporting to me, I refer them to this link:

https://workplace.stackexchange.com/questions/32765/what-is-...

I give my reports an opportunity to raise any topics they wish to discuss. Then, following the example set by a previous manager of mine, I always ask these 4 questions:

- On scale of 1-5 (3 being ok, 5 being really bad), what’s your stress level?

- What has been the most challenging thing since our last meeting?

- What has been the most rewarding thing since our last meeting?

- Are there any resources that could assist you or our team with our projects/goals?

I meet every other week for a half-hour with each of my reports. I've found it invaluable and am a strong proponent.

I've also had one-on-one with managers who just wanted to shoot the breeze or complain about other people we worked with. And during one really bad stretch, I had regular one-on-one's with a manager who, after putting me on a PIP, would quiz me about random details of our applications in an effort to collect evidence for HR that I was unqualified for my job. So YMMV.
I must be one of the few that like the header/code separation. When dealing with plain text, I get a more concise view of what is going, as well as a view of what should be used by other modules.
logging for instance.

import logging
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
logger.addHandler(...)
I haven't tried the subject of this thread, but since I upgraded to Windows 10, the notes application has become ridiculously slow. Sometimes I have to wait, and wait, for it to respond to clicking or typing. I assume because it's doing some sort of network/AI enabled nonsense.
> Ask yourself if all publishers supported by advertising going away would truly be a good thing.

Yes. Along with the model of paying people to access information. We should get used to the model of paying people to produce information that we support, even information that we don't consume ourselves. An overtly propagandistic model, rather than the covert propaganda by advertisers/political actors model that we use now.

Seriously: how much of a burden would it be for 500 people to cover a single journalist's salary, and the medium through which they publish? Patreon is a working example; there just need to be better tools, models, and expectations other than conning 2% of internet browsers with deceptive ads as the only thing holding our democracy together.
link not working?
It's not about there being meaningful / weighty subject matter every week! Rather, by establishing a weekly cadence (which has value per se in creating and strengthening an interpersonal, human connection), it ensures that if/when there _is_ a momentous discussion, there is minimal friction involved, in having the conversation and in how that conversation goes.
Looks like this mainly works best for FireFox
I thought votes did the front page?
It's important to remember that Alice is a perfect random number generator. She certainly isn't going limit her numbers to what can be comfortably written on the paper for instance.

Which is fun because while there are hundreds of puzzles that require people to be able memorize perfect hash functions on the fly or remember the state of a FSM 1000 states ago or be capable of implementing the necessary function required by the axiom of choice for a given situation...

this is the first puzzle I can think of that requires some one to be able to, with perfect randomness select two integers (-∞,∞)
Almost, the Overton window is often much wider than individual media companies use. However, your point actually supported my argument as the audience was clearly willing to accept outside the range of existing content.

In the reverse case everyone would ignore Corbyn as people do flat earthers. It's only because he exits within the audiences realm of acceptance that anyone is willing to pay attention.
You're dealing with the sweep of human history over centuries and there isn't really a clear data set to do stats on. So given that I think Pinker's approach is about as good as you can do. But none of it is 100% conclusive - it's more a bunch of fuzzy data pointing the same way.

You can get his argument in about 10 mins in his talks - here's one https://www.youtube.com/watch?v=sjT4HlNJNgI The book is much the same argument but with more data.

Taleb has an argument that purely doing stats on war deaths we could be in a quiet patch before carnage as usual. The arguments against this are qualitative stuff like the spread of democracy, the internet, cellphones, the global economy etc which Pinker deals with and Taleb kind of ignores.

As an aside https://www.theguardian.com/books/2018/feb/25/skin-in-the-ga... is quite funny on taleb/pinker if you like that kind of thing
Boy scouts orienteering merit badge stuff.
> But to claim "financial annihilation at the whim of a foreign government"?? That's just poor taste.

Then let's say "financial annihilation at the discretion of a foreign government"? I don't see how you can deny that the GDPR gives them that discretion, unconstrained by statute (though constrained by a judge's fuzzy standards of reasonableness).

You're saying that they will use that discretion reasonably. You're probably right; but why do they need it in the first place? Like, why is 20M EUR the right number here? Why not 10M or 40M?

Or are you sufficiently confident in your regulators' discretion that you don't think the numbers matter? That's great, but it's not the rule of law.

I think two classes of business will block the EU: those with business models fundamentally incompatible with the GDPR (like unroll.me, I suspect), and those with compatible models that consider their EU business too small to justify the risk. I feel no sadness for the former, but the latter seems to me like real damage. It could easily have been avoided with proportionate fines. Why do you think they didn't do that?
Europe Takes First Steps in Electrifying World’s Shipping Fleets