skysight-inc/HackerNews huggingface dataset:
You do not have to do more work to use errors.Is or errors.As. They work out of the box in most cases just fine. For example:

package example

var ErrValue = errors.New("stringly")

type ErrType struct {
Code int
Message string
}
func (e ErrType) Error() string {
return fmt.Sprintf("%s (%d)", e.Message, e.Code)
}

You can now use errors.Is with a target of ErrValue and errors.As with a target of *ErrType. No extra methods are needed.

However, you can't compare ErrValue to another errors.New("stringly") by design (under the hood, errors.New returns a pointer, and errors.Is uses simple equality). If you want pure value semantics, use your own type instead.

There are Is and As interfaces that you can implement, but you rarely need to implement them. You can use the type system (subtyping, value vs. pointer method receivers) to control comparability in most cases instead. The only time to break out custom implementations of Is or As is when you want semantic equality to differ from ==, such as making two ErrType values match if just their Code fields match.

The one special case that the average developer should be aware of is unwrapping the cause of custom errors. If you do your own error wrapping (which is itself rarely necessary, thanks to the %w specifier on fmt.Errorf), then you need to provide an Unwrap method (returning either an error or a slice of errors).
I know you're referring to the materials. And I'm saying you can find those same materials in Android phones.

I'm used to actual luxury goods, watches and clothing for example, where the quality is very much noticeably better. A Rolex or Audemars has way more attention to detail than, say, a Tissot or Tag which has far nicer materials than a Timex. Or suits, the kinds of fabric on higher end suits are very noticeable.

Or luxury restaurants. Where the ingredients, techniques, staffing levels and attention to detail far surpass normal restaurants.

Whereas with iPhone versus Samsung S24 Ultra, both are titanium, Samsung has nicer glass, less bevel and more utility (also costs more). The only real difference is Apple has much better marketing and their stores are nicer. Better logo too. Beyond that, there's no quantifiable quality advantage.
But almost nobody uses MacOS to run CI, which is usually how artifacts are built for the field. Having linux support first means people can actually use this for production (this project seems from from ready for that anyway) with some inconvenience for local dev.

MacOS only means I can work with it on my machine, but can't actually build it using CI/CD.
The ship is owned and operated by russians.
In order to avoid the problem, Germany would probably not allow Netanyahu to visit the country in the first place.

If I remember correctly, a former president of the USA cancelled a visit to Switzerland because they were wanted for war crimes. Would Switzerland have arrested that former president of the USA? Hard to say: cancelling the visit was an easier solution for the people who made the decision.

In Britain, an Israeli general arrived by plane but never disembarked because of an outstanding warrant for war crimes. Would they really have arrested the Israeli general? Hard to say: not letting them disembark was an easier solution for the people who made the decision.
> Gaza Health Ministry is an unreliable source

There is no reason to doubt their numbers other than Israel says so. All reputable sources have found their numbers to be historically accurate.
Interpreting one thing as another thing does not imply the inverse. The order in the original quote matters.
> but in the context of the victim numbers that most past crimes against humanity have had, it sets a relatively low new bar.

Which context is this? If you mean the context of past ICC indictments that isn't true. There are multiple other examples of people indicted for specific acts that resulted in the deaths of a 2 digit numbers of people.

The bar for "war crimes" or "crimes against humanity" isn't the number of people you kill. Though in this case, plenty have been killed, this case is about what can be proved conclusively ebough given who it is against.
Reading most of the answers here, I can only conclude most of you were home schooled or went to some fancy schools for gifted children.

An average human is unable to even write properly. Even basic mathematical operations like multiplication and division are too complicated from their perspective.
None of this solves the issue of charging at scale. How would you solve a small town of, say, 20 000 people charging for 20-30 minutes at a mall? Note: peak for "weekly shopping" is usually just the weekend.

For on-street parking (and any parking general) it's still a lot of investment in infrastructure, as it's not just hanging an extension cord from your outlet.
If foreign journalists could report from there we would have more reliable sources.
New schizophrenia drug could treat Alzheimer's disease
Both VinylPlayer, Foss on fdroid, and Symfonium, commercial/ paid with free trial, have worked for me.

VinylPlayer even has the ability to edit Metadata of titles with multiple artists.
It made sense to me- they made a risk vs benefit decision under high uncertainty, factoring in the massive harm that the ongoing pandemic was already causing. There had already been 12 years of human clinical trials for other mRNA vaccines, and they still did extensive clinical trials for the new covid vaccine before rolling it out.

In hindsight they were exactly right- and they saved at least tens of million of lives by acting quickly[1].

[1] https://pmc.ncbi.nlm.nih.gov/articles/PMC9537923/
Couldn't agree more, QML with C++ for the logic (or Rust or whatever other bindings you want to use), is the best imo.
It helps that these are all segregated HyperV VMs. Basically like Qubes.
I'm very curious why old.reddit.com stays up during these, but the new interface goes kaput.
Bummer to read that MoltenVK is too buggy to use. ISTR that neither wgpu nor Dawn use it though in favor of their own WebGPU -> Metal backends, so maybe I shouldn’t be surprised.

Vulkan is a powerful API but it’s not universally cross platform like OpenGL.
I've heard that and I think it's silly. They handwave away why nothing should ever be explained. Wikipedia doesn't work like that for any other topic.

You'll see something like a mathematical proof with no explanation and it's end of article. The edit history will have explanations aggressively removed.

The equivalent would be the article for say, splay tree, to have no diagrams and just a block of code - feeling no obligation to explain what it is or if you looked up a chemical and it would just give you some chemical equation, some properties and feel no obligation to tell you its use, whether it's hazardous or where you might find it... Or imagine a European aristocrat and all that is allowed is their heraldry and genealogy. Explanations of what the person did or why they're important are forbidden because, it's just a reference after all.

Nope, these math people are a special kind of bird and I'm not one of them.
One Hand on the Yoke – By Kent Beck
The space isn't the problem. It just means you can't use an off-the-shelf design.

Just like the UK, most towns and cities weren't designed for a mix of cars and low-speed traffic. They predate cars by quite a bit, so they are now pretty cramped. The average urban area in The Netherlands back in the 1960s-1970s looked very much like the UK does now.

Infrastructure has to be designed case-by-case, because no two neighborhoods are ever exactly the same. You might start out with a menu of a few dozen common designs, but they are always modified to fit the specific location. Often that means making compromises, but achieving 90% of your goals is already a lot better than 0%.

If it can be done in The Netherlands, there's no reason it can't be done in the UK as well.
When you gain weight, you also increase the muscles needed to carry that weight around. If you see someone obese at the gym doing the leg press, you may be astonished at how strong their legs are. When you lose weight, you don't need that muscle anymore.

Anyone can put up impressive #s on a leg pres. Try the bench press instead. No one impressed by leg press.

In regard to the oft claim of obese people being stronger or more muscular, not really. Studies show that obese people carry only a tiny extra 'lean body mass' compared to non-obese people when matched for height, age, and gender, and much of this extra mass is organs, not muscle. Otherwise, the extra weight is just water. Sometimes it is even less because obesity impairs movement, leading to muscle loss due to inactivity.

If obese people seem strong it is because the fat reduces the range of movement for certain lifts like the squat and bench press, so it's possible for obese people to put up impressive numbers owing to having to move the weight less distance. Same for pushing movements, e.g. linemen, as being heavier means more kinetic energy, but this is not the same as being stronger in the sense of more muscle output. This is why obese people are not that impressive at arm curls or grip strength relative to weight, but wirey guys can curl a lot relative to weight or have a lot of grip strength. An obvious example of this is overweight women having worse grip strength compared to men; the extra fat does nothing.
> Iran and basically the rest of the Middle East, US needs an ally to keep the region in check.

The US (and also UK/France/Germany) have been bending over backwards to prop up Israel since LONG before Iran switched to an anti-US theocratic government.
A great concept, but there's one big problem: many official bike trails are crap.

Sometimes it's actually better to take the road, or you end up on a windy route that's near impossible to follow, debris everywhere, no right of way, etc.

I would like to try this with a "prefer offroad" option.
> The solution to this problem is utility tunnels. A tunnel network under road surface just for plumbing and cabling. Maintenance crews can just drive through in cars and do their jobs, without stopping traffic and digging out pipes. Many ultra-modern cities have one [empahsis mine].

That does not sound like a general solution to the problem, because it would be fantastically, unreasonably expensive to put one under every road. Seems like something that would only be reasonable in a 1) particularly expensive central business district of a 2) city being built from scratch.

IIRC, some of the biggest US cities don't have separate storm and sanitary sewers, because the cost of retrofitting an existing city would be prohibitively expensive. Installing utility tunnels everywhere would be even moreso.
One thing I can agree with is that if one is stressed out and have poor psychological habits you will suffer and be miserable regardless.

I would say focusing on mindfullness(like vipasaana) can go a long way in this. But mindfulness is not an intellectual exercise, one has to live it. Do multiple hours of meditation a day and it gets you somewhere good in a few months.
https://www.finastra.com/
One possibility: take the unit circle, and a vertical line tangent to the circle at (1,0). Then e^ix takes that line and wraps it around the circle.
This
Courts are political entities but this is one that Israel chose to accept and recognize the authority of. It has a history of being very transparent in its decisions and is widely recognized as being neutral and fair in their decision making process.

Of course the person charged and found guilty of a crime will argue against the court. Disagreement, even if valid, doesn't change the recognized authority of this court even if the "teeth" are extremely limited.
You have the causation backwards, I think. Or maybe we agree.

These administrators exist due to the influx of government money. As long as there is available money, the administration has every incentive to grow, and does. It's really very much like the government itself.

IOW - It's not that a larger administration causes costs and prices to go up - it's that more money coming in leads to a larger administration.

It's very much like the cost-plus model in the defense department as well: If I'm allowed to make more money when my costs are higher, then I will ensure that my costs continue to go up.
Respectfully, I don’t think you would just pack up and leave. The cost of switching to an entirely different language—which might have even worse backwards compatibility issues—is significantly higher than fixing bugs you inadvertently introduced due to prior invalid assumptions.

I’d call your bluff.
I should note that this image of a rectangular cow is hosted on SQUAREspace.
If they offered a million dollar education, I'd say the IRS should heavily scrutinize their budget, and if they did manage to stay within the letter of the law, it's likely that the law should be fixed because holistically, it's unlikely that they're truly spending over 20x what comparable universities do on educating students.
Show HN: Interactive synthetic data generation for LLM fine-tuning
Yeah, I think caution is needed with a single study, especially with mice, when drawing conclusions about people.

However, this study is suggesting that semaglutide causes more muscle loss than would be expected based on calorie change alone, not just that weight loss is accompanied by muscle loss.

A lot of comments seem to be missing this critical part of the study.

I wouldn't be surprised if this doesn't replicate, but what they describe isn't quite what you might assume based on some of the comments in this thread.
How to Be Boring (2014)
Smart glasses ID strangers in Amsterdam – Harvard students inspired demo
Cyber Resilience Act: Security Requirements in Development
Just like how Putin couldn't travel to, say, South Africa, after a warrant was issued for his arrest. Oh wait, South Africa declined to enforce the ICC arrest warrant in that case.

I don't see this meaningfully constraining Netanyahu's foreign travel options.
Hey, I just wrote an article about a how we implemented extension api-server for Cozystack - free PaaS platform, which we extended with Kubernetes API Aggregation Layer.

I inspired to write this article after noticing a lack of detailed information of this amazing feature in Kubernetes. I hope this article helps guide people through creating their own Aggregation API server.

This article aims to present a more generic information for implementing the Aggregation API. It covers common use cases and the steps for implementing your own extension api-server.

Any feedback is welcome!
Mine did not! I distinctly remember setting it last night but it only shows tomorrow's morning alarm. I set my alarm through the "sleep" feature where it gives you a schedule and automatically sets an alarm that you can modify day-to-day.
That's kinda the point of the bonus, isn't it? If you otherwise would not want to, they give you more money to make it worth your while to stick around.
Show HN: The Threadinator – Chrome extension that numbers threads on x
Whataboutism. If you are comparing Israel to Russia then yes I think we agree. Not sure if that was what you had in mind though.

Also, military objectives according to the IDF. Which has been caught lying multiple times and is as reliable as Russia or Hamas I guess
Idle musing - maybe some genetics is for stored environment?

Eg, perhaps some of your genes’ purpose are to encode memories in DNA.
R-pis are particularly hard on SD cards. I think they must be engaging in lots of writes in the course of operation.

I have a number of projects that just use microcontrollers with SD cards, no OS involved, so no unexpected writes to the card. Some of them have been in constant operation for many years, and I have yet to see an SD card failure in any of them.
Politically, there are so many policies across the board that make having a small business untenable as compared to a normal salary. As time goes on, these policies increase in amount and severity.

Looking around me I see the effects. Year over year small businesses continue to disappear.
I must disagree. I consider art same as entertainment to the most part. I would want to be good at math and I also disagree that it has anything to do with mental capacity. It's not a competition, I don't need to be better at math than others but my pursuit of other things like cryptography, better algorithms, and understanding physics is limited by my primitive understanding of mathematics.

If I was a multi-millionaire, learning lots of math on my free time would be one of the things I would pursue while chilling at my beach house.
I wish researchers would spend more time on using generative models to create level geometry, rather than trying to generate video from scratch. It would be both cheaper and more effective for stable gameplay.
Honestly I can only disagree with you on most of the points.

Speaking of my experience in Amsterdam.

1. Cars are just less practical and expensive. I personally avoid city center at all cost.

2. AC absence is not about sustainability at all. There was no need for them in this climate except a couple of summer weeks.

3. Never heard of people saying that. Constant queues at Schiphol. Government plans to extend and build another one IIRC

4. It’s just normal here to satisfy all of the food preferences.

5. 99% of the cafes has “normal milk”. Lactose intolerance, maybe fashion on oatmilk.. don’t known exact reason on why it’s not only the cow milk.
I don't have dyscalculia but behind the numbers I have my own intuitive system(s) that I jump to sometimes when doing arithmetic. I think we all do since the early days arithmetic in school or what not, perhaps the dyscalculia folk missed making some connection at some point. I feel that arithmetic with numbers without that intuitive system is rote memory..
Getting all guideliney on fluffy positive comments mostly defeats the purpose of getting all guideliney - the billowing clouds of meta that tends to generate are worse (guideline-worse, no less!) than the fluffy comment itself.
That tabletmag analysis is basically statistical malpractice. See https://x.com/AlexKjaerum/status/1766564001977115022 and https://x.com/nickburbank710/status/1770226449116430688
It's obviously the right thing to say it's an undesirable job, but with the right support, I actually think it could be a good job. You'd be able to go home each day knowing that you did a good part in helping to reduce the harm to both these children, other children, bringing the perpetrators to justice, and bringing everyone the help they need.
Overestimating in the short term, underestimating in the long term.

Roy Amara called it.
It's still in there.

You can find the US state standards used to set baseline requirements ("learning standards") for school district curriculums online, for most (all?) states.

Let's take an infamously-bad state for education ("Thank God For Mississippi") and famously good one (Massachussetts).

Cmd/ctrl-F "hamm" on this one to find it for Mississippi:

https://www.mdek12.org/sites/default/files/Page_Docs/final_2...

(Theirs is a little weird [probably because their government's, you know, bad] and this comes from a non-profit organization, but it seems to in-fact be the official curriculum standards for their actual BOE, as well)

Here's Massachusetts:

https://www.doe.mass.edu/frameworks/hss/2018-12.pdf

Same deal, you'll find it with a search ("Hamm" also finds one occurrence of Muhammad, in this case, though, but it does get a few hits on Hammurabi)

A person may have missed it due to: 1) going to schools outside the US that maybe don't emphasize Hammurabi, or 2) moving between US school systems that don't teach Hammurabi in the same year(s), such that they leave one before it's taught and arrive at the other after it's been taught.
Officer Bookman clearly saw the man as the aggressor, as many state laws and individuals assume in their daily worldview.

ACAB
Right. Your opening paragraph made it seem like you thought this was administration dependent.

Few things bother me more than people who try to claim Biden/Harris was “good for ukraine” or “good for palestine”.
My dad is getting older and often forgets to bring reusable bags when he goes shopping. As a result, he ends up buying new ones every time, adding to a growing stockpile of unused bags at home. On the other hand, I’ve adapted by buying less and only purchasing what I can carry by hand to avoid needing a bag altogether.

This feels (but I cannot say if it "is" without proper data) like a lose-lose situation: individuals either end up purchasing more bags (which defeats the purpose of reusables) or, like me, change their shopping habits in ways that might not be ideal for businesses themselves who would wish I spend more. I’ve also noticed more people skipping supermarket trips entirely and ordering everything online from places like Walmart or Amazon, which often deliver in boxes or reusable bags anyway.

It seems there isn’t a big-picture solution beyond individuals like me reducing consumption as much as possible—not necessarily out of environmental consciousness, but because it’s now more of a hassle to consume unnecessarily.
To be clear, which side are you referring to?
I had the same reaction; this was a glaring omission; photos of cows should have been at the top of the article as a reference. The article's main (but unstated) point isn't cows in these paintings are rectangular, but cows in these paintings are unrealistic in the same way. To prove this point, he used many of these paintings, but no pictures of actual cows, which would have proven his or her point.

Doing the work myself, as you have, I find that many cows are rectangular. The author is unequipped to dispel me of this notion, if it's incorrect, but could have easily if he had addressed it preemptively by clearly stating his actual thesis. (Unrealism, not rectangleness). (And if he is correct)
I think I have met those folks. Maybe not. And you're welcome!

They're just quick. But the ones I've met, at least, are quick to make associations. When I really dig and ask them to explain themselves or a concept, they usually make analogies to things they know, but I don't. Then I have to go learn that thing. Then they try the analogy again, but I haven't fully learned it from years of making analogies about it.

Years of grad school experience was painful like this, until I got to a point 10 years after grad school, after a PhD, and well into research, that I "just got" things (in my subfield) as well. It's these experiences that made me feel that it's 80% preparation and perspiration (both of which are dominated by time), and 20% "other" mythology. Don't get me wrong, that 20% is what makes a 2 year old read earlier than others, and getting started reading at 2 (and continuing it!) for 4 years before starting school will make you light years ahead of your peers. The same goes for chess, math, etc etc. There is something legendary about Oppenheimer learning enough dutch in 6 weeks to deliver a lecture. Or perhaps learning to translate his lecture and memorizing it. Who knows.

Do we really believe there's a magical "genius" such that they can do anything? No, so what are the limits to their genius? The limits are defined by what they are a genius at. This is a tautological definition.

I'm not saying "Anyone at any time can become a genius at anything". I'm saying "If you take a kid, start early, and cultivate them just right so that you have time to realize compounding effects, - you can let them grow into basically anything" (probablistically speaking - there are learning disabilities and physical issues etc).
I've read about this in a few different mediums before and no it's not just that protocols weren't that important.

The guy doing this experiment was *notorious* for it and multiple other manhattan project people had already told him he was going to die if he kept doing it. But he had the kind of bravado and personality that he kept doing it.

So to be clear: all of the other people whose risk tolerance levels already had them handling weapons-grade plutonium as a career ALSO thought this guy was insane for doing this.