skysight-inc/HackerNews huggingface dataset:
Erm.... that's bizarre. Should be a normal Let's Encrypt cert as far as I know. Are you accessing it through some kind of corporate proxy that's blocking it or something? Does that happen on any other machines?

Anyway. Reading the rest of your comment...

I'll be honest and say that you pretty much lost me in that discussion, as in, I genuinely am confused what you're trying to say. I'll try to give some thoughts here, but I don't know if this is going to answer things because I don't know what point you're actually trying to make.

The point of `redux-thunk` is to allow you to write logic that needs access to `dispatch` and `getState` when it runs, but without binding it to specific references of `dispatch` and `getState` ahead of time.

If you wanted to, you _could_ just directly `import {store} from "./myStore"`, and directly call `store.dispatch(someAction)`. But, A) that doesn't scale well in an actual app, and B) it ties you to that one store instance, making it harder to reuse any of the logic or test it.

In a typical React-Redux app, the actual specific store instance gets injected into the component tree by rendering `<Provider store={store}>` around the root component. As my slides point out, you _could_ still directly grab a reference to `props.dispatch` and do async work in the component, but that's also not generally a good pattern. By moving the async logic into its own function, and ultimately injecting `(dispatch, getState)` into that function, it's more portable and reusable.

Also, have you seen the actual implementation of `redux-thunk`? It's short enough that I'll paste it in here just for emphasis:

return ({ dispatch, getState }) => next => action => {
if (typeof action === 'function') {
return action(dispatch, getState);
}
return next(action);
};

If you can try to clarify what you're saying about "type signatures" and binding the methods from the store, I'd appreciate it. (Actually, that bit about binding the store methods doesn't make any sense, because a Redux store isn't a class - it's a closure, so there's no `this`.)

If you're available to discuss this in a venue that may be better suited for it, please come ping me @acemarke in the Reactiflux chat channels on Discord (invite link: https://reactiflux.com ).
It is also that many people actively oppose trains because they are afraid that the trains will bring in undesirable people (poor people, criminals, hipsters from New York) to their neighborhood. When New York MTA tried to extend Metro North service 25 miles beyond Poughkeepsie on already existing tracks, residents of the surrounding towns opposed the extension claiming that NYC commuters will move to their rural towns.
I think this is natural. The line between a hobby project, and unpaid venture can be quite thin. When your attention is split, it only becomes harder. Most rational people want to live life a little, and not work constantly.
https://www.youtube.com/watch?v=Fg_JcKSHUtQ

Nature almost always does it better, it's OG.
"airbnb abandoning it shows it's bad, but other companies using it successfully doesn't sbow it's good!"
Amazon is a non-union company and they have almost single-handedly destroyed physical retail in the Western world. Amazon has created immense value for consumers and shareholders, Jeff Bezos would not be the richest person in the world if Amazon was not good at what they do. Costco hasn't innovated in decades, if it all.
> Millions of users, impressive app with high performance

No offense to the Discord iOS developers, but their apps is neither “high performance” nor impressive. It’s outright janky at times.
They’ve been doing that the entire time, the problem is that “inevitable” has connotations that it’s too late to do anything. Whereas, yes, it’s too late to prevent entirely, but the more action we take now the worse the catastrophe will be
Going to university does not broaden the mind
The problem is that an engineering team full of developers that only care about processes, clean code and learning new stuff is mis-aligned with the goals of the organisation.
It will take a constant uphill battle to take them to ship anything, something that generally isn't worth it I believe.

Of course technical debt needs to be paid and clean code is the essential foundation of every productive company.
But as a developer, you need a desire to SHIP as well.
I’m sorry you feel uncomfortable looking at it. As an agoraphobe, as am I.

Hopefully, with a strong support system, we can both overcome our irrational discomfort from pictures of things that truly present no harm.

Restaurants are really incapable of trying to accommodate all the edge cases for discomfort. Interestingly, I bet seeing these in some way helps.
I'd be happy to look over your project and its features to let you know if something should be a v2 feature. Kick you to the finish line so to speak and keep you accountable.

In fact, this would make for a nice community. Anyone try to set one up like this?
Iunno, maybe railcar windows in the US should continue to be able to resist a .22 round.

Yes, that is a test:

http://www.hpwhite.com/ballistic-testing/railway-glass-testi...
I can't relate to this at all, I work on a side-project for a week or so and then launch it. Here's last week's, a community of maintainers that aims to maintain abandoned FOSS projects:

https://www.codeshelter.co/

Why rewrite stuff? Just see if people want what you're building first and then figure out whether it's well-written or needs a rewrite.
Jews are Asians.
The builtin System.Drawing.Color namespace already contains much of what you have in regards to colors to and from names.

There are a lot of helpful methods available.

Color foo = Color.FromArgb(int);
int foo = Color.ToArgb();
Color foo = Color.FromName("CornflowerBlue");

Color itself also exposes
.IsKnownColor and .IsNamedColor
Google AdWords Click Fraud
>"modern" doesn't mean better.

No, but

>Rather than just bulk up, European and Asian trains instead are designed to absorb impacts and avoid collisions in the first place. And they have better safety records.

does.
I'm a software developer :-) What we usually call "software engineering" often doesn't take these kinds of issues into consideration. Even when I've worked with actual engineers (including P.Engs) the amount of "engineering" I've seen in my career as been vanishingly small. For example, I've worked in real time systems and we've had a performance budget. The number of times I've asked, "What did you do to ensure this will fit in the budget" and had people reply with something like "My code is fast. I don't think anyone can make it go faster" is ridiculous. Over time I've developed a kind of doubting attitude -- unless I see some evidence that you've done the due diligence, then I assume you've not.

Of course, what's common in my industry would obviously be fatal in other industries. I often tell my wife, "I don't have an unreasonable fear of heights. I have an unreasonable fear of engineers" :-) Still, I haven't died from having a bridge collapse under me yet, so I must be doing something right!
TL;DR: I'm experimenting with that problem now. Currently I'm trying out this idea of 'transient state' described more below.

-------

I've actually been working on something that deals a lot with that problem. It's a game with all the rendering done in a single pixel shader.

All the gameplay logic is in a class called GameStateTransformer. The idea was to treat the game like a dynamical system where the state evolves as a function of 1) time 2) a sequence of 'events'. The core of it is a loop that runs 60 times per second, evolving state via time-dependent logic and by grabbing/processing any events in the queue at that time.

The rendering (i.e. view) is connected to the state (i.e. model) by executing a function `mapStateToUniforms()`[0] every frame. It always works the same way regardless of whether there is an animation going on or whatever; animation logic just updates parts of the state that will get mapped to GLSL uniforms (mostly it's things like `deathAnimRatio` taking on values between 0 and 1.)

The situation with events taking place over time was certainly the most complex architectural aspect I had to deal with. There were two main things I used:

1) 'transient state'; I would set up a bit of temporary/transient state by making a call like `runTransientState('player.dying', {deathPosition: blah}, 1.5)` —first arg is a path into the state object, second is a 'data' object, third is the amount of time it should remain in the state. After that call my state object would contain something like `{..., player: {..., dying: {position: blah}}}` So other code could check `if (state.player.dying)` and access related sub-data (e.g. `state.player.dying.position`); and that part of the state would be deleted after 1.5 seconds.

2) Emitting events at key points during animations/transitions (generally when they finish). Also the 'transient state' system always emits an "[transientStatePath]_finished" event when a bit of transient state's time runs out (e.g. "player.dying_finished").

There was another subsystem I put in place related to this which I haven't had to use much so far though: 'contingent evolvers', which are objects that define a `condition(state)` function and an `evolve(state, deltaTime)` function, and are automatically only executed while their condition is met.

Not positive how well this would scale to larger applications, but it has worked well for the game so far.

Source is here if you're curious: https://github.com/westoncb/under-game

[0] For those unfamiliar with GLSL 'uniforms' they are variables passed into your shader from the application code. Since all of my rendering is in a pixel shader, the code there is function of the current values of the uniforms + x,y coordinate of some pixel.
I mean it is quite possible that as "originally" originally understood in the late 1970s, the model did not have subscribers, but it was a part of the system as early as Smalltalk-80.

For some references you could find e.g. http://wiki.c2.com/?ModelViewControllerHistory

> The dependency (addDependent:, removeDependent:, etc.) and change broadcast mechanisms (self changed and variations) made their first appearance in support of MVC (and in fact were rarely used outside of MVC). View classes were expected to register themselves as dependents of their models and respond to change messages, either by entirely redisplaying the model or perhaps by doing a more intelligent selective redisplay.

or (PDF Warning) http://www.math.sfedu.ru/smalltalk/gui/mvc.pdf :

> Because only the model can track all changes to its state, the model must have some communication link to the view. To fill this need, a global mechanism in Object is provided to keep track of dependencies such as those between a model and its view. This mechanism uses an IdentityDictionary called DependentFields (a class variable of Object) which simply records all existing dependencies. The keys in this dictionary are all the objects that have registered dependencies; the value associated with each key is a list of the objects which depend upon the key. In addition to this general mechanism, the class Model provides a more efficient mechanism for managing dependents. When you create new classes that are intended to function as active models in an MVC triad, you should make them subclasses of Model. Models in this hierarchy retain their dependents in an instance variable (dependents) which holds either nil, a single dependent object, or an instance of DependentsCollection. Views rely on these dependence mechanisms to notify them of changes in the model. When a new view is given its model, it registers itself as a dependent of that model. When the view is released, it removes itself as a dependent.

Like, I'm not getting this out of nowhere; at one point I inspected the code in the Model object and that's how it works...
One picture is mistitled. The "Westfriedhof" Station is located in Munich, not Stockholm (also it's the station closest to where I used to live in Munich for almost 30 years). It's a very popular place among photographers.
Nope: it's LAB that lets you change the color, without affecting luminance. HSL makes it easy to change a meaningless parameter that is called "hue". Changes in H that keep SL constant affect the perceived lightness of the color.
The Flutter team has answered this question directly in a few public pieces:

https://hackernoon.com/why-flutter-uses-dart-dd635a054ebf

https://flutter.io/docs/resources/faq#why-did-flutter-choose...

I personally already knew Dart, and had quite a bit of experience with it before I found out about Flutter, but honestly, I still don't see the language itself as _that_ much of a barrier to a platform to where it should be one of the most common criticisms of the entire framework.

After all, there _do_ exist alternative mobile development frameworks/infrastructure, in the other languages that people usually bring up as alternatives to Dart (ex. Kotlin, Java, Swift, C#, JS).
Does that still hold if you replace “public” with “religious?”
Low sentence for Africans who raped two defenseless Dutch girls for hours
How is the accuracy and recency of this manual compared to Stroustrup's A Tour of C++? Has anyone here read both?
Good luck ordering anything from Lenovo. For me, checkout failed after successful Visa verification. Support answers they don't know why and cannot help. Unacceptable for me if I do 1800€ purchases. Warranty terms are completely obfuscated.

Try to find an answer if your TP has world-wide support. You can't. It needs IWS International Warranty Service. TPs have that by default, people say, but during checkout it will tell you IWS is not applicable (because included? the IWS model number list will tell you, but do you have the correct model number during checkout?)

/rant
You're right. I didn't actually know that was the case. That makes inclusion in a project a much easier decision.

Tim Sneath linked to the official plugins list in another comment, https://github.com/flutter/plugins, and both camera, sensors and connectivity, would be akin to the kind of ownership I'd expect. It's definitely a good start.
I think a lot of people's problem (or at least mine) is that it's not clear exactly what "catastrophe" means, despite following climate news pretty closely. I've heard some descriptions of "human species ending event", but unless we get complete runaway feedback loops that turn our planet to Venus (which, my understanding is that most scientists find this extremely unlikely), that shouldn't really happen.

My understanding is that coastal areas (where most people currently live) are generally fucked, but I don't really have a good understanding of what the difference is between 2C diff and, say, 3C diff. Anyone have links to some good, non-sensational estimates?
Ask HN: Does anyone need a roommate in the Bay Area?
Just graduated from NYU, 24 years old, working as software engineer at PayPal. Love technology, reading, entrepreneurship, programming, and debating (especially on "ticklish" subjects).

Am looking Mountain View, Cupertino, Palo Alto, San Jose, etc.

Please email me if interested. arjun@nyclabs.co.

LinkedIn: https://www.linkedin.com/in/arjunmadgavkar/
Cambridge Analytica – The Power of Big Data and Psychographics [video]
Another alternative is to simply flick the touch bar button.
This is a great idea. But boss has a negative connotation. Figure out the right name, minimize costs and figure out how to penalize or reward the user so it's effective and it's a winning business.

Good Job!
Entering the world of paint
You really should read before commenting. This isn't Reddit.
This is because a hard drive unit would cost too much for the CNC machine.
If you have an SSD, the only moving parts would be the fan, and that's replaceable. It's largely laptop-style components anyway. It should be more durable than a laptop (hinge, keyboard, display, and trackpad are laptop failure points).
> The suicide rate in America is up by 18% since 2000. This is not merely a tragedy; it matters politically, too. The rise is largely among white, middle-aged, poorly educated men in areas that were left behind by booms and crushed by busts. Their deaths are a symptom of troubles to which some see President Donald Trump as the answer. Those troubles should not be ignored.

And yet they are ignored, time and time again. Even mentioning that men could have a problem that society could help solve will be met with great resistance. As we know, there's a never ending effort to get women into stem, to empower girls, to elevate women in society. Which can be good but it seems the pendulum has swung so far in that direction that men are now viewed as "the problem". It seems to me that technology is one of the last areas where men actually succeed but there's a great deal of effort put into place to remove that success.

Women now outnumber men greatly in university. Is there a point where we collectively step back and acknowledge the great gains women have had in society; so great that they now have a very real advantage over men?

In addition to suicide, men are imprisoned at a much higher level than women: https://en.wikipedia.org/wiki/Incarceration_in_the_United_St...

This seems like a problem at least worth acknowledging.
The focus here seems to be on perceptually relevant representations, plus RGB (hardware-relevant).

HSV is just a rearrangement of RGB for improved color picking dialog boxes, not for any serious computation with color.
I think you should reevalute your confidence in this assessment, because in the United States alone there are demonstrably millions of people with non-negligible faith in public figures - of all kinds and political affiliation.

It's also fairly straightforward to find people who don't exactly hold scientists in high regard.
> at a global level, suicide is down by 29% since 2000

> in America is up by 18% since 2000 ... The rise is largely among white, middle-aged, poorly educated men in areas that were left behind by booms and crushed by busts

> Because farming involves killing things, rural folk are likelier to have the means to kill themselves—guns, pesticides—to hand

> Unemployed people kill themselves at around two-and-a-half times the rate of those in work

> the most effective measure of all is limiting access to guns. Half of all Americans who commit suicide shoot themselves, and the overall rate in America is about twice that in Britain, which has strict gun controls. The difference in gun ownership largely accounts for the state-by-state variation in suicide rates

Unlike the worldwide decline, the rise in America is linked to such a specific cultural subgroup that I'd love to know how the suicide rates compares between different populations within America
I saw this once, but it was an episode of the TV show The Detour.
Thanks, this is what I needed to hear right now. I'm not broke but money is a little tight after doing some extended traveling.

I actually went to Dev-Mtn but was able to get my money back after only doing half the cohort (the class part). I was able to get a job at a startup and then at a hosting company after. Then I got laid off. I've started my own agency after and have gotten some traction but I wanna level up my skills to try for another jobs and/or land bigger projects.

Thanks for the links!
Plus the environmental costs of creating and, at end of life, disposing of the arrays.

You’re a good thinker and writer. I’m definitely ready for your TED talk!
The statistic about bridge jump survivors seems improperly researched. It ignores the literal survivor bias as well as the fact that survivors probably had access to many things that they didn't before the jump.

* A memory of how painful and fearful they were while in the act.
* Actual medical treatment and resources.
* Awareness in those they know and work with.
* Maybe, a more stable place in their community.

It would be FAR more illustrative to contrast the 94% of survivors that persisted against the 6% who took another path. That would provide an extremely strong retrospective view about effective means of preventing "remission" and, quite plausibly, initial incidence.
> To the executive team, finding and serving the customer is the focus

I would call that marketing.
Look for the comment "Define "immediate"?" by "ForHackernews"
"(of power or a ruling body) unrestrained and autocratic in the use of authority."
Buzzfeed has already made moves to be less dependent on Facebook traffic, by having its own app, and video content not only YouTube but Netflix too.
Because Lenovo, Dell, Hp, and Dell(it's changing since the XPS era) look down into direct to customer sales. The corporate divisions are the one paying the bills, and they will likely continue to be paying. They are used to offload entire production batches directly into big consumer retailers, and any new self-lead sale is more a problem than anything else.

I once made a corporate purchase with Dell, and it was an Amazing experience. They replaced any defective laptop in hours, now try your luck with their online customer support.

If someone from Dell is reading this, please help yourself setting up a decent store for the Precision and XPS brands.
I suspect the answer is in the org structure of these large companies.

There are PM/s for the Spectre line of products, another for Pavilion,
another for Zbook, Envy, Workstation etc. The PMs report to separate corporate
silos with individual directors who have to show annual growth for their group
otherwise 'no bonus for you'. So each group ends up segmenting their respective
market in every way possible to try to maximize profit.
That how you end up with every possible combination of (display x cpu x memory x SSD x GPU x form factor) at every possible price point to be sold this quarter.
Not to mention old inventory that needs to clear out.

The corporate website is run by yet another internal web group that
collects product info from the various silos and outsources the actual web design
in a waterfall software development model to an outsourcing company in India.

Meanwhile the top VP just cannot cut through the process and complexity of
what he is managing and limits himself to pounding his fist on the table
when quarterly profits are in danger while plotting his next move up
the corporate ladder by jumping ship at the right opportunity.
I had the exact oposite experience.

Native apps are rarely worth it and cross-platform tools are mostly enough for more than 90% of use-cases.

I think native apps only make sense when custom platform specfic code makes up more than 50% of your app. How often is this the case?
Seattle's light rail is coming online one station at a time. As each station is brought onboard, ridership explodes in the surrounding community.

Tokyo's railway was built up over more than a century, infrastructure takes time.
Try one of the emulators.
This is a great summary of the zeitgeist of today's Silicon Valley and also totally wrong. You can do great engineering and build a successful company from it with out settling for low hanging fruit but, it requires a longer than average attention span, not needing to make your investors happy by the end of the quarter and a marketing plan.
The colors really don't help. I don't know who thought covering the car with what looks like corrugated metal then painting it shiny silver would be a good idea. It reminds me of a rolling farm shed.

The renderings of the proposed new electrified trains seems to be a major improvement: http://www.caltrain.com/projectsplans/CaltrainModernization....
Injection is a nice project, but it’s fundamentally limited to what the what the Objective-C runtime allows.
Scientists just found a previously unknown part of the human brain
H1-B Immigrants Founded Over Half of US Tech Unicorns