skysight-inc/HackerNews huggingface dataset:
Which is why GDPR, although theoretically a good idea, is pretty much useless in practice. I'd like to see how many websites offer a reasonable consent widget that doesn't opt you in by default, keep nothing checking but a huge button to tick and accept, or the usual million-and-one checkboxes to untick, and many other cheap tricks that even the most vigilant of consumers will fall to at some point.

I use everything I can to prevent tracking on my machine. But for a general solution for everyone, I don't know what would be the answer, but I don't think it's GDPR. If it's to work, acts forbidden by GDPR need to be handled very fast, and without interaction from user nor legal mumbo jumbo. Without a zero-tolerance policy, the cheap tricks will only grow stronger.

Edit: So apparently if you criticize gov/bureaucrats on HN you get downvoted.
Edge was forked from Vyatta I believe which is now VyOS.

https://www.vyos.io/
You can track things anonymously in a way which complies with the GDPR without requiring consent.
Counters are not pii
Yeah, we have similar issues with each lane becoming a way to judge people. And as a student you feel that you’re failing if you’re not in the one considered “the good one” by parents. I don’t know if that can be avoided.
Everywhere has poor implementation. The UKs ICO gave companies an entire year of grace as they weren't ready for it themselves and have done very little in the way of fines since. They are as always underfunded and simply don't have the resources to enforce it but so far it is a law with no teeth due to no enforcement the EU over. Companies have managed to get away with the wrong defaults and dark patterns for acceptance for years at this point, setting a clear precadent for how this will work going forward.
How do you prove you were tricked into giving consent to tracking?
Yes, exactly.

I hoped that he would repeat the experiment with a tricky one, like the horrendous forms served by Quantcast. In those, if you click "Reject all" nothing happens! How is that even allowed boggles my mind.
I feel that explains how the US found itself in this mess.
Yes, these laws can get abused very quickly if they don't fit the narrative of the ruling parties in Europe. However, how are you going to make sure what is hate-speech and what is not? Like the first example - when is supporting Palestine activists normal and when does it border on supporting terrorism? And when is boycotting Israel OK and when is is antisemitism? Hard to say and that is why these laws are only effective if you have an authority which can really determine this. Also, what is so left-wing about supporting Palestine? In many Central European countries far-right activists are also supporting Palestine because they hate Israel. And their messages are not left-wing. Also, don't forget, that left wing and far left can be as dangerous and filthy as far right.
In short - I don't think these laws are effective unless the law lists specifically all the situation when it applies, otherwise it can be applied to whatever situation based on who is applying the law.
And (much) lower deployment costs, lower staffing costs, and lower development costs... In my experience anyway.
All that's required is for the regulators to start holding companies using these dark patterns to account. These things aren't GDPR compliant by any reasonable interpretation, and these companies are basically trying their luck to see what they can get away with. If fines start coming to them they'll change their tune pretty quick.
Ultra X Prime Testosterone {Totaly Free Today}Visit Here Now
This male improvement supplement isn't accessible at any neighborhood store. The buyer can profit the enhancement just by visiting the official site of Ultra X Prime. By tapping on the connections or pictures gave in this article you will be taken to the official website page of this male improvement supplement. You are simply required to enter every one of your subtleties and ensure that you are turning into a lifetime individual from Ultra X Prime. The shopper should fill a little structure so the item is conveyed at the correct location. Additionally, there are sure limits and offers with the goal that you can buy at less expensive rates.

http://wintersupplement.com/ultra-x-prime-testosterone/

https://youtu.be/YgX6zf5bQfs

https://sites.google.com/site/ultraxprimetestosterone/

https://givebutter.com/ultra-x-prime-testosterone

https://form.jotform.com/UltraXPrimeTestosterone/ultra-x-prime-testosterone

https://publons.com/researcher/3756354/ultra-x-prime-testosterone-get-a-free-trial-bottle/

https://www.justgiving.com/fundraising/ultra-x-prime-testosterone

https://twitter.com/x_testosterone/status/1280388877639798791

https://canvas.pbsteacherline.org/eportfolios/2293/Home/Ultra_X_Prime_Testosterone__Pills_Price_Side_Effects_Where_to_Buy

https://mndepted.instructure.com/eportfolios/333/Home/Ultra_X_Prime_Testosterone__Update_2020_Free_Trial_Side_Effects_Where_to_Buy

https://parkbench.com/event/ultra-x-prime-testosterone-pills-price-free-trial-ingredients

https://www.toevolution.com/blog/view/568880/ultra-x-prime-testosterone-pills-price-free-trial-ingredients-benefits
For completeness: C++ eventually introduced a feature to allow something analogous to type-checking for template metaprogramming, called concepts - https://en.wikipedia.org/wiki/Concepts_(C%2B%2B)
Most of the major U.S. tech companies that handle user data provide transparency reports that include aggregate statistics on the number of user information requests they receive and respond to, per-country:

- https://transparencyreport.google.com/user-data/overview

- https://transparency.facebook.com/government-data-requests

- https://transparency.twitter.com/en/information-requests.htm...
Covid-19 Resource Page
Obviously a marketing piece, but a ton of work went into it, so I'm sure HN will be kind ;) In any case, this is a very awesome build!
I recall the dual socket (everything was single core at the time) Xeon being particularly unimpressive.

In fact it was somewhat of a step backwards from the better thermals/power efficiency of a dual socket, 1.13 to 1.4 GHz / 512KB cache Tualatin pentium 3.
More a problem of enforcement than the legislation IMO.
It wouldn't take many cases to be properly litigated before publishers would understand this is a law that is to be obeyed like any other.
We should have GDPR settings in the browser.
The article says mobile users are more likely to engage with the banner. Rightly so, cause it takes up precious screen real estate. What are some ways I can protect myself more when browsing the web through my phone?
I think those are just designed to show some attempt at compliance; muddying the waters of any future regulatory action. Perhaps because their business model is unsustainable without pervasive tracking.
An interesting paper here on the influence of deliberate dark patterns in these consent boxes.

https://arxiv.org/pdf/2001.02479.pdf
Still, many web sites make it hard for their users to opt out tracking.
> "Refactoring" normally refers to changing code's implementation without affecting its external behavior.

To verify this invariance, you have to test it. Specifically, and that means new tests.
> "What's the return on investment on writing tests?" doesn't get asked enough

I consider tests to be highest return on investment for velocity.

The smaller the change you are making, the more likely your tests will assist you in delivering faster software.

Sample sizing is probably biasing me here, but all of our more legacy code bases have higher costs for feature delivery to the point we have begun implementing logic at the API level (instead of the monolith) just to able to minimize the overall cost. The code bases that get features faster are more modern React code bases that have tests while the legacy code bases are Java or Scala with close to 3% code coverage.
It's a bit like Warren Buffet complaining that he has a lower effective tax rate than his secretary, because long-term effective capital gains taxes are too low: He thinks it's wrong, but he still takes advantage of it. You can say, "These rules are unfair, they should be changed" while still playing the rules of the game the way they're written.

That said, there does seem to be something that smacks of hypocrisy in the case of the Ayn Rand case, more than in the Warren Buffet case. I think in particular, it's the idea that society would somehow be better without such safety nets: If you're using the safety nets, that's kind of proof that they're a good thing, isn't it?
GDPR opt-in questions train people to accept forms without reading or thinking. I think this will be dangerous.

And I'm really irritated that I can't access local news sites in America because they aren't compliant -- so they blanket ban European access. That's deeply problematic.
How fast can those FPGAs be clocked? Is it better to have a free but small run of 68k ASICs which might have similar performance, or the potential to run a soft core on off-the-shelf FPGAs, at much higher cost per unit, but with the ability to rapidly iterate on the design?
The article says about half the population did not grow up there.
What GamerGate should have taught us about the 'alt-right' (2016)
If the reason for the Visa in the first place is to allow students to attend classes, and there are no classes to attend, what is the problem with this?

Seems if a University has no in person classes, most all students will stay home, avoid high priced dorms, dining plans, etc., and campus will be empty anyway.
How cycnical - an article further down (Two young scientists built a $250M business using yeast to clean up wastewater) links to Forbes.com that indeed allows me to set my tracking preferences.However, anything other than 'accept' will result in a message stating 'we are processing the request <snip> this may take up to a few minutes'.
So they can set hundreds (yeah - that is right, I have seen pages tell me they wanted 500+ cookies to set, some of them to last 20 years) of cookies in a second or so, but will take minutes of me waiting for the page to show while they 'process my preferences'?!?
> I like to think tests are a way to implement twice and hope you got it right at least once.

This to me is the biggest thing that makes writing good tests a "grind". For a simple, well-defined function, you can toss up a bunch of inputs and outputs and feel satisfied that all the corner cases work. For any moderately complex behavior, however, so far the only effective way I've found to test the behavior is to effectively duplicate the logic a second time in the testing code, and check to see that I got the same result; which is pretty discouraging when you're doing it.

It's certainly nice once it's done, though, to be able to make a change, re-run your test suite, and have a pretty reasonable confidence that nothing broke.
I know of ZoneMinder but I haven't used it myself.
I signed up for a new account on a fitness website yesterday. They track health and food and diet you enter. anyway, during the sign up they had a opt out, I chose to do just that, however the opt out process then took over the screen with a modal window, which gave a loading bar and took about thirty seconds to complete... But guess what... There was a big CANCEL button. I couldn't perform any action during sign up and opt out.

This was one of the worst dark patterns I've seen.
PS. The app was MyFitnessPal which i registered on recommendation but that felt so shady.
> so far no-one has seen any consequences for doing do.

This is precisely the problem with the GDPR to date.

Last August the ICO (British regulatory body) stated that you can't run Analytics such as Google Analytics without a GDPR standard of consent. They've yet to enforce this despite tens of thousands of non-compliant websites.
The Achaemenid empire is known for having assimilated conquered cities into itself without having destroyed their existing cultural and religious systems.

I'm just theorizing here, but it seems to me that conscription of local military units into the empire's vast army would follow a similar tack, whereby new soldiers are not stripped of their existing identity in the process of becoming Persian soldiers. In light of such an attitude, a usable but unusual shield or weapon belonging to a conscript would not necessarily be worth replacing.
Its about helping organization utilize their data - nothing more, nothing less. Palantir does not own the data. They do not fuse some secret magic data source with other secret magic data sources. They provide tooling and platforms to allow companies to make sense of their data.

Look at https://www.palantir.com/palantir-gotham/platform-features/ for instance. It lets you draw connections between data, it allows you to spin up graphs to look at relationships, or plot things on a map, or perhaps make a nice web-based pivot table. But it is not some draconian evil thing, where moustache twirling villains sit around, finding new ways to pry into your personal data. Nor are they some scary shadow government-corp that seeks to entrench itself in the military-industrial complex in order to control things from within. It's tooling, its refinements on data, and its your typical software as a service company. The value proposition is giant players are good at having lots of data, but bad at using it, or finding insights, or visualizing it, or whatever - so they offer a one-size-fits-all set of tools and solutions.

I am very tired of the misconceptions around them because of their cool name. Some of the most intelligent, humble, and hardworking people I know work there. Their mission is misunderstood.
The benefit of testing is confidence that things are working. There are side benefits, like acting as documentation and examples, but they should not be the focus.

Writing tests (or deleting them, refactoring them, etc.) should always involve a cost/benefit calculation, even if it's a rough mental estimate that's not written down. In particular, that requires answering "How much effort will this test take me to write/debug?", "How much extra confidence will having this test give me?", "What level of confidence do I feel comfortable with?" and "Could I achieve higher confidence spending this effort on something else?".

This doesn't need much effort. For example, we might think "This array indexing took me a few attempts to get right; it could result in misleading reports, so I'd better throw a few edge cases at it to make sure I understand it correctly.". On the other hand we might think "This class doesn't have any unit tests, but there's already a bunch of validation on the results; it only affects the page layout, and it'll be obvious if something's wrong, so I'll leave it for now and put some extra checks on the gnarly payment system."

This approach makes sense regardless of the situation. In your startup example, it might make a lot of sense to write some tests that, for example, spider our site for broken links; or look for certain strings on certain pages. Things which are quick to write (they could even be shell scripts), but give us prior warning that our demo will go wrong. It would make less sense to write a pile of unit tests for the internals of some boilerplate piece of the system.

Code coverage, dogma, etc. should not be the deciding factors for what to work on.
Beautiful matplotlib cheat sheets have just been released
> if Apple-level-performance CPUs were available to the mass market Intel would be in a world of hurt

Amazon are betting on this on the server side. They've developed a number of ARM-powered EC2 instance types: A1, M6g, C6g, and R6g.

They haven't yet made a burstable ARM instance type.
I think we can check it by comparing large reactors with nuclear powered submarine or warship
How to UseCallback in React
I try to make sure to always decline. If there's no easy way for me to do that I leave the site.
Unifi video was markeded to the smb space not home users. I know of zero smb's using nest or ring for their business. That is a consumer product group.
> Anyone that isn't able to write modular code using the language features is going to write network spaghetti code,

Languages (libraries) should support this more because people are doing it. I don't want to be bothered by this complexity etc for most of the project; I will architect it properly but the language features should help me in this case.

Some new languages/envs are exploring this, like [0] and Erlang ofcourse is an example of naturally working (or having to work) like that.

In many other environments we work it's mostly annoying; very possible but a chore instead of the language/environment helping me. We roll out quite large deployments anyway; given the choice I rather would see a nicely architected monolith.

[0] https://www.unisonweb.org/
Coronavirus: Spanish study casts doubt on herd immunity feasibility
It's not personal data, so it's not under the scope of GDPR.
Is enough of the PDK open now to allow for actual hacking on devices? I have a rather simple analog chip I'd love to make for my own personal uses (I'd love a really long modern bucket brigade device to build gritty analog delay lines for synth hacking)...
The sheer amount of work ! Well done and beautiful!
Photographic reduction. The masks are much larger than the final chips. https://commons.wikimedia.org/wiki/File:Semiconductor_photom... (Actually AIUI in EUV photolithography you can't use transparent masks, but must use a kind of mirror with the pattern etched onto it.)
I honestly don't trust governments/bureaucrats to be able to come up with a solution for this issue. This is one of those problems that evolves very quickly, and the solution probably needs to be done by a private company or by each person individually.
GooglePlay Deleted an App for Including “Covid19” in Description
Team improvement techniques
In this context, I’ve enjoyed a series of papers on CRTDs and Operational Transformation. The differences and similarities. The similarities might be greater than most are aware, and the differences more specific. This is the latest paper: https://arxiv.org/pdf/1905.01518.pdf

Real Differences between OT and CRDT under a General Transformation Framework for Consistency Maintenance in Co-Editors – Proceedings of the ACM on Human-Computer Interaction 2020 – Chengzheng Sun, David Sun, Agustina Ng, Weiwei Cai, Bryden Cho

It’s an evolutionary series, here’s the rest I believe: https://arxiv.org/search/cs?query=Sun%2C+Chengzheng&searchty...
I don't know. Is this a rhetorical question?

Lots of people on the internet like to talk about problems and not give any solutions. I like to focus on the solutions and leave the evangelism and griping to others.
I was quite pleased that the cookie banner example was blocked by uBlock. As it should be.
Does that drive the point home or undermine it?
Average gamer doesn’t need and cant afford that stuff. Some have just got used to having every bell and whistle. Average gamer is playing fortnite which works perfectly nicely on an A12Z. I tried it. Plugged my monitor into my iPad Pro and paired an Xbox controller with it and got a pleasant surprise.

The key is consistent performance and that is something they can manage with full control over API and silicon end to end. They are already doing this well on cores that are two generations old. I expect to see a good compromise on performance and power which is what we need for general purpose computing.

To be clear I have actually canned my gaming pc recently which was a ryzen 3700x and GTX 1660. I haven’t missed it, the big titles or the pain in the arse getting it stable and built to start with.
Are you defining unit tests are per class tests? This is the biggest mistake.

You should be testing a unit of behaviour, like a business rule or an effect to be expected. If this involves multiple objects collaborating then so be it. But they should not cross architectural boundaries like http calls, or database calls. If you can only make public api classes accessible, and make all helper classes inaccessible to users. That also forces you test things from only a public api standpoint.

Tests that just check an object calls another object, but exhibits no desired behaviour in its self are pointless, and just couple everything to the implementation. I.e Certain methods, are called in a certain order with specific parameters. When you do that, you make it really hard to change things(just design changes, not desired behaviour changes) without breaking every test.
I mean this looks like the author is just trying to find a justification to not write unit tests because he doesn't like it.

I pick the last sentence "If you like writing tests and are very good at it, you may continue to do so."
This basically means, well "I don't like it, I'm not very good at it so I won't do it".

What I want to answer to that is that if you are not good at it, spend time to get better. Everyone can learn what is a unit test in 5 mins, writing good tests and good testable code takes years. Do tests get deprecated and useless, are they hard to maintain? Yes that's right, this happens. So don't aim for any coverage percentage, if you aim for 80% coverage but the last 30% are a pain to write, a pain to maintain and don't bring a lot a value then don't write them. Focus on the rest, make sure the core functionalities are well covered.
I am to used to 0-indexing to judge. If it is not clear already - I am not going to participate in who is better. My thread is

>>>> a string will always be:

s:sub(1, #s)

>>> In a language that used the half-open interval convention we would end up with:

s:sub(0, #s)

>> You would end up with:

s:sub(0, #s - 1)

> That would be strange, in Ruby

s[0, s.length]

Your argument against 0-index is just plain wrong. No one creates such API. It would be to awkward - either #s should be `length + 1` or `sub` should expect `length + 1`.

----

>>>> Once you get used to it, ... you don't need math when grabbing a range.

I assure you once you get used to 0-indexing there is no need for math when grabbing a range

s[0..s.length] # that is identity through range in ruby

----

>>>>> 1-index kept throwing me off though

>>>> it does help prevent a whole bunch of off by one errors

You claim superiority, it is not. I can't remember such errors in my life. It may be easier to describe to children but I doubt it. My first encounter with 0-indexing was with ruler - "why it starts with 0?" - pre-school. I can claim 0-index is natural. I would not.

There is no better model just "happy accidents".
Assuming for a moment that the test websites didn't give a specific reason to trust them more or less than any other website operator. This means that if your website has significantly more than those 9% consent, you're either perceived as very trustworthy, or your GDPR banner is confusing (or, less charitably, deceiving) users.

Would be interesting to see how the consent rates for big offenders like techcrunch, newspapers etc are. IIRC there were specific studies about which brands are trusted by consumers, and Comcast et al. didn't fare all that well in those.
The real question is: is the other 91% not being tracked?
> Big eCommerce sites will test and optimize every pixel and if something doesn't work, they'll replace it with something better.

Define "better".

A carousel might cause some users to buy more, but others to get annoyed and frustrated.
Unpatched lodash vulnerability from July 1