skysight-inc/HackerNews huggingface dataset:
Well, I know that on one tool we saw a 20x or so speedup compared to using Redux. This is because Redux is O(n) in that it has to ask each connected component whether it needs to re-render, whereas we can be O(1).

useReducer is equivalent to useState in that it works on a particular component and all of its descendants, rather than being orthogonal to the React tree.

I think if you can model something with pure functions, you should. That's the approach we try to take for asynchronous processes: just a pure function that you happen to evaluate on some other process. This obviates the need for things like sagas. So I agree with you there I guess.

If you post an example of what you don't think it could handle I will tell you how we would handle it.
GREAT find with that big tip book. Remembering that now.

Oh sweet nostalgia, just give me a little more of your time.
Does it make sense for a hardware ISA to express cooperation between chips? I would think HW ISA is meant to control it's local microarchitecture. I could see a virutal ISA or compiler IR built with a multi chip view.
Post-Pandemic Work Life: Going into Work Once per Week
Yep! That is one of the things we’ve worked the hardest on. Completely new indexing structure, using an append-only hash trie which scales really well. We’ve tested it with many big datasets including importing all of Wikipedia as files in a single folder. Worked like a charm :)
you have to have payroll run in the state where you work

so you couldn't do this without either updating with HR or tax fraud
I would if I could but I can't afford to be that picky.
Open Source in China: The Trends
I bet your scheme would get a lot more movies encouraging giving money to artists, tipping large sums of money, and targeted at rich people who have the money to give large tips.
The AI Machine: BMW Group Selects Nvidia to Redefine Factory Logistics
The ultimate in AI technology is now helping build the ultimate driving machine.
I Setup a Monitor in My Room and Why It's Awesome
Ever since schools have been closed due, I've had much more time to code and write.

Online school only takes me 1-2 hours every morning. Before, school in-person before quarantine took at least 11 hours out of my day, leaving me with little time to do what I love (coding, writing, building).

Doing school online and at home isn't the main focus of this article. The main focus is that I setup a monitor in my room and it's helped me get a LOT done.
I've been working on a language learning app for the last year and a half, and quarantine time has definitely given me even more bandwidth to work on it. Been a source of real pleasure these last couple of months, actually.

The app itself is a bit of a different take on the problem space than many of the other well-known offerings in the market. iOS only for now, SwiftUI, and built around enabling "Compelling & Comprehensible Input"-based language acquisition using video, audio, and text you've supplied yourself.

Interestingly - when I started the project I reckoned it would be about 2 years to shipping something useful, which would mean about Q3/Q4 2020. I'm starting to think that estimate was, shockingly, about right.

Cheers to everyone and their projects!
As the author of a digital photo and video management system, it pains me to agree with you.

PhotoStructure will get your piles of digital files organized, but it can't guarantee that the disk won't crash, that you have a backup, or that the computer won't go kaput. A printed book on acid-free paper and archival inks can just sit on a shelf and be fine and readable by anyone 50 years later. No technology can say that.

Also: assume the images are irrelevant by default.

Try to write something on the back of each photo explaining why it's relevant. At least write when it was taken. Bonus points for who is in it, and the event.

When my brother and I went through boxes of old photos without annotations of any kind, and not being able to ask who's in a photo, or when it was taken, or why it's important, meant most of the contents were irrelevant to us. Very sombering.
Who would buy a version of Windows that doesn't run the Windows back catalog?

If you don't want to run programs, you could get a Chromebook.
You can't really compare Rust to Zig & Nim anymore. 2016 is over, Rust is deployed in the wild on millions of computers (Dropbox, VSCode, and obviously Firefox), there are dozens of Rust packages in Debian apt repositories and it's being used by many companies (Microsoft, Amazon, Facebook, Google, etc. even Nike!).

Of course it's incomparable to C and C++, and it will never replace them, but comparing it to Nim and Zig makes no sense either.
I just made the switch for exactly this reason! Still getting the hang of the UI but seems promising so far. I shoot with Fuji cameras which seem well-supported here.
> That is a pretty major difference with wide-ranging effects on program performance right there.

It really isn't. The only difference is that in the second case you have to call mmap() at the beginning of your program to allocate stack space and then change the stack pointer to point to it, the rest of the execution would remain the same.

> That is a pretty major difference with wide-ranging effects on program performance right there.

> And once you do, that memory becomes functionally privileged from the perspective of your allocation strategy.

So you're saying that the transformation you mentioned gives you better error messages at the expense of performance, because now instead of using the stack, you have to keep allocating a stack-like structure on the heap?

If so, that's not entirely true, as you can have the same error messages without doing this transformation (that's why some kernels and runtimes can detect stack overflow and even resize the stack), so the only observable functional difference is that you replace a simple stack-like allocation mechanism with one that is slower without much benefit.

And it would still be a bit disingenuous to say that the transformation would make your program use constant stack space, as if replacing stack space with heap space somehow makes stack usage on a recursive function irrelevant...
==I wouldn't get hung up on equipment costs when the cost of space is far greater.==

I think you misread my comment because this was my exact point. Fundamentally shifting 8-10 hours of our day back to our homes will directly impact how we set up our homes. What might those impacts be? More space is the first one that comes to mind because I feel it everyday with two people working-from-home.
This article is pretty low quality.

Yes. First, who's doing this? It sounds like Contemporary Amperex Technology Ltd in Ningde, Fujian Province, is providing the batteries. But there's no press release from them.[1] Also, their stock went down a bit today,

CATL is the world's largest lithium battery manufacturer. They produce about 40GWh of battery capacity a year, compared to Tesla's 35GWh or so. CATL has been roughly doubling production each year for the last few years.
Their output is not exclusive to Tesla. They've mostly targeted China and European car manufacturers. They're building a huge battery plant, bigger than Tesla's "gigafactory", in Germany.[2]

If this is real, it's all about CATL.

[1] https://www.catlbattery.com/en/web/index.php/news/lists

[2] https://www.electrive.com/2019/02/04/catl-plans-up-100-gwh-b...
Can someone who understands tax law explain how this is legal and is continuously being tolerated? This clearly goes against the spirit of the law.
The Last of Us Part II - Inside the Story
Ah I knew that but didn't run the implications right in my head. Thanks for the correction.
Always interesting to read how others work.

I'm a backend dev who does quite a bit of frontend though I deeply dislike the current state of frontend (bring back Webforms)

For me it all starts with the database, always. Code, ux, network is all ephemeral. The schema, the invariants and the data are forever. (this is also why I think microservices are often the wrong approach, you're solving a code problem at the expense of the data)

I've been thinking about the concept of code as pipes for data and the (incorrect) emphasis we place on code. This is why something like MongoDB never clicked for me, code is worthless without the data it operates on and ensuring the quality of that data takes priority over anything.

Of course you need to know roughly what the data will be used for and approaching it database first can result in some nasty surprises if the requirements change, but the rest of the code will rot and be replaced far sooner than the database. Given the churn on frontend the schema in the database will probably see 5 front end frameworks come and go.

Edit: having written this I realised this is also why I don't like or understand letting your ORM handle database migrations. The code is built on top of a dependable database, letting it inform the design of the database is completely the wrong way round, in my opinion.
I think this might actually work out because IKEA will essentially become the new $ANCHOR_STORE.

In previous times these anchor stores were businesses that got blown out by the Internet so there was no more anchor, and no more reason to visit the mall.

> Big Clothes Store - Go Online

> Big Book Store - Go Online

> Big Cinema Complex - Go Online

But furniture? People still wanna visit the showroom and check out the merchandise before dropping $thousands, and you might as well get a new pair of shoes and a sandwich too while you're there.

In short, don't change the Mall, change the Anchor.
I know Tesla has the best batteries of an EV in mass production, but that price seems really high. I found this article last year talking about VW paying <$100/kWh.

https://www.electrive.com/2019/09/09/id-3-batteries-cost-vw-...
Researchers at NREL Demonstrate Feasibility of Blockchain Energy Transactions
> This can be changed easily

Would this change the fact that they just manufacture the "vessel" not the contents, or distribute the contents from the source? I see this more as "democratizing power", giving people more flexibility, and indeed maybe even changing the way we use the grid. But it certainly wouldn't put Tesla in the same segment as companies like PG&E or TEPCO.

Hard drive manufacturers are never considered "content companies" regardless of how they sell or lease the drives, and what content they store. And Toyota or VW are not considered oil companies even if their cars probably move more gas than many small ones.
Tenants much easier to replace than finding a good company to invest in.
The Dangers of Chrome Extensions
> Why is that a problem? Everyone can sign for each other within their congressional district...

You can generally only sign for one candidate per election.
Just for fun, somewhat unrelated, here's what is possible on an 8 year old engine (if you want to melt your GPU/CPU a bit)

https://www.youtube.com/watch?v=B8kEIOBoRGk
Why anyone would install acrobat on a mac is beyond me. The native PDF support is plenty good and if there are adobe reader specific features I dont want them anyway. I may not be the majority opinion here, but I try not to use the format anyway if I dont need to.
2 HN mods control 100% of fourums!

(And, generally, do an excellent job in my view. Not perfect, but it's a difficult, unending, and greatly-underthanked task.)
It's $500 more than my mortgage for a single-family-home in Chicago.
With the virtualization primitives in modern CPUs it's like 95%+ of native. GPUs are a total lost cause though, so you won't be playing games (unless you do GPU passthrough).
5 Things to Know If You’re Hesitating to Buy Bitcoin for the First Time
I'm not in favor of every household going fully self-sufficient, but I think it's time we evaluate if we really need extreme efficiency in many aspects of our lives. I believe there are many services that would be less damaging and less polluting to the world if implemented at the community level. Growing and delivering food is a great example.
The Almighty Service Layer
The higher R0 means it spread throughout the city in two months, with a lower R0 it will take more months to reach the same level in other areas. Same devastation, it just takes longer to get there. Why is that acceptable?
> there are more polys, sure, there are higher res textures, sure, there are more complex and dynamic lights

What I'm noticing is there's too much focus on fancy lights, over-the-top postprocessing effects with annoying crap like ambient occlusion, screen space reflections that hog a lot of performance for just reflecting your character in water puddles placed everywhere just to show the effect off, and so on.

And not enough focus on good old textures and polygons. Approaching spherical objects closely still makes the polygons very very obvious. Staring directly at walls still shows how low res textures are.

> You could destroy everything, dig holes, build things

You might be looking for Minecraft! :D
Anyone is free to target PTX and do their own compiler on top.

In fact, given that it is there since version 3, there are compilers available for almost all major programing languages, including managed ones.

While OpenCL is a C world, and almost no one cares about the C++ extensions and even less vendors care about SPIR-V.

Also the community doesn't seem to be bothered that for a long time, the only SYCL implementation was a commercial one from CodePlay, trying to extend their compilers outside the console market.
Well you have quite the dilemma.

On one hand, they are pieces of vintage hardware.

On the other hand, you may have about 5 grams of gold holding up your father's table (up to .33g/cpu*16).
A mask labeled as N95 that knowingly doesn't stop 95% of particles is a fake N95 mask. It is a real mask, it's a fake N95.

There's a big distinction between "we had a manufacturing error" sort of scenarios and folks who knowingly produce stuff that doesn't meet the standards (or don't bother to check).
I think he meant Ryan Dahl's talk:
Design Mistakes in Node
https://www.youtube.com/watch?v=M3BM9TB-8yA
That's a bit extreme. Google sends out emails every few months about new policy that may get checks. They definitely aren't very good at doing automatic checks that are relevant or have much relationship with the policies they publish.. But that is a bit different than strategically attacking specific apps beyond choosing the X thousand most popular apps to get the most users affected per presumed threat.

(I get various compliance spam and ignore it and among things with small numbers of users and/or owners who lost interest a small percentage a year fall out of the stores. The only differences are that we don't care enough to forward the threats Google sends us and no one would bother to amplify them.)
Congratulations on the progress and getting this out the door! It's very exciting to see significant work on Beaker. I look forward to playing with it.
Maybe the FBI should stop making them first.
I will answer, since I have been following this strategy for almost 20 years.

In my experience, very, very few companies sell email addresses. Maybe 1% or fewer. The vast majority of spam tied to company-specific addresses is the result of data breaches. I get spam to my (old) linkedin, dropbox, equifax addresses - all starting after they were hacked.
This is different from commit messages. Commit messages are about the past. Notes are about the near future.
It's an old trick in generative models, I've been using it since 2015: https://www.gwern.net/RNN-metadata When you have categorical or other metadata, instead of trying to find some way to hardwire it into the NN by having a special one-hot vector or something, you simply inline it into the dataset itself, as a text prefix, and then let the model figure it out. If it's at all good, like a char-RNN, it'll learn what the metadata is and how to use it. So you get a very easy generic approach to encoding any metadata, which lets you extend it indefinitely without retraining from scratch (reusing models not trained with it in the first place, like OA's GPT-2-1.5b), while still controlling generation. Particularly with GPT-2, you see this used for (among others) Grover and CTRL, in addition to my own poetry/music/SubSim models.
I've never had my bottlenecks end up being because of Redux, but that could just be me.

I'd love to take a look at a larger project using Recoil though, just to get a sense for how it looks with a relatively complex state setup. My first impression is that it would get messy pretty quick, but I've been wrong many times before :)

Also, I'm not trying to shit all over your project, congrats on rethinking state management. Regardless of how I feel about your library, that's still awesome.
Not really. Most 'green' cars are in fact burning coal.
People with younger kids are probably having a hard time balancing work with kids' needs. My 14yo is absolutely independent with distance learning. In the 6 weeks or so that she started it, she needed help less than 10 times.

You can't imagine the relief from just being able to throw in a load of laundry mid-morning, take the dog for a walk at lunch, and starting a meal immediately after work. Working from home is a major stress reliever for family people. My wife and I are also saving quite a bit from not driving our cars, not going out for coffees or lunches, etc.

When we're not in the middle of a pandemic and kids are at school, camps, etc., working from home is a major boon for family people.
"But the trend raises complicated questions. If employees move to a less expensive location, should Twilio adjust their salaries accordingly? “It’s probably not great business practice to pay Bay Area comps in Michigan,” Lake says. And when it comes time to promote, would those employees have the same opportunity to advance as everybody else? “We need to think proactively,” she says."

I wouldn't sweat it. After the pandemic has died down, companies will be requiring everybody back into the office and all those people moving to Montana will be packing up again.
Are you passionate about food delivery? Are you laser focused on food on wheels? Come join us at Uber to create the future of food delivery! We have an excellent team of engineers and are looking for more!

vs

At Uber we face technical challenges that afford our engineers the opportunity to design and build world class software, make a significant impact in OSS, and tell their peers about it in major conferences. We have an excellent team of engineers and are looking for more!
Writing Android Apps in C, No Java Required
Shameful plug: If you don't need all the features of croc and just want to transfer files without installing anything, you should check out https://patchbay.pub
Tokyo seems to be able to do it without an issue. [Edit: I think I was confused by the negatives in your comment, I think we're in agreement]

It’s an incentive problem, and a lot of people are incentivized to keep supply down.

Housing can be affordable or it can be a long term investment, but it can’t really be both.

If a lot of people are desperate to have their property grow in value, they will fight anything that threatens that.

I think it’d be interesting to revoke prop 13 in a staged way. You can either build some large X amount of new housing each year or you can accept a 10% increase of the property tax on your property each year until it reaches the market value rate.

If you’re going to constrain supply you should have to pay the cost.

Though for the same power reasons this could never pass politically.
Might make sense if you use Go or any other language with a straightforward tooling landscape (compilers, package management etc.).

That changes drastically if your codebase contains a lot of C++ and your SW model doesn't quite match the way Bazel tries to push you into.
For instance doing any of the following things will quickly turn into a nightmare when using the Bazel C++ rules:

* dynamically linking libraries

* using a containerized approach for library includes (so transitive relative include paths)

* using different toolchains and cross compiling

* interfacing with thirdparty libraries

We are talking seasoned build engineers ending up frustrated after literally months of trying to achieve something that is easy as pie in CMake.

In addition there is still no real IDE support. The CLion plugin is permanently broken and lags behind versions. No real VSCode support. Using custom rules makes this even worse, to the point where CLion will refuse to sync and not having a way to produce a compilation database json.

There are so many bugs open on those projects and no progress or answers. I can not recommend Bazel if C++ or C is what you care about.
I recall Shopify hired a dev who works on a project, FaastRuby, written in Crystal language for their web app.
It sounds like the NZ government is requiring businesses to do this, without much guidance as to how businesses do it, so that seems like error #1. Or am I misunderstanding? The article mentions Subway is moving to a secure computer system to retain the information... that does not seem much better.
Who is harmed by cheating?

Whoever is making decisions based on the outcome of the test. A school or professor risks it's reputation by graduating incompetent students. An employer who hires based on a false GPA risks wasting its money and time.
GitHub Protips- Tips, tricks, hacks, and secrets from Luke Hefson
Thanks! Let us know how it goes
The best part of forums was that they didn't have much temporal dependency. People posted things there, and it was expected that other would reply days or months later. It made for a much more calm and lively discussion.

When Reddit puts something on the hot tab, there's one hour or two for anybody to say what they want to say, no time for anybody to reply, and it's gone. HN is slower, but not very different. It's a completely different kind of site.
I'm young with no kids and appreciate remote work / working from home (up to 3 days a week but not more).

Can exercise when I want during the day, easier to run errands and less frustration of commuting.
Majority of Covid-19 Deaths in Nursing Homes
I hate when things pop up when I select text, because I have a tendency to randomly highlight text as I'm reading it.

This little speaker pops up, so I clicked it out of curiosity, and it started to speak the text. The icon choice is a little unusual (I'd expect a play button or something, but that icon is typically used to control volume). But then I couldn't get it to stop playing. I even closed the tab and it was still playing. And for some reason Chrome doesn't show that tab as even playing audio so I could mute it. What the heck is going on there?
On Putting Things Back Where They Belong When Shopping
Imagine also load balancing if, say, 3 of your immediate neighbors have EVs or home batteries.
HN has existed since October 6, 2006. It's maintained quality at a higher level, for a longer time, than Slashdot, Kuro5hin, Digg, Reddit, and numerous other fora.

https://news.ycombinator.com/item?id=1
advertisers would use a hardware fingerprint probably

I'd be surprised if they didn't.
I was using Slack a few years ago and I didn't have this issue. Everyone who chose to use it had IRC experience, and so immediately treated it as a fancier IRC. That includes a lack of expecting an immediate response.

But I can definitely see how people who didn't grow up on freenode et al might come in with different expectations around Slack responsiveness.
This is an extraordinary program with some of the best mentors in tech!
It does.

http://priups.com/others/index.html

https://forum.solar-electric.com/discussion/11546/using-a-pr...

https://www.bizjournals.com/boston/stories/2008/12/22/daily2...