skysight-inc/HackerNews huggingface dataset:
Stateful means state is stored in memory or on disk by the processing service. Stateless means that state is stored distributed to multiple nodes and can be recreated or that there is a design such that no state is needed. In the first case, a node dies and information is lost, in the latter, no information is lost. This allows for greater scale by often saving resources per request and increasing resilience.

A concrete and simple example: an api request comes in and you call n dependent services before responding. If any of those calls fail, the entire response 500s, if ok, respond 200. Instead, make this a job with a 202 response with an id returned and use a distributed queue and workers to async process the request and allow the job results to be queried by job id. Now any node failures are invisible to the client.
Ex-US President Donald Trump announces social media site
I certainly don't disagree, and wrote many an Arduino library and drivers and tutorials myself.

As long as you eventually take the training wheels off, and know that Arduino isn't a path that leads to being able to create financially viable products, and it's a first step.

It won't teach you certain good habits, but it will perhaps get you hooked and motivated, which is useful in itself, and does give you the satisfaction of making motors whirr and LEDs blink quickly.
That's fair. You might still enjoy some time with her if she were still around.

I won't pry. But the two questions I have for you to answer for yourself, not on this forum, but for yourself, are, first, how long did she manage to live? Did she reach a ripe old age? Death comes for us all. You can't expect it to never come about. Maybe getting a liver transplant doesn't count as cheating death. I highly doubt most people in most settings could count on this procedure as a natural and wholesome way to extend their life. Liver transplants aren't exactly chamomile infusions. I also imagine if you're telling the world about it that she was on the list it was not because she was irresponsible with herself. Tons of people are responsible with themselves. It's just not all people. Some people treat every part of their body that isn't the pleasure center in their brain like it's the slave of that pleasure center in their brain.

And you claim she might still be alive, meaning she might not have died of anything else yet. Again, death is inevitable. I will die. You will die. She died already, but if she hadn't, she would eventually die all the same. Doctors want to sell you the "save your life" angle, but in the literal sense of the phrase "save your life" nothing in medicine can do anything like that.
Why would the clerk need to know that, and why would the reader need to know that? Do you need a justification for buying something from a store? I think that's the lesson here. If you think he needed to give justification, you may still consider him stupid in a way.
Fact 137.

Painting is not that easy, and highly-regarded painters tend to have mental health problems. Some even self-mutilate or attempt suicide.

https://artsandculture.google.com/usergallery/the-connection...
That's not quite right. The PHP implementation doesn't require Apache to do anything special for them. Apache had modules and other servers had things like FastCGI.
The linked article's title is "Tesla made $1.6 billion in Q3, is switching to LFP batteries globally" and it's a little more appropriate as it split about 50-50 between discussing earnings and discussing battery technology.

I say this because there’s another article from the New York Times about Tesla‘s earnings on HN's front page and this one from Ars is more technical, more straightforwardly written, and much less hyperbolic than the NYT version. (This one focuses on earnings and potential major changes that could impact the bottom line versus New York Times spends 50% of their article discussing government inquiries into autopilot.)

I can't update the title but would recommend this article over the New York Times one.
> Anyway, I am getting out of this industry and taking the money I've made to go into EE.

I’ll be doing the same, except not EE and for different reasons. I really don’t want anything to do with this industry as it doesn’t even faintly resemble the reasons I started hacking around with stuff. The sooner I’m out the better, it’s clear I don’t belong.
Article notes worse cold weather range with LFP vs NCA. What's the approximate range hit at 0C for each type? -17C?
Best UserVocie alternative to manage customer feedback
The species is actually not absolutely crucial in this case. The trees were dated by looking for solar flare activity in the rings; the trees are known to have been cut by Vikings because they were cut with steel tools.
"Successful women in computer science are universally thick skinned, confident and driven, and would not have succeeded if it were not for those qualities."

This appears to me to make the opposite point that you think it does.
I think there is a significant (inherent or deeply ingrained) personality component to people’s initial outlook. E.g. there was a pair of fraternal twins who we used to play with at the playground, and one of the pair was much more willing to try things while the other was much more afraid of being judged. More generally I have regularly seen substantial differences between siblings despite a lack of obvious differential treatment from their parents or any change of cultural values/norms.

Kids of 2–4 years old seem to have similar range of behaviors across substantially different cultural groups, e.g. comparing kids raised by tolerant non-confrontational hippies vs. strict immigrant professionals.

I imagine that learning to be comfortable as a beginner is something that can be trained / practiced. Some people certainly improve at it as they get older.
> improve quality by making the code better structured and easier to follow

"clearer" and "structured" doesn't matter from a compiler point of view. Hence the only ones that can judge "clearer" or "structured" is us, human beings, and that's why I think it's subjective.

"goto" is seen as "incorrect" only because of mere subjective reasons: "it's not clear", "it's not structured", "I read in a forum that it's bad", etc.

The keyword exists, it works as intended, and it's safe to use when used correctly, as all the things around programming languages.

To me, Rust code is a mess and I cannot get used to it. It's not "clearer" even if it's proven to be bug free and all that.
FWIW, the regular (or rather, lite) duckduckgo runs nicely in a TUI browser like elinks. THat's my search engine of choice when text-browsing.
Interesting, I hadn't seen @cached_property before. I was expecting you to have to muck around with __getattr__. The lazy attribute in Perl is simply one whose constructed value is deferred until the first time it is used.

For an example of taboo runtime changes, suppose you have one module which operates on a tree of data, like converting to JSON, and another type of object within that tree which does not have a built-in serialization to JSON, like DateTime. (there is really no way to universally serialize a DateTime to JSON because JSON only supports strings arrays and objects, and representation of dates will be application-specific). Perl lets you temporarily inject a method into a class for the duration of a scope, in this case the TO_JSON method which the JSON module looks for:

sub export_as_json($data) {
local *DateTime::TO_JSON= sub($date) { $date->ymd };
JSON->new->convert_blessed->encode($data);
}

After that scope, the DateTime package is restored to normal, without a TO_JSON method. How would Python solve this problem?
The parent comment said

> So, about 1 Billion [people] ...

and then

> Out of that 1 Billion are almost done.

To me, they're saying "out of 1 Billion people needing the vaccine, 1 Billion people are almost done".

Whatever the detail of what they meant, "almost done" is an odd way to describe being only (just under) halfway through the process.
Everyone calls bullshit on the salary, lol. Especially when they compare it to something like PayScale median salaries. I think you just expect to be called a liar and move on.

The other common reaction is that "highly paid jobs are stressful". But my job certainly isn't as stressful as many other jobs, and the pandemic has proven that tech jobs are resilient.

I think it triggers a kind of existential crisis in a few people. I've been a little surprised at how much we get paid over smaller entrepreneurs and consultants too. I had a friend who was very convinced of the ESBI Quadrant until I told him my salary.
> Did Erikson know that there was an entire continent with advanced societies completely seperated from the "old world"? Because that is what Columbus discovered.

If knowing it was separate from the Old World is what makes it a discovery, then for all we know Columbus absolutely didn't discover any such thing. He went to his grave convinced he'd found a route to India, which was very much the Old World. Conquered by Alexander and everything; stuff doesn't get much older than that.
There is still no Tesla Semi after 4 years, so maybe the factory could be devoted to that, but even the gigafactory's battery cells don't make sense for a long range semi as originally shown. Bill Gates was right about the physics of it not making sense with those cells (too heavy for bridges with any decent payload), and they will need to turn it instead into a low range around-town Pepsi delivery tuck, as already announced.
PHP has a built-in webserver for local dev.
I have an SY77 that I'm scared of. It's my second oldest synth and yet the deepest, craziest machine of all the studio. I can't fathom the engineering process that went behind it.
> but you don't execute someone for being annoying

Of course you do, you just wait until you have a more ethically "usable" argument than that, you build a solid case, then you have a mock trial and a fully expected conviction.

It was as true 2500 years ago as it is today.
My experience is that complaints about lack of public charging stations tend to be more from those considering buying an EV than those actually with one.

(Those who drive an EV tend to complain more about the maintenance of the public stations than the number of them).
The-North.com
If you want to have a go at flying one virtually, there's a very nice free add on for x-plane (not free itself obviously): https://forums.x-plane.org/index.php?/files/file/40334-awxdc...
Are you trying to hold up the autocratic client state that failed to stop 50,000 people from escaping in it's 45 year duration as an example? The one that was facing the prospect of economic ruin when it's controlling state had to withdraw economic and military support due to it's own policies of perestroika that sought to address the impending economic collapse of Soviet Russia?

The fascist client state that collapsed due to an increasingly hostile domestic population who were angered by the growing economic challenges, and were tired of the continued state violence?

The same German Democratic Republic that has been consigned to the historical scrap heap of failed totalitarian regimes?

One might even consider holding North Korea up as a current example, since they have outlasted the GDR by 31 years so far, but they are also a client state, and their economy has been in relatively steady decline. The only thing keeping North Korea a functioning country is military and economic support from China, with even Russia's central bank continuing to push back against further economic development with North Korea.
This is roughly Socratic programming teaching! It's for this reason that I think one of the better monad explanations is this one:

http://blog.sigfpe.com/2006/08/you-could-have-invented-monad...
Goto can, conceptually, really mess with the semantics of initialization and finalization of local variables.
True for 90% of medical issues. The problem is those other 10% - will the GP you chose be able to handle them? Or, perhaps more critically, bow-out, and refer you when they cannot?

It's a tough problem to solve - wait time is certainly part of the solution, but so is bedside manner, the doctor's willingness to punt and refer you elsewhere for unique problems outside their area, price, location, and a hundred other things.

And that doesn't even address picking a specialist. You break your hand, how do you pick a hand surgeon on short notice? The cost of picking the worst guy could be high, but you know what they call the guy who graduated last in his class? Doctor.
> His disdain for his readers is pretty obvious from the fact that he puts zero effort into readability; there isn't an drop of formatting, it's just a massive wall of text from edge to edge of the browser window.

You can see this as disdain, or as respect: I'm free to bring my own CSS to this page, and have things look exactly how I want them too.
For the unaware:

https://en.wikipedia.org/wiki/OODA_loop
Slightly, off topic, but does anyone know of a way to automatically turns a save into a commit?

Long to short, I sometimes worwork with Shopify and the workflow is less than ideal (read: there's no local dev env). And within the platform, the admin UI has a basic editor, but no one wants to edit code directly :)

I'm trying to remove the friction. I want the edit code directly experience, but with commits to a repo and deploys (with e.g., Buddy.works) from a repo.
Introduction to NanoBSD
damn, when are we going to see a Michael Bay The Island-esque film about an underground cloning facility through the eyes of a pig who lives there?
Would be interesting to know whats going on in the industry with LFP. Pre-built lead acid replacement LFP battery prices have been dropping almost daily and are down to high end AGM prices [1] and quality has been going up [2], these batteries were twice the price a year ago.

Will be replacing the lead acid in my RV soon with LFP's, it really a no brainer.

1. https://www.amazon.com/dp/B08FMTRYPT

2. https://www.youtube.com/watch?v=xBonGQe363g
The existence of Udacity / MIT OpenCourseWare / open textbooks, etc. without the whole population of the world being qualified in math & ML & everything else that exists proves that providing videos is not sufficient. Many advanced topics require the student to actually sit down at some point and do the work, and that's where educators and peers come in.

I think we are already in an unprecedented golden age for people who are able to self-educate, i.e. have the material and mental means (money & self discipline) to actually sit down and learn. Unfortunately, I don't have the impression that this is a viable path for the vast majority of people.

That doesn't mean I find your scenario unlikely: administrators may find this an attractive way to cut costs, only to be surprised after a year when the learning outcomes have completely collapsed (except for the 5% mentioned above).
How can you feel Tether has issues but blame the media? If Tether isn’t legitimately backed then it’s a mega-scandal and indicates cryptocurrencies were inflated by fake money. That’s a huge deal. My only question is what took so long for the media to focus on the fact that we should get to the bottom of it.
I guess the argument here is that only people as successful and powerful as the founders of Moderna are capable of judging them. You're right - despite my best efforts, I'm not there yet and probably never will be. If that's the bar, there's nothing more for me to say.
My favorite use of goto is with C#'s "yield return".

The compiler converts a function with a yield command into a label. To resume a function from where it left off, the compiler adds code to test an added resumption-point variable and to goto the label for each resumption point.
Awesome! Thanks.. I've been working with implicit modeling for the past half a year but I didn't know there was an "OpenSCAD" equivalent. Seems to work rather well(?)
Can I ask a stupid question? Who is Dan Luu and why does he keep appearing here? The content hasn’t been amazing. It’s not amazing here either.

The blog doesn’t have an about me page as far as I can tell. Google says Dan is a systems engineer at Nvidia.

Edit: Found the About page https://danluu.com/about It's at the bottom of articles, but not accessible on the home page.

If this were an actual technical topic, I'd be more inclined to continue reading, but here, it's musings framed as a life lesson that could have come from anyone in my circle of friends. Life lessons from people whose only achievement is working at big tech. At least for my friends, they don't walk around assuming they're smarter than people.

The reoccurring theme in this post from Dan is he's not the one that's stupid, it's the people around him who are too stupid to see his underlying genius. Dan comes off insufferable.
You are pulling a straw man I've even been careful to avoid since I noticed it:

> you're better off not bothering"

Nowhere in my comments did I say that it's better to not recycle. I've even made the same argument as you did regarding EV elsewhere, debunking the idea that because EV isn't perfect, it's not worth the effort.

I've said "I still recycle myself" and "Of course recycling as a mechanism is part of a sustainable economy". I do not have, expressed or implied, anything like that recycling plastic is a bad idea. I don't know how to make that point clearer. My point however, is that it isn't a solution and convincing the public that it is, was a deceptive corporate propaganda campaign by the leading beverage and packaging corporations, designed to avoid taking responsibility and more drastic actions.[1] It's painful, but the green movement must recognize it has been misled and that recycling is really not enough, not by a long shot.

> plastic is unavoidable in modern society

This doesn't mean we can't significantly reduce our consumption of single use plastic and avoid a substantial amount of plastic usage, which is only increasing.

[1] https://www.chicagotribune.com/opinion/commentary/ct-perspec...
Julia’s approach is to not have GOTO as part of the language syntax, but to have @goto and @label macros. I feel that this strikes a good balance: it sort of discourages their routine use, but they’re there if you really need them.
They are quoted saying as much in the NYT coverage of this story:

> Mr. Kettner said that the OnlyFans account is not a permanent solution, but rather a protest against censorship and a call for conversation. “We want to draw attention to a certain thing,” he said. “We want to put it out there, to talk about the role of artificial intelligence, of algorithms.”

https://www.nytimes.com/2021/10/21/style/onlyfans-nude-art-v...
Nobody's saying they have to give out phones for free. We're saying that somehow those people ended up with the phones in their possession and the company's right to get paid DOES NOT mean it can lock out emergency functions on the phones. They can go ahead and cut off the normal phone service but if they lock out the dialer app and even one person fails to call an ambulance or police or firemen or whatever because of that lock that's one hundred percent on them. This goes double, triple if the lockout happened by mistake to innocent people.

Honestly, it's bad enough that these companies think it's even acceptable to remotely control computers. Locking out emergency services is just on a whole new level. Didn't get paid? Seek redress in the justice system like everyone else.
You can make yourself a paper billionaire.
They made it a long time ago. It's called CGI [1].

Seriously, there's no inherent PHP advantage so you have to build something new. It is only that Apache package maintainers started shipping a mod_php package that required almost zero configuration to get up and running. Then every other web server followed suit.

On the other hand, alternatives for other languages were either slow (i.e. CGI-based) or harder to configure (e.g. mod_python [2]).

[1] https://docs.python.org/3/library/cgi.html
[2] http://modpython.org/
At StackOverflow you're downvoted heavily when you just typ got (don't event have time for the last "o").

Then Apple comes with the glorious "goto fail" and shows that real companies use goto, and the problem wasn't "goto" itself.
This article does not undermine its own point. In fact, very, very few articles ever undermine their own point. In order to undermine your own point it means you've failed to construct a logical chain of thought. But that is what people do all the time in their daily lives. Maybe children would undermine their own points, or someone posting their first ill-thought comment on Facebook. But I think most people will learn how to construct an argument by their second time publishing one.

In this case, the article is not about 'the joys of being too dumb to breathe'. It's about how 1. looking stupid is not the same as being stupid, and 2. looking stupid can be beneficial in the long run. The author does not need to actually be stupid once in order to support this idea.

And I have to worry if you think he's "bragging" about merely looking stupid, as if that weren't bad enough. Maybe if you identify as stupid I could understand the offense.

To the author, Dan Luu: I like your article and I think you're on the right track!
Hmm. A followup question: are there any cheats/hacks that would make it possible (if painful) to for example explore the world of USB3, PCIe, or Linux on low-end-ish ARM (eg https://www.thirtythreeforty.net/posts/2019/12/my-business-c..., based on the tiny 533MHz https://linux-sunxi.org/F1C100s), without needing to buy equipment in the mid-4-figure/low-5-figure range, if I were able to substitute a statistically larger-than-average amount of free time (and discipline)?

For example, I learned about https://github.com/GlasgowEmbedded/glasgow recently, a bit of a niche kitchen sink that uses https://github.com/nmigen/nmigen/ to lower a domain-specific subset of Python 3 (https://nmigen.info/nmigen/latest/lang.html) into Verilog which then runs on the Glasgow board's iCE40HX8K. The project basically creates a workflow and hardware to use cheap FPGAs for rapid iteration. (The README makes the point that the synthesis is sufficiently fast that caching isn't needed.)

In certain extremely specific situations where circumstances align perfectly (caveat emptor), devices like this can sometimes present a temporary escape to the inevitable process of acquiring one's first second-hand high-end oscilloscope (fingers-crossed the expensive bits still have a few years left in them). To some extent they may also commoditize the exploration of very high-speed interfaces, which are rapidly becoming a commonplace principal of computers (eg, having 10Gbps everywhere when USB3.1 hits market saturation will be interesting) faster than test and analysis kit can keep up (eg to do proper hardware security analysis work). The Glasgow is perhaps not quite an answer to that entire statement, but maybe represents beginning steps in that sort of direction.

So, to reiterate - it's probably an unhelpfully broad question, and I'm still learning about the field so haven't quite got the preciseness I want yet, but I'm curious what gadgetry, techniques, etc would perhaps allow someone to "hack it" and dive into this stuff on a shoestring budget, on the assumption the ride would be a tad bumpier? :)
That is not necessarily true, check out the max C rate in of LFP. Still, LFP is the way to go for sure; longer overall life is a clear net positive, lower degradation and secondary market uses once the véhicule is junk without expensive and heavy recycling. I bet the cyber and truck were waiting on these patents to lapse.
Kids these days don't know the days when 2x was within realms of intentional product segmentation and at most 18 months worth of progress.
> People act like we don't understand how "value" and "equity" works.

Every time you say things like "we" and "people" you discredit yourself. It's a pointless statement. You can have equity; start a company, or join a company (such as Amazon) that awards share options.