skysight-inc/HackerNews huggingface dataset:
Looks very similar to Undux! https://undux.org/

Then again, who hasn’t built a state management framework for React?
Yes it is pretty straightforward though the project is still growing and suffering from the usual growing pains. Think docs that has plenty of room for improvement, insufficient example projects and components. On the up side the team responds quickly, the concepts are ridiculously simple compared to Redux and there's a burgeoning community around it.

E.g. https://sveltematerialui.com/

The Next.js equivalent for SSR is Sapper: https://sapper.svelte.dev/

Note the creator of Svelte is the same guy who created the Rollup bundler so pretty much everything comes with dual configs for both Rollup and Webpack.
Do the Chinese YouTube’s have positive cash flow? I don’t even know if youtube has positive cash flow.
That link is a 404, looks like the site is here: https://rematch.github.io/rematch/
I agree with everything you wrote and while I also believe that "a lot of their specialised suppliers will go bust" I think that at the same time there are big opportunities for the suppliers and some will prosper.

The reason is that I believe electronics and software will become ever more important.
Traditionally the German manufacturers have outsourced anything to do with software and even most of the electronics. They have no internal knowledge about software what so ever - every bit of software know-how is at the suppliers. That's why I think that at least some of the suppliers will be better off in the future than the manufacturers themselves.

And it is also a question of human resources. In the past and for a long time software developers at German car manufacturers have been looked down on by all the "real engineers" who are in charge. As a software dev you have been much better off at a supplier. This is changing but in my opinion it gives the suppliers a good head start on capable staff for software projects.
I used a mix of apktool (reading raw Smali code) and jd-gui for a while, but recently transitioned mostly to using JADX: https://github.com/skylot/jadx

JADX is really nice - there’s a decent GUI, and it also supports exporting the whole thing as an Android Studio project so you can directly take advantage of the refactor tools there for more deobfuscation. It also has a smarter decompiler than JD as it’s specialized to go straight from dex to Java (JD makes a trip through the classic JVM class format, which loses some nuance of dex).

Of course, many of the apps I’m taking apart have native components, for which I use GHIDRA and IDA.
Yeah, I couldn't come up with any either.
I've used both long term. Your best, most comfortable option when working at a desk is always to use external devices (display, keyboard, mouse/trackpad). Otherwise you're forced to hunch over or remain in overextended positions.

Mac hardware is very high quality, and my experiences with their external keyboard, mouse, trackpad have always been positive. I've also enjoyed using Logitech's solar keyboard (https://www.logitech.com/en-us/product/wireless-solar-keyboa...). I like never having to charge it. They used to also have a smaller version (no keypad) but it looks like they don't sell it anymore.

Using a laptop by itself is only nice when you're on a couch or bed or something similar that allows you a lot of freedom to change position.
10 Tips to Improve Your Typography Skills
A great resource for understanding how persistent data structures are implemented is Okasaki’s Purely Functional Data Structures: https://www.amazon.com/Purely-Functional-Data-Structures-Oka...

Also available as a free PDF: https://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
Steve, the Winter Sky Phenomenon
Missing In Action

https://en.wikipedia.org/wiki/Missing_in_action
Yea that's a good point. This matters when your derived data takes linear time to recompute. There are still techniques to make this work (but not automatically afaik). For example it's easy to make them efficient again if your computation is just an associative fold or reversible fold: https://sci-hub.tw/https://link.springer.com/chapter/10.1007...
The Largest Free Collection of 3D Color LUTs
Since “orange man” was president in each of the last three years and all three featured a larger trade deficit than pre-“orange”, this is just total nonsense.

Also, assigning credit (or blame) for jitter in a giant flow doesn’t make sense unless there is particular action taken the effects of which are isolated. So, for example, slapping on some dumb tariff adding $X00 billion to a trade deficit that otherwise fell by $X01 billion due to continuation of existing economic trends isn’t an accomplishment to crow about.
That's very nice code and Python is non-functional. I love its generators.

That's my version to make it more "functional":

from itertools import cycle, islice
from operator import add

fizz = cycle(['', '', 'Fizz'])
buzz = cycle(['', '', '', '', 'Buzz'])
strings = map(add, fizz, buzz)
strings_or_nos = (s or i for i, s in enumerate(strings, start=1))
print(list(islice(strings_or_nos, 100)))
My main issue with UBI is that businesses will aggressively raise prices to capture that money. Not every business will, but most will, so you can be damn sure everyone's rent is going to increase at the highest rate legally permissible all around the country.
Friends don't let friends use observables
https://en.m.wikipedia.org/wiki/Financial_Times_and_McKinsey...

better, but different.
it's here: https://en.m.wikipedia.org/wiki/Financial_Times_and_McKinsey...
Y2K at 20
In a way very true but also subsidized by the wealthy's spending habits. To mention UBI without the accompanying VAT would not properly show how progressive this system can be with higher taxes applied to non essential goods.

People concerned with it wiping out safety nets needs to understand how under equipped and under utilized they are for numerous reasons. The average benefits also average to only about $500/month. UBI is a new economic floor in which we can mobilize large swaths of the population and revitalize small towns that are falling apart. The shift in economic power will be massive and it's incredible to think about.

https://www.urban.org/research/publication/five-things-you-m...

https://www.washingtonpost.com/business/economy/13-million-p...
Beaver Overthinking Dam (2006)
Yeah, if you want to go around the block a few times before you run out of juice.[1] A lot of Americans need much longer range.

The EPA range of the 2017 and older models was 81 miles. For about a year I did a one-way commute of about that distance. Only for 2019 did BMW come up with a somewhat reasonable range of 153 miles.

I don't take the REx variant seriously. They are a really bad joke. Why not add an IC engine merely to get to a 200 mile range? And at the same time lower your electric-only range to 126 miles because of the added weight. That's beyond stupidity.

Even with all that, I can't buy a new BMW i3 locally.

The Beaverton dealer claims to have 231 vehicles, exactly zero battery vehicles: https://www.kunibmw.com/new-inventory/index.htm

The Portland dealer claims to have 111 vehicles, exactly two BMW-i vehicles. They are both i8 at about $170,000 each: https://www.bmwportland.com/new-inventory/index.htm

[1] https://en.wikipedia.org/wiki/BMW_i3#Fuel_economy_and_range
Different folks take different paths. In any language, you will find folks who start out by kinda overshooting before they learn to tone it down.

It’s not that all Juniors are this way. Maybe some get it right or maybe they even act too skidding. But I think of it as a Junior trait to sometimes overshoot on complexity.
Andrew Yang is too early with the UBI, which in this case means he’s wrong. We still need humans to make things and the future. A negative income tax would work better now and would be a better segue to UBI.
A guide to modern Python tooling with a focus on simplicity and minimalism
Yep this is exactly it. There is a periodic phenomenon going on here. We do not measure or collect data long enough to look at it like that. I think the trend is hard to spot here.
https://jfi.uno/jiofilocalhtml https://adminlogin.co/tplinklogin/ https://isitdown.top/
Similar project (quite old): CMU Sphinx
I was curious about Youtube too, apparently around 2015 they started breaking even.

I couldn't find any more recent articles, although there were a whole bunch in 2009 about how much money it was losing.

https://www.itproportal.com/2015/02/26/youtube-still-loss-le...

I think an obvious but interesting thing about video-based business models in general is how their storage costs per video are basically indefinitely constant, but their revenue per video declines dramatically. 20 years from now Youtube might have 100x more content to store on their servers but it probably won't be getting 100x the views. I think the internet hasn't been around quite long enough for these kinds of things to become a real problem just yet.
Yes, prices will likely go up. However, they will not capture all of that money. And UBI will allow people to have more choice in where they live. UBI will give you the flexibility to move somewhere new and figure things out when you get there, rather than having to have a job lined up immediately. This should, at the margin, decrease the lock in effect of big cities, and maybe even cause rents to decline over time.
I deleted Facebook cold turkey. I don’t regret it at all. I still enjoy Instagram. I find the ads on Instagram very relevant and sometimes find cool new things there (I enjoy everyday carry/outdoorsy topics). I think I’ll probably delete Instagram in a year or two though, I don’t think Facebook will maintain it well.

Twitter would be the hardest for me to let go. I enjoy seeing posts from friends, developers, journalists, and comedians there. Using Jumbo app to prune any tweets older than a month helps me feel like it’s less a permanent record on myself.

And finally, the tech I’m most worried about keeping but can’t really let go of because of family and friends is WhatsApp. They’ll have to make money with it one day and all the pressure from other governments to decrypt seems like it might hit a breaking point for them.
https://speedtest.vet/ https://vidmate.bid/ https://123-movies.red/
Vote for Aadvik Singh – MyCuteBaby Photo Contest
The link is to the full text of the article. The method (difference in differences) is well-known from the famous study on minimum wage laws (Card and Krueger, 1994).

> To examine the effect of cannabis access laws on opioid prescriptions, we estimate a series of difference-in-differences models, exploiting the staggered adoption of cannabis access laws over time ... Following Bradford et al. (2018); Buchmueller and Carey (2018) and Patrick et al. (2016), we include controls for [several] different legal changes that may impact opioid prescriptions in a series of robustness checks ... As described in detail in the appendix, we test our data for parallel trends between providers in states that adopted cannabis access laws and those in states that did not. We are unable to reject the null hypothesis of parallel trends, which supports the use of difference-in-differences models.
Whether it’s automation or something else doesn’t really matter. I think it’s hard to argue that there’s a ton of shitty jobs out there, and those shitty jobs are most vulnerable to outsourcing, automation, made obsolete, etc. People in those jobs are the ones that could be most helped by UBI.

Of course you need to think about how to replace shitty jobs with better ones over time, but UBI smooths out societal issues created during those transition times.
The biggest breakthrough for me would also be free medicines and Universal healthcare for everyone.
I’m pretty sure flat tax was done before and people cheated on that too so it doesn’t remove the need for IRS and enforcement in general. Even if other forms of tax are not fair the immediate problems that causes are nicer problems to have than not enough revenue from flat tax.
I'm hoping UBI exists in 10-20 years. I could take on my parents' home on that kind of salary without thinking, and just dub along as a subsistence farmer/ occasional contractor.
sched_yield() isn't being used for synchronization, it's to yield the calling thread before its timeslice is exhausted because it's potentially preventing the lock-holder thread from getting scheduled to run and releasing it.

Spinlocks assume the critical section is fast and non-blocking, so when the spinning lasts longer than expected, throwing in a yield can help by handing some CPU time to something else.

The lock-holder might be getting scheduled on the same CPU and waiting for this thread to yield, or there might just be excessive threads runnable right now and burning cycles pointlessly spinning isn't helping get the lock-holder to run and release the lock any sooner.

In a situation where you have exactly as many threads as there are CPUs, and they've been assigned their own respective CPUs, and there's nothing else running on the system, I wouldn't expect the yield to help. But that ideal isn't how things generally look in practice.
>Mega-weight in the indices, Apple, is a good example: shares soared 84% in the year, though its revenues ticked up only 2%. This is not a growth story. This is an exuberance story where nothing that happens in reality – such as lacking revenue growth – matters, as we’re now told by enthusiastic crowds everywhere.

I nearly stopped reading after this. In hindsight I should have done exactly just that.

Despite that ridiculous 83% growth, Apple's P/E is only just inline with S&P average at 24. With high amount of Net Cash. It is basically the market buying into Services and Finally admit Apple is not dead, and wont be any time soon. ( But the stock is now used to manipulate the wider indices )

And in the Tesla and GM example, it is simply Tesla was one of the stock trading at very high vs GM trading low.

At the current growth rate and tension between China, may be a P/E of 24 is a little optimistic, but they are by no means a bubble. The first sentence in the article:

In my decades of looking at the stock market

Bubbles happen when everyone in the market is stupid. Stupidly believe nothing could go wrong. Housing wont fall, Stock will go up. I dont see any of these at all. It seems to me investors are still very cautious, and talk about the 2008 crisis as something happened a few years before, when it has been 12 years now.

The only risk I see right now is China. Simply because the market is so opaque we have no idea what is really going on.
I'd be much happier getting security concern inqueries via my git log email than the recruiter spam I've gotten in practice!
It depends on how government would get the money for UBI. If it goes ahead and just prints more money then there will be rampant inflation, but if it redirects money from other programs, the prices of some goods may change, but there won't be inflation.
I assume you are referring to React apps? I am curious how you manage state in large React apps. I've yet to find a solution in large/complex apps that I truly like. But in general I have found I prefer "redux-esque" approaches.

Redux itself has had a pretty rocky road. From its early days of lots and lots of boilerplate, to "ducks" and all kinds of other things over the years. I think the problem was Redux has always been nice in theory, but getting it nice in practice has literally been years of people trying all kinds of things. I think most people's opinions of Redux are largely shaped on at what point they jumped in.

I am having some decent success with the new redux-toolkit. It's finally an opinionated redux offering, which is nice to see. I've also been exploring mobx-state-tree and rematch, and have even had some success with using context coupled with useReducer for a very lightweight redux approach.
> Those crashes are like when I accidentally open a file with vim. There's nothing wrong with me, there's nothing wrong with vim

I disagree, strongly. The root cause of the issue isn't pilot training.

The root fault is a design issue.

Without the existence of MCAS, these crashes would not have occurred.

Why? Because they would never have been built.

Why? Because the 737 MAX 8 design would not have received approval to be incorporated into the 737 type certificate.

Why? Because the MAX 8, without MCAS, has different handling characteristics during certain phases of flight than the original 737.

Why does it handle differently? Because it has larger and more powerful engines, located differently on the wing, and these changes cause the aircraft to want to pull up more when climbing.

I don't know that the MCAS's programmed behaviors have a good analogy, I can't think of one right now.
$12K/year is hardly a free ride to a life of no work. There will be a tiny minority that somehow game it and live off that, but for the vast majority it’s a cushion and not a replacement for work at all.
Rewriting m4vgalib in Rust
Every profession also has its own social / cultural norms, regardless of the general level of interpersonal skill / communication skills / emotional intelligence (they all overlap) needed to succeed in that work environment.

If by nature and nature you are in line with said norms, that’s one thing. If you’re not (which isn’t a good or bad thing, just is) then you’ll probably need more of those aforementioned interpersonal skills than someone who “fits the profile” (especially when the profile is maybe not even a deliberate thing that people are aware of), so to speak.

Truth be told learning to develop more interpersonal skills is a _plus_. It’s so valuable in life in general, well beyond the workplace.
The most exciting thing about UBI is how versatile its benefits are for human resilience.

Work conditions unfair? you have a much easier time quitting knowing you won't be stuck with 0 income.

Politics overrun with corporate money? flush it out with grassroots donations now that you have some pocket money.

Sick of the day to day grind? take your money to a community that fits with your personality now that every community is getting a massive cash injection

Worried about a president like Trump cutting your SNAP benefits again? Opt-in to UBI and never worry about your funds getting cut without the entire country getting infuriated.

People rarely feel this level of freedom. I've only felt this level of security recently but I believe everyone deserves this. I was only lucky to have made it this far from the opportunities given to me by my parents and the support I had when I couldn't stop fucking up. People need to be able to take risks and have retries. Without it, you get people working jobs they hate while envying lives they'll never have.
Windows automatically boosts the prio of threads playing audio, basically treats them as realtime in its prio hierarchy. What I expect GP is talking about is minimum latency achievable, i.e. that with focused tuning, you can outperform Windows.

Regular users of not so tuned apps probably experience this differently because Windows tries to do the tuning automatically and Linux doesn't.

The Windows scheduler has other issues, like random prio boosting to escape from prio inversion.
Is there a particular reason you want to stick with Apple gear for your keyboard and mouse? Mac OS is super configurable and will happily let you remap the keys such that Alt becomes Command/Apple and the Windows key becomes Option.

I personally use a Goldtouch for my keyboard and a trusty old Microsoft intellimouse (the white and red ones). Others swear by the Kinesis line of keyboards, particularly as they go one step further in reducing common programming challenges of the Control and Escape keys being hit by your left pinky finger.
Huawei opens first unmanned store, selling phones with robot
Can someone explain to me the negative consequences of running a deficit? Countries aren’t people. They don’t die. As long as countries are willing to lend us money and the US can service the debt, what does it really matter if the national debt is multiples of the GDP?
From Beijing With Love.

Brilliant movie!

https://en.m.wikipedia.org/wiki/From_Beijing_with_Love
So, you're for free speech as long as it's the kind of speech you like?
Which $15 player runs Rockbox?
Yang's proposal doesn't seem like UBI to me. A key component of UBI being the U - i.e that it is universal. However, Yang wants to pay for it, in part, by adding new taxes. In order for some people to make money, others must, on net, lose money.

To actually have a UBI I think the government needs something valuable, and can then sell that valuable and distribute the money equally. For example, in Alaska, the state has the rights to oil. The state of Alaska sells that right to private companies and splits the proceeds with the citizens. That's a UBI in a way that taxation and redistribution is not.

Automation could play a role with UBI. I imagine that eventually industries could reach complete automation. When that happens, in my view, they should be nationalized. The government should run the automated industries and pay the proceeds to the public. The more we automate, the more basic income everyone will get. This also answers the "Why not 2,000 a month, or 30,000?" Objection to Yang, by having a natural brake - we'll give as much basic income as we can. And it gives an incentive to keep automating.
Amazon's tax rate is not 0%. Their payroll tax bill for any given month is more than any and all of the taxes you will pay in your lifetime. To say nothing of the many other taxes they pay.
it seems like it's down again :(
I have used by 13" MBP in a TwelveSouth BookArc with 24" LCD, a Magic keyboard and Touchpad. It works very well as a pseudo desktop. The only provisio is that you must have the power connected and switched on. The combo turns on when you hit the side button the keyboard or touchpad. Every once in a while that doesn't work and you need to open up the MBP to get things running. I think it is a BlueTooth glitch; I have a similar problem with another Apple Magic keyboard running with a Linux system. Then again, BT seems flakier on Linux.
Catalogued Objects
You only need to remember 5 things:

- For 2020, the doomsday is Saturday.

All the dates below are doomsdays (So this year they are all Saturdays):

- 4/4, 6/6, 8/8, 10/10, 12/12, easy enough

- 9/5, 5/9, 7/11, 11/7 (9-to-5 at 7-11)

- 0th of March (last day of February)

- 3rd of January for non-leap years, and 4th of January for leap years. So this year the 4th is Saturday.

And to calculate dates: mod 7.

So e.g. 7th of July: it's is 4 days before Saturday 7/11, so it's a Tuesday.
Couldn’t agree more.
I’ve used this approach to manage up and mentor. Surrounding myself with talent I often see this pay off handsomely. Not only do I move up the food chain, but as others in my network do they know the first person they want that helps them shine.
Off topic, but thanks to you and the JACK team! I think it's one of the most underrated pieces of software around. I have used it many times over the years and I'm constantly amazed at how good it is, even compared to industry standard proprietary stuff.
Keyboards are a very personal choice. Personally I actually prefer to use the Apple Magic keyboard with my desktop Linux system. You can remap keys easily with system tools. Although my next best preference are mechanical keyboards, i.e. using Cherry key switches.
Nulisec – The Free European B2B Marketplace
You could get one for under $10/y which is not what I’d call a fair bit of money.

I think the problem with HTTPS/SSL was that it tried to solve two problems at once (trust and encryption) without a practical way to separate them. You can argue that’s justified (what’s the point knowing the connection is encrypted if you don’t know who is on the other side), but those panicky browser alerts made self signed SSL certificates all but useless. That’s why we need letsencrypt now.
Yang wants to give everyone legal ownership of their own data. That is going to be more disruptive to the tech industry than antitrust rulings against a few companies.