skysight-inc/HackerNews huggingface dataset:
I would argue that for most programs when you're doing string manipulation you're doing it for internal programming reasons - logs, error messages, etc. In that case you are in nearly full control of the strings and therefore can declare that you're only working with ASCII.

The other normal cases of string usage are file paths and user interface, and the needed operations can be done with simple string functions, and even in UTF8 encoding the characters you care about are in the ASCII range.
With file paths the manipulations that you're most often doing is path based so you only care about '/', '\', ':', and '.' ASCII characters.
With user interface elements you're likely to be using them as just static data and only substituting values into placeholders when necessary.
> as there is almost no language that can be written using just that.

99% of use cases I've seen have nothing to do with human language.

1% human language case that is needs to be handled properly using a proper Unicode library.

Your mileage (percentages) may vary depending on your job.
Okay, I really thought you were messing with me, but both https://github.com/ADIDAS and https://gucci-kering-group.opendatasoft.com/pages/home/ do have project pages!
Discord could probably become the new internet if they introduced a URN scheme and permitted folks to host web pages.
:-) That too!
I appreciate your optimism but I think you got the order wrong.

I'm fairly sure that the #1 source of news articles, social media posts, etc, probably by far is "native advertising" aka hidden advertising (this is actually illegal in some countries) aka PR articles posted as if from the news source.

https://paulgraham.com/submarine.html

Once you see it, you can't unsee it.
> How the mighty monopolies

How some mighty monopolies have fallen. Your examples don't refute GP's point, unless you'd like to assert that monopolies and oligopolies don't exist anymore.

> The greatest lifting of people out of poverty ever seen.

How do you square that with the fact that United States, with your platonic ideal of economic policies, has the highest rate of poverty in the developed world?
> robot that can induce targeted lightning strikes has obvious military applications

Rescue victims are just the co-operating category of hidden people.
But in Britain all things end up in the garden shed eventually…
But exactly - Ukraine's defence contractors and suppliers have to innovate, and do it on the cheap. As a result there will be lots of lessons to learn, and after the war, hardware and concepts to sell (like Israel does, it's a top military exporter because it has had to develop and innovate).

Also, the US has shown it can stomach its pride and buy foreign off the shelf designs which are better (okay, not always, cf. the KC-45 vs KC-46, but still). And of course there's the whole rest of the world.
The iPad Pro is the fastest machine out there (M4)
yes, you are doing it wrong right there: database as common infrastructure, and (worse) database with no ownership...instead, you want your backbone components to talk to each other with a messaging system, decouple responsibilities (counterparties, accounts, risk, ...), and give ownership to specific members
You're not missing something. In the original paper the proof is half a page long (and still worth a read, very low investment, decent payoff). I think the value of the CAP theorem is not so much in its statement (CP or AP, choose one), but rather in its proof. It helps you cook up similar arguments/reasonings for more interesting situations and constraints.
Maybe the communication went like this:

Germans: "Wie Sie vermutlich wissen, sind Sie und Ihre Leute von allen Seiten umstellt. Wir gehen davon aus, dass Sie bereit sind, sich zu ergeben. Bitte bestätigen Sie dies."

MCAuliffe: "Dies Nutz"
Ask HN: A good trading community to discuss infrastructure, strategies and quant
I've been looking to find good communities to discuss trading infrastructure for stocks, options and even crypto. But I can't seem to find ones where are genuinely helpful or even useful discussions. I do get that no one wants to talk strategies easily, but it would be good to at least discuss some of them with others. I tried reddit and their algotrading and related communities aren't really friendly or even useful. I am looking for more advanced communities.
> armistace on drones won't come

Drones are useful. There have been zero useful technologies in war that have ever been successfully banned. (No [1].)

Every weapon that has been banned brought asymmetric advantage, i.e. disadvantaged the powerful, or has had its ban flouted, e.g. cluster munitions.

[1] https://acoup.blog/2020/03/20/collections-why-dont-we-use-ch...
We have a little IRC/Matrix-based computer science and mathematics discussion community called Bitwise. The connection links are:

* https://web.libera.chat/#bitwise (i.e., #bitwise on irc.libera.chat)

* https://app.element.io/#/room/#bitwise:matrix.org (i.e., #bitwise:matrix.org)

Both channels above are bridged together. So joining either one of them is enough to follow all conversations.

This isn't specifically targeted at professional mathematicians though. Most members come from a computing background. However, mathematics is a central topic here, with much of the discussion revolving around computer science and mathematical literature. Recent reading and discussions have been about topics like theorem provers (Z3, Lean, etc.), real analysis, Galois theory, distributed consistency, compiler and interpreter development, Standard ML, etc.
Well, with Android/Chrome OS they just recently released Jetpack Compose Material 3 Adaptive which is further iteration by Google to try to unify UI development between form factors [1]. And there's the breaking changes with every major version of Android [2]. Then there are the incompatibilities for Android apps for Chrome OS [3].

You can shit on Microsoft all you want, but those listed APIs still work. People expect Microsoft APIs to exist essentially forever, so every breaking change pretty much has to be a new API.

Having a single simple API for developing across different devices and inputs that automatically provides great UX across the board just isn't possible. It's going to be complex and it's on the developer to cater to each device. An API to cater to everything is literally web APIs.

[1] https://chromeos.dev/en/posts/io-2024#android-on-chromeos

[2] https://developer.android.com/about/versions/13/behavior-cha...

[3] https://developer.android.com/topic/arc/manifest
> They are absolutely devastating to columns of tanks

Artillery or missile strikes are too.
Is it still possible to include minification, tree-shaking and bundling to propshaft or have they fully excluded these options?
While intuitively dumping nuclear waste on the ocean seems like a terrible idea, if one actually does a cost benefit analysis of dumping glassed and cannistered nuclear waste on the abyssal plane it becomes tricky to find downsides.

The ocean already contains a billion tons of uranium and is mildly radioactive, the cannister and components are far too heavy to float or get carried much by currents, water is a fantastic radiation blocker (a few meters away and you're quite safe) and carries away exces heat and there's almost no life on the abyssal planes.

I really should get around to properly writing up all the details and background knowledge in a blog post at some point... (the above is missing a lot, including references, common objections and numbers)
...and that is why you use QString if you are using the Qt framework. QString is a string class that actually does what you want when used in the obvious way. It probably helps that it was mostly created by people with "ASCII+" native languages. Or with customers that expect not exceedingly dumb behavior. The methods are called QString::toUpper() and QString::toLower() and take only the implicit "this" argument, unlike Win32 LCMapStringEx() which takes 5-8 arguments...
Well to be fair, most people don't look at the apt's output in their scripts, they just do "apt install -y --no-install-recommends all the wonderful packages they need" and move on with "&&".
Doubling down on your ignorance, nice. It's refreshing to see that ignorance, intolerance and shitting on people's work becomes fashionable again. I hope this trend continues.

Photographers are not artists btw. They just point a lens and press a button. Anyone can do that, no skill required. I will never respect them.
You're looking at things too binary. It's not an "either / or" but instead a spectrum of guilt.

Your argument is akin to saying someone who stole a chocolate bar isn't a criminal because they weren't carrying a knife. Or someone else who stole a wallet at knife point isn't a criminal because they didn't kill their victim. Or that a murderer isn't a criminal because they didn't commit genocide.

There's always going to be instances where some bad things are worse than other bad things. But that doesn't mean that the less-worse bad things aren't also themselves bad.

Meta built their platform to be addictive and one of the negative consequences of constantly pursuing "engagement" is that breads negative interactions. And this was a very intentional move on Meta's part. So they're not innocent. They're just not literal murderers.
also: https://en.wikipedia.org/wiki/Dalvik_(software)
I agree, and I'd hazard a guess that part of my slow-down was not knowing Ruby very well when starting. But the lack of intellisense made it difficult to grok, and the Rails libraries always feel more "magical" to me than the Node ecosystem.
Nice childhood memories: "Thunderbirds are go!"

I always wondered how the palm trees were able to be flattened:).
There are no closed-ecosystem alternatives!! However there are thousands of alternatives to Apple. It is don’t like don’t buy, as literally NO ONE NOR ANY SITUATION FORCES YOU TO BUY AN iPhone. You need a PHONE, not an iPhone.

Also in what world does Apple have half the market?
not sure if i'm misunderstanding - you've got a similar GPU to a 1060 hooked up to a pi?
> In the years since, websites have been described as “dead” due to TikTok, YouTube, and Google monopolizing attention and keeping users within their ecosystems.

A bit of an overstatement but rings kind of true. I feel the number of different website we browse through decrease over time, it is all centered around giant walled gardens. You'd rather have lots of followers on Tiktok or Youtube for exposure rather than having a nice domain name
>It is issues like this due to which I gave up on C++. There are so many ways to do something and every way is freaking wrong!

These are mostly unicode or linguistics problems.
California first state to ban 'sell by' 'best before' label to reduce food waste
> There are so many ways to do something and every way is freaking wrong!

That's life! The perfect way does not exist. The best you can do is be aware of the tradeoffs, and languages like C++ absolutely throw them in your face at every single opportunity. It's fatiguing, and writing in javascript or python allows us to uphold the facade that everything is okay and that we don't have to worry about a thing.
Is the judge epic for their ruling, or is judge employed by Epic? ;D

I have a feeling, that headings become more ambiguous over time. OK this one is with capital E on Epic. Still fun to think about the other meanings.
> He said if they can't see you, they can't shoot you.

He should tell the F-117 pilot who got shot down with a few decades old anti-air system that, while keeping in mind that the F-117 flew higher and faster and quieter (relatively).
California's $20 Minimum Wage for Fast Food Workers Hasn't Hurt Employment
I mean, they shouldn't, that means they're also running insolvent. Not only is that generally illegal, it's been the end of a long line of crypto exchange businesses like Quadriga, and possibly even going back to MtGox (though they were doing it as a cover for theft, rather than mismanagement, IIRC).

And the FTX token that had a run triggered was something like 90% held by FTX - the value they accounted for was based on a tiny circulating pool of them. It was almost the classic "If I print 10m of these, and sell you one for a dollar, I've got tokens worth $10m now, right?"
I don't think it's a C++ problem. You just can't transform anything developed in "ancient" times to unicode aware in a single swoop.

On the other hand, libicu is 37MB by itself, so it's not something someone can write in a weekend and ship.

Any tool which is old enough will have a thousand ways to do something. This is the inevitability of software and programming languages. In the domain of C++, which has a size mammoth now, everyone expects this huge pony to learn new tricks, but everybody has a different idea of the "new tricks", so more features are added on top of its already impressive and very long list of features and capabilities.

You want libICU built-in? There must be other folks who want that too. So you may need to find them and work with them to make your dream a reality.

So, C++ is doing fine. It's not that they omitted Unicode during the design phase. Unicode has arrived later, and it has to be integrated by other means. This is what libraries for.
A data-driven case that AI has already changed the U.S. labor market
It's funny how software developers live in bubbles so much. Whether you deal with human language a lot or almost not at all depends entirely on your specific domain. Anyone working on user interfaces of any kind must accommodate for proper encoding, for example; that includes pretty much every line-of-business app out there, which is a lot of code.
I owned one. I barely used the keyboard. I barely used the internet connectivity. I even sat out the first iPhone. But I went into a store and tried one out and I knew I was getting the 3G when it came out. Phones may have had those features before, but they were strictly checkbox exercises. The iPhone was revolutionary.
You just want a banana, but you also get the gorilla. And the jungle.
Comparing PIE executables is a bit of an anachronism. They did not really exist when x86-64 was introduced. Position-dependent executables are more compact on i386 because its lack of PC-relative addressing (the %rip stuff on x86-64) does not matter.

That being said, the larger register set, the register-based calling convention, SSE2 for floating point math, PC-relative addressing (important for shared objects) together usually compensate the cost of wider pointers. Unless your workload happens to be pointer-heavy and fit into slightly less than 4 GiB of address space.
Regression Towards the Mean – Mental Model
> I would argue that for most programs when you're doing string manipulation you're doing it for internal programming reasons - logs, error messages, etc. In that case you are in nearly full control of the strings and therefore can declare that you're only working with ASCII.

Why would you argue that? In my experience it's about formatting things that are addressed to the user, where the hardest and most annoying localization problems matter a lot. That includes sorting the last name "van den Berg" just after "Bakker", stylizing it as "Berg, van den", and making sure this capitalization is correct and not "Van Den Berg". There is no built in standard library function in any language that does any of that. It's so much larger than ascii and even larger than unicode.

Another user said that the main takeaway is that you can't process strings until you know their language (locale), and that is exactly correct.
While not a community itself, Terence Tao's blog (https://terrytao.wordpress.com/) is a good source of high quality, clearly explained maths. As you may know, he has a very broad range of interests, and there might be something for you to pick up and get involved in. He has also been involved in several collaborative math communities, which he writes about at length in his blog. I recall Polymath project and recently some project involving Lean Theorem Prover that even showed up on the first page of the HN.
I'm reading The Goldfinch right now. Indeed, master storytelling, super readable. I'm enjoying it immensely.
Rust Resumes Rise in Popularity
> You'll be ignored, of course, but that'd be no different from what I'm suggesting the dev could do

I wonder what would happen to their metrics if they are reported to ignore support? And I wonder what would happen when Google ignores support?
Now double all of that effort, so you can get it to work with Windows' UTF-16 wstrings.
Consistency in the case of CAP refers to linearizability.
I ran `cargo fetch` first to remove the downloading time out of the equation.

Ran on arch (AMD R7 7800X3D).

First build:

> cargo build 2574.91s user 79.89s system 1341% cpu 3:17.84 total

After change:

> cargo build 11.97s user 1.62s system 176% cpu 7.719 total

After another change, this time with --timings:

> cargo build --timings 12.00s user 1.60s system 176% cpu 7.722 total

Unit | Total | Codegen

1. veloren-server v0.16.0 4.9s 3.7s (75%)

2. veloren-voxygen v0.16.0 4.1s 2.0s (49%)

...
Is there any documentation available for ActiveRecord Search / SolidSearch yet? https://youtu.be/-cEn_83zRFw?si=aqaEX3S72svt2Fax&t=3813 this might allow me to drop OpenSearch.

Also, how is he able to use private fields in the js example? Is he using any polyfilling?
Isolation (the I in ACID) is more closely related to the notion of consistency in the distributed system community.
File paths? I think filesystem paths are generally “bags of bytes” that the OS might interpret as UTF-16 (Windows) or UTF-8 (macOS, Linux).

For example: https://en.m.wikipedia.org/wiki/Program_Files#Localization
Small nitpick: the example "LATIN SMALL LETTER SHARP S (“ß” U+00DF) uppercases to the two-character sequence “SS”:³ Straße ⇒ STRASSE" is slightly wrong, it seems to me, as we now do actually have a uppercase version of that, so it should uppercase to "Latin Capital Letter Sharp S" (U+1E9E).
The double-S thing is still widely used, though.
Not actually true. The title sequence was hand drawn, and the series didn’t even start filming until after Tron had come out.
Do you think it is plausible that we will see an incredibly cheap anti-aircraft missile that can destroy the latest fighter aircraft just like we've seen incredibly cheap drones that can destroy the latest tanks?

Why or why not?
> For example, would our Navy be more effective with thousands of relatively inexpensive small platforms that could do commerce raiding, interdiction, air defense and so forth (destroyer type jobs) than with our expensive and rare large surface combatants?

https://en.wikipedia.org/wiki/Jeune_%C3%89cole was all about this... In the 19th century, when a couple of innovations (torpedoes, explosive shells) made it look like smaller ships could do enough damage that big ships were just a waste of money. In their case, they were wrong and their ideas were surpassed by further technological advancements (aircraft carriers).

Small ships with missiles and drones and unmanned submarines could be a decently powerful combination. You can't project power with those though, and around half the idea behind the US' carrier fleet is power projection.
Storage seems reasonable, maybe even a bit too cheap, but the sync minutes look way too expensive. One problem is with end-user monetization: users are used to pay for storage, but not for how much time they can use your app.

For a small storage-heavy indie app I have, I'd pay $79 for base price, $45 for additional storage, and $1500 for sync minutes.
Your experience is against insurgency and irregular force. Near-peer enemy with better weapons is different case.

Kosovo war for example. US deployed two battalions of AH-64s in Task Force Hawk into Albania, but never send them over the border. Their task would have been just what they were designed for, but risk reward ratio was just too high. Serbs would have been able to cause them massive casualties.

For most cases combining drones for targeting with field or rocket artillery achieves the same.
File paths are scary. The last I checked (which is admittedly a while ago), Windows didn't for example care about correct UTF-16 surrogate pairs at all, it'd happily accept invalid UTF-16 strings.

So use standard string processing libraries on path names at your own peril.

It's a good idea to consider file paths as a bag of bytes.
The only way to sacrifice P is to have have a single node (i.e. non-replicated) system. So in practice it's a choice between C and P.
One book and two book series:

Moby Dick by Herman Melville.

The Baroque Cycle by Neal Stephenson.

The Aubrey–Maturin series by Patrick O'Brian.
Would be nice if the site allowed me to link to a specific headline in the post.
Ask chatgpt your questions, otherwise you'll have to sift through mountains of SEO garbage.
It was good fun. Happy I could be there.
I know that you probably mean "chartjunk", but I do like the idea of "chatjunk".
very unscientific benchmark of `clang hello.c`, after a few runs to make sure the code is downloaded/cached:

jslinux: 4.7s

wasmer: 1.3s

webvm: 1.2s
That was pretty much a direct homage to (or spoof of) Supermarionation, the puppetry style used for Thunderbirds and a number of other shows.
We basically already have this in the UK, and is is helpful. But we still waste too much! One of the local groups that I work with (ish) saves huge amounts of stuff from supermarkets regularly that would otherwise be discarded.
Conform: A type-safe form validation library utilizing web fundamentals
the RISC example in the article is a bit weird: on one hand, it may take even more instructions to load an address in a RISC, on the other hand all the RISC I know have an 'addi' instruction, no need to do 'li r2, 1; add r3, r1, r2' to add 1 to a register!
short dictionary domains are memorable and easy to type. this alone makes them valuable for branding purposes. Imainge creating a dating app. Telling people to go to "date.com" would sure be easier than "newdatatingapp.com"
Engy: AI-powered web application generator from natural language
>I prefer my lights to not know my location and photos, and to not even ask for it.

deny it then. They want location to help with voice commands. Photos are to label your light profile. If you did either on IOS, you already gave permission. If not, you miss those features. I prefer the explicit choice.

better yet, Andoid can let you grant the permission for a short time then disable it on demand.

>F-droid and other non-standard firmware is incompatible with banks, other apps and hardware

Then make those exceptions or don't use them on your phone. This isn't rocket science. Just because there's choice doesn't mean some apps won't choose to stay stuck on google.

> I don’t see mutual respect when reading happy celebrations about destroying the protective garden.

because that perspecive isn't respectful in and of itself. Your garden isn't damaged, other peple are tilling new land. No one's making you go out of your garden, and if suddenly some killer app isn't in there you have a choice. You're not forever tainted from downloading another store and downloading one more app while 99% are from the App store.

Put it another way: jailbreaking has been a thing since IOS was a thing, there are already homebrew and unofficial apps (e.g. emulators) that you cannot access on IOS because you are in the garden. Nothing will change from then to later except Fortnite will not be in the App store. But if you were fine without Fortnite on IOS for 7 years, you aren't suffering now.