skysight-inc/HackerNews huggingface dataset:
I think this technique would not work with the limited API: https://docs.python.org/3/c-api/stable.html#limited-c-api

The Limited API has a nice benefit of letting you build artifacts that are compatible with a wide range of Python versions. The technique described in this article tightly couples the extension code to the interpreter internals.
I kinda like doing those things
Whenever I’m having an argument with so called “pure X race” and bringing this fact, the race is suddenly not the point of discussion, funny to watch.
You can for all intents and purposes avoid two phase init with factory functions (which is how Go does it) and private constructors.

(To my memory though, Google didn't throw away the benefits of RAII without allowing exceptions... They discouraged complicated behavior in constructors and so the only thing a constructor could fail on was OME, which was supposed to crash anyway).
I'd don't really see a difference between sending an email to a list or to a maintainer. Maybe that's an argument for not adding and adapting to unnecessary concepts like a web based pull request.
I dunno why you were flagged. It's a totally valid question IMO, and I asked it a lot in school too (environmental science undergrad). To me, the difference is the RATE of change and expansion.

Nature and evolution can pretty easily deal with small changes in small areas happening over hundreds or thousands of years, which was normal before human population explosions.

But when that change happens across multiple human settlements (large areas), quickly (industrialization and the green revolution in just a few decades), and at a huge scale (not just cats but climate change and deforestation and pollution all leading to habitat loss), it is very very hard for other species to cope.

If a few individual wildcats crossed a land bridge, sure, they'll have a field day as they gorge on unsuspecting prey. They'll do well and reproduce, and their kittens will eat more prey. But eventually there are more wildcats than prey, a harsh winter or drought comes along, and a bunch of kittens die and the prey have a chance to recover over the next few years. It reaches a dynamic equilibrium.

That's different than when humans settle a new place and suddenly introduce hordes of rats and start breeding pet cats, at numbers far above what the prey population can sustain (because we feed them pet food). The unwanted ones become feral and enter the system at a rate higher than they would've through normal migration, and then we keep breeding more and more of them with an outside input (more pet food). Pretty quickly the feral cats will kill off a lot of the unsuspecting prey (the dumber, more exotic birds, often) and leave a bunch of human-adopted species like rats and corvids and squirrels that can coexist with cats, often having immigrated with the humans for hundreds of years. So you end up swapping the local wildlife for the introduced ones in just a decade or two, way faster than the dozens or hundreds of years it usually takes.

On islands or where settlements and road networks form unnatural barriers, this is especially bad because the escaping prey have nowhere to run to, being isolated to smaller non-contiguos pockets that can individually be trapped until the whole species is extinct or at least extricated (locally extinct).

Of course there are gray areas. The Hawaiian Islands, for example, are a mix of species that ended up there naturally, some a long time ago, some more recently. They have different times of introduction, just like humans do. But because it's a young island chain (in geologic time), its whole timeline is compressed and the species there have different, eh, degrees of "native"-ness, I guess. And among the various introduced species, not all of them are considered invasive. https://dlnr.hawaii.gov/hisc/info/

Anyway, it's not an exactly cutoff date or algorithmic formula for determining nativeness. It's just a case by case judgment call based on the relative time of introduction compared to the ecosystem age, and also the effects of the introduced species on other preexisting ones. It's a human judgment call subject to errors, like any others, but still a useful consideration in ecology.

Sorry for the long post...
Orkes forks Conductor as Netflix abandons the open source project
> really moving my life forward rather than languishing

I think a good goal would be to understand what you actually mean by languishing. Which depends on what meaning you think life has now. Otherwise it seems like you want a goal just for a goals sake.

Your notes about "I don’t seem to be any further ahead than those people that..." is specially telling that you're not setting yourself goals that you want, you're setting up goals to feel like you "won" the year vs other people.

Maybe a good goal could be find what truly motivates you and gives you joy intrinsically. Try new activities that give you joy. Once you find them you'll have no problem setting up goals, because you won't be setting them up "to have a good year" but rather they are just a list of things you genuinely want to do regardless of how well you do them or if you even get good at it.
Then why not make the death penalty an option for the condemned? They could choose between life in prison or an execution in a form of their choosing if they wish to be put out of their misery.
That's a crude simplification of due diligence in China based on one example. Here's a more recent example where children died and parents were threatened by government workers into silence (otherwise they wouldn't be able to see and bury their bodies).

https://en.m.wikipedia.org/wiki/2023_Qiqihar_school_gymnasiu...
"Greed has poisoned men's souls"

Greed used to considered a sin. Now it seems to be seen as a virtue by some. It's not enough to have a Ferrari - you need to have a whole garage full. It's not enough to have a yacht - it's got to be a super yacht.
There's a danger when playing with words like this.

Privilege is bad. It's something we, as society, should strive to eliminate. When you say education is a privilege, what is the message there?

I understand that the OP, and you, are trying to convey a message of this type: I should be thankful that I get X, not everyone in the world gets X, and I will try to remind myself that X should not be taken for granted. Where X is education, but it can also be clean water, or maybe just the right to live, or the right to not go to a reeducation camp if you criticize the "dear leader".

I subscribe to that type of thinking.

I just don't think that using the word "privilege" is the best way to express this idea.
Physics World 2023 Breakthrough of the Year
How hard is it to use <abbr title="...">?
When I was in university around 2001/2002 my partner's close friend was an intern in 3M's legal department. At the time she noted that she was helping to ensure that 3M was never legally liable for teflon and related products.
Did you read this?

https://www.nytimes.com/2016/01/10/magazine/the-lawyer-who-b...
Nowadays I have a RTX 3090ti, which is even longer than a 4090.

This solution isn't for everyone, but I made my pc case out of makerbeam rails, hanging the GPUs vertically, attached to the motherboard with PCIe x16 riser cables.

This photo doesn't show the riser cables but it does show how the GPU attaches to the rails: https://www.instagram.com/p/BMcSU_ig-Ij/
How could it be "a thing?" The models aren't well understood or published in most cases, the data used to create the model is unknown, and the system returns a single result instead of several results with tagged probabilities.

I don't know what "prompt engineers" think they're "engineering." There's nothing of the sort remotely happening here. This is just random uninformed actions being tested against a weak fitness function. The results are effectively meaningless in any broader context.
> "and have a hard time imagining what it would be like to NOT picture things in my head"

funny this reminds me of when trying to sleep when my brain is still active, i try to focus on what i "see" in 100% darkness; i try to set my brain to visualize "complete darkness" - and then i try to "hear nothing" until i eventually fall asleep; sometimes its hard as hell, but something ive "practiced" for some years. Otherwise my brain is jamming to whatever song i was listening to and scheming some plan in whatever game i was playing last..
Who was the one with the original idea to make the url bar double as a search bar (I mean person, not company - i assume the first company to do it was google?)
A bit late to the party, but in case you track replies, I can recommend the Avantree "Audikast Plus" device. Negligible weight, it gives you Bluetooth capability for two simultaneous headphones as long as you can plug it into a 3.5mm jack. I have been carrying it in my travel bag for years (the current model looks identical but is Bluetooth 5.0 compatible) and it makes our flights and hotel trips a delight (sound experience, I meant).
precisely, don't use .0 releases and don't rush to update immediately. Let others do that work.
I'm shocked. /s

I've preached about this in other comments (e.g. boeing 737 max), and looks like many folks here agree - we need personal liability in order to stop these kinds of things.
Well for starters, we don't actually believe in an eternal hell (unlike most other Christian denominations). That's part of why I said my explanation was a bit oversimplified, because we have a different understanding of what salvation entails than most other denominations.

We also believe that people stay fundamentally the same after death as they were in life, so someone who would have rejected the truth (and baptism) in life would likely do the same after death. Again a bit oversimplified but that's the basic idea.
Yeah I agree, the ListView naming is more appropriate.

I haven't used non-owning types like string_view or span too much because I haven't needed that level of performance or memory optimization yet, and so those just seem like footguns as compared to just a reference without those needs. I do like to use a technique in classes that use non-owning references that would work for those too to prevent this particular problem.

For that, there are two methods with the same name, but different access - an lvalue version and an rvalue version. Then, you delete the rvalue method like this:

class Response {
auto getListView() & -> ListView {
return ListView(m_List);
}
void getListView() && = delete;
}

Then you get a compile error like in Rust when you try to call getListView() from a temporary object, but if you call the method from an lvalue it still works at least as long as the object is in scope.
It is very much not free -- they apparently raised a lot of debt to buy eOne, and they are going to have find a way to pay that off or roll it over into a much, much higher interest rate environment than 2019.
My father had a similar childhood. Grew up in a 3 bedroom cabin that his father built, shared a bedroom with his 3 brothers, and spent a lot of his childhood running around the woods with a rifle and trapping animals to sell furs. Despite having a very successful career, he refers to this time in his life as 'when we were wealthy'.
I just finished _Death Comes for the Archbishop_ and enjoyed it quite a bit, particularly for all the detail that came from extensive research.
Have you ever given serious thought to your spiritual health and your soul?

It's another axis to grow.
> I'm surprised that the "alarm" is over the tourism and filming of it.

I’m not that surprised. It’s a stance which doesn’t require doing anything to solve the underlying issue, but lets people take a moral stance which feels somewhat humanitarian.
In safety critical embedded systems there is no such thing as "program just terminating". The program is the only software that is running on your device, and you need to degrade execution to some safe state no matter what. Every error should be processed, ideally right where it occurred (so I am not a great fan of exceptions either).
If you report the website/sitekey to hCaptcha support it'll get banned pretty quickly.
In my experience all you really have to do is:

1. Write a test program that exercises your segfault.

2. Build it in debug mode.

3. Run `valgrind <my-program>`

And it just tells you where your problem is. Not much more to it.
> Death sentence is probably a bit much

Why? If you knowingly decide to poison thousands of people, that makes you a mass murderer. Since when are we so lenient about those?
How do you know they didn't consider the impact?

It seems more likely that they did and nonetheless decided to stick to the usual norm.
The Return of the World's Fair
I dunno, if there's no money left, the execs can live in a cell where they are fed the various tainted products, but not told which.
DOS2 holds up pretty well. DOS is kind of clunky.
As 'xvector points out, the alternative punishment - like long sentences in high-security facilities - can, in practice, be much, much worse. This is a theory vs. practice thing - theory could say that "there's always a chance", but actual numbers will say that the country is just making convicts - guilty and innocent alike - spend decades being tortured.
That seems like the correct incentive, no? If the shorts believe a company is (e.g.) poisoning 100,000 people in a large suburb, shouldn't they profit massively if the government agrees and seizes it?
> People weren't correcting you to mock you. They wanted to understand and probably help you

No. In France they openly showed their disgust at my French and refused even to speak to me.
hence the popularity of minecraft?
Europeans, especially Germans suffer from the same problem.

Chemical companies like Hoechst gave up on Germany due to its anti-scientific, emotional stance on chemistry.

Yet the same people in Germany complains nowadays that the country is having issues supplying itself with pharmaceuticals.
Yes, this will absolutely decrease the number of eligible reviewers. That's a given. But the argument is that it would also help combat spam and fake reviews, so while the number of reviews goes down, the signal to noise ratio goes up. People who read the book without buying it wouldn't be able to review it, yes, and that is an unfortunate side effect. However, it still leads to more useful reviews than if those borrowers are also lumped together with spammers and bots, which make the reviews useless for everyone. It's not a perfect solution, just an improvement over the existing mess (on Amazon).

And yes, agreed that Goodreads needs a different system. I was responding to a post about Amazon, and even there mentioned that goodreads would need something different, maybe reputation based or whatever.
I wouldn't say "most". I've tested Toyota and Nissan, and they can't even drive on a normal road and are barely useful on a motorway. Every time there is a merge lane on the right they will both creep into that lane once the lane markings disappear. Nissan's ProPilot can't handle a regular meandering road, at the first sign of a tight corner it will give up, but not before pretending that everything is fine leaving you with 2 seconds to stop it from driving off the road. I think that Tesla is about 20 years ahead of Toyota and 50 years ahead of Nissan.
> The entire entity would be taken on ownership by the government agency

We should not trust government agencies as they have zero accountability either. It is even worse.
Agreed. For people who need serious help and don’t have resources, there’s nowhere for them to go. Dumping them on the street is an abject moral failure in this country.
> Additionally they most likely already knew English and were able to decipher "French broken by an English speaker".

No, they did not speak English.

If they had, I wouldn't have subjected them to my French.
Same. f-suck. fsuck.
If you have some current hits you can recommend, I'd love to get recommendations from another Magic System fan!

In return I can suggest artists like Slava Marlow, or places like zaycev.net to get a nice curated experience without involving youtube: just click on the play button at the bottom of the screen: currently I'm listening to Subbota (Дым бомбим)
AOL: "This was a screw up" (2006)
What features or benefits would a small fraction of people love in an alt browser?

What would HN folk love in a browser?
First of all they said free-roaming cats, not feral cats.

You can't ban feral cats any more than you can ban rats or trees.

And you're excluding the middle too. It's not as though any policy which isn't perfectly and totally enforced is completely ineffectual. And it's also not the case that policies that don't solve a problem completely should be discarded as pointless.

In the end, to have any solution at all, you need something that a) works to some extent and b) can be agreed on by enough people to actually end up being executed.

Far too often the discussion gets completely bogged down in a where a has to be accomplished utterly and completely or we shouldn't bother at all. But the only thing that's pointless is having the discussion that way, because the world just doesn't work like that.
> despite saying they're "harmful", they've been everywhere for all these decades that a lot of other measures of quality of life have been increasing?

Might be unrelated (or not), but cancer rates have been exploding the last decades. Example via Google-Fu:

> Cancer cases in under-50s worldwide up nearly 80% in three decades, study finds

https://www.theguardian.com/society/2023/sep/05/cancer-cases...
Unix-like apparently does not include macOS here

Edit: Or does it? https://ports.macports.org/port/fsearch/details/
That is quite interesting. Maybe they're trying to keep it from manifesting additional people - if the user requests a scene where logically more people are present than visible (maybe it's first-person, or the view from the front row of a theater) and ChatGPT crafts a prompt which describes the physical characteristics of the unseen people, Dall-e will probably include them in the image it generates.
When the Wright Brothers Proved the NY Times Wrong
> to claim democracy is broken because a voice of an educated person carries same weight than that of a high school dropout

Is not logical.

> fascism wasn't only a manipulation

No successful ideology is only a manipulation.

> Had fascism succeeded

I doubt anyone really knows why, but the historical fact is that it didn't.
> life-long incarceration does not

There is no such thing as life long incarceration. They always get out early
So the trouble tranq tourists cause is:

* encouraging tranq use by paying users of tranq
* adding embarrassment to users of tranq

It seems like paying someone else to take an illegal substance is as prosecutable as purchasing the drug yourself, maybe even more if the person paid is not able to consent.

I wonder why the municipality is not arresting people for this activity.

Interestingly: Tranq is not a federally controlled substance. That means it’s not deemed illegal to use by itself under federal law. You can get it with a veterinarian’s prescription.

https://www.webmd.com/mental-health/addiction/what-is-tranq-...
> I don’t know if the law will allow an effective removal of all assets. I’m thinking of trust fund babies and such…

Civil asset forfeiture. The money itself is complicit in the criminal act.
Lots of HN people are fascinated by Arc. That's a good place to start looking.
Vulkan Compute backends for numerical compute (as typified by both OpenCL and SYCL) are challenging, you can look at clspv https://github.com/google/clspv project for the nitty gritty details. The lowest-effort path so far is most likely via some combination of Rocm/HIP (for hardware that AMD bothers to support themselves) and the Mesa project's RustiCL backend (for everything else).
The code is wizardry. It looks more confusing than obfuscated JavaScript
You can either have low friction reviews, or you can have high quality reviews. You can’t have both.

For example, Facebook/Instagram/OpenAI/etc. requires non-VOIP phone number verification on signup. This alone would cut spam to near-zero.

I’m sure if Goodreads required this on signup, the problem would solve itself.
> Typically, software developers only support a single GPGPU API, and that API is nVidia CUDA.

There is very little NVIDIA and CUDA cards off of X86_64 and maybe OpenPower architectures. So I disagree. Also, OpenCL, despite being kind of a "betrayed standard", enjoys quite a lot of popularity even on x86_64 (sometimes even with NVIDIA hardware) - even if it is not as popular there.

> AMD cards often outperform nVidia equivalents

Can you link to benchmarks or other analysis supporting this claim? This has not been my impression in recent years, though I don't routinely look at high-end AMD hardware.

> because nVidia prioritized ray tracing and DLSS over compute power and memory bandwidth.

Has it really?
In reverse? Do you mind sharing a couple examples? I’m not a French speaker and this sounds intriguing to me.
And in the real world, how would you convince the top decision makers to do such, without causing more damage than what it prevents?
Thank-you. I had just watched the trailer to Control: Ultimate Edition as part of Humble Bundle's Heroines. The article mentioned Remedy Entertainment, and that got me to watch it again:

https://m.youtube.com/watch?v=pFGgEoIVi7A

Game writing is a mystery to me. One only has limited chances to work on a blockbuster. How does one iterate, again and again, mistakes shorn, wriggled, and cast off the wayside, to rise and do again?

Lots of planning, killer taste, and a lifetime of observations, maybe.
Amusingly the well regulated militia subordinate clause makes it very clear that the 2nd amendment is explicitly intended to protect “weapons of war.”

Sadly, since the Dick act, Congress has defined “well-regulated” as “yeah, whatever.” Nevertheless, since that was Congressional intent it satisfies the well-regulated requirement.
Books are a slower source of information —- and that’s a good thing. Like most of us you have trained yourself out of being able to sustain focus on long term but ultimately rewarding things, like reading a long or challenging book.

My advice is to set a timer and gradually increase it. Start with 10 minutes. Put your phone in the other room. Set you timer. And just read. Repeat. On the third day raise it by a minute. Repeat. Start looking for other ways to exercise your ability to sustain focus and reduce quick hit, dopamine juicing time sucks. You will get better over time.
What criteria are you using?

~320M French speakers globally (220M native, official language for 29 countries)

~559M Spanish speakers (~480M native, 20 countries)

~1.1B Mandarin speakers globally (a few countries, mother tongue in ~20 countries)

~1.5B English speakers globally (~400M native, official language for 67 countries)

So for much of the world it seems pretty clearly English (& has been since WWII) and French is in the “second” tier competing with Spanish and Mandarin (probably just behind Spanish & Mandarin in terms of penetration lingua franca is about being the bridge language).
This is C++ we’re talking about.

auto x = y();

Is x a pointer or reference? There’s no way to tell. Maybe if you then do

x->foo();

You have some idea that x is pointer-ish, but unique_ptr works like this and isn’t very pointer-ish.