skysight-inc/HackerNews huggingface dataset:
Hi. I'm a Redux maintainer. A few quick thoughts.

First, Redux does not _force_ you to split your logic up into "separate tiny little functions". That's the _encouraged_ approach, but you are absolutely free to structure your reducer logic any way you want. You may want to read through the "Structuring Reducers" section I wrote for the docs: http://redux.js.org/docs/recipes/StructuringReducers.html .

Second, you _can_ manually write logic in each of your components to access the Redux store via React context. However, the point of the React-Redux `connect` function is to generate "container" components that manage that store interaction logic for you, allowing you to focus on writing more "presentational" components that simply receive functions and values as props. You _can_ even directly import the store into your component files and reference it directly, although that's discouraged for several reasons (per the Redux FAQ at http://redux.js.org/docs/faq/StoreSetup.html#store-setup-mul... ).

Third, you shouldn't need to "propagate an event through 5 different callbacks". One of the main points of Redux is that you can `connect()` _any_ component to give it access to the store. If a deeply nested component needs to extract a couple values from the store, or dispatch an action, go ahead and connect it - you don't have limit yourself to only a couple connected components higher up in the tree (per http://redux.js.org/docs/faq/ReactRedux.html#react-multiple-... ).

Lemme toss out a few resources for you.

I keep a big list of links to high-quality tutorials and articles on React, Redux, and related topics, at https://github.com/markerikson/react-redux-links . Specifically intended to be a great starting point for anyone trying to learn the ecosystem, as well as a solid source of good info on more advanced topics.

Also, the Reactiflux chat channels on Discord are a great place to hang out, ask questions, and learn. The invite link is at https://www.reactiflux.com . Please feel free to drop by and discuss any pain points or questions you have. I'm usually online evenings US time, and there's always a bunch of people happy to discuss things.
Exactly. Thanks!
i would love something like this for free bitbucket private repos, is there any planned support? realtime updates would also be great
Well over 40% of US electricity is still from coal. Despite all the hype, renewables other than hydroelectric are only 3% in the US.

What's driving energy prices is cheap natural gas. Natural gas is cheap to extract and can be extracted fast. But after a while, it's all gone. Britain's North Sea Gas boom is over.[1] Gas fields also drop off faster than oil fields. The cheap natural gas boom won't last forever. It's created the illusion that the energy problem is over.

Nuclear is discouraging. After Fukushima, nuclear plants are scary. Fukushima was a reasonably good plant which got hit by a larger than expected tsunami and lost site power. That was enough to cause a major disaster. Nuclear now looks like a technology where every decade or two you lose a city. The small-nuclear enthusiasts are a bit scary; some argue they need fewer safety precautions because their reactors can't melt down. What could possibly go wrong? Big, expensive containment vessels are a good thing; when Three Mile Island failed, the containment held it in.

Battery technology will help. Wind and solar are intermittent, and can't carry too much of the load until there's more storage. But it's going to take a lot of batteries.

[1] http://www.crystolenergy.com/assessing-future-north-sea-oil-...
Two Objects Not Namespaced by the Linux Kernel
> And it's useless anyway; a violent crime heatmap is useful for deploying police or avoiding violent crime ...

I'm guessing your reaction is kinda the point of the project. Horrific crimes are routinely committed that injure millions of people, with no punishment.

We know where these crimes are happening, and what kind of people are committing them, yet there is very little action.

If it's OK to profile people by their appearance for drug and street crime, why not do the same for financial swindlers, cheats and fraudsters?
> And don't tell me it's easy to recompile nginx... you have to know a lot of nginx and switches to get the compiler setup well done.

Depends on your distro. On Gentoo, it's as simple as editing USE flags in /etc/portage/package.use and executing "emerge nginx".
Is the solution to extreme wealth inequality really – Alaska?
Not sure why you're getting downvote. You are absolutely correct. Does anyone have some insight as to why lower-income people vote this way?
Right, I agree with you.

I was just wondering what kind of companies (except from financial sector) would be willing to spend hundreds of thousands to get their latency from hundreds of ms to dozens of ms. I'm saying that because if you have a very well-tuned Redshift cluster, you can easily get dozens of ms for your queries, spending thousands of dollars, not hundreds of thousands.
This captures the essence of the type of activism that I so dislike — an unaffected, third party (a person who doesn't use your bluetooth lightbulb) taking the job upon himself to tell you what level of security your lightbulb should employ... By breaking it.
Do you have kids? Imagine putting a toddler in charge of millions and millions of dollars. Now your house and paycheck and all of your life is dependent on the demands of the toddler, and shall you try and instill any reason, she throws a tantrum and threatens to replace you with anyone else who just says "yes." That's a simple, and yet so close-to-real way to look at the reason why bad apples exist.

That said, your 50% view is probably skewed. We like to read "sensational" stories, but for every bad company out there, thousands smart and caring founders build great companies every day.
"Totally off topic: Yeah so, about that 90% number... You you really think that is the best they can do?"

For the political parties specifically, yes, by the standard they care about. Remember how we're always talking about how the centrists generally end up with the deciding vote, and how the polls are oscillating around by ~10% in the several weeks leading up to the Presidential election? Those people themselves don't really know who they're voting for or whether they support the "correct" person, for any given definition of support, so it's a bit much to expect anyone else to accurately guess.

In the event of a true police state which gives you the choice of vigorous fealty or the Gulag I would expect they can go much higher and that the initial competent execution would be almost inescapable. (Over time it would decay due to various forces, but I can't put a very solid time frame on it... between 10 to 50 years to develop very serious holes in it, probably, but even 10 years is an awful long time.)
It's not 10 years, it's probably closer to 100. Reasons being a) the ridiculously large cost of rewriting and testing the new system on a real-time system that can't be taken down, and b) the ridiculously low cost of maintaining the current systems.
To be fair, i couldn't help read this article with a picture in my mind of repeating the design or something similar using a simple laser cutter and acrylic. I bet it'd be cheap, easy, and look good. (If you like that kind of design.. a bit 60's retrofuturish I guess.)
It's not a strawman opposition when you see people you work with unable to re-enter the country, environmental leadership questioning the human role in global warming (or even the role of CO2 in warming!), members of organizations that openly identify with the Nazi movement as first tier advisors to the president, etc...

This is not a strawman, this is real and it's worth fighting.

So are the other things you mention, but everyone is free to pick their fight.
So on your method of replenishing paint, does the G-code auto generate that subroutine every (X) mm of line painted? Also how exactly does that work with Linux-CNC, is it inserted like an insert/swap tool command?

Second question; Does the G-code look similar to a 3d printer? Like are you just 3d printing with colored paints? (if so, is that common among robot painters?)
I'm suggesting that, pretty much by definition, externalized costs do not get factored into economic decisions.
Charge pump: Voltage conversion (dc-dc) hack ditches bulky inductors
I can't help you with the job situation problem, but on the subject of anxiety attacks, you might find this post by a psychiatrist helpful: http://slatestarcodex.com/2017/04/05/the-case-of-the-suffoca...
Everything in Kobble can be shared. Channels are there to organize tracks - your tracks and tracks from other users.

Kobble can be used for much more than just note taking. It's meant to share meaningful content with other users. A track is like a project, and channels make it easy to share them.
well the article is not 100% right, cause I still need to send a header for every file. so if I concat 100 files it and send it, I only need to send one header. while if I send 100 files I have 100 headers, while it probably is not much (especially not in HTTP/2) it's still an overhead, so your mobile users will not be happier with many small files.
Run Active Record migrations in phases
Especially when you can access notes on your own IMAP server with Apple Notes.
Which they have branded the loan they give you until deposits and sales settle "Robinhood Instant". Since you are trading without settled cash in the account, I believe the SEC considers this a margin account.
Ask HN: Is there a pragmatic list of AI technologies?
I learned from another Ask HN post what NER is (Named Entity Recognition) and immediately thought of ways I can apply it to project of mine.

But not being in the space I don't know what all these acronyms are or even what to search for.

Some problems I have may already be solved by AI but I don't know where to start. And I'm sure I'm not alone.

Is there a resource out there that lists AI technologies / categories / algorithms / etc and what their use cases are?
Think about it. If you have kids or pets or flowers, seems like it would be prudent trigger the event in a more safe, and known environment than to leave to chance (of injury to property or 3rd party). Seems like talking to the neighbor happened over a decade ago to me.
Maybe a better question would be what wouldn't I buy?
There was one point in my life when I was working for a large mainframe company ;) A bank wanted to move a system to a new site. The uptime on that system was 11 years. Uptime on a mainframe system is pretty much considered 100%

4 hours downtime a year is just way to much for some systems.

Just have a google for "mainframe uptime".

Yes the software is abstracted from the HW redundancy. You can pull CPUs with running code in systems and things keep working. Really - walk up and pull the CPU out. No impact to running code.

Heck you can run your private cloud on one:

https://www.fool.com/investing/general/2015/01/24/heres-why-...
I agree about focusing on the proton-boron reaction. I meant to refer to other fusion technologies that can sustain the reaction. As well as dense plasma focus (the Lawrenceville group that you linked), there is Polywell, Tri Alpha, the Z-machine, and some interesting laser-accelerated proton beam experiments.
The market for programmer tools is only saturated with crappy tools. There's lots of opportunity in the not-quite-as-crappy-tool space.
Mobile is coming soon.
I would definitely love to get one based on a TX2. It's the only chip that has enough computing power to do real time image processing, run SLAM and a small CNN at the same time.

Would deffo pay 500-1000 for it.
> The thing about work stress that builds up is that your mental health declines and you can begin to think very irrationally. Paranoia and depression can set in. I've seen devastating examples of this with people I know. I think it's important not to minimize it or brush it off and to understand that what seems obvious to you or I may not be obvious at all to someone who is feeling burnt out, desperate and depressed from their work situation.

I'm most certainly not "brushing it off" or "minimizing it". I'm advocating for proactive measures to avoid reaching a such a mental state that can drive a person to consider suicide as a reasonable option. In your case, it seems like the measure I suggested (having monetary guarantee for at least a year) is not sufficient, so I would advise you to look for other measures, which you can likely take now when things are good.
Just the first camera shot in that ad was already creepy as fuck.
It's a bit unfortunate that ‘pass’ is already used by a another — and much older — password manager:

https://www.passwordstore.org/
Create Next.js Apps in one command
Spending 100K USD in 4.5 Days on Amazon Web Services
Most binaries in Windows are signed. This requires the loader to load each PE section, hash, do some number crunching, and compare the result -- which results in the entire file being loaded into memory before execution. This involves (potentially random?) disk I/O, which can be surprisingly slow on certain platforms (e.g. Xbox One, HoloLens, anything IoT, anything with eMMC).
I'm guessing it could be used for googles recaptcha
Their margin rates are very high at best and potentially usury at worst. They are counting on you not using the full amount of margin on the tier you paid for and further, counting on you being too lazy to downgrade to a lower (or no) tier when you no longer need it. There was nothing I could find in the FAQ about them automatically dropping the tier as your use declined.

For comparison - and I have no vested interest here - Interactive brokers currently charges 0 - 100,000 2.41% (BM + 1.5%) and 100,000.01 - 1,000,000 1.91% (BM + 1%) on USD margin loans.

If you think you will be an active user of margin I would go elsewhere unless you can justify savings on the commission side against paying 0.005/shr elsewhere.
China Launches First Home-Built Aircraft Carrier, Boosting Naval Power
> Functional parity isn't all that matters. Reliability, security, performance, ops overhead and cost make a big difference.

You're arguing that a "cloud" solution must be more secure, and that this is very important, but when I point out that the exact multi-tenant zero-customer-control setup you are championing, led to a massive leak of data that people everywhere assumed was private, your response is:

> So what if cloudflare had an issue? There are thousands of security issues every day, it's a fact of life.

> It seems you have some irrational hatred for cloud and managed services

No. I have a strong dislike of people cargo-culting the fucking shit out of whatever cool kid buzzword they last heard, without a clue what the alternatives are, if they even need it, or what the consequences of their choices are.

> I'd much rather invest in and trust them than have you run my infrastructure and waste time building some fragile load balancing system

I won't lose any sleep over not getting your business. As you have all the answers already, what you're looking for, is called a "yes-man".
Pitchbook doesn't even come close to figuring out the actual invested amounts and returns across an investor's portfolio.

Don't get me wrong; Pitchbook is good and I pay $$$$ for it. But it serves a company-centric intel need, not an investment performance measurement need.
The loan is secured by the assets purchased, it's not unsecured.
I'm glad to see Amazon trying things that are so obviously going to crash and burn. It's impressive that they're willing to take this level of risk.
Wonderful advice, right up there with "Buy High, Sell Low"
Where are you getting these numbers? Their rates appear to go from ~4.8-7.2%[1]

Also, it should be noted that Gold is a flat fee based on account value brackets and margin brackets not a percent fee of your margin like every other brokerage. That means your effective margin rate can be much higher. e.g. if you borrow $100 for a $2000 account, you're looking at an effective margin rate of 72%.

[1] https://d2ue93q3u507c2.cloudfront.net/assets/robinhood/legal... (linked to from their FAQ[2], sorry for the sketch URL)

[2] https://support.robinhood.com/hc/en-us/articles/214681823-In...
Mom, is that you? You're the only person I know with eyes in the back of her head.
Wow! So, Uber is not a taxi company, it's a sub-prime auto-loan company with draconian terms that masquerades as a taxi company. So much more makes sense about Uber in this light.
i read an article that the nordics actually gets as much sun as southern europe, if you count the whole year. Its as good a place for solar as anywhere else.

The summers are sunny all day and night. The problem becomes how to store the energy until the dark winter months.

(There are solar panels that doesnt need heat just light)

Edit: http://www.nordicenergy.org/article/solar-power-at-the-arcti...
Natural gas is great as an energy that can be used "on demand", combined with wind and solar, there is a lot of synergy (use NG when wind and solar can't meet demand). We could build out renewables so that we don't deplete NG for just routine energy uses.
He doesn't own any Twitter:
http://dailycaller.com/2017/03/15/twitter-gets-its-worst-cri...
I think you may be missing the brilliance of this product from a sales perspective.

Even if this product isn't a massive success, the units they do move will have a huge potential impact to their retail clothing lines.

Now, instead of suggesting clothing items in the store based on other items you've looked at, they can now suggest clothing items in their sales material based on what you already own and look good wearing.

If I had this product and Amazon started sending me curated outfits that they knew would look great on me and matched my style, I'd probably start using Amazon exclusively to fill out my wardrobe.

As it stands now, I buy almost everything EXCEPT clothes through Amazon and prefer to let my wife buy me things she wants me to wear.

This product, on it's own, is a game changer in the fashion industry. Now Amazon has a compelling and unique product that is going to make it increasingly difficult for other retail outlets to compete in the same space.

And once we start seeing "apps" for this camera that auto-instagram/snapchat your pictures, I think we're going to see a huge demand in the teen/millennial female market for what is kind of a geeky niche product.
From my experience having used Robinhood for almost two years now, it's fine up until something happens with your account and you need to talk to someone. Their customer support seems almost nonexistent, no phone number, only an email where their response time is anywhere from a day to a week+ and you have to bug them to follow up. On top of that, the support that I have gotten hasn't been very clear, like they don't know what's really going on with my account. When I have several thousand dollars somewhere with active investments, I don't want to have to wait around and deal with a different support person for each message.

Just recently I had to email them first to find out that they have an issue with my account and "any sell, dividend, etc. will have 28% removed and sent to the IRS." And I "will need to reach out to IRS regarding those funds." They did not tell me anything when they apparently started doing this. I was paying for Robinhood Gold too at the time.

I'm sure most people will have OK experiences with Robinhood, but I'm closing my account and moving to another broker with better support and communication.
Grsecurity: No more public test patches
This is known as bootstrapping or semi supervised learning, just in case you want to look for some theory behind it.
> Realistically, if, say, one of these big corps/banks with deeply-integrated COBOL systems spent a few years revamping their systems to something more modern and usable today, how much would it cost?

Success isn't guaranteed, maybe as low as 50%. When you say 'few years' it intimates you don't appreciate the scale of some these systems. In the end, retiring legacy systems isn't a technical problem, it's a product owner, product management, and business problem. The business owners have to make concerted, multi year effort to document their process as implemented, define the replacement, and manage it's (re)implementation. This never happens.
That's interesting. Which labels were you assigning to them?
Sure. It's Robinhood's money, which they're choosing to lend to their customers. So Robinhood can bear the consequences if the loan can't be repaid. (As others have pointed out, they have ways to protect themselves. Margin calls, forced liquidations, etc)
Reasons why I want a Hackintosh:

- Apps that I've grown used to that are macOS only like 1Password, Photoshop, and Quiver
- Integration with iMessage - I really enjoy being able to send messages from my laptop
- Avoiding weird edge cases where shit just doesn't plain work on Linux. I have a lot of issues with a HiDPI display on Linux that I don't ever have to deal with on Mac.

I know Linux is about configurability, and that's why I'm running Elementary OS at home, but these are the reasons why I would consider a Hackintosh now.
Commercial products exist for this purpose, such as Power Broker:

https://www.beyondtrust.com/products/powerbroker-identity-se...

In addition, it's involved but possible for an experienced user to set up AD authentication on Linux.

All AD really amounts to is a database; the endpoint (computer, server, whatever) performs a query, AD produces a response. That can be as a simple as 'is this username/password combination valid?' to 'where in the domain does this computer fit and what rights does it have?' AD allows for other nice features like Group Policy enforcing consistent configuration on every desktop. It also implements Kerberos-based authentication for better security.

Ergo, the only security issue I can foresee is that the query is done over unsecured means; AD uses LDAP as its primary protocol, which in its native form is plaintext. So your computer could conceivably send plaintext login information over the wire. However, most sysadmins will disable this and only support LDAP over SSL (LDAPS) which is encrypted. Most Linux LDAP implementations support running it over SSL.

A second concern is that the Linux machine does not implement Kerberos, and instead uses the fallback to NTLM authentication; if this is the case, your sysadmins should have disabled it. Kerberos is supported on Linux, and is a bit more involved when joining a machine manually, but has equivalent security to Windows.

A Linux machine joined to AD is no less secure than a Windows machine, and can in theory be more secure, since Linux has traditionally had much more strict separation of privileges, preventing ordinary users from making system-wide changes. On the other hand, other aspects of Windows security, especially in a network sense, don't translate especially well to Linux (e.g. Access Control Lists). This won't reduce security, in fact will more likely enforce it, but may make it inconvenient for the end user to work around some of these differences.

In short, there is no practical security risk in running a Linux machine on a Windows domain. Many sysadmins will push back on the idea mostly out of lack of experience with Linux, or the perception that they will need to support it. Obviously each organisation has their own policies, but from a security POV, there is no identifiable risk.
Why did you choose obscure names instead of something everyone could understand right away? To me, it seems "channels" are just "groups"/"categories"/"folders" and "tracks" are just "notes"?

The fact that you need to explain it is a good indicator that it's unnecessarily complex.
Snapcraft: Obtaining confined access to the Turtlebot
Germany has an, sometimes irrational, phobia of new technology that doesn't always have something to do with privacy concerns.
tldr - compulsive gambler who won the Twitter lottery vows to quit playing the lottery and move on to making podcasts and buying political influence