skysight-inc/HackerNews huggingface dataset:
Traditionally, enums have been a single number type with many values (initialized in a counted one-by-one fashion).

Rust enums are as you describe, as they accidentally renamed what was historically known as sum types to enums. To be fair, Swift did the same thing, but later acknowledged the mistake. The Rust community doubled down on the mistake for some reason, now gaslighting anyone who tries to use enum in the traditional sense.

At the end of the day it is all just 1s and 0s. If you squint hard enough, all programming features end up looking the same. They are similar in that respect, but that's about where the similarities end.
Nor yours.
Someone argues that transpiler adds nothing (no nuance) over the original word. And your takeaway is that “I don't think anyone here is saying we shouldn't have the word "transpiler" at all” and that their original post is “more [of] an observation”? Does a person have to be all boorish and say that “you shouldn’t use that word” in order to convince you that they think it’s useless? Anyway this comment (newer than your comment) seems clear enough: https://news.ycombinator.com/item?id=40214781

> Ultimately, "compiler" isn't a bright shining line either... I can take anything and shade it down to the point where you might not be sure ("is that a 'compiler' or an 'interpreter'?"), but the "transpiler" term is trying to draw a line where there isn't even a seam in the landscape.
Next piece of news I'm expecting at this point is "Tesla stops Model Y production worldwide".
Bridge the Gap: Applying Design Concepts to Database Design
You sure you checked all of Scandinavia?
Johnson and Johnson to pay $6.5B to resolve talc ovarian cancer lawsuits in U.S.
> The EU has outperformed the US on per-capita output growth

Too bad we're demographically dying here in Europe, as in the population has stopped growing.

We're slowly becoming the 18th century Venice of the global world, i.e. pretty wealthy by the standards from back then but just waiting for a Napoleon to put it out of its geo-strategic irrelevance.
Such a system can't want anything.
Yes, radio silence for two years, then he archived all his repos and added a notice somewhere that he has taken up farming: https://news.itsfoss.com/neofetch-rip/
I think Fired means it could be backfilled, but I've seen plenty of instances where the company decided to restructure or do things differently instead of hiring someone else.

Just because they were fired for cause doesn't mean the company wants to keep that job around afterwards.

That said, it is unusual not to say 'laid off' these days unless the person was fired for cause, but the recently media frenzy around the term might have them saying other things instead.
No, the "for cause" distinction matters in the US as well. The difference is that a layoff can happen without notice.
Wikipedia censors leftist content, too (in favor of "centrist", US State Department positions). Part of the problem is that their definition of neutral point of view is pegged to the editorial biases of the papers of record, which through a combination of corporate ownership and "access journalism" converge on a particular world-view, that of neoliberalism.
A Chevy Silverado is as American as apple pie, right? Or at least, this is how it's marketed.

Final assembly of these vehicles is done in Canada, Mexico and the USA.

Regardless of the final assembly point, the powertrain (engine and transmission) is likely to have been built at the GM plant in Silao, Mexico.

https://www.motorbiscuit.com/1-full-size-american-pickup-tru...

Bottom line --- the typical consumer really has no idea what he is getting when he buys "American". The people selling it typically don't really know either but they will gladly tell you whatever they think you want to hear.
> It means even more valuable, not worthless

The "in-" actually is negation; the word means something like "NOT susceptible to valuation", i.e. beyond value.
To be fair, regular chess is 4d and playing isn't the same as winning.
An unwritten contract is worth as much as the paper it's written on.
> Btw, there isn't really "one" idiomatic scala style

That is their point. There's too many styles.
Why would the false positives be overwhelmingly black unless the fare jumpers are also overwhelmingly black?
You can download it for free and you can then compile stuff with it, so you don't need to buy anything for this
"weaker university rankings", lol. The ETH Zurich is 7th in the ranking, and does that with tuition fees that are 1/10 of MIT...

Or do we want to talk about the > 1trillion student debt bubble that keeps US universities afloat?
Show HN: Basedpyright: An Excellent Alternative to Pylance
A written privacy policy is worth up to 0.001% of revenue in fines.
> We ended up selecting five reforms aimed mostly at increasing everyone’s ability to trust the people, algorithms, and content they encounter online:

> 1. Authenticate all users, including bots

> 2. Mark AI-generated audio and visual content

> 3. Require data transparency with users, government officials, and researchers

> 4. Clarify that platforms can sometimes be liable for the choices they make and the content they promote

> 5. Raise the age of “internet adulthood” to 16 and enforce it

From https://www.afterbabel.com/p/ai-will-make-social-media-worse

The “we” includes Eric Schmidt.
Just a bit burned out by the low quality non-technical discourse on HN as someone who actually used to work in the Policy space.

I use HN to read articles or comments about ld_preload or shoot the shit about internal gossip in the tech industry - not rehash the same kinds of arguments you see on Reddit.

> I think less people asking stupid questions just leads to more confidently incorrect non-questions

Until domain experts get burned out and start flamewars for shits and giggles, or just quit HN entirely.
Search for movie content advisories on the fly
Search engine that allows users to search for content advisories for movies & TV shows for free.

Good app to use when watching with kids or parents who want to make sure content is suitable.

You can save it on your phone as a PWA app instead of manually searching IMDb everytime.
I think, regardless what their CEO said or not, what counts at the end of the day is what is in the license. The SSPL is literally AGPL + poisonous pill for cloud providers. Characterizing it as proprietary is neither really true nor helpful in my opinion.

What I hope we can agree on is that the SSPL (and the other similar licenses) don't focus on the users freedoms and compromise it in a way to reach their objectives. If more people understood this and chose to put their projects under AGPL I'd be more than happy, but I'm also glad licenses like the SSPL exist as an option for people and organizations that want it.
Dang. I wish I had the autism to bristle at colors. Think about all the lost hours agonizing over themes! Not feeling the agonizing tension between the fact that cool-retro-term made your terminal into an awesome monochrome CRT but that it's monochrome green so your syntax highlighting is all messed up!

> back when I used linux

What do you use now? :0 BSD? Plan 9???
The difference here is that there is proper gravity on the moon. Your speed is enough to keep you up.
Show HN: Best Boilerplates from this directory of Boilerplates
Parts of the USA has at-will employment. https://en.wikipedia.org/wiki/At-will_employment:

“In United States labor law, at-will employment is an employer's ability to dismiss an employee for any reason (that is, without having to establish "just cause" for termination), and without warning, as long as the reason is not illegal (e.g. firing because of the employee's gender, sexual orientation, race, religion, or disability status). When an employee is acknowledged as being hired "at will", courts deny the employee any claim for loss resulting from the dismissal. The rule is justified by its proponents on the basis that an employee may be similarly entitled to leave their job without reason or warning. The practice is seen as unjust by those who view the employment relationship as characterized by inequality of bargaining power.

[…]

The doctrine of at-will employment can be overridden by an express contract or civil service statutes (in the case of government employees). As many as 34% of all U.S. employees apparently enjoy the protection of some kind of "just cause" or objectively reasonable requirement for termination that takes them out of the pure "at-will" category, including the 7.5% of unionized private-sector workers, the 0.8% of nonunion private-sector workers protected by union contracts, the 15% of nonunion private-sector workers with individual express contracts that override the at-will doctrine, and the 16% of the total workforce who enjoy civil service protections as public-sector employees.”
I am writing about this here: http://abstractionlogic.com

Chapter 1 of the book is already available (you can buy it for £0), and Figure 2 vs. Figure 3 describes how type theory is different from Abstraction Logic, although I don't mention type theory explicitly at this point.

Future chapters take this view of the mathematical universe presented in chapter 1, and give it an algebraic and logical form.
So if the law were changed to remove said liability, you would support a freedom to roam in the US?
I do the same way like you. My logic was that I can tell where the value is coming from. I would use the same type but different name.

Is it coming from a client via http? Then it needs to be checked and saved

The database? then it has an id field which could be null in other cases.

Or I just create a new instance?

Naming things is hard tho, sometimes I do think I should just name them the same and stop caring. I'm not sure if I gain productivity but it gives me some comfort that I can instantly tell the source of the data.
I think the author, having spent their entire life in college, has lost touch with real life a bit.

I support their leaving that job. Sounds like it made them unhappy. I don't like how they made it seem like it would have been better were they just paid more. If you hate your job but stay for a raise, that's a bandaid that won't be worth it, however much it is.

Plus, ONLY 54k per year is better than about 40% of the country earns and I'd wager the majority have jobs that exert a far greater physical toll on their bodies and yield overall a much lower quality of life than a tenured professor can expect.

Additionally, most people move to be closer to work or out of the city - not to switch climates so their kid can play outside, thats not in the cards for most people.

Tbh, the whole thing kinda read kinda like a humble brag - more for the author maybe than anyone.

It's all gonna be OK.

Don't panic.

You will be fine.
Phones are the ultimate AI gadget
Reminder that a chessboard is a 3D object and the game of chess takes place over time, so 4D chess is just... chess. :P
Are these watches actually atomic clocks (https://en.wikipedia.org/wiki/Atomic_clock) or are they "atomic" in some other sense?
So should you be able to terminate any contract for no reason and no notice whenever you want?

Or should you be able to go to court and sue for breach of contract?
I mean, it's completely fair to downvote that comment, because it's not entirely productive. That said, it's an interesting point.

Musk makes no secret about how he feels people should be having more children, but at the same time he runs his companies in a way that makes it hard for people to prioritize their families. He intentionally pressures his teams to choose his business over the families that he insists people have.
I agree with Lennart so I'm curious what the argument is against the notion that SUID was a bad idea and we should move away from it in Linux?
When I heard the repo was closed I removed it and installed hyfetch on my computers. Worth looking into if you can help that project.
Kind of buried the lead when they wrote that regulators are pushing Tesla to effectively nationalize their charger network and they just coincidentally cut the entire team.
It is not Windows 95 the OS but a Windows 95 theme, you are correct.
Apple needs to become a software company again
> A transpiler emits code the user is supposed to understand, a compiler does not.

How come Godbolt is so popular? Inspecting compiler output?

Is GCC now officially a transpiler?
It depends whether your priority is a dynamic, lively, resilient economy which delivers technology advances including healthcare, internet and handheld super-computing.

Or if it's levelling things by cutting heads.

It's a policy choice, of course. And one set of features doesn't prevent the other of course, but you still can choose priorities and get the corresponding result. For Europe, the priority is overwhelmingly "employment of the masses". Nothing else comes close.

And anyway, European corporations are not exactly run by middle income families!
That is fine. No-one in 5 years cares that a dev did 10 “fix test”, “ci format”, “fix misc derp”. Changes should be single units, such that bisect works cleanly to find the resulting bugs.
Surprised me that that an article about LEO satellites offering commercial services doesn't include Iridium (which may still even have two networks, the original Motorola satellites and the (Thales) NEXT satellites (that were launched by Spacex, starting in something like 2017, if they haven't run out of fuel by now).

Maybe 60-70 satellites is too small to qualify?
The ICJ did no such thing. Here is the president of the ICJ clarifying this misreporting: https://x.com/UKLFI/status/1785305902276301019
> there’s no highly paid engineers driving up the cost of everything.

Pretty sure there must be affordable small towns in the US without SW engineers to drive up the cost of everything.

But your point is rather poor. Those US SW engineers might cause local gentrification, but they also contribute a huge amount in state and government taxes, taxes that I'm sure the likes of Germany would also like to collect if they could, to fund their welfare, education, army, healthcare, etc.

And it's not like many large German cities aren't already gentrified and overpriced despite wages being lower than the US. Try moving to Münich, Stuttgart, Frankfurt, Hamburg or Berlin, look at real estate market then at the local wages. It's the same disease everywhere.
The AT commands are usually used at call establish time, but can be used at other times to query the status of the modem. AT commands never go into the network that is a different set of standards. They are only used on the modem in your phone. If you can get on the right serial pin on the modem you can issue AT commands to the modem and it will do all sorts of interesting things. Different companies have their own standards.

Think of the AT commands as just telling the modem to put itself in a particular mode or go do something. After that the serial bits will do different things or output different things. It does not specify what will be said in the data mode (that is the GSM/CDMA/LTE/RS232 standards and a different part of the modem). Just that the modem will do particular things.

Take for example this old command ATDT,,5555555
That tells the modem attention, go into output DMTF sounds, wait 2 seconds, wait 2 seconds, output the DMTF tones on the speaker line for 5555555, then wait for a sound of response on the receiver and negotiate the highest both ends can talk using the S registers to decide what to do. But the AT commands do not go over the wire. They are purely modem commands. The modems in many cell phones still basically do this. But just with different commands and different registers. There is nothing stopping the modem from sending more AT commands to the other side though but that would be something in the standards to declare.
It's not the 15k followers of ItsFOSS who are generating traffic, it is the servers of those 15k accounts own followers who see shares, boosts, or re-shares of content. Given that Mastodon, and the larger Fediverse of which it itself is only a part (though a large share of total activity), are, well, federated (as TFA notes pointedly), sharing links requires each instance to make a request.

I'm not particularly clear on Fediverse and Mastodon internals, but my understanding is that an image preview request is only generated once on a per server basis, regardless of how many local members see that link. But, despite some technical work at this, I don't believe there's yet a widely-implemented way of caching and forwarding such previews (which raises its own issues for authenticity and possible hostile manipulation) amongst instances. (There's a long history of caching proxy systems, with Squid being among the best known and most venerable.) Otherwise, I understand that preview requests are now staggered and triggered on demand (when toots are viewed rather than when created) which should mitigate some, but not all, of the issue.

The phenomenon is known as a Mastodon Stampede, analagous to what was once called the Slashdot Effect.

There's at least one open github issue, #4486, dating to 2017:

<https://github.com/mastodon/mastodon/issues/4486>

Some discussion from 2022:

<https://www.netscout.com/blog/mastodon-stampede>

And jwz, whose love of HN knows no bounds, discusses it as well. Raw text link for the usual reasons, copy & paste to view without his usual love image (see: <https://news.ycombinator.com/item?id=13342590>).

https://www.jwz.org/blog/2022/11/mastodon-stampede/
I think that's a weird way to look at it, but anyway, Tesla doesn't need to expand the network of Tesla-compatible chargers anymore.
No. A man is innocent until proved guilty. In the absence of a conviction, there is no vindication required.

This is true in all countries that have the rule of law, not just the UK.
This sounds like damned if you do, damned if you don't for OpenAI. If OpenAI doesn't implement these "filters" in results, then people would have been up in arms same way. Facebook and Twitter are already complained about a lot for allowing hate speech similarly.
A business having to keep someone for some time that they don't like is the reality of labor and the cost of doing business.

If that business signed a contract for materials and turns out halfway through they don't like the materials, they can't just stop paying and fire the supplier. They have to deal with it as part of their business and move forward in the responsible and legal way.

Treating labor similarly isn't shocking and the social benefits of folks having job security are hard to overstate. For example, all the places with these kinds of labor controls seem to have A LOT less homeless.
When the EU was performing well in comparison to the USA, no one had any issue using the long-standing growth metrics. The same metrics which now paint the EU as falling behind. This headline of this article implores a false conclusion as one would assume this is in reference to the traditional growth metrics, which it is not.

The process of choosing new, rosier, metrics is disingenuous and nothing more than marketing, because it raises the question: If those metrics are doing so well, why are the traditional metrics not reflecting this performance gain? I.E. It demonstrates that the metrics don't have a legitimate relationship to overall performance and thus the piece is almost certainly built to support a pre-determined conclusion. If one is going to discard metrics such as GDP for new metrics, one needs to certainly prove why these metrics are better than the old measure. That includes outweighing the historical reasons for why these metrics are used.

Another misleading device is including various weaknesses of the EU, as if these were levied against the EU and not just the direct results of their own policy making decisions.

It's disappointing to see articles like this, because reporting on these metrics would be an interesting way to better understand business in the EU. Instead the metrics are being needlessly spun so someone could write the words "The European Union’s remarkable growth performance relative to the United States".
> When in a war, you are buying ammunition and weaponry with USD, not PPP

That depends on your geo-political allies, for example I'm sure Russia had no problems in purchasing artillery shells from North Korea without using USD. The fact that Europe has become dependent on using the USD for its vital interests (like purchasing artillery shells, for example) is a major strategic weakness, but that's the bed that they have laid out for themselves.
If you study this historically you will see that every generation thinks they have the mechanism to explain brains (gear systems, analog control/cybernetics, perceptrons).

My conclusion is we tend to overestimate our understanding and the power of our inventions.
I think it's fair to describe the way Elon fires people[1] as "whimsical". The reason the government has a role here is to prevent people getting fired for being black/white/male/female/etc.

[1] https://www.businessinsider.com/tesla-elon-musk-ruthlessly-f...
Control right? This way Tesla keeps ownership and control of the network and can license access out to competitors. If they spun it off, they would have to pay for access themselves.

Still, I can't see the 4D chess behind this move. It's far beyond my limited understanding.
I recommend checking out Machine Learning Q and AI by Sebastian Raschka
> Being fired is for cause.

Being laid off is also for cause, specifically the cause of "the executives need to juice the stock price".
Not if you're buying it locally from an entirely domestic supply chain which is approximately nothing
It's the factual way to look at it.
Why would it be about running something, rather than just a paragraph of text and a picture ?
For those in the thread confused about Fired vs. Laid Off in the US:

Being fired means your employer was unsatisfied with employing you, reasons can include insufficient performance, inappropriate conduct, breach of contract, and so on.

Being laid off means your employer no longer needs or wants your manhours, with no negativity otherwise implied. Reasons can include corporate restructurings and so on.
Mapping (spelt "Select" quite often in LINQ) is entirely normal and promoted going forwards. It can optimize extremely well for simple cases. By default it is not parallel and compiles to an underlying for loop.

Or you can use it with Tasks. https://itnext.io/fun-csharp-doing-linq-to-tasks-because-tas...

(caution: contains the M word)

More from Microsoft: https://devblogs.microsoft.com/pfxteam/tasks-monads-and-linq... ; referencing Lippert https://ericlippert.com/category/monads/

ContinueWith is not a broken "map". What people usually want is Select. https://learn.microsoft.com/en-us/dotnet/csharp/linq/standar...
The point being made here is that the site is incorrect or lying about availability, I think?
> IMHO the US is special, as it doesn't have the baggage from the history that spans thousands of years on the record.

Interestingly, there were civilizations in America thousands of years ago, as there were in Europe. The USA was founded a coupla hundred years before the EU.
You are hand waving and just making up assertions without actually providing any data.

“ It must be the big cars” “it’s the American diet”

Please explain Canada and Australia being more than the United States

You also aren’t accounting for any industry either.

Once again, the use of coal is demonstrably significant. No hand waving necessary:

“New EPA directive will cut pollution equivalent to the emissions of 328m cars”

https://amp.theguardian.com/environment/2024/apr/25/new-rule...
> there is no thermostat, just a radiator on 100% and an open window

Nothing wrong about it as water temperature in pipes is regulated based on the temperature outside if not at building-level (not uncommon) but at least at heat-station providing hot water to several buildings.
If you work for Elon chances are you aren't interested in sexual activity (too busy working 110+ hours per week, no libido or time) or you live in an area where childcare is difficult to accommodate.