skysight-inc/HackerNews huggingface dataset:
Because they don't share memory. The C interpreters share memory, so they could have data races, but the python code can't. Just like how the C interpreter can have memory unsafely but python can't (or shouldn't).
It is trivial to do. Just write the extension yourself. Won't take more than 15 minutes with ChatGPT.
assertions often get turned off in production/release code, panics do not.
Stripe is where the money goes to and handles getting it to your bank, this is better and faster authentication of purchase.

It should reduce fraud and apparently improve conversion rates, so that’s a big win for Stripe.
Since I'm getting 500 errors, https://www.w3.org/TR/secure-payment-confirmation/
I write Rust professionally.

If you're using Rc you probably mean Arc. And most of the time that you mean Arc you mean Box.

If you're using RefCell you probably have a bad data model. The use case is interior mutability. This turns out to not be that useful in practice if you designed your DS well. Occasionally you need it in the design of some internals, but it's rare (and rare to expose)

If you're fighting the borrow checker you're not writing idiomatic Rust.

> I mean how much of an overhead if RC comparing to the real borrow checker coming from Java or JS world?

Negligible, but the real question is "why do you need RC in the first place?"
Yep. I mean, it's nice that we don't have to do the timezone math, but they still should include the timezone to avoid confusion.
It seems to me like this is turning into a subreddit migration in slow motion. A lot people still want to post content and a lot of people still want to read content, so what's happening is people are posting it to the less popular 'alternative' versions of the popular subreddits and those posts make the frontpage instead. It seems like there is a noticeable decline in quality but i'm still seeing quite a bit of posting. Not sure if it's having the intended impact or not. I think the missing thing here is a viable, popular alternative. Digg died because reddit existed. If there was a consensus on the next reddit I would think reddit should be much more worried.
Good analysis, bad conclusion.

Instead of coming up with 20 years instead of 100 for software copyright expiration, why not "if you EOL it, its copyrights are automatically revoked"?

Tell you why: because new Windows is just old Windows with a shinier skin on top.
As adults we're constantly interacting with people younger and older than us by multiple decades. Even as college students we're in classes with those younger or older by multiple years.

The modern age-cohort school system is the historic exception. Prior to it single-room schools were common. And prior to those apprenticeships in which some of the apprentices or journeymen were older and younger were common.

Heck, in my neighborhood kids were older and younger. I remember getting advice from an older neighborhood kid when beginning elementary school (the part I remember is that lunch boxes weren't cool, and to use a paper bag instead).

You're right in that being the single odd-ball is unusual. But I think it would be better to just make partial and full grade skips more common than to make them rarer.
Britain can become an AI superpower
Other people’s opinions are surely different than mine but… I think the subs that have gone dark actually made Reddit better.

It’s all the popular subs, and that’s the really low effort, frankly, basic bitch comments.

For me, in protesting they’ve improved it.
Rondel Dagger
This AMA happened 27 days ago…
A computer LCD is effectively a flashlight shining in your face. If you read in bed every night, it's jarring and annoying.
A lot of people pretend this isn't the case, but democrats also receive political donations from rich people and then pass legislation that is favorable to those rich people. But the underlying cynicism is correct. It's a racket.

required disclaimer: i don't like republicans either
(Disclosure: Author of a Python C extension that wraps SQLite that has 2 decades of development behind it.)

Have a look at the current documentation for writing extensions. This approach is essentially unchanged since Python 2.0.
https://docs.python.org/3/extending/newtypes_tutorial.html

In particular note how everything is declared static - ie only one instance of that data item will exist. If there are multiple interpreters then there needs to be one instance per sub-interpreter. That means no more static and initialisation has to be changed to attach these to the module object which is then attached to a specific interpreter instance. It also means every location you needed to access a previously static item (which often happens) has to change from a direct reference through new APIs chasing back from objects to get their owning module and then get the reference. That is the code churn the PyO3 issue is having to address. One bonus however is that you can then cleanly unload modules.

This may still not be sufficient. For example I wrap SQLite and it has some global items like a logging callback. If my module was loaded into two different sub interpreters and both registered the logging callback, only one would win. These kind of gnarly issues are hard to discover and diagnose.

Removing the GIL also won't magically help. I already release it at every possible opportunity. If it did go away, I would have to reintroduce a lock anyway to prevent concurrency in certain places. And there would have to be more locking around various Python data structures. For example if I am processing items in a list, I'd need a lock to prevent the list changing while processing. Currently the GIL handles that and ensures fewer bugs.

I've also experienced the serialization overhead with multiprocessing. I made a client's code so much faster that any form of Python concurrency was slower because of all the overhead. I had to rearchitect the code to work on batches of data items instead of the far more natural one at a time. That finally allowed a performance improvement with multiprocessing.
http://hn.premii.com supports lots of options in addition to dark mode
There's definitely tradeoffs to some things, and I think in particular Rust's static guarantees can cause additional friction, but in general I've found ML derived languages to be extremely practical because it's a good local maximum on the graph in terms of complexity vs runtime safety (where languages like Java add too much friction without enough benefit compared to something like Python)

I've found in software development the 80/20 rule is extremely true, but when you need something from that last 20%, it can really mess up your architecture trying to work around it. To me this is why others love LISP so much, and I appreciate F#/OCaml for getting me as close to that potential as possible while keeping static analysis reasonable. Clever use of type systems is great for RAD and making sure critical components make certain classes of bugs a compile time error, and it can turn into undecipherable magic, but the additional information and guarantees advanced type systems provide allow me to focus on my immediate problem instead of the interplay with a larger system.
A bit elitist take, but I would be happy if the people who don't want to take a stance stay and the rest move on to more interesting places. Reddit can be reserved for ads and memes.
Is this what's going on? I have an account with a maiden name I check now and then. I tried to get into it when they announced the policy change around inactive accounts, but was presented with an error saying I had no recovery information. I swore there was a recovery email and could see the security alerts being forwarded to other accounts, but can't do anything.

With so many people centralizing on gmail over the years, this really feels like another blow to the usefulness of email overall. It has me thinking more critically around recovery workflows I've built or assumptions that people will have records of previously sent messages.
Heh, you're right on both counts; thanks! Looks like the pommel at the end acts as a counterweight for heavy swords.
It's easier to your eyes at night or cloudy days.

I have my devices setup to switch automatically by hour of day. Sometimes I switch manually when I want to.
IMHO, Reddit's charging such a high price for API access that it's as good as unattainable is more of a last straw then anything else. Reddit has been clear that they view the data as their sole property, when you think it through, why be a moderator for a for-profit company if you aren't being paid?

I don't know why it took this long for moderators to quit.
I think you might be forgetting that Apple Pay exists and has worked on the web for years. This looks like a standardised version of Apple Pay.
This is a reason third-party apps are useful. I use a random app I got off f-droid and it has a dark mode.
Alibaba to launch local versions of its China e-commerce site in Europe
> Data science and data processing are the core use case for python

indeed. one would almost hope that all the different aspects of "performance" and "concurency", their memory, disk or network profile etc get their own dedicated labels. The conflation of these distinct dimensions is a major source of confusion (and thus a waste of bandwidth).
> Show more than your position

> - Show the content

> - Highlight matches

KDE's editors (KWrite, Kate, KDevelop) do this. I don't think they were the first though.

This is not really possible to do in a generic scrollbar component though.
Changing the rules during play and having too much RNG are not the same thing.
This is the root of the problem.

Large communities can't meaningfully migrate off it.

Small communities shouldn't migrate off it. (As they will lose discoverability.)
It was executive meddling: the original idea was the machines were using the human's brains as a supercomputer, but it was thought this would be too difficult for audiences to understand.
Because they ran their numbers and realized they have more to lose by going against Valve than... amicably find a compromise.

A more aggressive approach was tried during the Xbox 360 era with the Games For Windows Live framework and by removing their games from the Steam store. It ended up catastrophically bad and they had to backtrack on both decisions.

The irony of Proton de facto killing any chance for native linux ports of windows games isn't lost to them, either.
I understand not trusting random developer, which means your only option is to create your own extension. Shouldn't be that hard, considering the scope of what's needed.

Provided you're a web developer, of course.
This is a very valuable post in my opinion. Documentation is so critical to open source as well as to the private sector.

It can make the difference in how long it takes you to complete a project at work.
Good luck with that and any hallucinatory tacit knowledge
So basically if you want to work on your vehicle, you need a second vehicle. That was basically the reason I could never get behind doing work on my own car.
I really think the GIL is saving a bunch of poorly written multi-threaded C++ wrappers/libraries out there. If they remove it, a bunch of bugs will appear in other libraries that might not be Pythons fault.
How Did Dubai Become a Graveyard for Supercars?
I like to read HN in the evening to unwind.

A bright white website after dark is a great way to disrupt your melatonin production and affect your ability to fall to sleep.

Dimming your phone brightness does not help sufficiently at all. In a dark room it's still like a relative flashlight in your eyes.

This should not be such a head scratcher to understand.
I suspect the set of power users that insisted on using Apollo overlaps quite a bit with the moderator population.
Transforming Reddit Summarization with Claude 100k and GPT 16k
article about reddit GPT summarizer with support for new large context models
Speaking of Python, as a beginner I have tried to grasp Classes and Objects and watched countless YouTube videos and Reddit/StackOverflow comments to understand them better but I'm just banging my head against the wall and it's not sticking. The whole __init__ method, the concept of self and why it's used, instance and class variables, arguments, all of it. When learning something, when you simply cannot grasp a concept however hard you try, what's the course of action? I have tried taking breaks but that's not helping.
Would BLE work for your use case? I have a few ESP32 projects that fire out occasional sensor readings using BLE advertisements which is a lot faster and also lower power than trying to hook up to WiFi on every wake cycle.
Codux, React Visual Editor
depends on whether you care about vulnerabilities or not, I suppose. Presumably that lighting controller talks to something. If it talks to a local network only and it's impossible for external traffic to reach it, maybe not such a big deal. If that's not true it might be significant. That's also true of all IoT junk anyhow, it's all running some linux variant under the hood and security / updating is rarely a major concern.
I’m an embedded dev, so websites and web tech are a black box to me… I’ve never asked, does the ## mean “overwrite” as uBlock DSL?
Maybe not old enough? ;-)

I use to prefer light mode exclusively, but my eyes feel more comfortable with dark mode as I get older.
> we don't have this problem in Japan.

This backs up that limited supply is a large part of this. Japan's population has been decreasing for 50 years, so ignoring domestic migration trends, it has enough housing. It's also seen deflation for a long time.
You can ask ChatGPT to explain pieces of code.
I was curious about this too. The QW code is different and I believe has fixed this. Example source for W_FireLightning in KTX: https://github.com/QW-Group/ktx/blob/6b8a50833d0ef738182cf7a...
ApplePay in-the-web has existed since the inception of the feature. I'm not sure how the App Store is relevant here?
wow completely missed that part. I opened discord after ages and this was first message I saw. I'll redact my comment.
The biggest Reddit communities are in open rebellion. Twitter is, charitably, a mess. Twitch started taking a full 50% of the revenue of their top creators, who are furious.

What's going on? What's the bigger trend that's causing all these platforms to go so user-hostile?
I think HN is experiencing a lot more traffic too
For me it was a bad choice to only take one year of community college in lieu of high school, instead of two. And being mainstreamed in math at the beginning of middle school instead of accelerated a year was particularly painful.

Anecdotes are plentiful.
Not sure if this is relevant, but IIUC Proton and Wine implement Windows' ABI, rather than something involving copyrighted header files.
Beyond finances, there's simply the nightmare of -- where the hell do I live while my house is being rebuilt? We've put off kitchen & main floor renovations for a half decade simply because we don't want to deal with the hassle, a rebuild is another thing entirely.
The smaller you are the less it matters.

One thing that annoys me about Mastodon is that the medium amplifies angry toots, particularly about politics. I don't want to read anything where anybody active after 1945 is accused to be "a Nazi" or "a fascist" for instance.

Because there are so many toots to read I have no problems losing some toots so if the model rejects some stuff because it is about a topic that people frequently write angry toots about that's fine with me.

My smart RSS reader YOShInOn is already classifying 2000 articles on a good day, one of these days I have to update it so it can train more than one classification model. I'm pretty sure my model would work OK for angry toots if I can collect 5000 or so them which might be a lot to bear.

An advantage of content-based filtering trained by the individual (as opposed to a corporation) is that it will not be so controversial because the people being filtered won't know that it happened. Someone on mastodon pointed out that this doesn't give backpressure for people to improve their behavior

https://mastodon.social/@UP8/110526769345483257

but

https://mastodon.social/@UP8/110527273094994515
The way I like to understand it: Sports shows are just soap operas for men.
Generally speaking, shorter swords from that period (as the current one), which are more like large daggers, were typically cast in one piece with the handhold. For larger swords, we often find some with separately attached handles, too.

Here you can see a selection of Danish swords of both types alongside each other from the same period: https://www.researchgate.net/figure/Images-of-Danish-swords-...
I've been to at least one frat that did this. No idea of the appeal but they always kept them out of sight of the road but used them as door stops for the backdoors.
FCC's ULS is has been down in June 9th
OP makes the same mistake that those chaps who use Kubernetes to run an app with 10 lines of code: thinking that there is one right solution for every kind of problem.

OP's approach might work for a personal project or a small company, but when you need to work in a large and complex system you start to appreciate the beauty of tools like Docker.

It's cool to question cargo cult, but don't throw the baby with the bathwater.
> misplaced your trust in Stack Overflow

that's a great way to put it, I'm very disappointed they aren't the ones to innovate in this new direction, even though people gave them all the power (and data) to do it. Which they chose to give away to "Open" AI aka Microsoft and now spend their time bickering over GPT detectors and writing nonsensical CEO "vision" posts.

Basically, they really are now in a position to fizzle away at this rate, which is a shame, because I believe a community of acknowledged authors is a much more appealing way to advance knowledge than Microsoft anonymously milking the world for their sole profit and credit.
I do find it frustrating how news articles will often describe a complex case and refer to the "victims" of the guilty party, while omitting any discussion of who those victims were, and (sometimes maliciously) leaving the reader to fill in the blanks.

For example, if all you knew about Theranos was that Elizabeth Holmes was an archetypical sociopath CEO who ran a fraudulent blood testing company, then an uncritical reading of a headline like "Elizabeth Holmes appeals compensation payments to Theranos victims" might pull on your heartstrings - that damn sociopath sold fraudulent blood tests to cancer patients and now she's stiffing them for the compensation she owes them! But if you have a bit more context on the case, then you know that her "victims" were actually some of the richest, most powerful people in the world, like venture capitalists with billions of dollars under management, and war criminals like Henry Kissinger and former members of the Intelligence Community. They failed to do any due diligence, and were duped into investing other people's money into a founder selling vaporware. Instead of cutting their losses, they leveraged their power to weaponize the media and justice system to enact their retribution on her.

The same applies here. The only "victims" of Megaupload are massive corporations with teams of lobbyists who have spent decades capturing politicians to protect their monopolies by legislating barriers to entry and criminalizing threats to their otherwise fragile business models.

Meanwhile the users of Megaupload just want to watch some movies, but the corporations can't figure out how to distribute their content in any reasonably usable or affordable way. So instead of fixing their business model, they deputize their pocket politicians to prosecute the only people who managed to provide what the users actually wanted.

So yes indeed, it's hard to muster much sympathy for the "victims" of Megaupload, aside from the innocent users of the service who just want to pay some reasonable amount of money to watch movies and TV shows.
Cool - if I'm understanding correctly it's basically an API between different classes of "agents"?

One piece of feedback: the project sounds useful once I read into it a bit more but the headline is confusing since "unifying" can mean many different things.
This lemmy site they have migrated to reminds me of something Matt's script archive would produce back in the early 90's.

Did they style this for nostalgia?
Maybe, but if your code is I/O bound, then multi-threading isn't going to help you either.
Yes, but the google engineers are not encouraging and supporting them with this, unlike MegaUpload. They are also doing their best in preventing it (as I heard), unlike MegaUpload.
no more free money
Hey ChatGPT, hire me a programmer
Go check out join-lemmy.org, it's a lot more user friendly than you might think!
The end of free money from the fed?
@mods can we update this link to the real article and not just going to reddit? https://www.independent.co.uk/tech/reddit-blackout-date-end-...
The life span is probably more due to the lifespan of the plumbing. On high-grade copper(L- or K-) you can get a useful life of 50 years but PEX is only rated for 30 years, and the lowest grade of copper(M-type) has a similar replacement interval. The valves used in plumbing fixtures also wear out and need replacement periodically. And the valve housings do as well. The anode in a water heater will probably only last a couple of decades. These are all replaceable parts.

Siding is in a similar state, with many modern sidings have replacement intervals in the decades, and shorter time periods if you don't paint every 5-10 years.

If properly maintained and if parts are replaced in a timely manner a house can last indefintely. My partner and I own a house from 1935 that was last renovated in the 1990s, and I'm starting to have to make minor plumbing repairs. I think in the next 10 years or so we'll have to re-pipe and re-wire. But the framing and sheathing is almost all original, except for the roof deck which was replaced first in the 1990's and then parts were replaced when we re-roofed last year(the original roofer did not know how to frame to support a rake board).

Everything also changes if you factor in repainting and replacement of interior fixtures.

But still, if you maintain it and factor in all these repairs and replacements your house can last for hundreds of years.
If you don’t mind using an alternative front-end, I’ve built an open source one[0] that supports dark mode and some other things I was missing when using HN on larger screens

0. https://modernorange.io
Just use a userstyle?
Dark Reader has a sepia-mode as well as night-mode. I remember reading some pg essay about how he patched a customer's issue with lisp while the customer was still on the phone... but still no night-mode after 10 years of begging, oh well, first world problems I guess.
Interest rates go up.
The handle seems to be a separate piece of metal from the blade, and it appears to have been riveted to the blade (with two pairs of lateral rivets), so it might have been replaceable, even if there should have been little need to replace a bronze handle.

The blade seems thick, so even with a bronze handle the sword might have been balanced well enough to be usable.

Just from the pictures it cannot be guessed whether the sword was too heavy to be easily handled by a normal human.
And, increasingly, gambling ads.
My favorite HN dark theme doesn't seem to be available any longer in its original form, but luckily I was able to save it.

https://github.com/duiker101/hackernews-dark-amethyst
I hadn't watched sports in my 20's thinking it a waste of time. I starting watching in my 40's when my son had an interest and it's been a fun bonding experience. And in the US corporate world, it's one of the few things (besides the weather) you can discuss with folks that won't potentially get everyone all angry and worked up.
Oh hey that’s EXACTLY what I was hoping for! A board of boards. Human consensus works pretty well for sorting a list like that. Thanks!