skysight-inc/HackerNews huggingface dataset:
My issue with React is that it's truly hard. It markets itself as easy but it's not. I have 20 years of programming experience, I dealt with UI a lot, I used WinAPI, Java Swing, I know JS and HTML pretty well. I'm fine with reactive programming or async stuff. Yet I often struggle with React. I'm not a full-time web developer, I admit, I'm more like full-stack developer but when I need to write novel React code, I struggle a lot.

For example recently I wanted to use a promises in React app. I mean: promises are as native to JS as it gets. Surely React should have first-class support for promises.

Nope.

So I started to write custom hook. usePromise. Like useEffect, but for promises.

Well, it would not be hard. But apparently React likes to call useEffect twice for dev mode. So I need to have a reliable cancellation. How do we cancel stuff in web? With AbortController, right. Does React heard about AbortController? Nope. So I need to integrate AbortSignal within my usePromise hook. I read famous Dan Abramov article, I read other articles, I spent days tinkering around this thing, I wrote several implementations.

All of those implementations are faulty.

Here's my latest one: https://pastebin.com/WBctCBpc. Technically it works. But it contains unpure reducer function. It's not broken in current React version. But who knows how react dev mode will torture my reducer in the next version.

I have to admit that I enjoyed toying with this stuff. But it definitely counter-productive to business values.

Now I know that this is all solved and I should just use react-query or something similar. Well, I have my reasons to avoid it. But my point still holds: React is hard, React is not well integrated with JS and Web. And probably React will get better in the future. I've heard about suspension stuff which might just be what I need, but it's not there yet.
AMC has some clever APEs
> Historically, that hasn't been an option.

What about hunter gatherers? Even in the history of our more recent western ancestors, people have always made radical decisions to live lives outside of the mainstream. Religious fanatics and martyrs come to mind.

> "A relatively short life full of painful loss and physical suffering, living in a rat's cage" would be a better description of the median serf.

You are leaving out the part I said about profound meaning. Mental suffering matters as much as physical suffering and a lack of meaning is a sure cause of mental suffering and is experienced by many if not most modern information workers to varying degrees.
> I’m worried that a de-facto move away from dynamic stuff in the Python ecosystem, possibly motivated by those who use Python only because they have to, and just want to make it more like the C# or Java they are comfortable with, could leave us with the very worst of all worlds.

It is certainly happening, and I'm not sure Python the language is all the better for it. I say that as a guy who explicitly mentioned this "Python Is Not Java" blog-post during my first job interview as a professional programmer, more than 15 years ago.

[1] https://dirtsimple.org/2004/12/python-is-not-java.html
Greenwashing the News for Fun and Profit
Only reasons to solve problems:

- keep existing paying clients

- get new paying clients
$20 per month per ... what? It says per customer, but I'm assuming it means per seat?
MLS Season Pass is now available worldwide on the Apple TV app
I dont know how it would be possible to build anything reasonably complex with groups of people without taking meeting notes.

Every single meeting would be everyone hallucinating what was said before in previous meetings, and lots of lying.
Related source:

https://www.npmjs.com/package/@waylaidwanderer/chatgpt-api
If you have to use words like "most violent" and "nuclear" to describe a valid & normal act of launching free & open source software that everyone had the freedom of choice regarding whether to use it or not, you need to seriously re-evaluate your personal priorities and worldview.

I use both GNOME and KDE daily for different use cases, and the fact that people like you who hold such views exist is downright disturbing.
SEEKING WORK

Are you looking for designers and developers that build exactly what you ask for?

Keep looking. That’s not us. Otherwise, keep reading.

In 2023, tech is a commodity.

Around the world, there are millions of professionals that can build functional software.

Thousands and thousands of freelancers, agencies, and studios that won’t totally f*ck things up.

These days, building an app right is easy. But building the right app?

That’s hard.

In 2023, you’re competing against companies with market caps in the TRILLIONS.

You can’t beat them at their own game. You have to invent your own.

Be the David to their Goliath.

If you want a company that builds software, keep looking.

But if you want a company that sells slings?

Email me at james@nonerds.com.

We'll take Goliath down together.
AVX512: Count Trailing Zeros
b2c vs b2b pricing
Musings on career success: becoming rich and notable
South Africa managed the country economy well during the Apartheid ... Spain had economic miracle under Franco. Israel is chugging along just fine - even with its extremely complicated relationships with Israeli arabs. China is also a nice place to live if you are not Uygur ...

Oppression and economic prosperity are not mutually exclusive.
“For young immigrant women like me, the pressures of early career research are even greater than for most.”

Ah, the “poor downtrodden women” angle.

Yes academia is very easy for white nationally born men. That’s why there aren’t any white male plumbers or garbage people.

Let’s take ukrainian men vs women. For women you are granted asylum, and probably fast tracked in a social program to help you. If you’re a man under 60 years old, you’re not allowed to leave Ukraine and instead are likely being drafted to a war you want nothing to do with. You’re physically prevented from leaving the country.

Great take.
Man, higher interest rates really are taking out the trash. Crypto, this, Adani, Tesla, DEI departments, Trump seems like he's going to jail finally - maybe the world can go back to sanity.
This border between universal things and copyrightable works always existed. Some of these technologies might superficially seem like they create some sort of crisis in the area (GitHub CoPilot for example). But I think it’s mostly due to the fact we haven’t yet seen many businesses and thus not many court processes.

My amateur legal guess is that it changes nothing: copyright and other protections are unscathed. If you use a copyrighted work or registered trademark (or something close enough to be infringing) you are liable - and then it doesn’t matter where it came from or if you believed that MagicalAIService would spit out royalty free original works. They probably won’t, and they will never accept liability, it will always be on the end user.
This is my only requirement for a Raspberry Pi killer - to work out of the box with stock kernels and distributions rather than needing some hacky device-tailored distribution that will eventually go unsupported, or worse some hacked up kernel that will stagnate from the day it's released.

I'm not running a server farm with 1000's of nodes and full time staff to make Linux work on them. Rather I've got a bunch of homogeneous devices for personal use and the more similar I can make them all the better. It's why I moved away from the embedded ARM dumpster fire to low power amd64 motherboards for my Kodi/WifiAP machines. They generally just work, and if they do break there is still no bespoke tinkering.

The Raspberry Pi only mitigates this by being popular enough that there is interest to keep it going and develop around its warts and keep the software going. But it's not without its pain when you step away from Raspian.
Nothing. Otter has a summary feature that includes much more than just a list of bullets.
This is an Urban legend. Whoever did the original research missed the fact that the grade scale reversed between the time Einstein was a student and when they checked. The grade scale was 1 highest to 6 lowest when Einstein was a student, but had changed to 6 being highest to 1 lowest after he moved on.

https://theeconomyofmeaning.com/2013/07/27/science-myths-did...
i used the same API but for an ios shortcut. it's not the same thing as chatgpt, as the completions api doesn't know about context. but it does feel a lot snappier.

> have found it useful for open ended programming questions

i have found it to be terrible when it comes to something simple, like constructing a regex.
It's not childish anymore. It's just angry and cynical. It looks less like the shit-talking edgy teenagers having fun being idiots like it was in 2007, and more like unhinged, hateful, contrarian paranoid schizophrenia.

I wish the people on 4chan had the stupid childish fun that I did 15 years ago.
Delaying gratification is hard for all of us. We're just primates doing the best we can with our limited wetware.
Travel Predictions for 2023
It's hard to explain. You're in a channel already, e.g. your team's channel, and you hit a toggle and it creates a voice chat and others are notified to join. I think it's really slick.
For me, chatGPT is simply a good replacement for {stackexchange, reddit, wikipedia, github, google,bing, etc.}. All information is accessible in one place and it's easy to ask about anything and get a structured answer. My topics of interest are advanced math, philosophy of physics, and modern semiconductors technology.
PaperWM is interesting. My only experience with scrolling desktops has been bad - because it was a remote desktop connection on a too-small monitor. You're fighting with windows-within-a-window quirkcs and guest/host issues. But when the entire local desktop experience is based around the idea that could change things.

I may try it out. It sounds a bit like playing a real time strategy game with a large scrollable map, something I'm very used to.
greenwashing? what?
Seems they left out a huge point - they had a spouse/family amenable to this. My wife and her family don't give a shit about data collection. They have no imagination of how it could be used in the future, at which point it would be too late. Even the slightest inconvenience (like the marginally beneficial switching to DuckDuckGo, Private Browsing, turning off location, or broken links due to PiHole) are met with annoyed resistance. It's actually a struggle to get them to even lock the door when they leave the house...
Professionalize the Police
This. Give me a population that gets some exercise, doesn't smoke, doesn't drink, won't kill someone or themselves over a pair of shoes, keeps up on their vaccinations and eats because they're hungry and I'll give you a population with any health care system in the world but the the US population - See who's got a better life expectancy.

I'll come out ahead every time no matter how healthcare is delivered for my population. Heck, I'd probably come out ahead with no doctors at all in my population.
I saw ChatGPT+ and I was thinking this was a streaming service that only hosted AI-generated content.
If it were packaged in a voice enabled and voice activated app in Android I'd pay no question asked. Typing sucks for conversational ai.
It is kind of a shock to read such things are recognize exactly my own experience, thirty years too late...
There are peer reviewed studies on this subject and they confirm that trans people are significantly more likely to experience housing insecurity.
"you can get much better specced "mini" x86 PC at the cost of slightly more power consumption" ... if you buy used, which doesn't seem like a fair comparison.

Generally even the mini PCs are much larger than the rk3588.
The problem with US only thing is not that they prioritize payed users, but usually when this happens, the free version gets much worse as it burns money.

I see the same thing with Twitter blue: it's US only (and few more countries) as well, and for people in other countries it's just ads.
Thats great! I was going to try but seems using on Mac is not straightforward :(
Yes, this is a problem. ARM SystemReady certification program is aiming to solve it. Unfortunately the only boards that meet this certification are significantly more expensive.

For example, Honeycomb LX2 (https://www.solid-run.com/arm-servers-networking-platforms/h...) -- very solid, great specs, upgradeable RAM up to 64 GB, but its price has been increasing over time, now at $919. Still, looks tempting to me.
We downweighted it because this topic has had lots of discussion [1] and the current article didn't seem to contain significant new information [2, 3].

It's possible that was a wrong call; I didn't look closely at the article. If you or anyone feel strongly about a case like this you should email us at hn@ycombinator.com and make an argument for why the article and thread are worth re-ranking.

[1] https://news.ycombinator.com/item?id=34608595

[2] https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

[3] https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...
Oh yeah, we had some fun with it, talking about what the technology is doing (to the limits of my ability and his to understand, obviously) and how we could use that to inform the wording of the questions.

But I still let him ask all the questions, even so. He's such a creative thinker, I was pretty impressed at some of the things it was able to come up with plausible sounding responses for.
Tesla's Autopilot falls to seventh place in new driving assistance ranking
The problem is they're paying the Apple Tax, like others are pointing out. More specifically, paying it three times:

1) For the base system. Ok, this is unavoidable if you're buying Apple.

2) For the upgrades. The problem is that Apple machines used to be easy to upgrade yourself, like 8 years ago with the iMac. You could buy the base memory model and max it out yourself with sticks in a few minutes for a fraction of the cost. If you cared about money, you'd do this; people with money to burn could presumably pay Apple and not worry about it. Unfortunately I don't think this can be done anymore.

3) For the trade in. Yeah, you will do much better selling it yourself.
Nothing to add but also wanted to shoutout Life as We Made It and How to Clone a Mammoth. Had the pleasure of meeting Dr. Shapiro and she's as pleasant as she is brilliant.
You might be able to work around this with more careful explanation - "write a program that automatically spreads itself" ... Doing a few experiments now haha
Counting deployment. Testing. config generation . im expecting above 50% for ETL like projects.
To my knowledge at Disney World there isn’t a web client for Genie like there was for FastPass+, since it’s all day of you’re expected to do it in the park on your phone (I’d be happy to be proven wrong). Guest Services can probably still do it though, you’re right.
If any changes done to the parent repository propagate automatically to "forked" repositories without the explicit consent of the _owner_ of the fork then it does change the broader concept of fork, and to follow your analogy it would be like calling a caterpillar track a wheel.

If this is acceptable because the original version it's a private repository that is unrelated, what we are discussing is the meaning of the word itself.
$20 puts it way out of my price range. It's useful, but when I've been averaging around twenty queries a day and somewhat frequently get back hallucinated responses, it's not worth that price. I wish there was a pay-as-you-go or a lower tier offering.
Ask HN: Transitioning from a single EC2 instance to something more resiliant?
My situation is that I have a Django application that gets a decent amount of traffic, a growing amount. There's some backend stuff that happens on requests in addition to hitting the DB. Postgres/Django/Redis/a bunch of cron jobs are all on one instance and I think it's time to split things off to a more resilient architecture, I'd be screwed if for some reason this thing explodes.

It's overwhelming with all the different services and methodologies available, was wondering what people here think the 'best' way to approach this would be.
Cities in the Bay Area that are subject to builder's remedy
Show HN: You Should Watch
I built a to-do list for movies and TV shows.

Built on NextJS, deployed in Vercel, storage in Google Firebase, QA'ed with Playwright, designed with Pico.css, backed by The Movie DB, free and fun.
We need to start talking about AI safety and nationalizing AI research like yesterday. ChatGPT is already having destabilizing effects and it is frightening how little we are discussing (this hugely powerful tool)'s potential as a weapon.
Back to the SSR
We downweighted it because this topic has had lots of discussion and the current article didn't seem to contain significant new information. More at https://news.ycombinator.com/item?id=34615789.
Nothing like scope creep on a simple chat app to turn into to a bloated beast of uselessness that impacts system usability.
GP wasn't saying they will find dinosaur DNA, they were saying it may be possible to statistically infer a dinosaur sequence from the sequences of many remaining descendant species, that are still alive today.
If you really want to help folks, get them a home and treatment first. Before inflicting your "utopia" on us transit riders.
I'd hazard a guess that they're gonna start cracking down hard on unofficial API usage, and restrict the subscription to just their web UI. The fact that they're also offering a ChatGPT API soon seems to reinforce that duality.
Enterprise was supposed to go to space, but it ended up being cheaper to build Challenger from spare parts because the design specs had changed. It then ended up being cheaper to build Endeavor from spare parts than retrofit Enterprise after the Challenger tragedy.
There's a weird unknown feature in HN that allows you to edit your title after submitting it, getting rid of HN's omission of words and punctuation. Some titles have an exclamation mark that gets stripped, and you can add it back in after submitting.
I would argue that a counterculture has to be oppositional and can't be happily compatible.

The hippies who were burning their draft cards, dropping out of school, and living as mendicants were a counterculture that could not truly coexist with the mainstream.

These dramatic characters inspired a youth culture that adopted more moderate signifiers (long hair, folk/rock music, nonviolent protest, maybe vegetarianism/meditation/yoga) that could coexist with the mainstream.
Interestingly I noticed this a while ago and in talking to some friends it seems this is less of a problem in some other languages. For example Chinese recipes and Thai receipes (in Chinese and Thai) seem to get straight to the point. Where as most English recipes I find on google takes page 3 to get to the meat of it.
Don't fool yourself- if your programming language has an eval() function, you are writing in Lisp and you are a Lisp programmer now. Embrace it!

All joking aside, I do think Python is pretty handy.
The approach on how you consume tokens.

The APIs are stateless and have a "this is how many tokens you send", "this is how many tokens you asked for" - and thus the person making the requests can control the rate of consumption there. Unless you're being extremely inefficient or using it as part of some other service that has a significant number of requests (in which case ChatGPT isn't appropriate) then this is likely to be less expensive for simple queries.

With ChatGPT you don't have insight into the number of tokens created or the number that are used in the background for maintaining state within a session. Trying to limit a person by tokens midway could have a negative impact on the product.

So, estimate the amount of compute a person uses in a month and then base it on that.
I’m pretty sure Finland and Sweden are sticking together though, at least that’s what I read last. Finland seems like a good get for NATO, so it is nice that they are willing to stick with their neighbor.
Next.js the comparison shown in those charts
I'd pay for it. What's the point to limit it to US, I don't understand.
Very true, though without the GPIO, so depending on your project(s) you may need to hang an Arduino etc. off of it also. I would also love to see some really cheap and really small x86 machines, like the equivalent of an RPi Zero W, say $20, and small...
if the city did have feral pigeons, they probably weren’t viewed as a problem

Jesus, it's clear you never had to deal with pigeons in any form.

My university department was in a tower building, which of course attracts pigeons, and during pigeon nesting season you better leave all windows closed, else you will have to deal with mad pigeons looking for nesting spaces. Worse if the window was left open overnight, then it's a mad pigeon and pigeon shit everywhere.

Even worse when the pigeons start nesting - the nasty birds carry fleas and mites, and once the last fledgling is gone, the parasites will come in in search of new hosts.

There is historical evidence for this view. The Jewish War by the Greco-Jewish historian Josephus includes a description of the Temple in Jerusalem, and the author goes into detail to describe the anti-pigeon devices on the building, because no one likes feral pigeons, and pigeonshit affects marble, and the temple was all whitest marble.

Egypt can't have been different. Fuck the pigeon.
Most Texas Red Chili's originate from a dish called Chile Colorado with deep roots in mexican cuisine. Chile Colorado is served with tortillas and frijoles (pinto beans), and usually some pickled veggies. At some point its not impossible to believe someone went "To hell with it" and just added all of the ingredients to the pot.. but you are correct, there's really no good clear history of how Chili with meat became Chili with beans.

Fun fact, chile colorado translated just means colored red chile.

Edit: I fixed some typos.
You'll still have access to the general availability version.
My friend just got hired into a manager role - when asked about what he did during his gap, he said "Vibed." Serious company, too - big NYC construction firm.

I think it's mostly if not totally gone.
Are you thinking of Challenger which was more than 20 years ago?
Just keep in mind that it’s correlation you’re talking about. You can have a high IQ and none of those capacities. You can have a high IQ and be severally autistic. Etc.

You can also test normal but be very high functioning. So there is no necessary or causative connection between IQ and effective capacity.

Robots like ChatGPT May test substantially in some IQ tests and have no intelligence or agency at all.
well solutions for these problems are not going to come from consumers independently deciding to pay more to "green wash" their purchases
The exact wavelength on the red/IR spectrum matters for how deeply the photons penetrates into cells. IIRC, 600-1100 nm is a sweet spot, so from deep red to IR. But the same wavelengths don't seem to help all cells equally. I think eyesight is improved from 600nm-800nm, but skin and muscle healing with deeper IR wavelengths. Interesting stuff.
I've defs seen the quote used on the part of Twitter that likely has also used Tumblr in the past.
We do this at Activepieces (activepieces.com).
It's not automatically good. One of the most atheist governments was Soviet Russia, with the attendant horrifying death toll on its population.
Because Google is already preparing chatGPT-like feature to be integrated into their Google search. They will agment it with paid ads of course.