skysight-inc/HackerNews huggingface dataset:
I think the author may like to consider Vue.js + Vuex. In Vuex in particular the first argument of each mutation is the store state, which you can mutate how you wish and the framework takes care of the rest.
Try using ES destructoring and spread operators plus a library like Kea (https://kea.js.org) to provide a framework over Redux and most of these arguments become irrelevant.
I agree that there's web applications that aren't going to be feasible with a server-generated HTML stack. Anyone trying to build Spotify or Google Docs without Javascript driving the show is in for a bad time. But 90% of the "applications" I use (read: not blogs but your average SaaS app) don't require that level of complexity.
I've read people complain about not getting paid when a company asks you to do a test as the first step but there is no effort exerted by the employer. They want 4 hrs of your time but put 0 in of theirs so far. This thus allows the company to get tens or hundreds of candidates to spend that time when really only one will be selected.
It makes me wonder what it is that actually makes a framework "take off".

Clearly it is not ease of use nor cogency of the code one needs to write, nor even how well the developer can express their intent.

I sometimes suspect that all this churn and complexity in the latest frameworks is some kind of unintentional group-think that optimizes for job-security by making work much more difficult than it really needs to be.
I'm not familiar with Snap but I recently downloaded Instagram for the first time and, despite 99% of the content being "look at how cool I am!", I did find a regional news station (from Spain) that only posts 30 second clips of local news. It's akin to Great Big Story on YT, in the way that it gives you just enough info to see if you're interested (at which point you can look up more about whatever it is online).

I'd love to find more IG accounts like this but I'm not sure news clips via IG is actually a thing.
This is a misunderstanding. Adjust does not use google analytics. You are connecting unrelated things. The existence of a library, which actually is not a google analytics library, does not mean at all this app talks to google servers.

AFAIK Focus and Adjust make no connections to google. Check the source?
React isn't even a framework.
If you’re a startup, you should not use React (reflecting on “BSD and patents”)
It is not ad hominem at all. Please refresh your vocabulary. https://en.m.wikipedia.org/wiki/Ad_hominem
I'm dealing with this same issue now actually. The browser can also just wipe the data anytime if it feels it is running out of space.
Or there is Google's Polymer framework. In my opinion, Polymer is better than React and Vue. I could never bring myself to use React because of its liense terms.
<Imagine being persecuted in your life pbecause some ggggm whom you never knew

Well.. Everyone has someone who can be judged by current times.

I have no pictures to speak of; no writings; no videos; no future messages;

Just because its very time consuming to establish the past doesn't mean its not my family's past. Im not judged now because of it.

Really, can you name a better way to totally bore someone other than talking (for more than 4 munites) about one's family??

This wont be an issue, IMO
Trying it in the console just now I see javascript does it too

>"hey "+null
"hey null"

I wonder why the language designers thought that was a good idea?
True Skate for iPhone. I had a job that I hated and I played this game for fifteen minutes. It helped me relax.
Someone please help me understand the problems here. The repository includes two documents: 1) a proper BSD license, and 2) a patent license. While reading the latter, I see no mention of it affecting the former.

So my take on this is that it's BSD-licensed code. Period. The patent license is a "bonus" and not at all required by the BSD license, and doesn't affect the BSD license. Any other company offering BSD licensed code is free to withhold licensing their patents at all. So are we suggesting that the patent license is a bad idea? That it's revocability is a bad idea? Why does this matter when the software is licensed under a BSD license?
Webshop with the most amazing design ever
I don’t think Adjust is for Google ad campaigns actually. It is used for links we put in our emails or in Firefox desktop. Or for ads that we buy on Facebook. I don’t think there is any connection to google.
"George Soros is funding Antifa, BLM, neo-Nazis, the refugee crisis in EU".

Jesus Christ. 13 hours and this conspiracy drivel is still there in full black.
I guess HN's really jumped the shark.
2017 Australian constitutional crisis
They may do but how would they judge i For example if each team uses a different programming language.

I would imagine the tourney would fixate on a specific challenge to be done in a specific programming language. It's going to be a fizzbuzz experience.
There's really nothing to defend when you're that guilty. There is no "right" to pick or possess magic mushrooms, which he is admitting he did.
Like the 966k of JS on your homepage? ;)

There are several things to consider with download time:

- is this a website? why on earth do you need react or anything for a website?

- is this a single page web application? then to develop with a medium sized team and an increasing feature set its nice to pick a language and library/framework that enable that.

- do you really care about mobile users performance and bandwidth? then you need a native app

This is all unrelated to the article, which is merely an uninformed rant about someone who doesn't understand the point of immutability and its use within functional programming as opposed to shoe-horning it into imperative code.
> As frequently happen, the new elite was incompetent, and get corrupted fast. Consequently, Chomsky criticized them.

That doesn't just happen "frequently", it has happened in 100% of socialist countries after the "revolution". The "critics" then get silenced or killed, unless they happen to (ironically) be sitting in a comfortable chair in an imperialist capitalist country such as the USA, like Chomsky.

You'd think that with this track record, a smart guy like Chomsky would begin to see that there must be something fundamentally wrong with socialist political theory. Yet, he keeps retreating into the "No True Scotsman" fallacy whenever the next socialist experiment fails.
Angular is nothing like React. It's garbage in comparison.
Word. Such a stupid comparison.

You can add JIT too :) More JS, more time needed to reach decent runtime speed post JIT. React's first render is very slow.
Used Fedora before but switch to Ubuntu, as a developer, there are more tutorials using Ubuntu than other OS.
Given how many products are made by Foxcon and all the companies similar to them you would be better off saying "reason enough not to by an electronic product"
I'm really thankful for Yarn.

npm is the buggies software I had to deal with! Also God forbids if you want to fix a bug! First the code is absolute piece of poop and when you figure all this "smart" hacks they wrote and fix it you will have a hard time getting it merged. They close prs and force their way of doing things without caring about community feedback. Take for example that stupid error output or randomly running prepublish script for example

There are so many bad architectural decisions in npm that there is no way you can fix it by a few changes.
My changes tend to be small, slow but profound. I think a lot on most problems I solve. In other areas of development it would probably be 6-8 hours. I get nervous because the hard disk can break at any moment, but it's unlikely enough that repeating 6-8 hours worth of work every 2-3 years is an acceptable risk to me.
Do you always try to make your point by attacking people?
tl;dr of this blog post: "Oh no, I don't understand how immutable data structures work and need to rant about why it doesn't make sense!"

I don't want to be mean about it, but there's a lot of literature on functional programming and how mutable data complicates things as your states increase. The problem isn't how React forces you to write long code to get around immutability, the problem is the fact that you're trying to force your approach.

And no, this isn't because React is heavily opinionated -- it's because React's underlying philosophy is functional programming.
This is something I have yet to understand. From all I read about the patent situation in America it looks like they are totally worthless unless you are a multi million company. Is there actually no way of pursuing a giant if they infringe on your IP?
Same here, This all seems like a "My JS Lib is better than your JS Lib" fight. So let me say this, React is by far and away the best JS view library out there. I don't need MVC in my fucking view(Hey Ember), and I don't need a entire framework for my view(Hey Angular)..

ReactJS 4tw.
Not the author, but my opinion on the matter is that react already has too many abstractions and helpers, which just adds to the problem. React is difficult to grok on its own. Adding another framework to the tech stack just makes it worse if you don't already have a fluent understanding of the layers beneath. This is my experience with it, at least.
Top 5 Fascinating Books on Languages and Linguistics
Superheroes Bike Racing: Dino World
Experience realistic dino world with superheroes and their motor bikes in Superheroes Bike Racing: Dino World. Superheroes like bat hero, iron hero and spider hero perform stunt with exciting bike racing in dino world. Dino superheroes bike racing is wonderful 3D simulation game in gaming world.
I use stash all the time. That's not the problem. The worry is losing the whole repo because of hard disk failure.
Choose the tool which is suitable for you. When your web app grows to a certain scale, you will need "lots of code" to maintain state and prevent rendering.
>It's also a world where entrenched companies can feel free to use whatever technology they want from smaller competitors without fear of lawsuit, and use it to further entrench themselves

I agree, but software patents are arguably bad enough that doing away with them entirely is worth the collateral.

A legislative solution might exist to have the best of both worlds, but, in the absence of that, suppose there's a copyleft-analogue hacky way to undermine software patents indiscriminately without requiring an Act of Congress. (and that's not a sure thing at all, but suppose.) Wouldn't you press the button?
React to Angular – a beginner’s perspective
online virtual credit card #'s with specific values have pro's and con's for sure. we processes $millions of these for e-commerce: https://www.abine.com/maskme/features/cards/
#disclaimer i work at abine.
Sign up for the beta at https://www.mozilla.org/en-US/firefox/channel/ios/ - Firefox will get the same blocks lists as Focus pretty soon.
I'm sure Amazon has already filed an application for "Zero-click checkout". Something like "swipe over a product image in a 'V' pattern to checkout", etc.
I've tried to 'get' redux a couple of times and have reverted back to reflux each time because sanity is nice.
Google Drive can print your password protected PDF
A one-off event for a single-page-app which is likely to be used for more than a few minutes, and if performance of old mobile users matters then a native app is necessary, period.

If you're talking about a webpage then yes that would be awful.
That's the whole point of my comment. Email is less efficient so it will discourage unnecessary communication. Only the important information is divulged and the useless chatter forgotten.
"...definitely not the case." Citation needed, reasons required, etc. The patent license says nothing about terminating the BSD license. Neither refers to nor affects the other. Without a good legal argument, one must assume that the BSD license applies whether Facebook is being sued over a patent or not.
You have to hit the Erase button.
The fact that it's currently within the context of an event listener is probably the wrong way to think about it. The only sane and safe way to work with setState is to think of it as scheduling a change to be made at some point in the future, and that batching will occur if possible.

It's clear from the post that the author didn't learn how setState works, he's not aware of either batching or the callback form, which neatly address most issues related to setState.

I didn't pay much attention to the second half of the article, because I avoid heavy use of Redux anyway. Ultimately the author shouldn't have even been looking into Redux before understanding how React works, so presumably he's been misinformed somewhere along the way.
If I can I use Microsoft tools because that's what I'm experienced and more productive in. I know that say Java, Ruby, Python etc don't suck but I won't code as fast in them.
It's an atom addon called local-history. It seems there's a VS code addon of the same name with the same functionality.
The best I can offer is that MySQL sold nearly 10 years ago for 1B. Much like a commentor further up the thread you probably don't know anyone that pays for MySQL (despite knowing many who use it) but they had a surprisingly decent customer base and revenue - and also a large profitable BU under Oracle - so not a meaningless valuation.
How to Pickup girls on Omegle?
I think that just furthers my argument - mistakes get made all the time since we're all humans around here as far as I know. I honestly don't have any problem with people ( tradesmen or otherwise ) making mistakes as long as they own up to them and/or fix them. To say that "once a mistake has been made and a solution negotiated, we're now in a low-trust environment" flies in the face of "Always approach people with optimism".
Bacteria may rig their DNA to speed up evolution
Yep.

I've been working with React for years now, over several large projects. I still feel like I'm not used to it, and I still hate it. That's not normal.

We need to either figure out how to do this shit with mutable data structures, or we need a new language that's immutable by default.

ImmutableJS blows chunks. Yeah it "saves" code until you start doing the data transformation dance trying to figure out when and where to convert between plain JS objects and Immutable ones. Then you end up with some real ugly shit that'll trip up every new hire you walk through it (we use a higher order component that converts a component's Immutable props to regular objects, which incidentally is another import that like 800 unrelated files depend on...)

God help you if you don't use well commented code or Hungarian notation to differentiate between Immutable objects and regular ones. We all know how long good commenting practices last without thorough code reviews, and we all know how long those last in fast-moving environments, which is where React is most useful.

I guess a typed language would solve that. No, Flow and Typescript don't count.
Not the biggest JS fan but this is ill-informed and poorly written. Sounds about right for tech blog posts at least.
That's what people said about TV - it completely destroyed accountable print journalism with show business. Nothing new here
Discussion is rarely an alternative against intolerance either. That's the paradox of intolerance.

(https://en.m.wikipedia.org/wiki/Paradox_of_tolerance)

The notion that all speech is protected and all opinions can be listened to and met with other opinions is cute but unfortunately naive. I prefer non violent protest of course, but these are often violent people and if you deny them their platform there will undoubtedly be violence. It's an acceptable side effect, not a goal in itself.
Ask HN: What problems do you have when your landlord lives in a different state?
Not really. I'm really going with the community here and the recent community is huge.

Gevent works in production with celery and even newrelic works with pretty OK (not perfect)

When we are talking about production systems, I need the whole ecosystem to work. So I'd rather use vanilla Python with few libraries like gevent.
I find most developers quite nice. This is in UK and Australia, but from many ethnic backgrounds. Assholes are occasional but definitely the exception in my experience. They tend to be people that have many years service and have built up a moat to protect them and so they can get away with it. Although maybe not if the "victim" use anti-bullying laws to their advantage but it takes some balls.
That is not actually what I said. The only component we use for campaign tracking is Adjust which has nothing to do with google services. Adjust has gone through a very tough vetting process.
How Much It Will Cost to Develop POS System?
The argument here isn't really whether Google has the right to censor free speech or not. It clearly does, the First Amendment only applies to the government.

The real issue here is how much control two companies have over nearly all of the country's computing. These devices are locked down to the point where Apple or Google choose what you can and can't do with your device, and give the user few ways around it (At least Android allows sideloading apps). Free computing will soon be dead.

The internet isn't as bad, but is headed in the same direction. Information is being increasingly consolidated into CDNs. While you can still host a server yourself, I fear that soon that will be dis-incentivized: Just look at Google AMP. Not to mention the shaky status of Net Neutrality at the moment.

None of this is illegal of course, private companies are free to do what they wish. However, the way things are heading is depressing.
Well it's a good thing there are plenty of alternatives. React is big but it only does the view well (and half of state management -.-') it's not too hard to replace in a stack.

I salute its main author, Facebook and instagram for inventing the virtual DOM concept; it's fucking genius and helped us make better apps, faster.

but absolutely no need to use react now.
Do you have a small sample of gunicorn + flask + websockets + sqlalchemu config ? I've been exploring a little here and looking for something that works well.
You can also download the APK directly from the github repo or fdroid if you don’t want to use the play store.
Using polymer as a JS frontend framework wasted about a year of work at my friend's company. They eventually switched to react for one project and an in-house react replacement for the other.
What exactly does this mean to users of React? I've seen some dystopian scenarios but they feel really far-fetched.
Awesome, signed up - Thanks!
The name is a bit odd.

What is it called in German? Übermensch?
Did you say "immutable by default"?

fanfare, fireworks, etc

CLOJURESCRIPT!!

sorry I just get really excited when I can mention it ... I'll go now
React feels like a library written for a language that's not JavaScript. JavaScript defaults to mutability by default - there are no immutable primitives that you can easily use, and even in ES6 just maintaining immutability without deep cloning everything takes a lot of effort. In that respect React is heavily opinionated.
10 Global Warming Myths, Busted
Focus does not use Google Analytics. I dont understand how people came to that conclusion. Focus does not talk to any Google services at all.

There is no Google Analytics in Focus. Check the source code please to verify this.
It doesn't do diffs and it's no replacement for git, but complements it as one added layer of protection. It's kind of wasteful but my local-history is 100 mb big after some months. And you can tell it to auto purge anything older than X days. I would put 90 days as default instead of 30.
No in-app bookmarks, but you can use "add to home screen" to get a shortcut.
Has the complexity mostly come from React or from Node? I'm doing a small Node library from a similar but casual teaching perspective (all those manual middleware should be there by default IMO) so I'm quite interested in leaning your Node.js pain points.
did you find any stability issue with Fedora or is it just the availability of tutorials reason to switch to Ubuntu?
Judge Says Waymo Can Tell Jurors That Uber Withheld Evidence
While you can check seat pitch with seatguru, a lot of airlines don't allow you to choose seats at the time of booking, and some don't allow booking of extra-legroom economy seats at all. Others charge prohibitively expensive fees for booking the better seats, and sometimes the good seats just happen to be completely taken.

It's also worth noting that there's just not a lot of variety in seat pitch. It's not like I can book a flight with Long and Tall airlines!
What I meant was that everyone who values tolerance should defend it with the means they have available. A web host should deny hosting, an employer denies employment and a citizen denies use of public space for speaking hate and intolerance. What is necessary to deny this (whether it's enough to bring a vuvuzela) will vary.

Punching nazis won't convert them, so it's probably counter productive - but disturb their rally and there is a risk you'll be attacked. No need to throw the first punch, ever.
What you're describing is a recognizer, not a parser. A parser by definition produces some output other than a boolean 'yes, this is a syntactically correct HTML/JS input' (which is still more useful than what a tokenizer/scanner gives you, which is 'yes, this thing contains only HTML/JS tokens and here they are...splat')
> I've found that deeply nested structures make it more cumbersome to write reducers for.

Well, that's kind of his point isn't it? It's no more difficult to update a deeply nested regular Javascript object. But it is more difficult to update a deeply nested Redux data store.

> Having said all this, the approach commonly taken by React/Redux is certainly not a silver bullet for every problem domain, but then what is?

I'd argue that Redux is not just "not a silver bullet", it's an arrow head shoved into the barrel of a gun. You might kill something with it, doesn't make it any good.

I agree completely with the rest of your points though.
Open, extensible composition models [pdf]
You left out the definition of "Necessary Claims":

> > A "Necessary Claim" is a claim of a patent owned by Facebook that is
necessarily infringed by the Software standing alone.
React + Redux has plenty of great principles behind it: functional approach to front-end dev, understanding the importance of one way data flow, components, immutable data stores etc. Also the separation of data from UI that allows rendering abstractions that result in React Native. There's a lot of material a good engineer should understand, and it's well thought out in React/Redux.

If you are trying to put up a few web pages quickly, then the learning curve is steep and it's probably overkill.

However, for complex single page apps with complex data that involve a team, then the payoff is huge. Especially with TypeScript (or other). The reliability, testability and extensibility of our complex applications is amazing compared to our previous attempts over the years.
Yeah, I guess that was a false statement. You're right.
the availability of tutorials, it just saved my time when using ubuntu.
> Chomsky was not prepared to cede any points either.

That was patently clear from the thread. His followers also showed a complete lack of intellectual honesty, by trying to avoid any of the points made in the thread and instead trying to dismiss with paternalistic non-sequiturs such as "Why should Chomsky waste time shoring up your self-imposed ignorance?"

When a cult-like following forms, they do behave like a cult.
google is pretty bad at frontend frameworks from my experience :D Polymer is an experiment that should have stayed in that state.