skysight-inc/HackerNews huggingface dataset:
Well now we'll have four different ways to format strings, since removing old ones is something that doesn't actually happen:

"foo %s" % "bar"
"foo {}".format("bar")
bar = "bar"; f"foo {bar}"
bar = "bar"; t"foo {bar}" # has extra functionality!
Does Python really need yet another type of string literal? I feel like while templating is a good addition to the standard library, it's not something that needs syntactic support. t"blah blah" is just an alias for Template("blah blah", context), isn't it?
Cool idea with the smart card.

Can you tell me when I need to get a new card offering 2.5% instead of 2% and it’s a good relative bonus? Tired of managing things.

Would like to try a simple search as a demo before making an account.
In the past when I needed this I just made a function that processed the f string, often enough a simple lambda function would do. This looks like additional complexity for not a lot of gain.
I thought we learned from Covid that a supply chain with no slack breaks as soon as you put a little extra tension on it. Same thing with a workforce.
Sadly not. That mostly just covers your body and emotional well-being. You have to nurture your mind as well, which is beyond the scope of my pithy aphorisms.
Quarto can output to Typst (as well as many other outputs simultaneously, e.g. .docx, HTML, PDF, PPT, etc) for it's typesetting capabilities. https://quarto.org/docs/output-formats/typst.html
Likely nothing. Mobile devices can't do much AI stuff except for the tiniest of models, and it'll likely be a long time before they will be able to anything super useful.

Edge compute is a long ways off, even on desktop without a dedicated GPU. But especially on mobile.

You might have bumped into a media website trying to run a WASM-powered onnx runtime background removal tool, or perhaps a super slim LLM. You'll notice how slow these are and how they can lock up your browser. That's about the experience you can expect from edge compute.

Nvidia's proclamation that they're going to be working on robotics as their next growth sector could mean more innovation on the edge / low power compute front. But most of the yield will come from better model architectures and models designed specifically to work with compute constraints.

For now, datacenter inference reigns supreme.
I have general one-shot success asking chatgpt to make bash/python scripts and one-liners where otherwise it would take 1hr to a day to figure out on my own (and I'd use one of my main languages maybe) or I might not even bother trying, which is great for productivity but also over 90% of my job doesn't need throw-away scripts and one-liners.
> This is how Python has always been.

Nah, idiomatic Python always used to prefer comprehensions over explicit loops. This is just the `match` statement making code 3x longer than it needs to be.
I downgraded a $250/mo plan but it bugged out, re-added it to my account, and charged me. Couldn't remove it. Contacted support and after a month of no response they closed the ticket.

Created another ticket. After a week they apologized and said something about having a very high volume of support requests.
I think the mouse is critical with non-touchscreen interfaces. Smaller hit-targets, lots of on-screen buttons/menus, file manipulation, etc.

The more and more modern desktop OSs evolve, the less of that is required. I want to open a file? I search for it using Win key / Spotlight - I just need to know the name or content.

The day will come when LLMs come integrated with your desktop OS and abstract away even more of the screen elements and interactions...
All fair points. Cheers.
prob dont need jinja anymore then
Centmin Mod: LEMP web stack auto installer for AlmaLinux and Rocky Linux EL8+
Coupled with the American paradox, does this suggest that human capital is not necessarily correlated with [formal] education, after all?

(Indeed the first chart looks like a scatterplot, so there is no need to invoke anecdata)

But considering the author's expertise maybe he's trying to point towards studying the correlation with hardwork-- a better proxy? Some say that is already factored into GDP calculations.
Watching that demo video, I wonder why they chose to use that?

Gemini only talked about some useless surface knowledge that would be forgotten quickly, whereas if she actually read the Wikipedia page she would learn more and retain it better.
Check out Smallstep’s step-ca server [0]. It still requires some work, but it allows you to run your own CA and ACME server. I have nothing against just hosting records off of a subdomain and using LE as mentioned, but I personally find it satisfying to host everything myself.

[0] https://smallstep.com/docs/step-ca/
You cant process an f-string the same way you can process a t-string. An f-string does not preserve which parts of it are static and dynamic, which you need to know to properly escape user input.
There are rank-and-file members of the western intelligence community that watch/read Zeihan just so they know what their own leadership is ingesting.
Amazon's Chinese sellers to raise prices or quit US market as tariffs hit 145%
One of my favorite additions by subtraction:

https://youtu.be/jKS3MGriZcs?si=RRlSVL0jwi5sDl3f

Removing the laugh track from the big bang theory
Yes, the "USB-C port at the bottom ---->" and huge QR code really got me going. I have to hope that's all on a sticker that's meant to be torn off after you take it out of the package.
I think they mostly work as a derived work / commentary.
It is interesting that this article from a Canadian news source doesn’t have any mention of what Canada’s border policy is for comparison.

Canada’s customs may also confiscate or search a device with no justification: https://www.cbsa-asfc.gc.ca/travel-voyage/edd-ean-eng.html

I don’t necessarily endorse the policy but I feel that it undermines the article’s point. It would be useful to know how common this practice is in other countries for reference.

> Canadians (and all travelers) are left to grapple with a sobering truth: crossing into the U.S. means surrendering more than just your passport.

So does returning to Canada I guess?
Ask HN: Is Everything Data Compression?
After thinking about it for a while I am wondering, is everything data compression? Perhaps trivially so?

Like chaotic and nonchaotic systems alike can be described by their ability to be compressed. The less compressible the less chaotic [1]. And this is where we define explicitly chaos is in the regime of positive Lyapunov exponents. And so that creates an intrinsic link between dynamics and information. And information is what the universe is fundamentally made out of to say metaphorically.

But then that is why neural networks are so good at their jobs compared to anything else when predicting chaotic things [2] because they literally are attempting to compress the space of data. Which is a descriptor of chaos.

And the reason we say that neural networks are unexplainable or at least hard to explain is that they don’t show directly the solution. But if we switch our mental model to that the universe is simply only able to be described by literally compressing it into something, then neural networks are the best estimator for any function [3].

Which implies that neural networks are the best we can get. So all you can do is work towards more sophisticated architectures to understand anything. Because there isn’t anything that’s a true data model, function approximations are all we will ever get [4]. And also the reason they can predict further into the future than though possible is because previously we simply had worse compression algorithms than before.

And to me this all seems trivially true, or likely less than that because there seems to be no implications from it that are more than cursory observations and perhaps I am simply naive. So I am hoping someone can point me in the right direction to read or do more to understand these things. Because I have organized a conference to understand these ideas [5] and I think I should organize another one but also I’m not sure how to interact with these ideas because most of my time is spent doing geophysics and data science and not this.

[1] https://www.sciencedirect.com/science/article/abs/pii/S0370157301000254

[2] https://link.aps.org/doi/10.1103/PhysRevResearch.5.043252

[3] https://www.sciencedirect.com/science/article/abs/pii/S089360809700097X

[4] https://projecteuclid.org/journals/statistical-science/volume-16/issue-3/Statistical-Modeling--The-Two-Cultures-with-comments-and-a/10.1214/ss/1009213726.full

[5] conference talks on YouTube (not all the talks were recorded and also the conference was broader in topic than this post). https://youtube.com/playlist?list=PL6zSfYNSRHalAsgIjHHsttpYfxJ_XIPbt&si=VVWAE-fsv_WfFwfK
Guns were not used in the 9/11 attacks, box cutter knives were. It is also already illegal to bring firearms past TSA checkpoints.
I truly don't know how you can reach that conclusion from the article. The entire thing is about how the trump administration is completely misguided
Yes, that's correct. Quarto is language agnostic and Posit has chosen that route over just being an R shop.
I would imagine at least part of it is the fact that Russia is a resource exporting economy and thus suffers from "Dutch disease" where the consistent sale of commodities like oil pushes up the currency and makes other types of exports less compatible. If natural resources are super-profitable then they potentially become a crutch for the economy; and if other sectors are less competitive and profitable then there is not much reason to invest there.

Coupled with the fact that these types of sectors don't actually employ very many people as a percentage of the population, it makes sense that it would have bad effects on the rest of the population.
Does it matter if data is encrypted ?

If it does, I assume you also roll your own network equipment. If you're worried about surveillance, know that you're far more likely to be targeted at the network port than at your data.

As for the process, the cloud (for storing data) is nothing more than a remote fileshare that someone else keeps running. If you have an up to date copy of your data you can change the process any way you like.

Servers are not free, nor are they fire and forget. Once you setup a server and decide to open it to the internet, you become a target, and you will be found. There are bots scouring the entire ip range of every residential IP network looking for juicy targets, and when they find something they record it for later use. Then when some new 0-day is found for service X that you're running, they don't need to scan, they can just lookup in their database an exploit right away.

I'm not against self hosting, and god knows I've been doing it for decades, but it is very rarely worth the hassle compared to the gains. The power cost alone of running a server is more than the equivalent cost of storing it in the cloud (assuming we're not talking media servers, but regular user created data).

The worst argument I usually see is people self hosting mail for private, completely oblivious to the fact that there are usually 2+ people in a mail thread, and something 68% of the worlds population runs on Google/Microsoft/Apple/whatever, so while you may keep your emails private, if they're targeted for being scanned they have already been so.
This isn't Reddit. Imaginary internet points don't matter here.
Why would you grep for the emoji? The actual pattern you want to match is the standard format of the error message that proceeds it, which hasn’t changed in eons:

my $line = "infinite-loop-linked-list.c:30:10: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop]";
grammar gcc {
token filename { <-[:]>+ };
token linenumber { \d+ };
token colnumber { \d+ };
token severity { info|warning|error };
token message { .* $$ };
regex diagnostic { <filename>
[\:] <linenumber>
[\:] <colnumber>
[\:]\s <severity>
[\:]\s <message>
};
token TOP { <diagnostic> };
}

say gcc.parse($line);

which when run produces the obvious output:

｢infinite-loop-linked-list.c:30:10: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop]｣
diagnostic => ｢infinite-loop-linked-list.c:30:10: warning: infinite loop [CWE-835] [-Wanalyzer-infinite-loop]｣
filename => ｢infinite-loop-linked-list.c｣
linenumber => ｢30｣
colnumber => ｢10｣
severity => ｢warning｣
message => ｢infinite loop [CWE-835] [-Wanalyzer-infinite-loop]｣

I’ll leave handling filenames containing colons as an exercise for the reader.

The emoji just focus the reader’s eye on the most critical line of the explanation.
Nice work on PEP 501! Probably a silly question, but how comes PEP 292 isn't mentioned anywhere in PEP 750?
This would really help my wife stop interrupting me during meetings (and vice versa). But it relies on the user to actively manage their status
I can't find my Amazon Prime rewards card in your search, any chance it's in there under a different name?

And for my Discover It card a tool like this is t very useful unless it can handle the rotating reward category (I think one of the Chase freedom cards also has a similar program).

I can easily remember most of my static rewards categories, but managing the rotating categories is harder and is where a tool like this would help me best.
You can do the same from the browser on any phone (including iphone) by going through AI Studio

https://aistudio.google.com/live
Indeed, in both cases, it's perfectly normal for the other person to do this! So attempts to bring attention to it will be fruitless. The "ignorant" person will see nothing out of place, and will be bothered by the to-them baseless accusation, and the "malicious" person will be threatened by the realization, so they will try to sweep it back under the rug.
How People Are Using Gen AI in 2025
Interesting shifts in perceived value of different applications of LLM chatbots.
yes, it does actually need syntax support. In order for it to work, you need to preserve which parts of the string are static (hard coded) and which parts are dynamic (likely user input). Which you can only do at a syntax level. You could potentially do it by hand, using placeholders, like with `%`, but as we now live in f-string world, we have something better. The syntax highlighting and ergonomics of f-strings are so good, devs prefer it in most cases. The idea is to make the most ergonomic thing, also the safest thing. By decreasing ergonomics, you reduce the adoption of safer symantics.
Oh that’s an interesting idea.

I know I could google it, but I wonder washing machines originally was called an “automatic clothes washer” or something similar before it became widely adopted.
I thought that most FOSS projects took multiple compiler implementations as a sign of a healthy language environment, without much prestige associated with being the "premier" compiler and instead having more of an it-takes-a-village attitude. Granted, I'm mostly extrapolating from Go and Python here - is it a sharper divide in the Rust community?
The book Dreaming in Code [1] goes into great detail about how CalDAV (and WebDAV) came about through the work of the group who built the Chandler calendar program (or tried to). It’s been a while since I read it (at least 15 years), but I think it partially discusses some of the ways a protocol like this can get lost in committees during the design process. The fact that this project started around 2001 should also be informative about how long calendaring has been a problem. So, if you’d like to know about why it sucks, I’d recommend it.

It’s also a good story about the conflict between startups and open source, building products, and software development in general.

[1] http://www.dreamingincode.com/ ; https://en.m.wikipedia.org/wiki/Dreaming_in_Code
You may be interested in this new CF announcement, D1 read replicas and D1 sessions: https://blog.cloudflare.com/d1-read-replication-beta/
I can forgive somebody conflating labor and value, but only if they haven't given any serious thought to the matter. If they have, and still believe it, there's willful ignorance or some other problem at play.
As someone who lives in Mississippi, I'm beyond tired of the generally insulting and dismissive way this entire region is treated, usually by people who have never even been here.

The graph showing that Russia is neck and neck with Alabama for total US patents granted is absurd and stupid. It doesn't illustrate anything, it's purely there to get in a "Russia is as bad as Alabama!" graphic. They even include the following text which shows how intentional this was:

> Alabama has creditable research centers, of course—the Hunstville aerospace complex and the University of Alabama network among them. But Russia’s population was almost 30 times larger than Alabama’s in 2020.

Great, so Alabama has 30x the per capita patents in a patent system that is foreign to Russia? How many Russian patents does New York have each year? What is even the point of this graphic? Every other graphic is using the correct units (per capita, median, etc) except this one, it's just there to put Russia next to Alabama, because Alabama is "so terrible". The graphic is literally "how many foreign patents does arbitrary region A have compared to how many domestic patents these other arbitrary regions have, not normalizing for anything".

I would like to see how many rocket scientists there are per capita in in Alabama and Russia compared to other regions of the world, but that might not tell the story they want to tell.

Edit: I went to find the answer, and New Mexico and Alabama crush all statistics in terms of per-capita Aerospace Engineers. However, and this is just usual, when you go to https://cambridgedb.com/which-state-employs-the-most-people-... the answer to 'Where the most Aerospace Jobs are located" shows the wrong graphic to make California look good. The graphic was lifted from https://www.bls.gov/oes/2022/may/oes172011.htm, where the correct graphics are the first two on the page, which apparently they scrolled past to steal the one that doesn't address the question they are using it to illustrate the answer to.
All the Middle Eastern oil rich countries seem to be actively avoiding this problem. All are heavily investing in all sorts of different initiatives to diversify their incomes beyond fossil fuels (whether they succeed or not is irrelevant). So, it is not given that a country will suffer from this problem. There has to be a better explanation.
There was a recent blog post on this exact issue from another company wasn't there?

https://news.ycombinator.com/item?id=43153901, I think
Your example is interesting - `join`, a generator expression and a ternary, and Python requires us to write all of them inside-out. It's a shame we can't write that in a more natural order, something like:

def f(template):
return (for item in template:
isinstance(item, str) then item else
format(convert(item.value, item.conversion), item.format_spec)
).join('')
Ask it to count the words.
This is probably my favorite comment ever. Bravo!
Did Einstein "dream" about unifying the strong and weak forces with gravity? Anyone have a good timeline on what we knew about the weak force and when? Maybe most of the developments occurred after or just prior to his death in 1955? He was already 53 when the neutron was discovered. I kind of thought most of the strong interaction stuff wasn't really figured out until the mid 1960's.
You may be interested in this new CF announcement, D1 read replicas and D1 sessions: https://blog.cloudflare.com/d1-read-replication-beta/

It'll be interested to see where D1s performance falls after these reaches general availability.

Also I've had really good luck with the CF discord for support, certainly better than CF tickets or the forums. I tend to only go to support with really weird/novel scenarios, so on tickets I end up banging my head against the wall with a tier 1 support staff for a couple of weeks before I have any chance of a real answer. But on the discord I often get an answer from an actual expert within a day.
This is where an opinionated linter comes in handy. Ensures people gradually move to the “better” version while not breaking backwards compatibility.

It does suck for beginners who end up having to know about all variations until their usage drops off.
The conclusion doesn't follow the premise. In fact, precisely the opposite arises from it. People who make things for money tend to be controlling about their thing, as it's the thing that makes them money. Others controlling the thing is a potential threat against the money-making capability of the thing, so they usually try to quell it. To not just let a remix be, but actively endorse it, is a notable and unusual event.
What is the process you went through interactively? Regenerate until something interesting comes out and the partially edit it? I'm curious about what you found works.
Yeah. `join` has forever been backwards to me in Python and I still sometimes get it wrong the first time out.

Comprehensions, though -- they are perfection. :-)
I think a lot of it was the move to digital away from film too. Old films keep getting great remasters but 2000s era digital films just cant compete.
It's wild to me that this product went from 0 to where it's at, and no one stopped it along the way. This is going to hit like a handful of nerd enthusiasts, and that's it.
Good addition. Java has done a few previews of this and is still trying to figure out the best way. Maybe the feedback on the Python version will help.
It would be much better if you flipped the phase of the one channel. If your going to be such a know it all on the internet, you might want to at least get the facts straight.
One of my students codes exclusively in Python. But in most cases newer econometrics methods are implemented in R first. So he just uses rpy2 to call R from his Python code. It works great. For example, recently he performed Bayesian synthetic control using the R code shared by the authors. It required stan backend but everything worked.
They don't surpass Turing Machine level, so I'm not convinced.

The idea of ?. was there since the beginning of times. You don't have to dig deep to realize that (x ? x.y : nil) and (x ? x : y) sucks. Even gnu C had (x ?: y) for quite a while. It's just that the designers of to-become-mainstream languages all start with the same "density" and ignore the damn obvious, and then rather than fixing it, chew on the same dilemmas they all inevitably introduce. I sometimes wonder if they have written regular code at all or started inventing languages right after school.
I might not see people lighting kerosene lamps but I see people climb big ladders to fix lamps that light up public spaces.

I assume the people doing that work might have been lighting lamps in the past.
I haven’t cried from laughing like this in a good while, thanks!
Apparently, the lyrics were not AI-generated, see https://www.reddit.com/r/Music/comments/1byjm7m/comment/l0wm...
The life expectancy at birth stats have to be reflective of the fall of the Soviet Union - to work out that males expected to live 50 years they have to be observed to die, which means the stats must be heavily influenced by events that happened in the last 50 years. It'd be a laggy indicator. While extremely interesting, I don't think there is a paradox there as much as hints that an empire collapsing because of economic incompetence might be bad for people in the imperial core.

And I've never been particularly impressed by comparisons of patents between countries either. I doubt the legal systems operate the same way and having a word that translates to "patent" doesn't imply to me that it actually means the same thing. Even if they do my impression is that patents are actually progress-retardant - places that make a habit of politely ignoring that part of IP law tend to do quite well (see: China and FOSS software are both interesting case studies).

Nonetheless this is an interesting area to focus on; Russia is an unimpressive country - it really should be in a similar league to China/the US/India and they just don't have the weight that those 3 names do.
Hopping gives this tiny robot a leg up