skysight-inc/HackerNews huggingface dataset:
The main thread is special because that's how the runtime works on Unix. In particular, when "main" exits, the process exits. This is required by the C standard. It's also fundamentally built into how Unix processes work, as certain global variables, like argv and environ strings, typically are stored on the main thread's stack, so if the main thread is destroyed those references become invalid.

In principle Rust could have defined its environment to not make the main thread special, but then it would need some additional runtime magic on Unix systems, including having the main thread poll for all other threads to exit, which in turn would require it to add a layer of indirection to the system's threading runtime (e.g. wrapping pthreads) to be able to track all threads.
The fine is up to $10k but it can also incur a prison term of up to 5 years. The dichotomy in severity is probably reflective of income levels at the time the law was passed.
1. Don’t be a dick.

We come down on different sides of this - don’t assume people who don’t agree with you are being children.

2. To the extent that FB is addictive, it should be treated the same as alcohol and tobacco as I noted earlier. Restrictions on young people. A cultural movement to regard use/overuse as uncool.

Meta has been a huge positive for me and many others; just because you hate it doesn’t make it fundamentally bad.
If a study is goverment funded it seems gov should also review what we paid for. It shouldnt take very long for gov review in a field to earn a reputation?
Not a cpu designer, but aren’t variable length instructions a big part of why x86 decoders take up so much area, and also increases branch predictor complexity?
Also, you do need to explicitly specify you want to use the interest-free installment option when making the purchase. It's not automatic, even when buy an Apple product at an Apple Store.
Has anyone tried to combine a token embedding with some representation of the characters in the (sub)word? For example, use a 512 long vector to represent a token, and reserve the last 12 values to spell out the word.
I liked TV better back when there were a few "main story arc" shows, but the majority were random, unconnected plots. Like the X-files where most of the shows were "monster of the week" but they would occasionally return to some main theme and move it forward. We're re-watching Deep Space 9, and I think that series had the right ratio.

As opposed to something like Game Of Thrones, which was basically a single 70 hour movie split arbitrarily.
The file said: if you want to contact us (for certain purposes), here are our addresses. Some adresses were in Russia. That's a no-no now.
> - l: Probably some length?

I don't understand why the author didn't just look this up in the source code. Lichess is open source and we can see exactly what this field is here, it's the average lag:

https://github.com/lichess-org/lila/blob/45b5f0cfbbf6c045ad7...

send = (t: string, d: any, o: any = {}, noRetry = false): void => {
const msg: Partial<MsgOut> = { t };
if (d !== undefined) {
if (o.withLag) d.l = Math.round(this.averageLag);
if (o.millis >= 0) d.s = Math.round(o.millis * 0.1).toString(36);
msg.d = d;
}
if (o.ackable) {
msg.d = msg.d || {}; // can't ack message without data
this.ackable.register(t, msg.d); // adds d.a, the ack ID we expect to get back
}

const message = JSON.stringify(msg);
...

Which is calculated from how long the server takes to respond to ping messages that the client sends:

private schedulePing = (delay: number): void => {
clearTimeout(this.pingSchedule);
this.pingSchedule = setTimeout(this.pingNow, delay);
};

private pingNow = (): void => {
clearTimeout(this.pingSchedule);
clearTimeout(this.connectSchedule);
const pingData =
this.options.isAuth && this.pongCount % 10 == 2
? JSON.stringify({
t: 'p',
l: Math.round(0.1 * this.averageLag),
})
: 'null';
try {
this.ws!.send(pingData);
this.lastPingTime = performance.now();
} catch (e) {
this.debug(e, true);
}
this.scheduleConnect();
};

private computePingDelay = (): number => this.options.pingDelay + (this.options.idle ? 1000 : 0);

private pong = (): void => {
clearTimeout(this.connectSchedule);
this.schedulePing(this.computePingDelay());
const currentLag = Math.min(performance.now() - this.lastPingTime, 10000);
this.pongCount++;

// Average first 4 pings, then switch to decaying average.
const mix = this.pongCount > 4 ? 0.1 : 1 / this.pongCount;
this.averageLag += mix * (currentLag - this.averageLag);

pubsub.emit('socket.lag', this.averageLag);
this.updateStats(currentLag);
};
Writing homebrew for PSP was my first introduction to programming and my gateway to Python (through PyGame).
It is not quite the same but Things from Cultured code does the

- do vs due date

- subproject progress view

and is just generally a super awesome app that brought me a lot of peace
Does anyone have a good summary of the Buck(2) track?
This often comes up for map types. C++ std::map and Python OrderedDict are both "ordered" but in very different senses of that word. People who wanted one but got the other will most likely be unhappy. Both do always work for "golden test" inputs, which will satisfy the sort of person who writes unit tests after finishing the software by picking inputs and then mutating the checked outputs until the test passes...
Back when I was commuting by train every day, the Vita was my favourite console. It felt like it got a lot of great ports of the big indie titles of the time, plus a decent number of bigger titles: Hotline Miami, Spelunky, Stealth Inc, Wipeout 2048, Resogun, Super stardust, Persona 4, Guacamelee.
Sure, that's a risk.

But force feeding everyone Go is worse.

Code reviews would be a more constructive approach to the same goal.
Very interresting read. It seems that the majority of the mentioned cons is something thats going to be fixed. And then Godot might truly compete with other app development frameworks
Yes, it makes post-production SO MUCH EASIER
How you design a core is very different based on if you're targeting ultra-low-power tiny microcontroller designs vs high performance and high power laptop/desktop-tier designs.

And it's not been proven that RISC-V is a good match for the second group (yet).

Remember it's sometimes very non-obvious what quirks of an ISA might be difficult until you actually try to implement it - one of the reasons ARM had a pretty much "clean sheet" rewrite in ARMv8 is things like the condition codes turned out to be difficult to manage in wide superscalar designs with speculative execution - which is exactly the sort of thing required to meet the "laptop-tier" design performance requirements.

It may be they've avoided all those pitfalls, but we don't really know until it's been done.
Im a huge fan of constitutional rights and school vouchers, so I should look into them.

If public schools are less desirable, we should celebrate that the money is going elsewhere.
Interesting, might recommend this to some others that use a calendar in this way but feel like Omnifocus can already essentially do this with forecast view.
if you believe Russian government would coerce its own citizens, why do you not believe they would coerce foreigners? they have a world class intelligence agency that routinely assassinates regime enemies in foreign countries after all, so why should it be any harder for them?
And again, the same goes for the US.
PayPal has an interest-free credit option, usually spread out over six months, as well. You don't always have to make a specific payment on the due date, but if you don't pay it off in six months then the whole amount of accrued interest is due.
Haha, same. And that's how I got into programming, making homebrew games for my PSP - I taught myself C++, and I even participated in several competitions for homebrew, PSPSnake was one that got thousands of downloads, for a 15 year old that was crazy cool.
I grew up certified poor (rent control, foodstamps, hand me down clothes, donation program christmas gifts, the works) and was able to attend elite private schools because of programs like this.

Grew up with plenty of other poor kids going to those schools too.
Maybe instead of a floating window do it like Zoom does when you're sharing your screen, become a frame around the desktop with a little toolbar at the top, bonus points if you can give Claude an avatar in a PiP window that talks you through what it's doing
> Today the average PS5 game price is $70.

And how many games do people have to subscribe to PSN to use? How many people have to pay for internet to use their game? How many games have microtransactions or DLC? How about a season pass? How about all of the editions they have? What's the cost of a controller? Does a console come with one or two? How many times do you have to buy a game because backward compatibility doesn't exist?

I'm not a big gamer and I realize some (maybe most) of these are not required, but let's not act like the gaming industry is surviving off the base price of a game like in the 90s.
Good for you. Even though you had the right of way, you anticipated people to be unsafe drivers, and adjusted yourself instead of demanding they do better.

Now imagine this sensibility being taken and stretched across a wide spectrum of people. You will find all sorts of behavior of people trying to be safe but making the roads frustrating and patience challenging. The point is that a judgement call works in a few limited scopes in really good ways. Other times, it does not work.

And so expectations of others is limited to what they understand. In this case, it is for their survival.
Because you have to maintain that local media server and go through the process of adding in the media you want to see and removing media you are done with if the disk is full.

As opposed to Netflix where you press a button and you're watching something.

People out there aren't much like the people who post here - when they get home from their crappy job they hate, finally make dinner because they can't afford food delivery, kick off their shoes on the old couch they bought at a yard sale and turn on their 15 year old TV they want it to just work. They don't have the interest or energy to fuck around with things that many here find fun and interesting and exciting.

This post is giving me major "why would you need Dropbox when you can rsync?" vibes: https://news.ycombinator.com/item?id=18255896
"Efficient" in the economical sense, that is. Unless, the civilization covers a very wide area (basically everywhere in there, for light years around the impending supernova) and the protection amounted for each and every civilization zone would surpass the containment circle/cylinder/sphere around the star. In such case the sensible solution becomes to just recognize the area that can not be saved (no mater what) due to its proximity to the star and the limits of walling withstanding capacity, evacuate that, and set the containment all around the future explosion as close as possible instead.
Genshin Impact mobile is pretty much on par with PC/console versions, and Vita couldn't do anything even remotely close to it in terms of scale. Although games like Killzone and Uncharted definitely pushed the envelope in terms of what was possible with the Vita, really great games.
Ubuntu itself is only supporting 20.04 for another 6 months (unless you pay).
Serious question: how many times the pain of going through rebases rather than merges made a difference, or even better, really paid off in engineering terms?

To me it's virtually zero in seven years but it might be due to the teams and projects I've been involved with.
https://news.ycombinator.com/item?id=41904595
https://news.ycombinator.com/item?id=41913378

Not sure why no discussion at all - maybe the design is underwhelming.
> making monthly payments with a credit line that also expects monthly payments

I agree, that is very likely where the confusion comes from. It would probably be better if they kept the billing separate even when it's on the same statement.

I hate to jump directly to assuming nefarious greedy corporation, but obscuring the monthly installment by paying it with the credit card does strike me as a deliberate choice. I guess CFPB agrees.
My vita oled still functions fine?
I have non oled variants as well but I feel no reason to use them, they just exist as spares.

Have the OLEDs all started dying or something?
Show HN: I built TuneTutor, a web app to learn languages through song lyrics
Looking for some feedback on this new tool I’ve developed that gives you detailed grammar/vocabulary explanations of song lyrics in different languages, for language learning purposes. Romanization is a known issue that I’m working on (in cases where the lyrics are available only in romanized form, it’s difficult to convert them back to the original script). Other than that, all comments/suggestions are appreciated!
>>The Vita1000 OLEDs in general haven’t aged well

Really? That's an interesting opinion - I own both and vastly prefer the original Vita due to that OLED screen, it's just better in every way(the screen).
Seems to be stretching the separation of church and state.

As long as the schools meet certification and minimum curriculum, I dont see how it is different than the city buying concrete from a religious vendor.
Haha the fishing rod is actually a mast for my antenna; I'm not much of an angler myself. Collapsible telescoping fiberglass rods are light, cheap, and an easy way to get a reasonably stable point 20 feet up in the air :)
I'm not sure what the future is going to look like, but it feels strange already and companies seizing on that don't care about safety.

People seem afraid to approach people, so we get Tinder. But hey, there's still a chance of rejection there, so let's just get rid of the whole human element and make fantasy AI bots, who needs people.

What will these people grow into? It seems a rather crisis for the population of a country if people decide they don't need each other anymore and just want to play with their robots.

I'm usually on the side of "play stupid games, win stupid prizes", but this one feels much different. Up until the moment of him taking his life, he was manipulated into doing exactly what the company wanted - getting sucked in, getting addicted, falling in love. Anything for that almighty dollar. My heart goes out to his family, and I hope they ream this company in court.
Sure. Now let's turn that same energy on cops that regularly violate US Constitutional rights of their victims.
It’s not a huge deal on its own but it’s part of the overall “user friendly” nature of the card as a whole. Having the whole balance be due at the end of the month just makes it easier for me to use it as my “daily driver” rewards credit card.
Show HN: 2KB JavaScript Dependency Injection Library Without Decorators
Hi HN,

I’ve created a lightweight dependency injection (DI) library for Node.js, weighing in at under 2KB gzipped. It's perfect for both backend and frontend projects where size is critical.

A few things that I believe set this library apart:

No Decorators: Unlike many DI libraries, this library doesn't rely on decorators. This makes it cleaner and more compatible with different JavaScript environments, especially for those who prefer not to use decorators.

Tiny Footprint: At less than 2KB gzipped, it's a great choice even for frontend applications where bundle size matters.

Minimalist API: Simple and intuitive, it doesn't add unnecessary complexity.

I created PumpIt to fill a gap between heavy DI frameworks and minimalistic, easy-to-use solutions.

I'd love to hear your feedback or suggestions on how it could be improved.
100x growth in 20 years starting from 1980 is insane. Would’ve been very interesting to witness.
Being a snitch is a good thing because if you do a crime using their services, then you lose the right to privacy. Blanket surrender of data is not.
The opposite is true. Even if you publish the source, if you don't add a licence, you still have full copyright and all rights to it.
Well, fastText uses character n-grams to compute embeddings for out-of-vocabulary words. This is pre-transformers work BTW.
If you want to be sure you’re clearly understood, don’t use sarcasm (it’s a massively overrated and really cheap form of humor anyway). If you want to be funny, take the risk that you’ll be misunderstood. My problem is with people who want it both ways.
Linus Torvalds affirms expulsion of Russian maintainers
This person is an academic at stanford, not a " creature surfacing from the morass of governemnt bureaucracy".

I can see a little of the pot calling the kettle black, sure, but I think we disagree on degree enough to call it a disagreement of kind.
Microsoft Is Struggling to Retain Women, Minority Employees
I think Sony was just incredibly scared of having a repeat of the PSP situation where piracy was absolutely dominating, they sold crazy number of consoles and very few games(comparatively). I knew at least 10-15 people with PSPs when I was a teenager and none of us ever owned a single actual PSP game on a disc.
"Okay Google tell me what 5 flowers would say discussing shoe sizes with 28 pigs". There, thinking outside of the box, delivered. ChatGPT a nice story.
I appreciate your insight!

The sentiment indeed aligns exactly with what a kind person might say - but to the user screaming out into the void, the tragedy is in that the bot will never actually respond to the users message.

It’s the screaming into the void and only an ad-bot responding back that’s the stomach dropping element to me.
It's just not a big deal.
> Do we want a society from the perspective of "the producers" or the greater population?

Look at what the right wing US party always runs on - cutting taxes for "job creators", "running the government like a business", and bail outs for Wall Street.

At least half of this country fantasies about being at the beck and call of "the producers" of things. Fanboys of Elon Musk squeal if he interacts with them on Twitter.
java and c# are great choices
One solution is dumb phones! It's an idea I've been toying with but haven't committed to yet.

I think it could work. You can call, text (probably hard, I remember those swipe-out keyboards) so you should be good in an emergency. But that's it - the rest you do on your desktop, where you have far greater control over the software you use and far less data available (no location, no photos, etc).

The trouble is there's some gaps. If you want decent pictures, you'll need a camera. If you want to do something simple like check your email, it's a whole thing.
Human brain can process certain sentences in 'blink of an eye', says study
> It feels like the fandom behind Linux on the home desktop

I don't agree with this comparison (or I am misjudging your intention) - 90% of the people I know who run any sort of linux deskopt (usually developers at work) only don't switch their home desktops because of games. I know we're a tiny majority (and I am typing this from a windows machine) - but it's nothing like 10x worse in objective terms (e.g. speed).
Nuclear War: A Scenario
> it feels like the SERVER is tracking the time

TBH this is what I expected for all online chess. How else to reconcile the two players' differing clocks and also prevent client-side cheating?
Wouldn’t coordination to change ISA between multiple companies receive heavy scrutiny in the Lina Khan era?
If I use an ad id on android, is this id the identifier I can use to make a gdpr request to brokers regarding accessing and deleting my data? I don't have an ID but I'd be curious about doing that, in a similar way to xandr with its uuid2 (although xandr does just looks bad and not this terrible)
In Firefox on Linux Mint the cursor keys move from species to species but the image doesn't change.
4g and 5g are open standards.

It was their now mostly irrelevant CDMA patents that Qualcomm used as a weapon against device makers.

> Many carriers (such as AT&T, UScellular and Verizon) shut down 3G CDMA-based networks in 2022 and 2024, rendering handsets supporting only those protocols unusable for calls, even to 911.

https://en.m.wikipedia.org/wiki/Code-division_multiple_acces...

In my opinion, Qualcomm's abuse of their CDMA patents is the reason that zero device makers were willing to get on board with a new Qualcomm proprietary technology.
I have yet to try Jujutsu or GitButler, but Git has a built-in way to make conflict resolution a bit easier with `rerere`. To be honest, I don't find doing this work manually a major chore, so I don't enable it, but it's there if you need it.

I would like to comment on this:

> I have been asked countless times if it's better to merge or to rebase and while I never want to stir up a hornet's nest, I have always advocated merging over rebasing.

I've been involved in this discussion many times as well, and the correct answer is that one isn't inherently "better", and you shouldn't _always_ prefer one over the other. There are situations when a merge is preferable (e.g. to keep a branch in history), and others when a rebase is (e.g. to, well, _base_ some work on a specific commit). The choice of when to use either will depend on the author's or team's preference in each case, which is why it's given as an option in most web-based PR/MR workflows. Squashing is another task you don't want to always do either.

I partly blame this confusion on Git's UI, and on the baseless fears spread about rebasing for years, which many developers mistakenly absorbed. The amount of times I've heard that force-pushing after a rebase is "dangerous" is too high. No wonder people find it scary...
Pretty interesting. If you add support for Pro Tools and Logic Pro, you'll have the attention of industry pros. Others important DAWs to consider supporting are Studio One, Cubase, Nuendo, Adobe Audition (this one should be easy, their session files are basically XML).
This reads like serial experiments lain, or any number of weird Japanese love/horror stories
Ask HN: How is job search going for you?
I left my job in 2023 voluntarily after immense harassment by management for taking paternity leave. I needed it since our baby birth and first few months did not go as we expected. Company had 6 months of parental leave policy but my manager (a woman!) still discriminated. Our baby is fine now and growing well.

I took 6 months off and then started working on my own project that turned into a startup. We have a few customers and we are growing, albeit slowly.
I did not have any experience with Sales and Marketing and did not have any in-group contacts for selling MVP. I am learning it hard way.

Just looking at number of layoffs it is scary. How is job search going for you? I am conflicted on whether I should get back to job search or continue my startup. I believe I product will add value but getting it up is a long path.

What are your experiences with job search lately? I have been in SWE and SWE Manager roles. I enjoy SWE Research work more than being a SWE manager.
None of these statements relate to the comment thread you're responding to IMO. Are you saying that the median human today is "vastly" "healthier" because of medications developed by American pharmaceutical companies, that they are "healthier" because of medications created to alleviate the outcomes of pollution/greed? What point of the discussion said humans are not healthier than they once were?
Memhive – Sub-interpreters in Python with shared memory
Ah my bad i just updated to 18.1 per a system settings notification i received today. I was running 18.1 betas the last few weeks so I guess for beta users they were updated today to regular 18.1.