skysight-inc/HackerNews huggingface dataset:
I believe parent comment was about `env -S` not being portable rather than `uv` being portable.

I'll say, I am as pessimistic as the next person about new ways to do X just to be hip. But as someone who works on many different Python projects day to day (from fully fledged services, to a set of lambdas with shared internal libraries, to CI scripts, to local tooling needing to run on developer laptops) - I've found uv to be particularly free of many sharp edges of other solutions (poetry, pipenv, pyenv, etc).

I think the fact that the uv tool itself is not written in Python actually solves a number of real problems around bootstrapping and dependency management for the tool that is meant to be a dependency manager.
I understand that in theory storing the 2FA for Bitwarden in Bitwarden itself can work, but I don't know if I can ever bring myself to store the key to the car in the car, even if I pinky promise myself that I'll never lock all the car doors at once.

This is doubly true because Bitwarden has not been consistent at only asking for 2FA on brand new devices, so it's not even just me that I have to worry about locking the car doors.
> By forgetting.

Like in the same way you might forget to write pattern matching code? I mean, that's possible, but the checks and balances are going to let you know. In light of that, what is the significance of forgetting for the few seconds, if that, before getting notified of your forgetfulness? That's not a real problem.

> Pattern matching (with algebraic data types/enum/unions) helps because it forces you to check the error.

Checking the error alone is pointless. You need to also do something with the error, and pattern matching does nothing to help you with that. But that's what tests are for, there to help you with exactly that.

And since your code needs the right branching strategy to get to the point of doing something with the error as validated against the documentation, you also know that your branches are present and working as documented. You cannot possibly forget them after applying the checks and balances. How could you?

All you can really forget to do, maybe, is to document what the program is supposed to do. But in that case the program isn't supposed to do what you forgot to add anyway. Anything missed is undefined behaviour. If you have forgotten to consider what you want your program to do, no language can help you with that!
Thanks for this. As I said - I am not a front-end professional. I'm just a nerd who plays around with technology.
You are getting downvoted but I agree.

For whatever reason a good part of the joy of day to day coding for me was solving many trivial problems I knew how to solve. Sort of like putting a puzzle together. Now I think higher level and am more productive but it's not as much fun because the little easy problems aren't worth my time anymore.
Over on the Linux side, I installed Vanilla OS recently and it has a Samba service (nmbd.service) as a bootup dependency, which waits for a non-loopback IPv4 interface to be available. So if you're on a laptop which is not connected to WiFi, it will just hang for 90 seconds on the bootup screen before systemd decides that service has failed to start and moves on
This assumes that memory for the system and the graphics card is shared.
> Can we stop talking about it now? I swear this must be some sort of psyop at this point.

It's not a psyop that people in democracies want freedom. Democrats (not the US party) know that democracy is fragile. That's why it's called an "experiment". They know they have to be vigilant. In ancient Rome it was legal to kill on the spot any man who attempted to make himself king, and the Roman Republic still fell.

Many people are rightfully scared of the widespread use of a model which works very well but on the side tries to instill strict obedience to the party.
I really thought they'd take a little longer than week two to fuck with big programs like Medicaid. I guess we're speed running this thing.

That's healthcare for 85M people and half the births in the country.
I really wish I could say, "Let it happen and show people what they voted for". But that's abominable.

So what we're going to get instead is adversarial: horrors are called for, everybody else has to fight to minimize them, and so only some horrifying things happen. And for a lot of people, as long as those horrors don't affect them directly, they'll say that everything worked the way it was supposed to.

So, adversarial is what it's going to be, then. Onward.
Especially at 2-3x the cost
At one point, jQuery was so overrated that when I searched Google for JavaScript alert syntax, it came up with a similar StackOverflow question, where the top answer used jQuery to call it.

There were other responses to the StackOverflow question, which managed to call an alert with just the single method call, but the top answer loaded in the entire jQuery library, to place a single native call.
Because long-inactive tabs should go to sleep.

If Chrome itself is not aggressive enough, try the "Auto Tab Discard" extension.
This assumes that they are the only party with standing to sue, which is not likely the case. (Previous rulings on the lack of the authority of the executive to withhold appropriated funds have come in suits by intended recipients.) Both private parties (nonprofits and businesses) [1] and a group of 23 states [2] have already filed suit over the order.

[1] https://www.reuters.com/legal/non-profits-health-groups-sue-...

[2] https://oag.ca.gov/news/press-releases/attorney-general-bont...

EDIT:

And it has been blocked, for now: https://apnews.com/article/donald-trump-pause-federal-grants...
I'm astonished that anyone believed things would unfold any differently than they have. We were told exactly what will happen by everyone in power. And the kissing of the King's ring before inauguration should have been a clue.

Shit is going to get awful. It's already to the point that, when I'm on reddit, I can't distinguish between r/news and r/collapse headlines.
I know about it, but I haven't looked yet. In the large episode group, there are 658 episodes. The YouTube listing doesn't make it easy to search for a particular episode, though, and YouTube's compression is horrible.

I face the same dilemma on Bob Ross' The Joy Of Painting. I would love to download them, and they are on YouTube, but the compression makes them look really bad. Well, that, and I'm not sure how to download a huge number of vids from YouTube like that. :/
Trump has no humanity.
Other comments already mentioned multiple services (from OpenAI to Cleanspeak). I want to provide a high level clarification from experience.

Moderation is a vast topic - there are different services that focus on different areas: such as, text, images, CSAM, etc. Traditionally you treat each problem area differently.

Within each area, you, as an operator, need to define the level of sensitivity for the category of offense (policies).

Some policies seem more clear cut (eg image: porn) while others seem more difficult to define precisely (eg text: bullying or child grooming).

In my experience, text moderation is more complex and presents a lot of risks.

There are different approaches for text moderation.

Keyword based matching services like Cleanspeak, TwoHat, etc. are baseline level useful but limiting because assessing a keyword requires context. A word can be miscategorized and results in false positive or false negative with this approach, which may impact your operation at scale; or UX if a platform requires more of a real-time experience.

LLM is theoretically well suited for taking context into account for text moderation; however they are also pricier and may require furthering fine tuning or self-hosting for cost savings.

CSAM as a problem area presents the highest risks though may be more clear cut. There are dedicated image services and regulatory bodies that focus on this area (for automating reporting to local law enforcement).

Finally, EU (DSA) also requires social media companies adhere to self report on moderation actions. EU also requires companies to provide pathways for users to own and delete their data (GDPR).

Edit: FIXED typos; ADDED a note on CSAM and DSA & GDPR
I still feel like it was on the path to repopularization when it crashed, and wasn't given a second chance.
I've been working on a version manager for golangci-lint in the quiet moments [1]

It already works, but it's work in progress. Happy to get feedback

[1] https://github.com/anttiharju/vmatch
I seem to recall this causing buffer overruns/bad CD-Rs if you did this with the old 1x/2x CD burners.
Why are you not questioning the defense budget then? Aid like this is mutually beneficial. Countries get free medicine, US gets favorable trade deals, the money spent stays with US companies and flows down to US taxpayers in terms of wages and taxes the companies making the drugs pay back. But if you think that’s not beneficial, then why do we need trillions every year for defense?
>At what cost?

$14.03 per American per year.
In terms of game theory, I'm very interested to see where this ends up. It's difficult to know what constitutes standing under the circumnstances: certainly if the system of government isn't wildly changed, this makes sense.

If it is wildly changed, what to? And in light of that, do the attorneys general have any role in what might not be entirely a legal question?
> It's a common misunderstanding that the CPU suddenly has twice as large performance envelope when SMT is enabled.

Perhaps, but I am not under this misunderstanding and never expressed it.

> Only specialized software/scenarios will tangibly benefit from the parasitic gains of SMT-induced extra parallelization

In my experience it also speeds up C++/Rust compilation, which is the main thing I care about. I can't find any benchmarks now but I have definitely seen a benefit in the past.
> We gain more ground holding to truths than these easily debunked falsehoods.

Then you should display more candor in describing these situations rather than be reductionist about it. He was acquitted not because he was not guilty of those things, but because his political allies determined the things he was guilty of were not impeachable.

Trump argued:

"If a president does something which he believes will help him get elected, in the public interest, that cannot be the kind of quid pro quo that results in impeachment"

The "thing he did to help him get elected" in this case was holding up Congressionally appropriated money to gain leverage over a foreign nation (Ukraine), which he used to to attempt the extortion of a bribe (opening a pretextual investigation against his political opponent, Joe Biden). That they acquitted him does not mean he didn't do those things. It was conclusively proven he did that. It's just that Republicans think that's legitimate political behavior, and refused to remove him.

As for the second impeachment, this is what Mitch McConnell said:

"There is no question that President Trump is practically and morally responsible for provoking the events of that day... We have a criminal justice system in this country. We have civil litigation. And former Presidents are not immune from being held accountable by either one... I believe the Senate was right not to grab power the Constitution does not give us."

Many of the Senators had the same reasoning, which is that while they blamed Trump they didn't feel they had the power to impeach him at that time, so they left it up to the courts. So no, they did not really acquit him, and yes, they did lay the blame at his feet for what happened (found him guilty).

As a final point, McConnell mentions that we have a criminal justice system to hold him accountable, but Trump argued that impeachment is the only tool that could, and indeed the SCOTUS agreed to a large extent. So if he can't be held accountable by impeachment, and not by the courts, he's above the law.
They've been working on this for years. They weren't prepared in 2017; they never expected to have this much power. This time they knew what they were getting, and had all the ducks lined up in a row.

And it's still just getting started.
The first couple months after ChatGPT's initial release there were lots of discussions and articles to the tune of "which politicians is ChatGPT allowed to praise, which is it allowed to make fun off, who is off limits, and why is this list so inconsistent and hypocritical".

The censorship decisions baked into the models are interesting, as are the methods of circumventing them. By now everyone is used to the decisions in the big western models (and a lot of time was spent refining them), but a Chinese model offers new fun of the same variety
My favorite way to pass small scripts to non software colleagues:

try:
import package
except ImportError:
import pip
print("Installing package...")
pip.main(['install', 'package']
import package

:D
If I invested in a 100x machine because I needed 100 of x to run, and somebody shows how 10x can work, why have I not just become the holder of 10 10x machines, and therefore have already achieved capex to exploit this new market?

I cannot understand why "openai is dead" has legs: repurpose the hardware and data and it can be multiple instances of the more efficient model.
I just use solid black cause it's less distracting than anything else for me.
> I’d rather build a rig with used 3090s and get way more bang for my buck

I'm curious, what would you use that rig for?
Can do this with Qubes OS by running in a non-networked qube
The cases don't have to conclude to get a binding interim order (preliminary injunction) blocking the action.
> Fair, I hadn't considered the intercontinental ballistic passenger missile approach.

The terminal deceleration on an ICBM trajectory would be lethal. Ballistic passenger transport at global distances has to be almost orbital so the entry is sufficiently shallow.
When I saw the title I assumed this would be a Raymond Chen article...
The Concorde was notorious for bleeding money.

I see this stated all the time on HN, yet there's a whole section at the top of this very comments thread where people are talking about how very profitable the Concorde was.

One person quoted the line "There were times, in fact, when the seven aircraft in the fleet would contribute around 40 per cent of BA’s entire profits."
BFF pattern is very much misunderstood, and very much over-used IMHO

Perhaps most useful - in highly distributed systems - I've seen is when we require some kind of flow orchestration, where we wouldn't like the orchestration logic at the API implementation (or indeed require the downstream services to not have to consider different contexts).

[edit] Quite useful when designing nice clean, dedicated, new APIs and having to deal with legacy systems (perhaps data pertaining to the shiney new API model is housed in a legacy model): a useful means to keep moving forward.
Reminds me of https://www.youtube.com/watch?v=wGvYKtiwHlA
>I personally love paying taxes that go to these functions

An issue with this is that it isn't just current tax payers and tax revenues that are paying for this federal spending, but a ballooning debt due to a budget deficit. The brunt of this debt's interest burden is going to fall on the future tax payer.

Edit: To be clear, I'm not passing judgment on whether this pausing action was warranted. I'm only responding to the part of the user's comment implying that federal spending is being paid for by current taxes, when it is not necessarily. As a decent chunk is paid for by debt, some of the current federal spending will be the responsibility of future tax payers, including those who cannot yet vote, as these future tax payers will be the ones paying off the interest.
It couldn't lie at scale though. The amount of effort it took to doctor someones face believably onto film in the star wars era was tremendous. Now it can be done on the terabyte per second scale in an individualized fashion.

Ring camera feed could show your actually nice neighbor kicking your dog. Could show a lowly employee that pissed off a manager stealing the company stapler. Could show a spouse having an affair, fake messages (one of the highest incidents of murder in the US is due to this). Swatting on a new level by impersonating your voice. All of these are things a somewhat motivated highschooler can now do.

Imagine what an agency or enterprise could do? Especially if they intercepted your network activity to turn you into any level of puppy kicker you could imagine because of your politics, your position, or for testing out the success rate of such a program.
I just ddged for “fash”, I mean labeling the CEO of Proton no less, an org that does so much good, that has such a nice vision, can shield people from their state because they believe in their right to privacy. To label such a person a fascist is just unimaginable to me. I find it shocking that so many people just use this super small thing to judge Andy Yen. I’m really shocked. How dare these people put such opinions online? It’s so “140 chars” to define a person. It’s what’s wrong with the internet these days.
PhD student terminated after 6 years and 4 published Q1 papers [video]
Windows 98 introduced Active Desktop, allowing you to use JPG wallpapers. In my experience, enabling Active Desktop would make everything slower, so I always opted to take the RAM hit on BMP wallpapers. It was even better if I could save the BMP in 8-bit and still have it look good.
I loved my pebble and still sad it died. Please use inductive charging. The metal connectors on my last one shorted when I was in a salt water pool.
"Spends so much time critiquing AWS pricing that Jeff Bezos probably has a dedicated team monitoring their comments"

"Has stronger opinions about Putin than most people have about their favorite programming languages"
Are A380s routine? There are what, only 250 of those? Concorde had a regular schedule decade after decade. Only 14 airframes but 50K flights from BA alone, I presume a somewhat similar number from Air France. 12K 737s, a completely different market and customer for the most part. High-end can be routine too, you just needed to have the money.
> 5 lunar distances (LD)

I think this is the first time I see this distance notation. You learn something every day I guess.

Now I wonder if an Asteroid passing < 1LD is basically always a hit.
C-- is no longer actively developed or widely used. The last significant update to the C-- project was in 2004. LLVM was one of the reasons why it declined. If you're looking for an alternative to LLVM, have a look at e.g. ECMA 335 CIL, WASM, QBE or ECS (see https://github.com/EigenCompilerSuite/), depending on your use-case.
How is that any different from a bet?
Ofcourse it does, after you have installed uv and prepending the dependencies you never have to do it again. Calling environments etc have to be done every time. You also have to keep these env around.
Addictive brainrot is a powerful force. Like cigarettes. You could put a skull and crossbones on the packaging and call them "Marlboro Tumors" and people would still line up to buy them. Social Media consumers know what they are doing is bad--they can't stop because they are addicted.
Unfortunately, "letting it happen" other than of course many people potentially suffering or dying, it presumably wouldn't have much of an affect on voters, as it would simply be spun that it's somehow the previous Administrations fault, or the other parties fault etc. Thankfully we still have the courts, even as more bias judges get seated.
Not hanging pieces is definitely the hard one!
Yes, this is my issue too! The new UI is bad, but the bigger issue is it's just much worse at autofill!
One possibility is a trajectory that's a series of skips.
Well, I mean, the press release is pretty unambiguous.

>Each Project DIGITS features 128GB of unified, coherent memory and up to 4TB of NVMe storage.

Even if $3k is only the starting price, it doesn't sound like spending more buys you more memory.
I mean, I started with Amiga and it had windows.
But then DOS was next.

But I always used black as the background for energy saving. I believe at least there black is more efficient.
Ruby's bundler has actually always been able to do inline dependencies

https://bundler.io/guides/bundler_in_a_single_file_ruby_scri...

Though I think the implementation could be improved upon
> It turns out you 'pull' the thing toward you for 'down' and 'push' it away from you for 'up'. Did you guess right?

The only thing dumber than that is that DJI remotes use the same braindead scheme to control camera tilt: pushing the wheel moves the camera up and pulling on it - moves it down. Anyone who piloted anything would, of course, agree that it's insane (you push the stick to go down and pull on it to go up). I had to open mine up and swap the wires because DJI in their infinite wisdom didn't make that configurable in their app.
I wish someone would come up with lifetime archival pricing for cold storage.

In decades, what now costs hundreds of dollars a month to store will be so cheap it's effectively free, so why not come up with a single cost that covers storage costs until it drops to that point, allowing users to store archival data worry-free?
I agree with your logic. It's just that the "researchers" thing just doesn't smell right for me. You hear constantly about researchers finding malware/spyware related to Chinese hackers, to Russian hackers, to North Korean hackers. No researcher has ever found anything related to American hackers, European hackers or Israeli hackers. Either western state hackers are so good that researchers never find out what they do, or researchers get a visit from two guys in a black suit when they find something relevant and decide not to publish anything.
Sincere and probably very naive question: won't this put a squeeze on insurance companies?
"No upper bound" is not a serious policy position. Sorry, I can't engage that.
I didn't care for that article even while agreeing with some points.

"Fix all mental illness". Ok.. yes, this might happen but what exactly does it mean?

"Increased social justice". Look around you my guy! We are not a peaceful species nor have we ever been! More likely someone uses this to "fix the mental illness of not understanding I rule" than any kind of "social justice" is achieved.
It amazes me how much the bottom and middle class are infatuated with Trump. I recall seeing him in NYC with a look of disgust when he passed by doormen. The guy never said hello, and grew up with a sense of entitlement that is truly mesmerizing. The guy ripped off students with a scam college a la Andrew Tate. Yet, I saw an older gentleman just this morning wearing a white MAGA hat, and driving an old rusted truck. I am dumbfounded really. He is denying funding for these programs while siphoning our taxes into his golf resorts. Utterly disgraceful, yet half the country wanted him. I wish I could understand the delusion people go through. Mental gymnastics that is worthy of graduate studies. I now understand how people can live under Stalinist and Nazi regimes. The ridiculous becomes mundane
That's cool relevant to the Taylor swift post recently ha
Could this thing take a polar route from New York to Hong Kong?
Why though? Why wouldn't the Republicans just go along with the new dictatorial regime, as they have been every step of the way? If they really had the character you imagine, they would have held the line at the insurrection. Instead they whitewashed it and put him back in power. I am in no way confident that group of people would check his power again.
No. Medicaid is the insurer.