skysight-inc/HackerNews huggingface dataset:
Yes, very sad. It would be a best-seller.
How is that useful? Most of the things I use assistants for is locating data online while I'm not on my phone.
Yip, was many electric cars before petrol took over.

https://en.wikipedia.org/wiki/Porsche_P1

Being one example.
Impressed with your response, thanks for the clarity you have presented through your examples. Once again, thanks a lot.
Conditionals are so 2019.

from itertools import cycle
fizz = cycle([lambda x: ''] * 2 + [lambda x: 'Fizz'])
buzz = cycle([lambda x: ''] * 4 + [lambda x: 'Buzz'])
numb = cycle([lambda x: x] * 2 + [lambda x: '', lambda x: x, lambda x: ''])
for n in range(1, 100):
print(next(fizz)(n) + next(buzz)(n) + next(buzz)(n))
I'm a Redux maintainer. I agree with the points Robin made, and want to toss out a few additional bits of info.

There's been a lot of chatter on social media over the last couple years suggesting Redux is dying or no longer needed. While it's true that there's a number of other options available, and that there's not as much _need_ to use Redux right away as there used to be, there's still plenty of good reasons to use Redux. In addition, Redux continues to be very widely used, and I've seen quite a few major apps choose to use it over the last year. I talked about these aspects in my Reactathon 2019 talk on "The State of Redux" [0] and my post "Redux - Not Dead Yet!" [1].

We recently released a new official package called Redux Toolkit [2], which includes utilities to simplify several common Redux use cases, including store setup, defining reducers, immutable update logic, and even creating entire "slices" of state at once. It's now our recommended approach for writing Redux logic. It's also written in TypeScript, and the API is designed to provide a great experience in TS apps.

We're currently working on an ongoing major rewrite of the Redux core docs [3], which has several goals: updating content to better match today's target dev audience (removing references to "Flux", etc), simplifying explanations, encouraging easier patterns, and adding additional content and guidance on real-world usage.

As part of that, we've added a new "Style Guide" page [4], which has our recommended patterns and practices for writing good Redux code. We're specifically emphasizing and recommending patterns that simplify the amount of code you have to write, like using Immer for immutable updates, using the "ducks" structure for files and logic, treating actions as "events" rather than "setters", and so on.

Earlier this year, we also released new versions of React-Redux. v7.0 was a complete rewrite of the internals to improve performance, and v7.1 added a new React hooks API [5] as an alternative to the classic `connect()` API.

If you're interested in some of the behind-the-scenes details on how these libraries have evolved, see my posts "The History and Implementation of React-Redux" [5] and "Redux Toolkit 1.0" [6].

If anyone's got any questions, ask away!

[0] https://blog.isquaredsoftware.com/2019/03/presentation-state...

[1] https://blog.isquaredsoftware.com/2018/03/redux-not-dead-yet...

[2] https://redux-toolkit.js.org

[3] https://github.com/reduxjs/redux/issues/3592

[4] https://redux.js.org/style-guide/style-guide

[5] https://blog.isquaredsoftware.com/2018/11/react-redux-histor...

[6] https://blog.isquaredsoftware.com/2019/10/redux-starter-kit-...
>I have never met a Tesla owner on a bus or train in north america.

>I would consider a Tesla just to avoid disease at BART stations, a balance that would be a non-issue in germany.

Ding ding ding!!!
I'm curious how much the swine influenza epidemic in Chinese hogs plays a factor. They have been hit hard, and that is a major protein source in their food supply.
...if anything they would benefit more by making marijuana and other drugs legal and cheap, in order to suppress dissent. Surprised no one ever looks at it that way; people sitting around smoking a bowl are not likely to do much political protest
Australia gives tax cuts if you have a family with children. (Family tax benefit part A and B).
Do you think that's unacceptable social engineering?
Tommy’s Mexican Restaurant highlights quality Tequila in its margaritas
There is some irony in the fact that American academic institutions started out recruiting Chinese (and other foreign) Phd students and post-docs in order to expand the labor pool and push down wages.

Looks like the chickens have come home to roost.
A lot of people believed DMCA was bad law, and the thin end of the wedge when it was passed.
Reminds me of the time I was trying the first problem of Project Euler, “Multiples of 3 and 5” in Joy.

https://projecteuler.net/problem=1

> If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.

> Find the sum of all the multiples of 3 or 5 below 1000.

I tried dual iterators at first but it turned out to be more elegant to just generate the multiples directly using the sequence:

3 2 1 3 1 2 3

It turn out that the differences between successive multiples always form a palindrome.

http://joypy.osdn.io/notebooks/Developing.html

(In re: catamorphism et. al. see http://joypy.osdn.io/notebooks/Recursion_Combinators.html Cheers!)
Do you have a good resource for an intro to group theory and abstract algebra? I’ve never had a chance to study it in a course but it pops up a lot in physics and other interesting phenomena.
Private schools have never succeeded except for tiny % of rich kids

Also, big one, GPS
I disagree with you. Both ways work. Starting from theory, or starting from practice.

However, in a business setting, starting from practice is much more effective. As a lead dev and a manager who's had over 20 years of experience in AI/ML I've trained several engineers in building ML systems.

I always start with a business problem and point them to resources (frameworks, blogs, jupyter notebooks) to help them along. The problem is small enough for them to solve in less than a quarter. I avoid micromanaging them and will only answer larger questions by providing more resources. If they really get stuck I'll sit with them and walk through the issue. I have yet to have an engineer be unable to 1) get a model working and 2) tune it to production quality.
Correct. Although, instead of saying a "significant percentage" I would just say "some", because there is no way of knowing if mercury is the sole cause at this point.

I think mercury is a major factor in many illnesses, and the root cause of mine. I did have some serious memory issues for a while, and my ability to focus was so bad that I could not watch a TV show. There are tens of thousands discussing the same kinds of symptoms and how they disappear with chelation.

I think the source of mercury exposure, duration of exposure, intensity of exposure, where the toxicity eventually settles in the body, and genetic factors all play a role in the symptoms that an individual suffers from. That is why one toxin can cause such a wide range of illnesses. The "radium girls" who were poisoned working with radium in factories is a good example of this.
Great point. Thank you!
Not that it will help with this exact situation, but there's actually a trick to find out divisibility of 3 [1]. Basically it states: the sum of the digits of a number, N, are divisible by 3 if an only if the number N itself is divisible by 3.

[1]: https://en.wikipedia.org/wiki/Divisibility_rule#Divisibility...
Someone with some russian friends and or russian VPNs, please do this. You won't face prosecution and it will really cause some change for the better!
U.S. Federal GitHub Usage
Model 3 does about 4.1 mi/kWh. So that's 8.1c/mi (your prices). To pick one example, the A3 TDi does 42 mpg highway. That's 14c/mi. It's more like 19c/mi city. I just picked the most efficient car at the first German company I thought of. Perhaps there are other companies that make more efficient vehicles.

Also, at least in the US, most power companies have some kind of incentive pricing for people who own electric vehicles, if they charge at night. For example, during the summer, ConEdison has a plan under which you pay about 1/5th as much for power from midnight to 8AM. Assuming Germany's electric infrastructure is as advanced as that in the US (I hope!), then that reduces the Tesla's cost to about 2c/mi.

(Not factoring the reduced maintenance cost of a Tesla. Of course if you're really trying to save dough you buy a used Nissan Leaf or something sensible like that.)
Antonio Santos talks digital transformation differences in Europe and NA
By "offline" I think they mean the speech recognition and processing is offline and requires no third-party servers. I'm fairly certain you can assign voice commands to do stuff online.
This is inspiring hopefully I find some time in the new year to dig into this stuff. I feel like there will be a sort of arms race between open source and top tech companies around AI and privacy. Projects like this are needed imo
russian VPN or similar solves this
The world will stop buying Australian coal? China is still building plenty of coal power plants.
Why 0! Is 1
Do you think the same about reusable spaceflight?
Sorry meant *all female. I read the article including how they coaxed the seeds, but it's unclear to me what the seeds sprouted into.
that's what I like to hear
I wholy agree that it is a concern, especially from smaller/unprofitable companies/google (sonos thankfully is none of those). Just look at the Revolv hub and it's nest aquisition.

Based on the language used online from sonos, this whole recycle mode seems to be to pay users to give up old hardware so they can EOL'd it without leaving users with useless hardware.

If a company wants to EOL hardware, paying users to give it up seems to be an ethical way to do it (from a consumer perspective, if not a environmental one)
Being good means paying as little tax as possible.

> I don't think any corporation fits the bill.

Every employee, including the CFO, is paid to make their company's shareholders better off. For the CFO that means avoiding as many taxes as possible. The less they pay, the better off workers are (and that's not because the company is left with more money, but because the government spends less - you may want to consult economic literature on that).
Ask HN: What's it like to not own a smartphone?
I'm considering ditching my iPhone and deleting all major social media accounts cold turkey, but am wondering if this will have any unintended negative effects.

Anyone doing this already? What's it like?
United States Patent Office Data and Trademark Data Going Offline on January 2nd
> the absolute worst spots on the chip. That may mean a particular ALU

The worst spots aren't much worse than the median spots (over calculating silicon, not cache). Anything big enough to be a hot spot, like a big ALU, is big enough to represent a large portion of your power budget. The main goal is to get all the heat away from the chip, and putting peltiers on a large portion of the chip gives you more heat to take away. For anything significantly smaller than that, the heat bleeds out without the need of a peltier. There might be a middle ground where peltiers could make a real life difference, but I'm skeptical.

> or it could mean circuits with far more layers than we can manage now

That sounds like you're cooling the entire chip, which is the worst time to use a peltier.
Used luxury cars have also become less reliable and more extensive to maintain. The mechanical and especially the electrical parts have become more complex and failure prone. Potential buyers understand that even a minor problem out of warranty will cost thousands to repair, so I suspect that's another factor in lower used car prices.
This is also similar to marijuana IIRC. You pass out long before you're ever able to reach toxic levels of THC.
I'm not sure how true this is though, only something I heard from someone in HS who was a massive stoner.
An Average Freelancer's Year in Numbers
That article makes claims of 25% reduction in perf with no data to back it up, then mentions fragmention leads to system instability, requiring reboots... What? Again no data given to back up these claims. It's also SAN/Enterprise-centric. Even if you lost 25% perf, you're going from 200,000 IOPs/sec to 150,000 IOPs/sec. This is still plenty fast.
I have made quite a few enterprise grade desktop apps. They'd normally involve device control, real time data processing, graphics multimedia etc all running in many threads communicating using my own internal publish-subscribe and in memory EAV database. For each one performance mattered a great deal.

Yes I understand it may not matter much for many database front end apps but the world does not end on those.
Thinking of Buying a Microsoft Surface Device?
It is a beautifully engineered device. As a tablet it is near perfect for reading. As a portable laptop-like device it works amazingly well. It is an almost perfect bit of design.

But it has two fatal flaws.

The first is the "Microsoft Attitude". If you're "just a consumer" Microsoft feels you don't own your computer. Your "so-called work" has NO value. Trying to read using your app? Are you an artist trying to draw? Are you keeping a budget on your spreadsheet? Well, Microsoft NEEDS to reboot your machine. So suddenly all of your work is gone. And there is nothing you can do to stop it. But, hey, look at your pretty new login picture!

If you value your work do not buy a Microsoft Surface product.

The second flaw is the "Microsoft Attitude". The Surface product is designed to be trashed. The hard drive is soldered in. The case cannot be opened so the battery cannot be changed. So when your Surface fails you now have a very expensive piece of trash. Could it be engineered to enable fixes? Sure! Is it hard to make an access panel? Nope! But Microsoft decided you don't matter.

Mine failed in less than 9 months. Microsoft has "discontinued" repairs because, you know, the "Microsoft Attitude" ensures that you, your work, and your hard-earned cash don't matter.

DO NOT BUY A MICROSOFT SURFACE.
I think that this is poor style, but also probably is more because of his extremely unique given name. There are many Alfreds, Andrews, and Thomases, and so it really is necessary to specify Alfred Menezes, Andrew Miller, and Thomas Pornin. I don't know of any other Zookos, though.
Sadly it is different because of the magic of this. If you set something equal to document.querySelector and then call it this will no longer refer to document. There are fancier ways with Function.prototype.bind, but wrapping in a function is the easiest conceptually.

https://www.taniarascia.com/this-bind-call-apply-javascript/

For this specific case, you can see this at https://stackoverflow.com/q/13383886/8334056
https://m.economictimes.com/news/international/business/chin...
Major US companies breached, robbed, and spied on by Chinese hackers
Is it possible to create an index which only cares the top N items on a column?
Not op but Twilio has a whatsapp integration, and it seems pretty straightforward.
To complement the sibling, here is another Friedman quote which hangs at the top of [0]:

> We do not influence the course of events by persuading people that we are right when we make what they regard as radical proposals. Rather, we exert influence by keeping options available when something has to be done at a time of crisis.

[0] http://www.erights.org/
They cannot afford unless Tesla shares crash.
I think the idea is that their cash flow is constricting relative to assets they would need/want buy to establish their place in the world.
I think there's a bit of a leap between "Option types are useful" and "using terminology to describe simple and common patterns of computation", though.

I think it's not too far from practicality to describe the solution in OP as along the lines of "solving fizzbuzz by combining infinite streams". It's a quirky/cute solution.

I think there's a jump from "knowing these functions / structures can be useful" and "let's use terms like 'semigroup resonance' and 'catamorphism'".
Intrigued as to why I'm being downvoted.
I design and develop product for living. Universal guy. Mostly software but sometimes part of it is also firmware / elecronics / hardware. I happened to be a person who did everything from billing systems and other giant products for TELCOs and down to firmware for micro-controller.

Some products I own and some are made to order. Some I did on my own and for some I was a leader of big team
It probably does, but why is that relevant? I'm curious about these branching criticisms that come up, another fella above mentioned equal opportunity to earn higher income, you and a few others mention this marginal utility idea. I think these are valid concerns but lumped into taxation break what I think should be an application of the single responsibility principle (https://en.wikipedia.org/wiki/Single_responsibility_principl...). That single responsibility in this case is to make a contribution of our income to fund the government, period. We should have a simple tax formula strictly dedicated to funding the government where everyone has skin in the game and contributes equally along some metric. The flat tax seems a dead simple reasonable metric and is unquestionably equal when focused on contributions.

Once we start trying to equalize along these other dimensions of marginal utility or equality of some other thing we're no longer focused on funding government but enacting some equality/justice endeavor. Those I imagine probably also suffer from holding no simple formula to calculate their equalities against. Let such endeavors be handled by some other government agency dedicated to those causes, why drag the tax system into the mix and complicate things is what baffles me.
Another interesting aspect of this is that some new orthopedic prosthesis surgery is being done in a semi-autonomous fashion using robotics. (More autonomous in fact than more common surgical robots such as the Da Vinci, which is mostly utilized for soft tissue surgery).
This book is regarded as pseudo-science by psychologists. Although it's not like there is much good science when it comes to a subject this complex.

For anyone wondering what the list of proposed laws are:
https://www.nateliason.com/notes/48-laws-power-robert-greene

> Law 7: Get others to do the work for you, but always take the credit

Always shocks me that some people are actually proud of and recommend this kind of stuff. I guess it makes sense for a google talk, especially given how the google promo and perf review system works.
Spec wise etron competes against Model 3 and up coming Model Y not Model X. Large cars and SUVs like S and X don’t have a big market in Europe
This is something I always tried to instill in my direct reports: fix the problem. Publicly take credit for fixing the problem. Call out people who helped you fix the problem. Thank people in other departments who helped. I tried to model this as well: publicly take credit for my team’s successes. Call out individuals who helped. Call out other teams’ individual contributors (and managers!!!) who helped. Build a support network of people who want my team to succeed because we make them look good, publicly, visibly! One place I worked had company wide release notes that went to every employee, and I think this was an invaluable tool for success that I evangelize everywhere. Coding is half the battle; everything else is the other half!
Sure and easy to spot, thats not the point.
I ditched my cell phone a while ago. Your mileage may vary, but if your friends/employer are prepared to communicate with you without the use of any sort of mobile device, it's really nice.
Without experience in ML it's often hard to know what problems are solvable, how to frame the problem, and to tell a good solution in Github from a bad one, etc.

If you want to go an applied route I'd suggest starting somewhere like Kaggle and looking through the competitions for ones vaguely similar to yours. They've done all the hard work of choosing a challenging but solvable problem, sourcing and splitting the data, and choosing a metric. You then can see what techniques actually work really well, and benchmark different approaches. Academic challenges like Imagenet or Coco are also good for this, but you'll have to work harder to find relevant resources.

Once you've done this a couple of times, you can start framing your own problems, collecting and annotating your own datasets, deploying and maintaining models.
'Security by obscurity' is deprecated because obscurity alone does not lead to security. This in no way promotes, endorses or justifies irresponsible disclosure.
> Where in my statement does the assumption of equal income mobility pop up?
You wrote:

> [A flat tax is] about as equal and fair as you can get

I disagree about the fair part, but we likely have different ideas about what fair means in this context. For me, equal opportunity to income mobility is part of what fair means.
How is it fair that my taxes paid to the state of California, a US state, are much less deductible than my taxes paid to foreign governments? No cap on those. The idea is that taxes paid are not really income but rather my cost of doing business, nothing to do with who gets them. It’s like an expense for a business. No matter how high or who they go to they’re not taxed; they’re deducted against income.

California takes that tax revenue and reinvests it into the populace which is what generates the income the federal government relies on in the first place. Think of state tax revenue as COGS. The federal government has always been second behind the states and been severely limited in scope and responsibilities. You know what if a state had 100% tax, they could decide between themselves and the federal government how that would be used to service national obligations without involving me.

Further it is patently double taxation if I have to pay taxes to two entities based on the same unadjusted income. Fair or unfair (in your opinion or mine) it is what it is: double taxation.
I have never had a mobile phone.

No issues.

I do have a Samsung Galaxy tablet that I use for reading.
This is so beautiful.
Not very illuminating.. simply simply says time does not exist..
That’s ok, because by having children you provide a service to the state (i.e. ensuring its existence in the long run).
How to Be a Happier Person in 2020, According to Therapists
Something I've wondered about the "immutable updates" pattern discussed in the article: do JavaScript engines optimize it somehow? On its face, it seems like it would turn a constant-time "favorite post X" operation into a linear-time "create a copy of the array of all the posts, replacing post X with a copy of post X where 'favorited' is true" operation.

Or do developers just assume that their UI code won't ever need to scale to large numbers of items? (Is this why JIRA's web UI is so slow when you have a couple thousand open tickets?)
Can someone with proper background explain what’s important about these cancer cells? How difficult would it be to replicate them?
For me in 2019, it is learning to get started to write and just write.

Ideas to long form content that is fully developed, fully formed and fully proofchecked content is an extremely laborious process.

PG had a tweet out once ... just write ... publish or not publish is secondary. (something like that). I tried to implement and do that now.

Just beginning to write can be learned easily in an hour and the return on effort is, IMHO, fantastic. It can commercially be pretty useful but the mental clarity itself makes it worth it.

The second is meditation ... read The Mind Illuminated ... just the first stage (the author lays out a lot of progressive experience). Jump straight to the first stage chapter and just do it and repeat! I don't even try to progress further in practice ... it's pretty tough! The first stage is itself worth it.