skysight-inc/HackerNews huggingface dataset:
> A charitable explanation of Sara's tweet might be that, like with jQuery, it is becoming difficult to convince new developers that React may not be necessary for their next project.

That's fair.

> The other comparative downside of JQuery was that components started to rely on it as a shared library, which meant developers suddenly needed to do dependency management. That is (usually) a bad idea. React absolutely does have that problem as well - probably to an even worse degree than jQuery widgets ever did.

I totally agree with that, but I don't think you can use that as a knock against jQuery, react, or vue. I think developers, especially js developers with our love of pulling in external packages, have yet to find a great solution for dependency management.

> IMO Lodash went the right direction with this. A component or library can depend on Lodash, pull in just the functions that they use for a final build, and then nobody else in the entire dev toolchain needs to know or care. No risk of conflicting dependencies, build size stays low, etc...

I think lodash can work that way because most of its functions are small and self-contained. It's easy to just bundle in a few select functions when they functions are 100 lines max and don't need the rest of the library, but I don't think React or Vue could use a similar approach.

Who is going to want to use a dropdown component that has the entire React 15.3 lib bundled into it?
> This comes from a well-known and respected thought leader.

I don't disagree but will push back slightly on the appeal to authority. I think in JS land we're getting a little too carried away with celebrity developers (I often joke about "what would Dan Abramov say?" and it's only half-joke). I've been trying hard to focus on the ideas, without regard from who said it.
Seconding the other posters who mentioned that tor relays and Tor exit nodes are two very different things.

"Why you need balls of steel to run a Tor exit node":

https://lists.torproject.org/pipermail/tor-talk/2009-Septemb...

Given the low level of technical knowledge with a great deal of US law enforcement, increasing militarization, no knock warrants, etc... Please think twice before running an exit node from your house. Do it in Colo somewhere with a small, plucky ISP owned by a first and fourth amendment absolutist.
Cache timing attack on AES [pdf]
At least in SF, they protect the bike lanes sometimes - no right on red, at least, when there's a protected bike lane.

Re filtering, is that technically against the rules? It's a single lane at that point, but in CA it's legal to share the lane if there's room. Seems like a cyclist or motorbike has the right to lanesplit and move up.
I like to shit on jQuery like anybody else, but it did have its place in the world. It was totally abused by people, but that doesn't make jQuery bad per se, any more than PHP or JavaScript is bad. Yes, I avoided using those things as much as I could, and I much prefer other tools, but they are tools nonetheless. Bad programmers and nontechnical people posing as programmers can abuse well-loved and efficient tools, too. Have you ever seen code written by a noob embedded "engineer" who decided to write their weekend side project in Golang? It's as much a fucking disaster as any of the bad PHP or jQuery stuff out there.
If you walk into a store and buy something, does the owner not have a right to record relevant personal information as it pertains to the sale, such as when buying a car? This idea that those vendors ought to be required to delete records seems backwards — you aren’t required to interact with entities that do things you don’t like — unless it’s the government, no escaping that.

Public records are potentially more harmful than anything Facebook has. For example, I just shipped a 20 foot container of household goods to the US from France — that manifest, including my personal information is public record — I have to explicitly send a letter and request privacy for that shipment — and then remember to renew that request each year or else details of my entire shipment, including my address and contact information are available publicly. Thanks government. I can’t simply use another shipping company — it’s a government rule. When GDPR applies to governments, then I might become a fan, but as it is now, I am being “protected” from my Facebook likes or web history but what protections do I have from governments who traffic in my information. There is zero reason my shipment manifest needs to be known beyond Customs or the shipping company moving the goods, yet, here we are. Facebook never committed mass murder — but governments certainly have. Google Analytics data doesn’t have a realistic chance of causing harm — but someone with my address and a manifest of a shipment of expensive stuff results in a potential for real harm — that stuff is literally public record with absolutely no controls over who can buy that information.
I’ve thought about that recently the same way after I lost someone very important to me. I think the whole thing can be described by a 2-by-2 matrix, the axes being:

- pursuing life goals no/yes

- being happy no/yes

Some people just live their lifes and are simply happy, don’t pursue any goals at all. Then other people pursue goals without being happy. Of course being in the top quadrant is optimal, but many people decide to optimize for one axis only. I realized that I’m in the bottom left...
( I didn't downvote the parent )

> The problem being solved here is largely akin to a problem I had to solve 15+ years ago with Vanilla JS.

Of course these problems (multiple!) can be fixed with vanilla js. They all have been, separately, each in their own libraries and stackoverflow posts and custom vanilla code on every project in the past couple decades. The linked page does an excellent job of pointing out the libraries and SO posts it's utilizing to resolve these issues.

The purpose of the linked component is to pull in all these vanilla js fixes and tweaks at once, in a way they'll all work together. A drop-in component to utilize years worth of tweaks and fixes, so you don't have to worry about this crap anymore. Doesn't that kind of cover your complaint? We shouldn't have to deal with it anymore. Drop this in, and worry about something more interesting.

> I think it's time we all took a step back and ask, "what are we doing? Is this the right model? Is there a better way?"

I picked React long before most of my colleagues did, and I continue to feel it's one of the most useful libraries in quite some time for browser-based javascript development. Mostly because it allows for something like this very library - drop-in and move on to something better.

I was also a huge fan of jquery - not because I couldn't do what jquery was doing for me, but because I was tired of doing it repeatedly for different browsers and for each and every project. Same goes with prototype.js when it first came out, though I hated how it modified the underlying objects.

If I'm understanding your post correctly, I feel like these are all attempts to resolve the issues you're speaking toward. To allow us to stop dealing with cross-browser, cross-device, 2-cans and a string connection issues that, ideally, our browsers should be handling for us.

At least we don't have to rely on flash to replace missing browser functionality anymore (I say that as someone who absolutely loved ActionScript3).
The price as stated seems lowball to me.
Intuitively, if you're in a field, you get pulled in a different direction and/or amount depending where you are[1]. Except the meaning of the vector "pulling" on you might not be displacement of position. At a disco, for instance, you could think of the light creating a field that pulls your hair through the space of colors.

[1]Unless it's a constant field, in which case you'll feel the same pull no matter where you go.
Even in the worst case scenario you have the option of going out of business and filing for bankrupcy if you are incorporated in the EU and do get hit by a 20M fine. The EU can certainly try to take that amount from the company, but if it's a Ltd. or Gmbh. or equivalent its liability is limited by its shares.

Or you can incorporate outside of the EU (Guernsey or soon enough the UK perhaps?) and ignore the GDPR. At which point we'll just wait and see if the EU has any teeth outside its jurisdiction and how it will enforce this law.
Sometimes I wonder if language plays a part in perceived happiness as well. I usually hear things described in extremes such as "Wow, that's so shit" or "Yeah, it was pretty amazing" but when everything is only one or the other, surely it must start to alter how you view the world.

If you're saying something was "fantastic" but really it was average, wouldn't that disconnect make you feel like you /should/ be happier than you really are? Maybe you'd wonder if there's something wrong with you when really it's just an inaccuracy. I think it makes sense that social media culture at the moment would cultivate that since you want everything to seem way better than it really is. Not that humans don't have a tendency to do this stuff regardless.

It's something I think about from time to time and this post reminded me of it.
>But the way to correct the situation isn't to write a rebuttal here. The world only notices better solutions when they exist, so creating them is step one.

Thanks, but I've clearly not made my point! I am saying that we don't need to each run off and create more solutions as that's how we got here in the first place. That is, we can't solve the problem of too many "solutions" by creating more solutions.

So, I think step one is to step back, all take a breath (devs, browser-makers, etc.) and look at creating a reasonable, cohesive platform for proper Web-development, free of the legacy baggage of a static document-based foundation with reams of duct tape on top.
What? I spent some time reading AP spec then analyzing what Mastodon is sending and had a server federated in a couple of hours (also subscribed to a swarm of fediverse scanning bots
). The protocol is super simple. JSON with HTTP signatures.
Aaand this is the weakness of centralizing everything in Github. Inevitable that it gets acquired by something with other motives (or is forced to exploit its central position in some way because business). The fact it may be Microsoft that seals the deal is just a cherry on top.

We need proper decentralization.

There could still be aggregators for browsing projects and bookmarking but the structural weakness of keeping all the eggs in one basket will never go away. No matter how much wishful thinking you throw at it.
My first foray into React was done using Typesctipt. The functional nature of React plays very very with the static typing of TypeScript.
I much prefer a pixelated or blurry preview image first and then the real image instead of waiting 20 years for images to load staring at a blank page. i notice the perceived speed difference on websites that do this and those that don't. Medium does it well and this react component image approach is similar. And once it is loaded, it is an <img />
Well the market has responded and it seems your pain points just don't matter to the regular person. You're seriously underestimating the number 1 and number 2 thing people care about.. convenience.

Who wants to own something and have another thing you have to worry about and take everywhere with you? When you can just join an app, have no up front cost and dump it on the street for the next person? That factor of convenience beats the shit out of ownership.

Regarding handling - do you think someone with no experience riding a bike can 'effortlessly ride 10 miles on convoluted paths without touching the handlebars' or did it take you years of riding experience to get that good? So if you spent that same amount of time riding an e-scooter do you think you'd have handling down to an art as well? I think you would, and how it handles around corners wouldn't even be a consideration.

However theres a halo effect at play here which is good news: more people who are using these services who have never used an e-bike or boosted board before after seeing the benefits are now more likely to owning them. Or maybe even just buying their own Xiamoi E-scooter.
So you admit that GDPR is really just a trade barrier.
100% to the guy that said LinkedIn wasn’t a great product to begin with. X10
I ride both ebikes and scooters, and while the ebikes are a better way to get somewhere fast (and I think, overall, safer) the scooters are generally a much more pleasant ride - you're standing up, you just kind of surf along, and you don't have a 30lb bike to deal with... they're magic-carpet-like.

The exercise benefits of both are... questionable. Even just cycling as a commuter on a regular bike isn't very intense exercise, and on an ebike it just seems like you're pretending to pedal. I can't imagine it has much health benefit aside from being better than sitting in a car.
The failure case is worse than that: I may not have a connection by that time.

Even if I do have a connection and it all succeeds, if the image is not there when I scroll to it, the lazy loader has failed in its job. And that’s pretty much unavoidable in general content—people don’t always scroll smoothly through a page; I may jump down a page at a time, or skim through some headings looking at illustrations that haven’t loaded yet because they only figured I might be interested in them a bit under half a second ago, and latency is half a second plus probably another couple of tenths of a second of annoying fade-in transition. The possibilities are endless.

Come live in Australia for a bit and deliberately use sites from the US with scroll-based lazy-loading: I predict you will rapidly acquire a healthy dislike for the technique! :-)
I've had two Nexus 9 tablets. One of them had a bright horizontal light filtering out from the border of the screen and was incredibly unreliable.

The other Nexus 9 never skipped a beat, but it was the 16GB version. It was good enough that I skipped over getting the somewhat pricey Pixel C because it was good enough. I regret that.
LinkedIn won’t let you cancel your account if you’ve paid a year subscription. The option simply doesn’t exist and their support is oblivious
And plenty of people insist that Tor relays are totally safe to run. They are not. I NEVER ran an exit node from my home IP, only relays, and my IP was still blacklisted from various sites due to this behavior.

I still contribute to Tor via VPS rentals and such, but relays are not no-risk alternatives to exit nodes. Period.
> Who is going to want to use a dropdown component that has the entire React 15.3 lib bundled into it?

And who would want a dropdown component that has its own little rendering framework inside when you are using React for that?
With the new low cost Ipad, Apple will absolutely kill any and all competition. I am a graduate student, bought the new ipad with 290$ + 90$ pencil from my university book store. My life has totally changed. All my notes, and research now happens in the ipad. The writing is so smooth it feels like I have been doing it all along, and I won't ever need to go back to pen and paper. It is a mind blowing combination of hardware and software. And with the cost down, now within many people's reach who never thought of owning one.
This sort of stuff actually does matter. There are teens and young adults watching Twitch from all over the country, and in many places being gay is not accepted. When I was a teen, companies for the most part delicately avoided homosexuality. Those rare moments where I did get a glimpse of acceptance were huge. I remember watching an episode of Star Trek: The Next Generation that highlighted discrimination towards gay people and encouraged empathy[1], and it left me bawling. I was 15 at the time, having grown up with a family that strongly disliked gay people. It very much affected me seeing a show that we all liked reach out a friendly hand towards people like me.

Anyway, point is: this stuff is important. Good for Twitch.

1. The Outcast is the name of the ep, if you’re curious.
This is also, sadly, why the individual V4 /24 netblock of cheap VPS providers have terrible IP space reputations in most aggregated abuse systems.
Yeah it probably is.

I wasn’t commenting on the dark pattern though. I was surprised to hear that “common users” don’t just auto dismiss pop ups.
https://arxiv.org/abs/1805.12028 is the arxiv link.
What I want to know is why new exercise equipment is running Android 2.2 Froyo.

I had to reboot a brand new stair climber with an Android interface today. Software kept crashing whenever I tried to select an exercise profile.
Niche enterprise UIs never even got the benefit of one designed, let alone a team. The devs could be handed the most amazing and the result would still look “undesigned”.

Bootstrap provides cookie cutter design solutions, but it is well known that you’ll benefit from a designer if you need something more custom (and your UI will look bad if you don’t invest much in its design).
But iPad has a much longer replacement cycle. There are roughly 350M iPad still in use , and as a device usage number it is still growing. So I don't think tablet is dead, it is being used in places and usage we never thought before.
I think it a good idea not to pursue happiness at all. Go for satisfaction instead.
Images load in the background, so the other content will be available before the images are all finished loading.

As a rule, I’d much rather see nothing or a solid colour than a pixelated or blurred preview of the image; I find it and the transition surprisingly disconcerting. I mentioned this at https://news.ycombinator.com/item?id=16516126#16558042 and have heard others agree with me.
> I thought tablets killed the PC market.

Per IDC numbers over 250 million PCs were shipped in 2017 versus about 170 million tablets, which includes iPads but may not include the super cheap Ali Express models.

That was was decline of 3% and 8% respectively.
It irks me that Javascript didn't just adopt the best parts of JQuery.
I would guess if these things stick around the collectors would be better served to have the chargers inside a van so they could continually collect and drop off.
It was around the time I started playing with fragments that I realized that the native Java android toolkit was a giant pile of crap.

Android, I think, is not even supposed to be a well-engineered system. It is not central to its purpose. Its purpose is to eat marketshare, collect data, and ensure there is an outlet for ads. It only has to work well enough to do those things :)

I get the sense that it was all slapped together as quickly as possible.
Or US with DMCA requests.
Ok, so Brad is already making sweeping declarations about React, yet less than a month ago he specifically posted about his struggle to learn it: http://bradfrost.com/blog/post/my-struggle-to-learn-react/ cool...
11 JavaScript utility libraries you should know in 2018
Thanks for the comment! Yes, I saw golangci-linter. As the readme of the tool states, it's a linter aggregator, similar to gometalinter, with better performance characteristics. Both golangci-linter and gometalinter incorporate existing tools for static analysis and provide a facade on top.

Revive is a project, which I started about 9 months ago but recently found time to put some finishing touches and open source it. It's not a linter aggregator; it's a framework which provides tools for reducing the friction for development of custom rules for static analysis of your applications.

And no, the individual rules in revive do not parse the files. There's an abstraction on a higher level which parses the files ones. Each rule may request type information for the package which is then cached and reused across the invocations as well. That's how revive manages to improve the performance of golint to this extent.
You have to wait for react to load and initialize on the client before an image can load.
I absolutely agree that rule by ideologue is terrible. I'm not sure I agree that universal suffrage democracy is a good method of preventing ideological theocracy. How many of those voters are under the spell of charismatic ideological propagandists?
Wasn't looking for web-based solutions but this one looks great. Better than Slate and README.io on some parameters.
$329 + $99 unless you're a student...

Question: can it do handwriting recognition?
Maybe you could create some sort or reusable digital tool that could be used to aggregate all the data for any given user? Perhaps it be could be called a "script" or "program"?
6.5" at what aspect ratio though?

6.5" 18:9 (2:1) aspect ratio phones have a _lot_ less area than a 7" 4:3 tablet.

For a reading surface this makes a big difference.
ASK HN:Any alternatives to Hystrix, OSS, eureka for microservices
questions to experts. for micro services architecture do you really need circuit beakers, hystrix,oss,eureka.. I am thinking can't you just do same with rabbit mq ?
what about kubernates routes ? confused any expert advice appreciated
Hidifferent.com is a website to share knowledge and learn about different cultures. I'm still working on it, :)

I've created some programming communities, for example:
https://hidifferent.com/clojure
https://hidifferent.com/rust
https://hidifferent.com/ocaml

It supports sub channels and anyone can create public or invite-only communities.
Google won’t renew its military AI contract
> ..started making half-hearted efforts to block European users (which isn't what EU wants..

Are we sure about that? GDPR seems like a gift to European startups who don’t like American competition. BlaBlah car in France got huge, incidentally right around the time the anti-Uber hysteria in France reaches a peak. The sale of Daily Motion to Yahoo was blocked by the French government under ridiculous national economic interest grounds. Europe loves tariffs and trade barriers and they have a history of “protecting” the public from competition. Try shipping spare parts for a child’s stroller to France — I was taxed at 50% — the tax even applying to the shipping fee, not just the parts. My dad made the mistake of sending kids clothes to my kids with the tags still on them — $100 worth of clothes cost me €65 in duties. When I ship small amounts of stuff to the US, I literally have never had to pay a tax. The EU loves protectionism. Farmers literally set fires and throw rocks when Spanish wine crosses into France and the authorities don’t prosecute a single person. Now that EU countries have a bunch of lotteries tickets with American tech companies, the governments are likely foaming at the mouth with excitement over fining American companies. And, sadly, many people in Europe actually think this is about privacy.
... and document every instance of processing, as well as the legal basis for processing for each use of each piece of data, and how you decided that legal basis (and if you used "legitimate interest," you need to do a LIA -- the template I use is several pages before you enter the information). Then you have to negotiate different DPA terms with a dozen clients whose privacy lawyers told them they each need a different term because we privacy professionals still have no idea what parts of this law mean. Oh, and then you have to handhold customers who think they know more about privacy law than you do because they read a 500-word rundown of the GDPR, because if you don't nicely convince them they're wrong, they'll make a complaint.

There's plenty more, but you get the idea. Anyone who says implementing this law is simple isn't implementing this law in a business of normal size and complication.
Well, yeah, that's the goal of everything commercial. Being well-engineered is a means, not an end.
And yet Google still believes VPN as a security boundary is an anti-pattern since the whole intranet is as weak as it's least secured node. https://cloud.google.com/beyondcorp/
> At higher price points you can get a chromebook

What if I actually want the Android OS and/or if I actually want a tablet rather than a laptop and the price is not the reason why?