skysight-inc/HackerNews huggingface dataset:
Most frameworks will do that? In Micronaut it's something like this on the client:

@Validated
public interface PetOperations {
@Post
@SingleResult
Publisher<Pet> save(@NotBlank String name, @Min(1L) int age);
}

then you inject

@Client("https://example.com/pets") @Inject PetOperations pets;

and call its methods. It will use the annotations to validate the call client side before sending it, and you can implement the same interface on the server:

@Controller("/pets")
public class PetController implements PetOperations {
@Override
@SingleResult
public Publisher<Pet> save(String name, int age) {
Pet pet = new Pet();
pet.setName(name);
pet.setAge(age);
// save to database or something
return Mono.just(pet);
}
}

where the same validations will occur before the call is accepted.
'Reading is part of my identity': the woman taking on Goodreads owner Amazon
D began life as a re-engineered C++. (I'm sure Walter will correct me if I say any more).

There's a Safe C++ extension proposed for Clang [0].

But those are C++, not C. A little different kettle of fish.

Gnome's Vala [1] aims to be the "smoothest C off-ramp". It does compile to C, but with GObject taking control of everything.

There's CheckedC [2], which adds optional bounds checking to C, and was backed by Microsoft until recently.

There's the Linux kernel's nolibc [3], which I've enjoyed the heck out of using, but it is rather constrained.

There's C's own Annex K [4], that almost nobody has implemented, and every compiler developer hates and can poke holes in. GCC and LLVM have both repeatedly said they won't support it. (So much as easy to get them to support things...)

GCC already has a number of memory safe languages, though. Most of which, because they're part of the same compiler suite, can interact with other languages that GCC has. Like the D or Go frontends.

[0] https://discourse.llvm.org/t/rfc-a-clangir-based-safe-c/8324...

[1] https://vala.dev/

[2] https://www.checkedc.org/

[3] https://lwn.net/Articles/920158/

[4] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1106.txt
I feel like your description comes across as more negative on the design of IEEE-754 floats than you intend. Is there something else you think would have been better? Maybe I’m misreading it.

Maybe the hardware focus can be blamed for the large exponents and small mantissas.

The reasonable only non-IEEE things that comes to mind for me are:

- bfloat16 which just works with the most significant half of a float32.

- log8 which is almost all exponent.

I guess in both cases they are about getting more out of available memory bandwidth and the main operation is f32 + x * y -> f32 (ie multiply and accumulate into f32 result).

Maybe they will be (or already are) incorporated into IEEE standards though
Tell me about something which is mutable and non-stateful.
A shuffle is type of permutation. There is room to disagree on the constraints on the type of permutations allowed and how they are made. Nevertheless, I 100% agree that sampling with replacement is not a shuffle.
There have been a lot of times over the past couple weeks where I've thought "OK, is the US toast now??", and the thing that finally did it for me was Trump's prominent post "He who saves his Country does not violate any Law."

Trump announced the rule of law is dead and there has been basically no pushback. I mean, sure, it may have just been bluster, but the Republicans used to put the idea of the Constitution on a pedestal. Now the president is saying, loudly and prominently, that laws don't apply to him (or anyone who is "saving" the country), and it's crickets.

There is no way the US comes back from this in my opinion. I'm not saying something like "collapse" is imminent, but I think the decline is irreversible once the rule of law has been declared null and void.

Also, while I obviously have my opinions, I honestly would be genuinely interested in someone who has a different take (i.e. who thinks Trump's statement isn't as catastrophic as I think it is) to explain their rationale.
> Neovim is just where all new development is done, and it'll slowly replace traditional Vim over time.

Nailed it. Bram made the decision on his own and vim's fate is stuck with it. I was bitter about it but now I think it's best for both communities.
Key word - "spent".

The Falklands conflict was almost half a century ago. It is doubtful that the UK could respond today like they did in 1982.

The video "The Navy With More Admirals Than Warships"[1] addresses that exact scenario, and talks about the current woeful state of the British Navy today.

You are right to question who your allies are.

[1]: https://www.youtube.com/watch?v=po9duwvipB0
Mind you, placing many pixels at coordinates from a linear congruential generator will not look random at all.
Even for white males, whilst it might help convince people you're one of the nice backpackers and not the rude backpackers or defuse situations caused by your faux pas, being trusting absolutely doesn't get you any sympathy from who make a living out of scamming or robbing tourists. Sure, escalating probably isn't the best way out either and the minor annoyances that cost you a dollar might be best overlooked, but switching your guard off is a terrible idea in a lot of parts of the world
That's a typo in the response, I believe. The screenshot shows 10^100 (10 to the power of 100).
I think defense _spending_ could be cut dramatically without changing our defense _posture nor preparedness_, simply by modernizing inefficient systems, reducing waste, renegotiating contracts, etc. Our defense spending is relatively insane. We should look at Medicare and Medicaid in the same way. I wouldn’t want to see benefits reduced, but we certainly should be optimizing costs. I really hope the idea of reducing government waste hasn’t become a partisan thing just because the folks doing it right now are doing it very badly.
Sure, I may be toward the other end of the extreme. It's certainly not eidetic memory, I just have tons of memories from all years of my life >=4. But I do think "basically no memories before 20" is close to the other extreme.
Llama3.2 vision model and nosiy images
I'm working on creating a powerful OCR pipeline and have tested several technologies (like Doctr, Paddle, and the LLM-based GOT). I found that Llama 3.2 gives the most accurate text extraction, especially with high-density text and irregular layouts.

However, the model struggles with noisy images—those with stamps, handwritten annotations, and other artifacts—and simply fails to produce any output. I attempted to fine-tune it using 40k images augmented with noise (including quantization noise, salt and pepper noise, skewing, handwritten text, and multiple fonts). Unfortunately, this reduced its accuracy on well-formatted images, and it still doesn’t handle noisy images effectively.

What might I be missing here?
We had a strong storm come through yesterday afternoon and night. I didn't lose power at home but I'm not surprised that around 85k in my state did. I saw quite a few down trees and leaning power poles this morning.

Part of the problem was that, at least here, we got 4" of rain earlier this week. This storm brought more rain, high winds, and a lot of lightning.
Blink Chromium on iOS
Lol. Most of the open-source communities will have a nazi and a fury working in tandem :)

You run a community it's up to you what standards you enforce. And there's plenty of other projects you can contribute to if you disagree with them. You can also fork things and create your community.

Yes, some organisations take a piss, but at the same time, you have loads of other options.

Additionally, except for anecdotal cases, you can submit PR, which will be reviewed and merged no matter your political stance.
I could be wrong about this, but I suspect "taste" is one of those things that can never _really_ be automated. If Duchamp can put a urinal in an art museum and we can call it art, I think that there's a level to which taste making is tautologically unmoored from 'reality' in some meaningful sense.

Partially, this is because taste making is a function of 'things that everyone else arent doing'. If AI makes it easy to do certain things such that everyone starts doing it, the exact things that no one is doing will become the new status symbols.
Do religions send you LinkedIn messages?
Show me an AI with a point of view.

Show me an AI with an opinion; an aesthetic preference.

Show me an AI that has emotions.

Show me an AI that’s chosen to make sacrifices to produce its art.

AI cannot produce art. Images are not intrinsically art. Sound is not intrinsically art. Art requires thought and intent. AI is not capable of either.
The Making of a Gene Circuit
You don't know what you're talking about
I think you answered it yourself, stick it into a multimodal LLM.
Wow... really?

I'm in my 40s and I remember my school days vividly. I remember like ~20-30 specific lessons and events from 4th grade alone.
Willie Hobbs Moore: Stem Trailblazer
Well, you're allowed to 5; from 6 included you're presumed to promote obscenity.
ChatGPT has replaced Google searches for me. 15 years ago I could ask Google a question and get a pretty accurate to what I wanted. From there I would rabbit hole into my search.

ChatGPT gives me the answer I need now. From there I can ask more questions and it rabbit holes for me.
So they send telemetry that shows what people are calculating.

Does it mean that there are some "dangerous" numbers that can be used to flag someone?
The linked website is anti-free-speech.

Open source at least allows choice.
Like the other Georgia commenters, had a severe storm starting at 4AM trailing off at 6 and ending at 7. We lost power for about 20 minutes, all my essential gear stayed up on battery power. I’m on underground power but we have trees down in Atlanta and a lot of people lost power for a few hours.

What’s amusing is this is all on the heels of another discussion about electrical grids in the US vs Europe and a lot of points made are exactly what we experienced. Our grid can be technically as competent as anywhere but a giant storm sending a tree through a transformer or distribution line is going to make for a bad day.
This only works for a fixed list.
> I'd have expected a debate about healthcare cost and actual reforms resulting out of it because the momentum clearly was there

No, it wasn't; if the momentum was there, the debate would have been self-sustaining and not dependent on new news events relating to Mangione to sustain it.

> but the day he got caught, the debate got suppressed and no one is talking about it anymore.

The debate didn't get suppressed and didn't need to be; the “debate” in the major media wasn't a real debate, it was just a way to stretch attention to Mangione news for a few more commercial breaks, and once there were no more news events for it to leverage for that purpose, it was abandoned by the same people who had been driving it. And, to the extent that there were people engaging in social media and elsewhere who saw the debate as genuine, they didn't need to be suppressed, as they never had momentum, they just mistook cynical commercial manipulation for opportunity.
> I think Google moved it from AOSP to the Google Play Services several years ago, but the old source is still available.

For the curious, here is the source of ExactCalculator from the commit before all files were deleted: https://android.googlesource.com/platform/packages/apps/Exac..., and here is the dependency CR.java https://android.googlesource.com/platform/external/crcalc/+/...
IIRC temples to Mithras were almost always underground or in a cave.
This was born from needs in the bog where standard business software lives.

Sure, you can have naked attributes, but you'll be sorry once they aren't enough and you now have two parallel ideologies seeping through your software, increasing the risk of bugs. Concurrency and collection attributes are the common reasons you'll want getters, possibly also setters.
My observation does not pertain to labor law, but rather to work environments, and how interpersonal dynamics work when there's a large power differential, if the more powerful person acts in particular ways.

As long as I have some personal freedom, I will avoid employment where I can't ask questions and receive honest answers, or where I'm told I'm not paid to think.
> By definition, when talking about access to healthcare a person of means is someone who can afford it.

Correct. Either a person has the dollars to pay or they don’t.

> What is true is that there are lots of people who think they are “middle class” who can’t afford access to the system.

What people think doesn’t really matter when the bill arrives. We might be better off thinking in terms of “qualifies for financial assistance”. Those who have just enough income to disqualify them from assistance will have more trouble paying, obviously. Some of those will forgo or delay treatment due to cost concerns.
One note I haven't seen mentioned here yet, we got a lot of rain last week prior to this storm.

Here in Alabama we got around 4.5" in my part of the state, that's nearly our average for an entire month. The ground was already very soft before this storm, making trees more susceptible to high winds. We also had a lot of lightning here last night.

I'm actually surprised I didn't lose power. I'm in a fairly rural area with mostly above ground power lines and lots of trees within falling distance of power poles and lines.
Paperless uses the latest traditional method. There are LLM enhancements you can download
The Indoor Mile World Record Stood for Years. Then It Fell Twice in Five Days
Indeed, otherwise we wouldn't have gotten self landing rockets.
The main culprits are explicitly blocked on our VPN. When I WFH I use it on my personal machine for bash/regex/whatever stuff I don't keep in my brain for very long, never anything interesting.
We just keep using Maven, there must be valid reason on customer side why we should use Gradle instead of Maven on our Java consulting projects.
Yes, for example https://comptroller.texas.gov/taxes/publications/94-124.php
Is that CA number because more properties are generating lots of Solar PV and so need less from the grid?

You still have the problem, especially with PV, of the duck curve that requires other producers to ramp down (and potentially be paid for ramping down).
The flea-scope's hybrid FPGA/MCU architecture for USB streaming is clever - using FPGA pipelining to handle 100MS/s capture paired with an STM32 for protocol translation is sweet cost-wise. BUT, the 8-bit ADC resolution and lack of input protection networks (compared to Rigol's 1MΩ//20pF frontends with overvoltage clamping) make it risky in case of unattenuated signals.

The Python analysis toolkit using NumPy/SciPy for FFTs instead of baked-in DSP shows cool resource partitioning - could see Jupyter soon.
The market structure is weird, but it works more or less.
The absolute amount of clean generation mostly just correlates with the amount of electricity demand.

Texas uses 475 TWh / year of electricity, California 251, Florida 248, Ohio 149, and down it goes.

Meanwhile Texas only has 33% carbon free electricity vs 49% in California which are still below outliers like Vermont 80%, South Dakota 81%, and Washington 83%.

Unfortunately, WV and Kentucky are coal country with under 7% carbon free.
Caddy – The Ultimate Server with Automatic HTTPS
Very bad ice and wind storm across the eastern seaboard this weekend.
Suits can be comfortable
I had very good experience with `gemini-2.0-flash-exp`:

https://github.com/maurycy/gemini-json-ocr
Octet of ESP32s Lets You See Wi-Fi Like Never Before
Electronic computers were created to be faster and cheaper than a pool of human computers (who may have had slide rules or mechanical adding machines). Human computers were basically doing decimal floating point with limited precision.
The $200 version? It's interesting that it exists, but for normal users it may as well... not. I mean, pro is effectively not a consumer product and I'd just exclude it from comparison of available models until you can pay for a single query.
As long as you don't get to debug such builds....

As someone that was writing Ant scripts when CruiseControl was modern, and there was no Ivy in sight, not sure if it was such a better place.

I hated Maven at the beggining, exactly because we got some hipster company pushing for it during Maven early days, it was still hot out of the oven.

20 years later, I don't see a reason to use anything else other than Maven.
I have a friend who spent a few years skydiving. He thinks he's a fantastic driver but well let's just say opinions vary. He will happily speed on the freeway and dive between cars like a maniac. What's funny is his pre and post attitude towards seatbelts after skydiving. He's now all about safety equipment and using it every time, probably because a backup chute saved his life. Even so, he's a skeptic about Automatic Activation Devices (AADs) since they came after his time. It's funny how being personally impacted changes your attitude, and then the next safety device comes along and people are back to not trusting it.
This is a response to what appears to be a complaint that IPv6 is not treated as a first class citizen by some providers, not literally that it's hard.

If anything, IPv4 is much harder. The Internet is in an abusive relationship with NAT, thinking it's normal.

But we're in a world where if a service breaks IPv4, they lose a very large set of their customers and it's the service's fault. If they break IPv6, it's is perceived that if any customer fails to connect, then it's the customer's fault (or their ISPs fault).
What? No, the null terminator is the single byte in question. That's how an empty string is represented in C. It's not the same thing as a NULL pointer, as you may be thinking.
I've found Wikivoyage is usually a good source of info, though the quality of the articles varies depending on the location.
Offer half of the bitcoin to the local electorate to elect new local government if they allow the search.
Without a mechanical redundancy: pass.
depending on the length of these texts — and your technical ability — you might want to check out AWS Textract

it would be easy to set up a pipeline like:

> drop pdf in s3 bucket
> eventbridge triggers step function
> sfn calls textract
> output saved to s3 & emailed to you
That's not the situation described above where data is partial.

In your case I would copy rather than mutate, unless I'm actually getting noticably higher profits from lower memory usage during the time between getting the object and GC. This hasn't happened to me yet.
So not on Jellyfin, right?

With the Plex Pass, it was a one time fee (Lifetime Membership), and I've been enjoying it since (6+ years). I use CPU for transcoding.

Well, to be frank, even Plex's DVR could be better (e.g. I tell it to record a certain TV show, but I can't tell it not to record certain episodes, etc). I imagine other services do better on that count.

But my memory was that Jellyfin was terrible at it.
Additionally if one cares about performance, I would much rather write C++ than Rust, as that is directly supported by V8 tooling, without adding even more additional layers to debug.
I would like to post this respectfully, just for posterity. The anti science insular concepts being assumed as fact, the discredited overpopulation theories, the sky is falling parts of climate change.

I can't credibly participate because from my perspective what is being discussed is a popular sci-fi series that I haven't read. The dogmas and rituals are alien to me.
Relevant discussion from 6 days ago:

https://news.ycombinator.com/item?id=43000827
Ask HN: Are there any good weekly news channels dedicated to a given technology?
I feel the need for good tech journalism dedicated to specific technologies so that I can get a summary of what happened in a certain field within that week (or month). A good example of this is The Linux Experiment channel on YouTube. 10-20 minute videos about the latest highlights in the Linux world. No influencer BS. I wonder if there are other channels dedicated to other technologies. I'm especially interested in AI (something that's not hype-driven and provides a good overview in 15 minutes every week), Azure and .NET. I'm not interested in a "general tech news" channel since I find them too broad to be useful (and I already have a few RSS feeds in my reader).

I prefer videos since they are easier to digest (listen while driving etc.).
This feels really weird. You announce an extension to a problem that doesn't exist (see other comments about .json), while the extension itself is not even released yet. With the only options being to subscribe to a newsletter or "get the zip via email"?

"Getting via Email" will also just subscribe you to the newsletter...

What is the plan here?
That's a much more elegant solution that what I made.
Trump and Musk are working according to their own fickle natures and whims.

All anyone can do is guess and imagine, because of this.

Everyone has to be a theory. Reason is extinct.
I'm sorry, has Musk completed his takeover of the gov't or is he still working?
(Title is sort of clickbait. The body is about how it isn't hard, but certain misconfigurations make it appear hard.)

Note that curl itself also implements Happy Eyeballs if you don't force a particular protocol via `-4` or `-6`. You can see it in action with `curl -vvvv https://opentalk.mailbox.org`. So you shouldn't look at the author's example and extrapolate that `curl github.com` or `curl opentalk.mailbox.org` will fail in an IPv6 environment.
Getting kind of tired of this Europe vs US trope. Europe is a huge place with each country having a rather unique economy, making a blanket statement like you just did entirely ignores that, and where does this constant need to compare one place on the planet with another place comes from? I don't live my life comparing everything about my country with another country, do you? Development trends themselves tend to also be cyclical.

As for LLM's, from what I see the languages that LLM's are most often used for are those with the lower barrier to entry / and those that UNI's and bootcamps teach, which would very much also include Java. However, what I see is actually my salary going up as the average candidate quality has been also decreasing, almost in correlation with the usage of LLM's. So while maybe the junior/mid-level salary goes down, the senior salary, in my observations, has not. And I keep hearing from companies how finding actually capable developers has become harder and harder, so I expect my salary to only go up.

Now, of course, being a one trick pony has never been a good thing, I agree on that (did you assume that I'm a just JS dev?), but I was just answering to your original comment.
They should just pass a law saying these people are essential workers and cannot say no to not coming back, and will be paid and must accept whatever pay they are told to accept. Done!
The plain OpenStreetMap web site isn’t very user friendly. Have you tried Organic Maps? It’s an OSM app for Android and iOS. It’s probably the most user friendly OSM app right now.