skysight-inc/HackerNews huggingface dataset:
Well, the `mapDispatch` example can certainly be simplified. `connect` supports an "object shorthand" - just pass an object full of action creators as the second argument, and they'll all be bound up and passed in as props. So, your `mapDispatch` example can just be:

const actions = {onTodoClick : toggleTodo};

export default connect(mapState, actions)(ChooseFontLevel1);

Other than that... there's 1 import line for `connect`, 1 function call to `connect`, and the `mapState` function.

Is that truly too much to write? Also, how does that qualify as "entirely restructuring your code"? Your component is still the same - it's getting data as props. It's just now getting them from a component that was generated by `connect`.

The alternative is to write the store subscription code yourself, by hand, in every component that needs to access the store. I've got some slides at https://blog.isquaredsoftware.com/presentations/workshops/re... that show what that would look like, and THAT would truly become tedious and painful.

The point of `connect` is to abstract out the process of subscribing to the store, extracting the data your component needs, and only re-rendering your real component when that data changes.

As for the naming of `mapState`: the word "state", in general, means "data that represents what's going on in my application". So, there's the generic aspect of "state", there's "state that is being stored in my React component", and there's "state that is being kept inside my Redux store". Those are all valid uses of the word "state" (and especially given that the Redux core is entirely independent of React).

The term "action" comes from its original design as an implementation of the Flux architecture (which is part of my point of people not being familiar with where it came from). "Reducers" comes from the `someArray.reduce()` method.

(Also, note that in both of your examples, the constructor isn't actually needed because you're not doing anything meaningful in there, and your `mapState` example isn't making use of the `ownProps` argument and therefore shouldn't declare it for performance reasons.)
Am I missing something or is your link making the exact opposite point that you made?
What is Beamr and how can I use it?
What would the process look like for authenticating individuals that wish to work for your company? Or maybe more precisely, what would meet the burden of proof for any reasonable regulation around such a thing?

This would just drive up the value of stolen identities and make illegal immigrants even more indentured to organized criminals that supply them with such.
Often. But software is what software does, and a CPU that only worked well on "efficient" code will always fail when compared with one that runs the junk faster than the competition.

Also, to be fair: sometimes a DRAM fetch is just inherent in the problem. Big RAM-resident databases are all about DRAM latency because while sure, it's a lot slower than L1 cache, it's still faster than flash. I mean, memcached is a giant monument in praise of the pipeline stall, and it's hugely successful.
Seeing the same, thanks. Looks like updown.io is having an issue with TLS. It also lives here if you wanted to take a look: https://updown.io/fj8q
"Holds paint well" is completely wrong.....that shit soaks up about a gallon per 100 square ft!

/s
> There is no way for any toolkit that's doing its rendering in WebAssembly to match font rendering with your operating system.

Sure there is - put the text in the DOM.

WebAssembly is just a runtime, it has nothing to do with whether you display your stuff in Canvas or via the DOM.

If you were writing an app in Javascript, you wouldn't bundle a text engine into it and then bypass the DOM for all of your rendering. Why is WebAssembly different?
Often overlooked glial cell is key to learning and memory
Don't worry, people will simply start using Qt for WebAssembly with Electron to fix that issue.
Users are almost certainly flagging it for being pure politics, which is off topic.
No thanks. Every time they add something, they’re making it harder for some of us to digest that food.
Yep, maybe. What a huge market!
Qt has bindings for many languages, including JavaScript. It's capable of delivering experiences much closer to native than any Electron app I've ever seen. The catch is that a minimum-effort Electron app feels like a web page but a minimum-effort Qt app feels like a bad native app. There are also frameworks like wxWidgets that use actual native controls.
> The assertion that America is only for people who are already here is both radical and relatively recent.

That's not a very accurate reading of American history. There have been many instances in America's past of anti-immigrant sentiment, and even violence.

Here's a particularly good article about anti-immigrant cartoons from the early 1900s: https://www.theatlantic.com/national/archive/2011/11/racist-...
Talking to my friends who work for very large companies, at least in their cases it seems like it's often easier to get a new job at another small company than to get a transfer - for what it's worth.
Beamr is a video technology and image science software company. Our technology and products are backed by 36 patents granted with greater than 20 pending, making us a world leading provider of video encoding, transcoding, and optimization software solutions that enable high quality, performance, and unmatched bitrate efficiency.
This is cool. Are you guys in the bay area?
Founded in 2009 by a team of leading image science experts, Beamr is backed by Verizon, Innovation Endeavors, and Disruptive. We have more than 80 employees located in Palo Alto California, Tel Aviv Israel, and St. Petersburg Russia.
We had a problem where after about 10 years, PayPal suddenly decided that our account was in the wrong country, and the only solution was to close it. Kafkaesque.

I wrote about it here:
https://www.cogini.com/blog/paypal-know-your-customer-failur...
What do we do about heroin/opiods that are the real problem today? Cheap, highly addictive. Multiple overdoses today in my local news feed reported.... :(

You cant overdose and die from MJ use (or its highly unlikely).

This whole war on drugs thing feels like a game of smoke and mirrors...
Their reasoning is interesting: they use exceptions. Google notoriously does not. I wonder if Google (and the other AutoFDO contributors, of course) have overlooked something crucial that the exception-using people need.
How did you come to that number and why do you think a double the replacement birth-rate can be sustained forever?
All the statute you are quoting says is that you may make a proper asylum claim despite already being in the US. The propriety of an asylum claim has nothing to do with the propriety of illegal entry prior to making it, nor does it wipe it away.

Which is not to say that illegal entry is never excusable. Necessity is a general criminal defense, so if you can show that you really had no choice but to cross into the country illegally or face imminent death or serious injury, then you’ll be off the hook for the illegal entry charge.
Video Transcoder
Beamer Transcoder VOD
Codec SDK’s
Beamr Software Encoders
Video Optimizer
Beamr Optimizer VOD
Visual Quality Tool
Beamr View
Photo Optimizer
JPEGmini Enterprise
Take a look at the link, it's relevant to your question. As mentioned there, your body stores lead in your bones, which leeches into your blood stream. Because there does not appear to be a minimum safe threshold of exposure, even small exposure can, over time, lead to problems as the lead is circulated through your body, as mentioned in the quote. Sorry it doesn't appear clear when taken out of context.
How Healthy Body and Healthy Mind Help You Trade Better
So glad that I bought property in Detroit!
So at what point do they become an illegal immigrant? That is an official term used by the US government. I suspect it would be very difficult to determine how long an "undocumented" has been in the country before asking asylum. Is it if they don't show up for their hearings? Is there any reason an alien immigrant would not claim asylum when caught? Please forgive my ignorance on the nuances of immigration law, I've just seen the term "asylum seeker" pop up an awful lot lately, and not very much at all before.
Google's Medical Brain uses AI to predict patient's health and even death risk
Crypto Exchange Bithumb Hacked and Loses $31M
What is wrong with TurboLink 5? Not Turbolink 3 or previous version, v5 is very much a total rewrite. Turbolinks 5 allows hybrid Apps that offers most of the benefits without many of the complexity, it is HTML after all.

It seems there are sites that uses Rails, including AirBnB. But I have yet to seen a site that uses Turbolink apart from Bassecamp, even Github uses its own version of pjax rather then Turbolink.
"The scale of America’s opioid epidemic is shocking.

It is the deadliest drug overdose crisis in US history. In 2016 alone, drug overdoses killed more Americans than the entire Vietnam War and car crashes, gun violence, and HIV/AIDS ever did in a single year. In total, more than 170 people are estimated to die from overdoses every day in the US, and most of the deaths are linked to opioids."
The royal assent happens via the Governor General, who's a pro-science astronaut [0]. She'd be most certainly in favour of the bill if her personal opinion mattered at all.

[0] https://en.m.wikipedia.org/wiki/Julie_Payette
In romance languages (French, Spanish, Italian...) it's considered standard for a collective group of males and females to be referred to by the male pronoun. A group of exclusively females gets referred to with a female pronoun.

I guess the same applies to "guys".
You're comparing two complex, multifactorial outcomes as though they're have a direct inverse correlation.

What about causality? Confounding? Multivariate analysis?
Nah?

You'll just assume they're causally related?

By the way, I rounded off the second of those numbers from 37% to 40%. Does that change the conclusion you reached using your statistical system? If not, what would be the threshold percentage at which you would determine there to be no direct inverse relationship between the two, after all?
It probably is easier to write their own rendering engine because, sadly, they've already have done it - for quite some time now, instead of using any native drawing functionality Qt renders the entire window contents in a pixel buffer and dumps that to a native toplevel window (FWIW GTK+ 3 and later do the same thing). In this case all they have to do is dump the pixel buffer to the canvas instead.
NIF achieves new fusion output milestone
Yeah, I was puzzling over that earlier about yhat and was confused.

Does that mean that, up until the 80s, the British government were still involved with Canadian lawmaking?

Did that mean Canada was a constitutional monarchy? Still is?
Legalize cannabis. Opioid deaths have dropped here in Colorado since legalization.
Best to think that she just happens to be the queen of a bunch of things, not that those things all share the same queen.
One of the things that makes lead (and all heavy metals) so dangerous is the body lacks a mechanism to effectively clear it.

So if the only factor in aggression is the amount of lead in the body, then we would have to assume it takes time for the symptoms to subside as well.
Sometimes HTTPS makes sense and sometimes HTTP makes sense. HTTPS everywhere NEVER makes sense.
It means they had a more significant ceremonial role. They've been uninvolved in Canadian government, laws, and policy for a long time. Arguably since the end of the great war
Easy for you (and me to some extent) to read what you say and see hey yes it could be more simple....

What is simple for any Redux-experienced person is a gigantic cognitive cliff for people who are not experts. I can still remember trying to learn ReactJS and Redux and bailing out on Redux while I tried to make sense of mapping dispatch to props. Redux should not be losing users at that point.

Your earlier post expressed frustration at not being able to get people to be specific about what boilerplate is.... well this is it (or my definition anyway).

IMO, ideally Redux would be nothing more than an object that I instantiate and then call methods and properties on - including defining my reducers and actions. A single object for Redux leaves the question of how to ensure that changes to the Redux store result in a props refresh being pushed down through the component hierarchy, but surely the big brains on the ReactJS project can come up with some other way to handle that behind the scenes rather than me needing to change my code structure.

And may I say I love your work and I'm a big fan of Redux!

Although if I found something that operated like I say - a single object to be instantiated and driven via methods and properties with total immutability, with changes resulting in a props refresh on update, then I'd switch.
I would argue that the 10 amendment in the Bill of Rights is all that a person would need to nullify gross overreaches of power by the federal government.
Anyone know what the training performance of these vs a 1080Ti is?
"Defense" seems to be a strange choice of word here.

And seriously, iPhone isn't just a phone, seriously?
Electric Motorcycle from Indonesia
Every single post, comment, and vote is in the distributed Steem blockchain, copied in seconds to every full node, only a small fraction of which are run by Steemit—same as any other blockchain/p2p system.
Blockchain Opens Up Kenya’s $20B Informal Economy
Did you test your app with VoiceOver, the iOS screen reader for blind people? The difference between non-native and native navigation is particularly noticeable in that case, unless perhaps you fire a UIAccessibilityScreenChangedNotification after navigating to a new screen.

That's just the scenario I'm aware of. I haven't done any real projects with React Native, so there may be other pitfalls.
Good times create weak men etc. etc.
The economy isn't zero-sum. Additional workers require additional housing, food, durable goods, entertainment, services, etc. creating additional demand for yet more workers to produce those goods and services. The economy isn't an assembly line with X number of positions to be filled. It is dynamic and growth begets growth.

In fact, as birth rates decline in the first world and countries' populations age, immigration is becoming an important lever to maintain a sufficient supply of labor to fund retiree's pensions and healthcare.
Maybe the 3rd party app could be opened when 911 is dialed instead of a phone call being made?
I make and upload electronic music to SoundCloud. Once I sent a joke DM to my friend, another SoundCloud user, mimicking a typical spam post at the time. SoundCloud's spam filtration system autobanned and deleted my account. I had it back a couple days later but a bunch of stuff is still off with my account(fewer plays, likes, followers, etc).
The Steem blockchain only holds unicode text: words, html, json. Images and video are embeds or img tags, which point to URLs on ipfs or elsewhere. That’s a separate challenge.
If you've possibly never even been in a plane before, let alone flown one, it would be a pretty wild experience.

It's a single tool in a box of tools towards recovery. I don't think it was meant to be the adrenaline rush that's meant to be helpful, but rather giving them an experience to hold on to, and to try and teach them to take control of their destiny. At least that's what the video says.

I'm also skeptical as to its benefits. But anything is better than locking addicts in a box and expecting them to be magically cured. In my experience, it's a lack of support networks and associating with the wrong people that keeps most people locked in a cycle of crime, addiction, and poverty. There are a lot of people who are "rehabilitated" and full of optimism, but then they go back home, to the same toxic environment and fall back into the same cycle.
Lambic is spontaneously fermented and can't be brewed outside Brussels or the Payottenland in Belgium because only that region has the right microflora (yeasts and bacteria): http://www.beerplanet.eu/index.php?cnt=10&paramID=1&typeID=4

Other beer sold as Lambic (such as Sam Adams Cranberry Lambic) isn't really Lambic: http://blogaboutbeer.com/the-case-against-sam-adams-cranberr...
In practice your assets will be civily forfeited, you'll be held in pre-trial detention (prison) for months, and then every lawyer will laugh you out of the room when you tell him you want to do a constitutional defense.

"Just take the plea, I can get them down to 2 years. Otherwise youre facing 9 to 20 years."
But do you now notice a dependence on weed?
Gentoo taught me Linux. The Handbooks are really good.

I think that much of early Gentoo ideas - the OpenRC init system, the ports system, the handbooks - were inspired by BSD traditions. OpenBSD and FreeBSD each have good documentation. Working through the FreeBSD handbook, and then study of McKusik's BSD Book [0], are a good way to get another perspective if you get into this sort of thing.

[0] http://www.worldcat.org/title/design-and-implementation-of-t...
Apply for the WYSE International Leadership Programme 2018 Win a Trip to Brazil
What about T-Mobile?
I believe they are also round so they can't fall into the hole if jostled loose - a square can just fall through on an angle.
if you are smart you must talk about how hard it is not how hard you work and how lucky you are. anything else will earn you scorn from the people.
> ergo, it must be pretty good.

+1 for making me laugh. On the other hand, I'm incredibly impressed by how he's handled the new peace with North Korea. I hope the work that's been happening there continues.
Google terms: "Early Userspace"
Blog posts, sign-up pages, and fundraisers can't be tried out, so they can't be Show HNs.

https://news.ycombinator.com/showhn.html
Before 1931, the so-called Imperial Parliament had the power to legislate for Canada, and any legislation they passed had supremacy over colonial legislation under the Colonial Laws Validity Act, 1865.

Between 1931 and 1982, the UK Parliament had the power to legislate for Canada only with the request and consent of the Canadian government. This arrangement was codified in the Statute of Westminster 1931.

In 1982, on the request and consent of the Canadian government, the UK Parliament removed its own power to legislate for Canada by passing the Canada Act 1982 (UK), which enacted the Constitution Act, 1982.

Canada remains a constitutional monarchy. The monarch of Canada is constitutionally required to be the same physical person as the monarch of the United Kingdom, but they are distinct legal persons (as is the monarch of each province).
>campaign against them

And then suddenly when the death threats and FBI audits and etc start showing up in your life, and you lose the campaign anyway, you'll say to yourself, "shit, this isn't a democracy we're living in, this is just a mafia state."
State is often a synonym of country.
Wild-Foraging Edible Plants in the City
The New York Taxicab Bubble Couldn’t Last Forever
I fell in love with computers under serendipitous circumstances -- I was pretty lucky that I went to the only hackathon near me in my freshman year of high school. I ended up loving it so much (I made a meme generator at the event) that I wanted to create a hands-on coding club at my school, which only continued to fuel my love for code as I found a community of young coders when I started my school's chapter of Hack Club. After the club began, my peers at my school and I finally felt like we had a group of students excited about code and its impact, leading us to create many coding initiatives in our relatively under-served community.

After us, 3 other Hack Clubs popped up, and it's been magical to see them hosting school hackathons and summer camps. I really hope that this continues so we can show more students what pushed us into the wild coding world!
I see this proprietary/free duality as a fundamental weakness of copyright law and intellectual-property-based business models. As things currently stand, software that provides the most value to society also often happens to make the least money (and vice versa). To truly prosper, I wonder if society will somehow have to move beyond copyrights, patents, and intellectual property rights as they currently exist.

I’m not sure what the solution is, but a recent HN post caught my attention — it was about how quickly Germany caught up to England’s industrialization in the 19th century when books weren’t copyrightable. This may provide a clue. [1]

[1] https://news.ycombinator.com/item?id=17329345
Oh mine! I record there was an article about pushing 100Gb/s not long ago and hitting memory bandwidth limit. Now it is 150Gb/s already ? Are you guys going to try something crazy like 400Gb/s ? At this rate Netflix could start selling their Appliance as another business.
hey, you are spamming
And, of course, BMW and Mercedes are simply incapable of competing with Tesla on quality engineering and streamlined manufacturing processes, so the only option they have left is sabotage.

It is very hard to connect electric motors to laptop battery packs and to replace the dashboard with an android tablet.
That's a user.
To add to the previous answer, we are technically still under the queen's authority so you could say that we are a constitutional monarchy, but it's all symbolic. Anything else would create public outcry.
I personally think we should move out of this system, but it is hard to change a constitution specially since one of them still has not signed it...
https://twitter.com/JohnLegere/status/1009168217586061313 From earlier today.
The difference is pretty obvious actually. This isn't just a gimmick for hipsters.
Yes, because getting a raise that is more than 50% of an average full-time worker's entire yearly wages is not a big deal at all.
You are not missing anything. The link does make the exact opposite point: "you will not be able to argue that you should be protected by the Constitution."
Who says Microsoft isn't doing more good than harm by helping ICE? ICE will do their job regardless of the tech they use and for all we know, Microsoft is helping ICE reduce mistakes which would otherwise harm the people that ICE needs to manage.

People in general need to be more pragmatic, because we see a lot of emotional reactions which only make things worse.
This is literally an episode of Better Off Ted.[1] In it, the titular Ted is inadvertenly deleted from the company system when trying to correct a misspelling of his last name. Eventually, he is forced to interview for his own job as the system had already put out an ad for his replacement. I think the most striking part of it, and of the true story from the post, is the human factor - the idea that the humans involved looked to the system as an authority and followed its orders blindly.

I wonder what other examples there are of people blindly following technology - people driving into lakes because their GPS told them to, etc. Plus, as our society gets more and more dependent on these systems, we may lose out on the flexibility that human mediators and problem solvers once gave us. The human tendency to defer to authority may never be as terrifying as when that authority is held by an uncaring machine with a couple bugs.

What was once satire has become too real.

[1]: http://betteroffted.wikia.com/wiki/Goodbye,_Mr._Chips
What’s the worst that can happen if we let them in? Our economy improves and our crime rate drops?
Because the spike in alcoholism after the Soviet Union collapsed might drown out lead-based signals in crime rates, you might try any of the former DDR, Czechia or Poland, especially in the "Black Triangle" around As which was heavily industralised.