skysight-inc/HackerNews huggingface dataset:
snprintf is a worse strlcpy: not only does it need to call strlen if you pass it a string parameter, it also ends up in ??? territory if the string is long enough because its return type is int.
One can certainly point to human pairings like this, but I don’t know of any studies that show it as a general trend or tendency. One can also point to power couples and quiet couples just as easily.
This is partly true but less and less every day.

IMO the bigger concern is that this data is not just used to train models. It is stored, completely verbatim, in the training set data. They aren’t pulling from PDFs in realtime during training runs, they’re aggregating all of that text and storing it somewhere. And that somewhere is prone to employees viewing, leakage to the internet, etc.
> if everyone was free to choose an energy source that makes economical sense to them

This ignores externalities.
THIS. Not for every use case, obviously. But for huge number of them. And the "FooBaz length 5307 bytes in check_input(), truncating to 4095 bytes..." errors (which are trivial to log, or ignore, as you wish) can reveal many interesting things.
Oh, Lord. That was a stinker. And, in general, I'm a big Heinlein fan.
<<<HEAD

Version control is not solved, and that it works line by line is part of the problem.
My tweets from 17 years ago often had no faves, no replies, and no retweets
I mean just use bstrlib why is it difficult?
Creating 529s for our children and investing them in the stock market helped us a lot, since capital gains from 529 plans are not taxed when used for eligible expenses. Of course, the tax benefits if any depend on how well the investments do.
C is just convenient assembly. In an era where performance mattered, and much software was written for hardware, and controlling hardware, it's hard to see an alternative.

C's choices were for performance on hardware-limited systems. I don't really see what other ones made sense historically.
What’s lost to history is the lore of Soviet calculator design. These were made by real people who made design decisions based on the constraints they had, even when it came to cloning Western tech.
Just wait until you hear about Copilot :D
Truncating a UTF-8 codepoint is not fine because most software is not tested with partially broken UTF-8 so international users will likely run into many bugs.

Especially because concatenation is a very common operation so those sliced codepoints will be everywhere, including in the middle of text.
Only a matter of time before someone extracts something valuable out of googe's models. Bank passwords or crypto keys or something

Glue pizza incident illustrated they're just yolo'ing this
I think the reality is that they are running the workloads of all of the customers of GCP and Azure collectively - and provided they're offsetting those emissions and hosting them with green energy where possible - it should be a net win for the environment that they're hosting this much infra. It also encourages prioritization on systematic efficiency improvements where possible. I think google was one of the first providers to publish and push for PUAs of their datacenters close to 1.0.

They also have programs in place for e-waste recycling and safe refrigerant destruction where it is available - things that you will not see in colocation-type facilities.
The null code point? That would be pedantic even by my standards.
True, as long as the selfish one is a fellow craftsman. Once a tech giant comes in with an overwhelming interest of making the substrate (open source software and associated free labor) on which it grows its shit (products which bring in the money and surveil the hell out of you), it all breaks down and we have conundrums on what to do with it pop on HN every couple weeks.

A pet conspiracy theory of mine is that there exists PR professionals who are now retired and ride their lambos into the sunset because they were successful in creating a negative rap for copyleft, promoting permissive licensing and convincing gullible community members and "evangelists" that it's their own idea.
This appears to be the only fork that's at least somewhat active: https://github.com/OpenSourceSourceTrail/Sourcetrail

But overall, there is little activity in any of the forks, without anyone necessarily spearheading the effort: https://github.com/CoatiSoftware/Sourcetrail/forks?include=a...
How does MS Fight Simulator compare to real flights? (2020)
AI is an idea that has been around for a while but has gained traction because of advances in hardware.

Technology encompasses many aspects that are not all necessarily part of computational technology.
I'm not sure what you are saying. Maybe the first proposal isn't the best one, so some exploration is warranted.

Is Kent an unwilling pawn in the game of getting Rust implemented in the Linux kernel? Or is he not serious enough about getting it in that his support should not be considered?

From what I've seen it reads to me Kent would be very happy to implement bcachefs in Rust in the Linux kernel. Bcachefs-tools does make use of it.
That sound very close to "Rust is useless: why not just code in C without memory bugs?"

As menctioned, a few years ago Selenium had its methods in camelCase. If your code used Selenium, it had to be camelCase and snake_case mixed. When Selenium standarized, it forced everyone to switch to snake_case.

Nim puts great effort in FFI. It means you can easily use C libraries, using their names, even if the case doesn't match, and your code is still coherent. Look at the sample code in https://www.py4j.org/index.html : why do they end with "random.nextInt(10)" in their Python code? Didn't Python had this solved? Not saying that this is the end of the world, but the Nim way is not a mistake either.
Couldn't find a proton entry, but this looks promising, given that proton was a fork of wine.
https://appdb.winehq.org/objectManager.php?sClass=applicatio...
Can't wait until you bring in the anatomical parts of Egyptian script. ;)
Wouldn't be the first time. Dems in MN managed to slip a similar loophole through the Republican-controlled state senate a while back. https://www.npr.org/2022/07/02/1109576113/minnesota-thc-edib...

Or Tennesee, where early versions of a law accidentally forgot to keep marrying a toddler illegal. (They fixed that one.) https://www.npr.org/2022/07/02/1109576113/minnesota-thc-edib...
Ok I want my motherfucking website to have pictures. Is that ok?
I was just thinking about how the conversational side of multi modal models is perfect for this.

I weep for the power consumption if this becomes popular but I still love it
Clarifying a few days later: single-threaded performance in the normal ABI with the GIL does not have the same performance degradation. You only see the performance hit if you’re testing the experimental 3.13 free-threaded release.
The LISA project mentioned in the abstract got the go-ahead this January: https://www.esa.int/Science_Exploration/Space_Science/Captur...
The AMD Zen 5 Microarcitecure
Yes, but "The DOJ Keeps Losing Antitrust Cases" https://www.uschamber.com/antitrust/the-doj-keeps-losing-ant..., suggesting that many of them should not have been brought.
A friend of mine has trouble running a very important vendor application for his department. It stopped working some time ago, so he opened a ticket with IT. It was so confusing to them that it got to a point that they allowed him to run Microsoft's packet capture on his machine. He followed their instructions, and captured what was going on. Despite the capture, they were unable to get it working, so out of frustration, he sent the capture to me. Even though our laptops are really locked down, as a dev, I get admin on my machine, and I have MSDN, so I downloaded Microsoft's tool, looked over the capture, and discovered that it the application was a client/server implementation ON THE LOCAL MACHINE. The front end was working over networking ports to talk to the back end, which then talked to the vendor's servers. I only knew that I had just undergone a lot of pain with my own development workflow, because the company had started doing "default deny," and it was f*king with my in several ways. Ways that, as you say, I found workarounds for, that they probably aren't aware of. I told him what to tell IT, and how they could whitelist this application, but he's still having problems. Why am I being vague about the details here? It's not because of confidentiality, though that would apply. No, it's because my friend had been "working with IT" for over a year to get to this point, and THIS WAS TWO YEARS AGO, and I've forgotten a lot of the details. So, to say that it will take "3 extra rounds" is a bit of an understatement when IT starts doing "default deny," at least in legacy manufacturing companies.
Apart from the LLM bot "AI" toys, what significant new technological advances can you point to in the decade from 2014-2024?

Offhand I can't think of a single thing.

Between 1994 and 2004 we went from Windows 3.x and Classic MacOS, to OS X and WinXP.

Linux went from being a toy to a serious viable OS.

Before: 16-bit OSes with some 32-bit parts, all resolutely single-CPU, many primarily based around cooperative multitasking with no real memory protection, and mainly proprietary networking.

After: pure 32-bit OSes, with proper preemptive multitasking and hardware memory protection, capable of SMP on multiprocessor systems, with TCP/IP based networking.

From 2004-2014 the industry moved from mainly single-CPU 32-bit machines to multi-core 64-bit machines everywhere, with UIs rendered through hardware 3D, and a heavy reliance on Web protocols for almost all network functionality. A much smoother transition but that was because of the big changes in the previous decade.

Linux went from being a nerd tool to a usable mainstream OS that was rapidly taking over the server market. Smartphones went from toys to maintstream. Chromebooks arrived in 2011, and Linux started to become a consumer OS.

Since 2014... er... containers everywhere on servers? Electron apps proliferating? That's about all that springs to mind.
I just wish it also had a src_size. As it is, if dest is bigger than src, and src isn't null-terminated, it'll read past the end of src. You can make a MIN macro and use MIN(dest_size, src_size), but shouldn't have to IMO.
I now feel obligated to cram as much AI-f'n-up crap into my Drive as possible. Come'n get it!
Maybe they are asking the wrong questions?

Does Rust need to change to make it easier to call C?

I've done a bit of Rust, and (as a hobbyist,) it's still not clear (to me) how to interoperate with C. (I'm sure someone reading this has done it.) In contrast, in C++ and Objective C, all you need to do is include the right header and call the function. Swift lets you include Objective C files, and you can call C from them.

Maybe Rust as a language needs to bend a little in this case, instead of expecting the kernel developers to bend to the language?
But we shouldn't have to, and just because Google is famous for it, it doesn't make it right or acceptable.
Define "luck". That's what this whole disagreement hinges on. You're using a different definition of luck.

Sure, I reap the fruits of my past decisions, like the shed. More to the point, I reap the fruits of my parents' decisions. Is that luck?

It's not luck from the perspective of actions having consequences, and parents doing things that help their children.

It is luck from the perspective of "you didn't pick your parents", or from the "if you were going to be born to someone random, where and when would you want to be born?" perspective.

So you and abenga are saying "yes it is!" "no it's not" about the same set of facts, because you're running different definitions of what is or is not luck.

Arguments about the definitions of words are really uninteresting. What you and abenga are saying boils down to "yes, actions have consequences, and better actions lead to better consequences, both for yourself and your descendents, but no, you didn't select the parents, country, or time you were born to".

Apart from the definition of "luck", do either of you actually disagree with either side of that? If so, with what part, and why?

And, if you do agree with it, what conclusions do you draw?
Because no one can agree on which string library / abstraction to use, if they even use one at all which is rare.
Hi, you should flip the animated illustration. It's driving users' gazes (mine included) out of the page.
You might have disabled one type of notifications, instead of all types of them. Making sure I disable all types of notification from an app usually works for me. What brand of phone are you using?
You are missing the universal language
There's nothing obvious here.

The energy provider could say "why should I be the one eating the cost of providing sustainable energy?".

The ones consuming energy also need to take their responsibilities. "When we think that it would suffice people didn't buy it for it not to sell!" (Coluche).

In fact, this is a collective issue we are all part of (including as individuals: we use the services consuming energy).
There are no editors.
There is a fundamentally interesting nuance to highlight. I don't know precisely what google is doing, but if they're just shuttling the content through a closed-loop deterministic LLM, then, much like a spellchecker, I see no issue. Sure, it _feels_ creepy, but it's just an algo.

Perhaps someone can articulate the precise threshold of 'access' they wish to deny apps that we overtly use? And how would that threshold be defined?

"Do not run my content through anything more complicated than some arbitrary [complexity metric]" ??
If you click the link - any link to asahilinux.org from HN - it should start "Hi! It looks like you might have come from Hacker News.", followed Hector Martin ranting that he isn't in charge of the moderation policy of HN.

The response given in Arkell v. Pressdram is appropriate.
It's worth noting that cloud computing has existed since the 1960s. It just used to be called "time-sharing".
Well, the elites can make decisions based on objective data, gathered using noise-free sources it controls. It should be enough. I haven't seen much politicised nonsense on a Bloomberg terminal.
No, it isn't. The type must explicitly be a nullable type or pointer to be nullable. All other values must have a valid initialization. Anything not marked as a pointer or ref is by default managed by its scope. This includes dynamic types like seqs and strings, which are pointers to heap memory but managed by the stack scope and deallocated upon leaving scope.
Often, people need to be offended, especially when their determination to ignore reality endangers themselves and others.
Oh, and about the second illustration: it's telling me to press the big red button... and then nothing happens.
I use the Options module which has a none/some check. None is the absence of a value. You can test for this quite easily and I see it as a feature, not a bug.
Love?
Sure, but with all the privacy invasion stuff ripped out. It's actively developed and maintained, and lets you install firefox and chrome extensions. It's a great browser and I use it every day.
As a loyal user, I didn't quite see this coming.
Under `Browser Privacy`, I have `Enhanced Tracking Protection` set to `Strict`.
I had studies turned off, when I go to `about:studies` it explicitly says: "No new studies will run.".
I have `Tell web sites not to sell or share my data` checked.
I have `Send web sites a “Do Not Track” request` checked.
It seems like Mozilla still thought it was okay to automatically add a "Allow web sites to perform privacy-preserving ad measurement" checkbox.
Yet with that all set, they seem okay to let it be checked by default, so they can send off my data!
They say:
"A small number of sites are going to test this and provide feedback to inform our standardization plans, and help us understand if this is likely to gain traction." - that sounds a lot like a study, and I've opted out of studies!

I did not consent, and as best I can tell, Mozilla has breached GDPR.

As best I can tell, Mozilla disregarded my preferences.
It seems they have violated these GDPR principles:
a lack of consent,
purpose limitation (unintended data use),
`Data protection by design and default` AKA `privacy by design` (by ignoring settings),
and right to object (disregarding preferences).

It is absolutely unfair to argue that it is not personal information about me.
It seems to me that they are lying, or at the very least twisting words so thin. My trust in them is vanishing.

There is no way to reliably verify their differential privacy, and even if there was, they still had no informed consent to collect the data and send it off.

To give controls to a user, and then totally ignore them, is what got Facebook in big trouble.

It really looks like Mozilla is not only not listening to explicitly stated user preferences, preferences that have been set intentionally, but it's outright ignoring them and doing the very opposite of what the users intention is!

If they thought that they had a good reason to do so, and that the ends justifies the means, they are so very wrong.

I have used Firefox for as long as it's existed.
For Mozilla, this is an almost sadistic own goal.
How did they think that this was going to be okay?
Did they think people would not find out?
There will have to be changes after this at Mozilla if they were to regain trust and I'm really sceptical they can do it.

I really want / wanted them to succeed but I don't see how.
> This is partly true but less and less every day.

Isn't this like encryption, though?

I'm fairly sure that the cryptography community basically says: if someone has a copy of your encrypted data for a long time, the likelihood over time for them to be able to read it approaches 100%, regardless of the current security standard you're using.

Who could possibly guarantee that whatever LLM is safe now will be safe at all times over the next 5-10-20 years? And if they're guaranteeing, they're lying.
I've no idea about fossils, but I suspect macromolecules like ribosomes or DNA might have too small features to fossilise?

From https://en.wikipedia.org/wiki/Microfossil

> A microfossil is a fossil that is generally between 0.001 mm and 1 mm in size

Which is a bit vague, but 0.001mm is 1000nm while a ribosome is in the range of 20-30 nm diameter. So a whole ribosome is around a 1/50 below the lower end of the microfossil range.

Even though DNA can be a lot longer (1000 base pairs is 3.4 nm - I think? - so a hundred kilobases would be 300-400 nm) the atomic features are too small to fossilise would be my guess.
No, you're still not getting it.

It's not that it requires less skill, relative to an average person. It's that skill is not the differentiating factor among elites.
Wise IT admins >know< they are ignorant and design for that. Before an application gets deployed, its requirements need to be learned - and the users rarely know what those requirements are, so cycles of information gathering and specification of permitted behavior ensue. You do not declare the application ready until that process converges, and the business knows and accepts the risks required to operate the application. Few end users know what a CVE is, much less have mitigated them.

I also note that seatbelts and airbags have undergone decades of engineering refinement; give that time to your admins, and your experience will be equally frictionless. Don't expect it to be done as soon as the download finishes.
Nim is a great systems language, and should be more popular.
> Nobody’s surname needs 128+ bytes.

This attitude ensures that the US software industry will never conquer the world.
Athena packages Trino - it’s in part a managed Trino service.
And then how does a client know whether an `order` was processed before or after a specific `status`? If you start talking about adding sequence numbers or duplicating application data between `status` and `order` (and its reply), that's the creation of an ad-hoc ordering protocol I'm talking about.
Name sure you also disable the ability for the app to change settings
What models did you base this on and were they benchmarked by professional translators in any way?
Most people who has taken a close look at Firefox know it is not a privacy respecting browser --- and nothing short of an independent fork (see LibreWolf) can really be assured of turning it into one.

https://blog.privacyguides.org/2024/07/14/mozilla-disappoint...

https://itsfoss.com/firefox-looking-glass-controversy/
A function that can turn a correctly formatted UTF-8 string into a malformed UTF-8 string is, in my opinion, broken.
The new leadership has made it an ad company.
Morally I view “what do I do with my truncated string” to be a separate issue from “how do I truncate the string” as described in the article. Like, yes, you absolutely should not concatenate after doing this operation. But maybe you shouldn’t be showing the user a truncated string either even if it’s all ASCII. The question of “did you make an unparseable UTF-8 string” is answered with “no” and the more complicated but also more interesting question of “did you actually want this” remains unanswered.
Can you share some apps where this happens for you. I have rather the complete opposite experience where unused apps with permissions eventually lose said permissions.
If your computer does something that you don't want it to do, it is either a bug or malware depending on intent. "Feature" is too generous.
I like it, too, and I absolutely love kagi. Just clarifying because the original question asked for browsers based on firefox.
They're not even remotely the same thing. You could build NATS on ZeroMQ but not the other way around. ZeroMQ is more like a network/message-passing abstraction library while NATS is a service.
Over time, for my needs, I've gravitated back to fixed-size buffers. There are many apps where it really doesn't matter that they handle any string ever without truncation. A string is too long and won't fit? Whoops, just use a shorter one.
This feels like an "old man yells at cloud" take :) Certainly when I was young, I learned programming through recreating video games I liked, and sure enough, tons of young people are working on super impressive, open source projects related to video games. Take a look at the video game reverse-engineering projects, or emulators like Dolphin. There are way more young, open source developers now than ever in history. The default for this entire community is open source software. As they grow into their careers, it's going to feel very weird for them to encounter closed tooling.
I agree with the first paragraph, but I think your math is wrong.

If you invested in Nvidia in 2006 it'd be up 46% a year every year on that investment.
Look I had to include it or someone is going to do a whole pedantic comment about how C can’t actually represent UTF-8 correctly
What do you use for validating pronunciation?

Or do you just use a Speech To Text model and hope the text that comes of it is the expected phrase?
The problem generally needs to be solved by the transport protocol. Having two sockets communicating in parallel means the problem needs to be solved again.
I think it's more annoying when the quote is (more or less) directly before the actual same text (like here). As such, it has no helpful function for the normal reader - it's only annoying (but might help the skim reader or rather only the "scroller" who doesn't really read). Whereas in magazines it was that you opened the page and looked at those few quotes and decided whether you wanted to read the text, in that way the quotes are not really annoying imo.
Singapore's Baby Bust: Record low births in 2023 deepen demographic crisis
Sure, you can get lower returns as well by cherry-picking the start and stop dates, especially for shorter intervals.

When economists say things like, "the market returns X on average," they always mean over much longer periods of time than your example.