skysight-inc/HackerNews huggingface dataset:
No, this is what I suggest for someone who wants to do something non-idiomatic because they're used to C. What I suggest in most cases is just a string union type.

Edit: But for what it's worth, yes, the above is still more elegant than enums. The syntax may feel less elegant, but among other things, the above does not depart from the structural type paradigm that the rest of the language uses, all for something as simple as an enum.
I really appreciate this article, and I would like the author to know that there are lots of people - yes, especially in tech - that support their happiness.
Sure, but at least you won't get random ads showing up in your OS.
I think the problem stems from the

> We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights

statement in the American Deceleration of Independence, so they believe that all humans deserve at minimum the same amount of freedoms they have including the enumerated and unenumerated rights in their United States Constitution.

Of course this is not in parity with other governments, of which at least in Democracies or by similar processes are by the consent of the governed.
Southern California braces for another potentially destructive windstorm
The Baumol effect means that as society gets richer and GDP goes up, orchestral musicians or wait staff or any other profession whose productivity which which enjoy but whose productivity largely hasn't changed since the 19th century get paid more.

The "disease" is equivalent to a rising tide raising all boats or the lack of commodification of certain forms of human labor.

The "cure" for baumol's "cost disease" would be an explosion in income inequality.
The US isn't that focused on elite schools. It's only in the VC/startup bubble where bias exists. Most tech grads don't go to those schools.
I like the concept, but I don't think banning individuals will do much. At least in Ireland, it's corporations that invest heavily in build-to-rent properties.
I have an idea for a startup in which the current company that I am a full-time employee for could be a potential customer. It would be a tool to facilitate some of the workflow that we've had an issue with, but nothing related to the industry in which we operate. We didn't really sign a non-compete or an NDA, but I am very curious if there is some kind of basic guideline for potential conflict of interest in a situation like this. Besides the immediately obvious things like never work on it with company equipment or during work hours.
I'm really happy that 2.5 added 'beats until next marker', which together with a USB controller from Numark I have pretty much feature complete DJ setup for under $500 (including cost of laptop & controller) without having to rely on Windows, Mac, subscription licenses or feature-crippled 'lite' versions.

And it's surprising how quickly people adapt to it when they're used to other setups, within an hour a few people have gone from 'oooh, can I have a go' to showing me their own tips, tricks and different styles.

Especially combined with a youtube & soundcloud downloader running on a different workspace, I can get pretty much any track into the library within a minute or two.
Miku Miku Beam: An open-source network stresser tool but it's Hatsune Miku
Could not agree more. I recently made the switch to exclusively using Linux on Desktop machines, yet I now have to have a Windows PC laying around for the sole purpose of updating my USB using Rekordbox.
In a way that makes it worse. A community fork that is repurposed by a select few to make money off of work that those few did not do for the most part.
Given Typescript has preferred opt-in strictness flags for its recommendations, the two big places that seem to be Typescript's best documentation of "deprecated" features seems to be:

1) verbatimModuleSyntax -- https://www.typescriptlang.org/tsconfig/#verbatimModuleSynta...

2) isolatedModules -- https://www.typescriptlang.org/tsconfig/#isolatedModules

Between the two of those flags, enums and namespaces and a few other things get disabled.

The flag documentation doesn't explain what the modern equivalents are, though. I suppose that's currently left to blog posts like the one linked here.
you are right, but please don't forget they were publishing some benchmark results which were great
> i also have a method parseDuration which accepts a variety of simple but unambiguous string formats for these, like "10ms", "1s", "2h30m", "1m100us", "0", "inf", etc.

I did that too with parsers for configuration files; my rule of thumb is that the unit has to always be visible somewhere anywhere a numeric parameter occurs - in the type, in the name, or in the value. Like e.g.:

// in config file:
{ ..., "timeout": "10 seconds", ... }

// in parsing code:
auto& ParseTimeout(const std::string&) -> Expected<std::chrono::milliseconds>;

// in a hypothetical intermediary if, for some reason, we need to use a standard numeric type:
int timeoutMsec = ....;

Wrt. string formats, I usually allowed multiple variants for a given time unit, so e.g. all these were valid and equivalent values: "2h", "2 hour", "2 hours". I'm still not convinced it was the best idea, but the Ops team appreciated it.

(I didn't allow mixing time units like "2h30m" in your example, as to simplify parsing into single "read double, read rest as string key into a lookup table" pass, but I'll think about allowing it the next time I'm in such situations. Are there any well-known pros/cons to this?)
The older Civ games are unpredictable and you need to try them [video]
I will see... Not being evasive but I'm experiencing terminal illness at the moment so I'm all over the place. It wasn't a complex bit of code though, but I'll see what I can find.
Chimes at Midnight
Controversy that exists solely in the hopelessly deluded, but controversy nonetheless.
“America won’t survive this presidency! If you don’t vote in this election you won’t get the chance to vote again!”

Been hearing that shit since I started paying close attention to presidential races with the first run of Bush in 2000.
Looking great, the voice is a bit laggy at the beginning, but after it works great!
Fair enough, I'll add some nuance. The government that I am a citizen of is a special case of a non-human entity, they do have entitlement to my property (which includes my attention).

Traffic signs put up by my government are different than billboards put up by a company. The former is to protect me, the latter is to exploit me.
I certainly handle distractions better with my ADHD medication, personally.
Not really had any problems with that and I'm older than you are. And quite frankly I didn't have any money really until I hit about 35. I just lived within my means.
The best thing about the internet is it lets peasants like me enjoy rich people games from my uncomfortable bed lol

If wikipedia is to be believed they're lucky they are American citizens anywhere else in the world they would be dead

> Following that, Adani Group stocks plummeted $45 billion. The losses resulted in Adani dropping from the 3rd richest person in the world to 22nd on Forbes' billionaires tracker.
It's funny that you didn't mention Dell, Lenovo, Sony, or even Microsoft and Nintendo which both make their money off the software than the hardware, but are also companies that produce and selling hardware.
Not gonna lie ... wasnt expecting a correct answer... The thought process and confirmation of the calculation were LONG and actually quite amazing to watch it deduce and then calculate in different ways to confirm

The product of 5,142,352 and 51,234 is calculated as follows:

1. Break down the multiplication using the distributive property:
- (5,142,352 times 51,234 = (5,000,000 + 142,352) times (50,000 + 1,234))

2. Expand and compute each part:
- (5,000,000 times 50,000 = 250,000,000,000)
- (5,000,000 times 1,234 = 6,170,000,000)
- (142,352 times 50,000 = 7,117,600,000)
- (142,352 times 1,234 = 175,662,368)

3. Sum all parts:
- (250,000,000,000 + 6,170,000,000 = 256,170,000,000)
- (256,170,000,000 + 7,117,600,000 = 263,287,600,000)
- (263,287,600,000 + 175,662,368 = 263,463,262,368)

Final Answer:
263463262368
That ship sailed. It's like the other comment said - China embraces manufacturing to make other countries inept at it. It's not only that American precision engineering is mostly at parity with China, it's that manufacturing anywhere else is a waste of money. When unibody aluminum Macbook cases are machined, they never are machined in America. They're sold to Americans, marketed as an American company, but your device (even at the markup Apple charges) cannot be made economically in America, period.

In a broader sense, I'd say that America is headed down the same road the UK is too. We expect people to pay hand-over-fist for our tech talent that isn't any better than what you can get in Pakistan or China. Our hard markets are getting bearish, our leadership wants to de-globalize, and American tech wants to maintain global control without acquiescing to local governance.

America had the economic lead before WWI and after WWII, but now we've bet the farm on our ability to market bullshit. America's national economy cannot survive if the App Store and ChatGPT are our premier exports.
My suggestion is to take a week to add a few examples to the repo and then post it again. Hello Word is a good start. Naive Fibbonacci, FizzBuzz, 99 Bottles of Beer, ... and a few that show some interesting/weird property of your language.
Elon Musk literally held an illegal sweepstakes paying people to vote in Pennsylvania. And given Elon Musk's position in the new government, its clear that his sweepstakes has led to direct benefits from Trump. It was direct quid-pro-quo and no one is doing anything about it.

The courts were too slow to stop the sweepstakes and now that Trump is in power, we all know Musk would be pardoned of this crime. So no one is bothering to prosecute.

The election fraud already happened. Now tell me who the hell is going to punish the troublemakers?
My calendar says it is 2025. Shouldn't these patents have expired by now?
Suspects allegedly posing as firefighters in Palisades had fake fire engine
> Modern interactive fiction is pretty amazing.

Got any recommendations?

Like you, I was never able to get into Zork. I really enjoyed it, until I inevitably became stuck. Hearing you say this could be permanent really seals it. It's one of those games that's more fun to recollect than to actually play.
Largely because of the Biden administration's policy of waiving the in-person interview requirement in marriage-based green card cases, the process has been very fast over the last 4 years, often taking less than 6 months from the time of filing until the approval of the green card application. If the new administration brings back the interview requirement, then I suspect that the processing time will go back to what it was before, which typically was at least 1 year. While a green card applicant is waiting for their green card application to be reviewed and approved, they will receive a temporary work card. The processing of work card applications is all over the place but has been better over the past 2 years and can take less than 3 months now (although it also can take much longer). There is a way to request expedited approval of a work card application but the standard is high. Instructions for requesting expedite review of an immigration application are available on the USCIS web site.
> This whole thing was totally overblown.

No, it isn't. If the battery was broken and they knew the battery was broken, they should have informed the user the phone could be fixed with a new battery. They decided to gimp the device and not tell the user so they would be more likely to purchase a new device rather than simply fixing the old one.
Harvard-Harris American Poll [pdf]
hi Peter, thanks for doing this. My parents were rejected twice for B1/B2 visa (under section 214b I think) - both times before I was a LPR (I had valid visa).
Recently the country of citizenship was announced to be joining VWP - as one of the question is "have you even been refused US visa", is it a lost battle for them?
there's always a first time :)
Luck and timing obviously play huge roles. But I like to think that as an industry we no longer frequently make mistakes quite as outright stupid as Commodore management did. There are at least some generally understood tech industry best practices which prevent decisions like that when there is serious money at stake.
People have complained to my boss when I've said the standup was designed to be as short as possible, maybe 10 minutes max, because it was done standing up. It's not called the sitdown. But ours can run over an hour. It's agonizing sitting there for an hour waiting to hear my name among the 99% of noise entirely irrelevant to me.
Ultrasharp periodic AlN nanotips formed via purely subtractive nanofabrication
You just release a new version. How many xbox 360s did they actually release? I think its close to a dozen iterations.
Just so everyone is clear, the Nazi plan for what to do with an occupied Britain was to enslave large parts of population, to completely erase Britain as a country, and they also considered mass deportations of the native population. "Better off losing" is not really supportable under any reading of the historical evidence.
Very nice, but doesn't model pressure.
Nixon was pardoned by Ford without a conviction.

And challenging presidential pardons is not a thing as pardons are a Constitutional power of the president.
“The word bipartisan usually means some larger-than-usual deception is being carried out.” — George Carlin
Sure it is a valid weight. But the weight is a millionth of the weight of the cons that come with using a new unused language for embedding.
Well yeah, but she was totally asking for it.
I tried it many years ago and this didn't work. Can Mixxx be used with the Rane mixers used with Serato back in the day?
> let's not forget that the point of switching to electricity is to be able to use renewables

Here in the UK, natural gas is used to provide electricity[1], so switching to a heat pump right now isn't likely to help with the environment and (because gas is vastly cheaper per unit energy) nor the utility bill. You might as well spend the capex on the insulation upgrades required for a heat pump anyway, but then stay on gas. The bottleneck seems to be on us weaning ourselves off gas for electricity first.

[1] 53% natural gas during the recent cold snap, and only 16% renewables, according to https://news.sky.com/story/britains-gas-storage-levels-conce...
> It used to be the case that you were forced to learn Paredit pretty much from the start.

I started part-time in Clojure in 2011 and full-time in 2014. I've never felt like I needed any extra tooling for parens. Instead of typing `foo(x)`, I type `(foo x)`. It seems...almost exactly the same to me.

Same with text editors: people will say you need emacs, Cursive, etc. but I just use vim for Clojure, as well as everything else. It works great.
I'm working on my O1 visa and I'm nervous about my portfolio. I'm a developer with plenty of experience, but never spoke at conferences, blogged, or was public. I hires lawyers for the paperwork, but the publicist they recommended me started doing “articles” that just scream fake. I decided to get my own, real stuff instead.

What things are the best from POV of effort/benefit? Open source projects, talks, podcasts, blogging, posts on community sites like devs? Trying to build my own dev-centric twitter, YouTube, something else? I know how to build stuff, but I know very little about all of this stuff.
> or better yet finding a group forming a rebellion.

You mean like the two assassination attempts vs Trump? Which only made Trump's power greater and consolidated more support?

Aggressive actions literally make Trump stronger. That's literally failing to work and we're living in the fallout of that. I'm not sure how to stop Trump but inciting violence seems like the wrong answer to me.

Besides, its the US Military. We all know that its impossible to actually rebel vs the Army. What do you want a rebellion to do? Grab a couple of AR15s while the Army literally brings in tanks?

-----------

Aggression is a failing move. But so was a political campaign that tried to convince people of Trump's dangers. So that's that. Or are you seriously trying to bait people into arguing that more violence was the answer here? Did you literally forget the election already?
Changes to Google Maps Platform Pricing
Quote from [1]:

> Starting in March, you’ll get free* access to each of our products, including Maps, Routes, Places, and Environment APIs and SDKs, up to a monthly limit, so you can build more for free. This means that instead of the fixed monthly $200 credit you get today, you can soon access up to $3,250 worth of free usage every month, distributed across all our products. This update will give you the flexibility to build better solutions and experiment with our APIs and SDKs at no cost.

In my case, since I'm only using a single API request (The Routes API ComputeRoutes method), this will mean I'd have to pay 80$ per month for what used to be covered under the 200$ monthly quota until this change. Quite a scummy move trying to wrap it up as a good thing with "$3,250 worth of free usage" which only applies if you're using every single one of their APIs.

[1] https://mapsplatform.google.com/resources/blog/build-more-fo...
YouTube essentially does what every big stupid US-based social media algorithm does: If you like cat videos, it serves you more and more cat videos.

Because YT is longform content and the UI isn't a scrolling feed it's OK. I appreciate the different-ness than TikTok (which is why YouTube shorts is kind of annoying actually)

TikTok's algorithm gives you more of what you like, too. But it also feeds you just... random stuff. Content adjacent to your hobbies. Or content that seems to be somewhat popular with people who frequent the niches you frequent. Feeding you a lot of uninteresting videos is low risk; user's still appreciate the variety even when the algo isn't on point.

"My algo has gone off the deep end" is a common trope amongst TikTok users. Bc every now and then TikTok would pull in a lot of new/unrelated stuff for you to check out. And you just scroll by the stuff that isn't of interest. This is how its algo gets good; it's a UX heuristic as much as an algo one.

It's an important distinction because it exposes users to new content, which is fun. YT doesn't do that as much, so YT's content recs can be dull as paint some times.
I think you're very naive if you think worrying about the President is equal to worrying about who the next CEO will be.
Mapping the effectiveness and risks of GLP-1 receptor agonists
I think that needs to be qualified heavily — salaries in the UK are much lower both in nominal and PPP terms, so there's much less opportunity to build one's own safety net, and the NHS is overwhelmingly focused on providing care for the elderly. To a young(ish) startup founder, the presence of the NHS and UC makes little to no difference.
I know mspaint better, it starts faster too.
Does this mean that statistically speaking you only need to choose 2650 American voters to extrapolate with high precision to all American voters? That is insightful. It seems like this message was wrongly interpreted by many downvoters. My observation is a statistical one that is interesting from the way polls are done. The problem and poll "secret" is how you chose amd reach those people.
Can you link a source on the "using the military to murder political opponents" thing?
I think it would be a better system (as an American)
I can't even prevent people from stealing my identity / using my SSN lol OP out here going to court for a video game and beating cases
Canadian and Mexican citizens have their own visa classification, the TN, and so this is almost always the first option to look at because it is often very quick and easy (and relatively cheap) to get. Other work visa options for Canadians (and the citizens of most countries) are the E-2, L-1, and O-1.
That's a fun idea. The lack of continuity will be amusing, especially given the sparse descriptions of everything.
I tried to use GitHub Actions on Forgejo and... It's so much worse than using an actual CI pipeline.

With Woodpecker/Jenkins you know exactly what your pipeline is doing. With GitHub actions, not even the developers of the actions themselves know what the runner does.
What accounts?
isolatedModules doesn't disable enums in general, only exported const enums (which are arguably the most useful form of enums).
i knew people, they were recruited prior to even entering college crazy as it sounds as part of their scholarship
I am saying the EU does not exert 'control' they protect citizens interests via regulations. Its a different model.

Regulations are for the companies.. But they're not banned. It's a different model to the US.

To clarify. Companies are not banned.. they're fined (often not enough) until they align..
You can follow accounts, but you don't need to follow accounts. The UX is dead simple: scroll and watch content of interest to you. Tiktok handles the rest
We are loosing personal computing, because most communities in FOSS and related movements are too much into individualism. Comments in this thread are clearly showing that.
Human emancipation always required mass political movement, and such movement requires some sense of common purpose and solidarity - to sacrifice some of our individuality. If they lost that, they lost their cause.
Society cannot be changed without changes in policy, and changes in policy require political power to enact them. You do not gain this kind of power through constant forking, dramas, and even gazillion lines of code using AGPL license.

Nobody fears a toothless dog.
> Easy for who?

Consider things from a different angle.

The hype men promoting the latest LLMs say the newest models produce PhD-level performance across a broad suite of benchmarks; some have even claimed that ChatGPT 4 is an early version of an AGI system that could become super-intelligent.

So the advertising teams have set the bar very high indeed. As smart as the smartest humans around, maybe smarter.

The bar they have set for themselves doesn't allow for any "oh but the tokenisation" excuses.
My Lunch with V.I. Arnold [pdf]
no, sonnet 3.5 is #7 on LiveBench, even below DeepSeek V3.
The regions racing to become the "Silicon Valley" of an aging world
https://news.ycombinator.com/item?id=42728513
They'll just ban you from the service.
Meta announces new CapCut rival called Edits
If NY state did require a background check to buy a 3D printer, you'd have to get one regardless of whether you're buying a prusa or a bambu printer.
Announcement: S3 Default Integrity Change
Some family friends are part of a diaspora seeking asylum from Russia. Their hearing dates all fall inside 2026.

Part of their asylum plea is admission to activities that Russia criminalized during the invasion of Ukraine - draft dodging, dissemination information about the invasion, and sending aid money to their relatives in Ukrainian.

If they were deported back to Russia, their asylum plea would ostensibly be used as an admission of guilt.

With the change in administrations, there is a lot of consternation in the community that their hearing will go badly or be cancelled altogether. Is there any indication what will happen with these cases yet?
It is shameful that a dedicated doctor with a lifetime of service must have head of state level security around him at all times.

He is 84 years old.
What exactly is the current single market for services lacking?

https://single-market-economy.ec.europa.eu/single-market/ser...

They seem to have a lot of bases covered.
Hmm — I wonder which non-EU country relatively on Spain's doorstep could be the issue here?
The full report is in another post:https://news.ycombinator.com/item?id=42770426
Terraform Gets AI Boost in New Cloud Management Platform