skysight-inc/HackerNews huggingface dataset:
It sounds like the opposite, a language popular and practical enough to the point where people actually use it across a wide range of cases and skillsets.

The reason why the books don't exist for <highbrow language of choice> is because there's only 50 programs written in it, 49 of which are tooling for the language.
Well it definitely says too much is bad because you see the mortality curve stretch up to where you are no different than a sedentary person at the highest levels. I'm definitely exercising in hopes of exceeding the mortality of a sedentary person!
Putting aside template strings themselves for the moment, I'm stunned by some of the code in this PEP. It's so verbose! For example, "Implementing f-strings with t-strings":

def f(template: Template) -> str:
parts = []
for item in template:
match item:
case str() as s:
parts.append(s)
case Interpolation(value, _, conversion, format_spec):
value = convert(value, conversion)
value = format(value, format_spec)
parts.append(value)
return "".join(parts)

Is this what idiomatic Python has become? 11 lines to express a loop, a conditional and a couple of function calls? I use Python because I want to write executable pseudocode, not excessive superfluousness.

By contrast, here's the equivalent Ruby:

def f(template) = template.map { |item|
item.is_a?(Interpolation) ? item.value.convert(item.conversion).format(item.format_spec) : item
}.join
They gave up six-figure jobs to take a moral stand. Calling that "self-indulgent" is just an attempt at character assassination, and it doesn't even make any sense.
These new "Quasar Alpha" and "Optimus Alpha" models performed better than every other large language model, was faster, and free.

The AI race is just getting started.
Maybe because you're stuck with it because a bunch of software has already been written in it, in need of maintenance and extension. Or maybe because the browser only runs javascript.
grml!
> Kingdom of Loathing, one of my favorite games growing up, has nightly maintenance windows - short daily ones, and a longer weekly one. And... that's about all that I found.

So does KONAMI's e-amusement service, affecting arcade games and home versions alike: https://iidx.org/eamuse_maint
Correct. Intended for library authors to do that. A SQL library, for example, could accept a template type and mitigate against SQL injection for you.
No one is saying it won't work in great conditions. It's all the bad conditions and at all times that is the issue.
There's an Android app called "Sleep" that does this without the watch. You put your phone on the corner of your bed and it figures out how awake you are with the accelerometer.

Quick edit, I guess the name changed slightly: https://play.google.com/store/apps/details?id=com.urbandroid...
Congratulations, second streaming acquisition in recent memory, after benthos.

Arroyo on paper looks amazing, high performance, advanced streaming primitives like windows and joins.

I think / hope the foundations provide a long term alternative to flink and spark streaming, the extremely heavy jvm-based incumbents.

I only have ~5 hours of experience with it so def an ultra beginner, but it was very UI configuration heavy when I tried it. API based config was mentioned but didn’t slot into the way $dayjob provisions so it was a very hard sell.

In response to this I created a lightweight high performance dev-centric streaming solution powered by duckdb, it’s getting a little traction

https://github.com/turbolytics/sql-flow

Iceberg has been one of the most popular feature so far:

https://sql-flow.com/docs/tutorials/iceberg-sink
The types aren't so important. __call__ or reference returns type string, an f and a t will be interchangeable from the consumer side.

Example, if you can go through (I'm not sure you can) and trivially replace all your fs with ts, and then have some minor fixups where the final product is used, I don't think a migration from one to the other would be terribly painful. Time-consuming, yes.
Do the US tasting departments disqualify olive oil for daring to be (gasp!) Spanish in origin though?

https://www.youtube.com/watch?v=jkO1dwx2_KA&t=16m00s
Yes, I have to figure out the right pattern and block that.
"If a photo-sharing app is down at 3am, I'm sure the users can go to sleep and wait till 10am"

There will be people, who will feel it is critical important to post some pictures at 3 am and they will get stressed, if it is not working (say people preparing an event and the pictures should be online the next day).

But .. whether that is worth that engineers must be on call, is a differnt question. I never had a job like this and I know I would never accept it as default for myself.
>I still wonder what would have happened had Jean-Louis Gassée been less greedy and Apple acquired BeOs instead of Next

Internal efforts to get BeOS's security levels up to even Mac OS 9 levels would have bankrupted 1997 Apple.
If you think about it, it's still more secure than a physical card – that also doesn't have any authentication method at transit terminals, but unlike the "Express Transit" option on iOS, you can't turn that functionality off at all.
For this situation, in bash, use 'type nvm' (instead of 'which nvm' or 'file nvm'). It will tell you what 'nvm' is (executable, shell alias, shell function, shell builtin, etc.), which will probably solve the mystery.
ok, then I'll link this video again to make sure you don't miss it because I bet it's extra entertaining for you:

https://www.youtube.com/watch?v=jkO1dwx2_KA&t=16m00s
This is how Python has always been. It's more verbose and IMO easier to grok, but it still lets you create expressive DSLs like Ruby does.

Python has always been my preference, and a couple of my coworkers have always preferred Ruby. Different strokes for different folks.
I think that being posted a few weeks ago on HN was what lead me to go chuck in my email. Exciting to see where it goes!
Make interactive twitch streams with HTML/JS/React/Three/etc.
My hypopnea (pre-apnea) is getting resolved as I have lost a lot of weight by following a program using GLP-1 meds. I also no longer have knee discomfort when hiking or doing long climbs on my bike (used to wear a sleeve beforehand to do that). Not to mention, I just look and feel better.

CPAP is a life-saver for sure, but treating your underlying causes of apnea can often help as well.
What kind of special string will be added next? We already have f-strings, .format, %s ...
No, the American style of eating cheese by itself is anything but a fancy activity.

We usually lean over the sink, with the bag of shredded in one hand…
Awesome feedback, thank you!

The CLI is presently being reworked to expose that capability. Right now, you can use FunctionTest in order to validate that you get your expected outputs from an input. This works well because you can test many scenarios, including error conditions. The CLI does not currently emit the materialized manifests purely because our initial use cases needed to map values from reconciled manifests into other manifests. It is completely viable to emit the materialized manifests though.

Honestly, our ambition is to develop a tool that makes the operations and platform engineering people's lives better. Our team is comprised of software engineers who've worked in the operations and platform engineering space for a long time. It is a crowded space for sure, but I am optimistic, probably foolishly so, that we can develop something that is more pleasant for the platform folks than many of the other options.

We'd welcome any other feedback or thoughts on how to accomplish that.
No, most SQL today uses placeholders and has since circa 2008. If you are sanitizing you are doing it wrong to begin with.
Our Cloudflare CSR is laughably slow at responding to things. Once it took 3-4 months and I was wondering if he still worked there.
It "succeeded" in that it delivers on its promise and some people still use it, but it is largely dead now due to the lack of development and the community's inability to push the language itself forward. There are forks that address that, but Elm itself seems unlikely to Lazarus any time soon.

It's definitely proof that software can be written in such a regime, though, and I hope we see something similarly dogmatic some day.
We wanted at least a couple examples that showed use of Python's newer pattern matching capabilities with the new Interpolation type. From this outsider's perspective, I'd say that developer instincts and aesthetic preferences are decidedly mixed here -- even amongst the core team! You can certainly write this as:

def f(template: Template) -> str:
return "".join(
item if isinstance(item, str) else
format(convert(item.value, item.conversion), item.format_spec)
for item in template
)

Or, y'know, several other ways that might feel more idiomatic depending on where you're coming from.
I had never thought about what these "fire diamond" colors and symbols mean on the big-rigs driving in front of me on the highway...
curious, what is done on-device?
> Criticizing Israel is not antisemitism, and nobody is arguing that.

Literally everybody on the far right yells antisemitism if you say that Israel is committing genocide. How you can say this isn't so, I'm not sure, but I applaud your ability to cover your eyes and ears, this news cycle is exhausting.
The report I read, and your statement is very true, but their findings were that instead of buying a meal, when they had capital, they began businesses (or larger capital investments, like livestock) so they could take care of themselves long term.

The issue is that, sort of like you say, theres a lot of low hanging fruit in a poor village that just a bit of money can set someone up. And the comparison was other charity, apparently another charity had sent this village a shipping container full of beach balls. So comparatively money is easily the victor.
Maintainer of lit-html here, which uses tagged template literals in JavaScript extensively.

This looks really great! It's almost exactly like JavaScript tagged template literals, just with a fixed tag function of:

(strings, ...values) => {strings, values};

It's pretty interesting how what would be the tag function in JavaScript, and the arguments to it, are separated by the Template class. At first it seems like this will add noise since it takes more characters to write, but it can make nested templates more compact.

Take this type of nested template structure in JS:

html`<ul>${items.map((i) => html`<li>${i}</li>`}</ul>`

With PEP 750, I suppose this would be:

html(t"<ul>{map(lambda i: t"<li>{i}</li>", items)}</ul>")

Python's unfortunate lambda syntax aside, not needing html() around nested template could be nice (assuming an html() function would interpret plain Templates as HTML).

In JavaScript reliable syntax highlighting and type-checking are keyed off the fact that a template can only ever have a single tag, so a static analyzer can know what the nested language is. In Python you could separate the template creation from the processing possibly introduce some ambiguities, but hopefully that's rare in practice.

I'm personally would be interested to see if a special html() processing instruction could both emit server-rendered HTML and say, lit-html JavaScript templates that could be used to update the DOM client-side with new data. That could lead to some very transparent fine-grained single page updates, from what looks like traditional server-only code.
Definitely weird, or perhaps I'm just not imaginative enough. I have a hard time figuring out what some KeyKOS constructs mean in familiar terms, particularly whether a given feature is an instance of essential or accidental complexity. I'm more familiar with today's seL4, which has carried on many of the principles of KeyKOS. Learning about the state of the art today is one thing, but learning history is quite another. I rely on simplicity in kernel design to avoid hindering more creative ideas that others have had.
I have worked on a google sheets MCP, for data scraping it worked pretty well leveraging Claude's built-in search functionalities.

example: https://x.com/xing101/status/1903391600040083488
set up: https://github.com/xing5/mcp-google-sheets
I think that's a bit disingenuous. How is his brand built on chaos and controversy? I've watched some of his videos and he honestly seems like a really reasonable guy.
might be nice to have affordance to auto recognize a word once it has been typed without requiring user hit to enter
B&H is also a physical store that is also closed at that time too.
Remove top, toss sand in face.
Ghibli's films, especially Neighbour Totoro, depict Japan in the 1960s, and it is often muttered by old people after watching Hayao Miyazaki's films that this was the best point of landscape and modern affluence.
Oh absolutely, the advice I commonly hear (and agree with) is to have 2-3 years in cash or equivalents when you are planning to retire. That's in addition to significantly switching out equities for more stable investments in the invested portion of your retirement.
There are some supplements that seem to cause an increase in mitochondria in the body, but if you are not deficient in mitochondria I think they won't do much good for you.
I worked at an org that give Google Tag Manager access to marketing, effectively as means of bypassing engineering to try whatever spyslime of the month they could paste into a box.
Being down costs money and wastes time. Find ways to have zero downtime migrations.
Tidy verse has a much nicer syntax than pandas and the like
Ditto for rewriting anchor destinations onclick, allowing sites to show one destination for hover but send you somewhere else.
History repeats itself.

https://en.wikipedia.org/wiki/Institut_f%C3%BCr_Sexualwissen...
You may be interested in this new announcement about D1, https://blog.cloudflare.com/d1-read-replication-beta/

Read replicas for lower latency and sessions for partitions per user like you mention.
The sharing of the article and comments: Why I love HN. Thank you.
>Doesn't sound like getting them into every cell would be easy

>Viruses would be happy

As a programmer, I sometimes wondered at the value proposition of certain antiviral drugs, especially the ones that interfere with replication.

https://en.wikipedia.org/wiki/Antiviral_drug#Reverse_transcr...
Failed language. And for that reason few know it exists.
What's interesting from a legal perspective (to me anyway) is if his call list and contacts are protected by attorney client privilege.

I think maybe the correct answer is to backup your phone in the cloud, and then factory reset it before coming back into the US.

You might also try to mail the phone back to a friend in the US with a tracking number, then you'll know if it got seized in customs, and you can fight it there. You might have to pay a tariff on it, but the tariff might be worth it to avoid trouble at the border.
With no second amendment, you could plainly ban firearms altogether.

Demonstrate that there would be an increase in violent crime without guns.

The current government was elected in a society with guns. The best way to prevent tyrannical governments is an educated populace that doesn’t vote for tyrants.
I can give you hacker news minus hackers?
Async Profiler 4.0 with Heatmaps and Native Memory Profiling
My understanding of Argo CD is limited so forgive me but I believe Koreo is a bit more similar to Argo Workflows. Where the scripts and logic is baked into the Argo Workflow image, in Koreo it leverages other K8s controllers to do the heavy lifting of interacting with the APIs. If I understand Argo CD correctly, it is an implementation of Argo Workflows. In this way, you are able to build your own CI/CD workflow via Koreo if you so wanted.
So Mac OS9 is PowerPC macs, but this also covers 68k macs with OS 7.6:

> Compatibility
Architecture: 68k PPC
MacOS 9 PPC, MacOS 7.6 M68k, using CodeWarrior 6 and 7 Pro.
I am ethnically Russian, although spent virtually my entire life in the US. My father went to a special grade school for English in Russia when he was younger there. Presumably, there was some state-sponsored idea that its graduates would become diplomats and leaders and enrich Russia itself.

He reports that some 80% of his class have left the country. I would say that his generation (i.e., some of the first to come of age in the post-communist period) especially were very eager to find lucrative work in the states and elsewhere. The capitalist structure of early capitalist Russia was quite unstable, not offering good pay, or in many cases even consistent pay, and that's if you could find a professional opportunity.
A government by the AI for the AI, at least all those tech companies will be able to justify the money they've burned when they get awarded some sweet tax payer dollars.

> They must also maintain and update an AI use case inventory accessible to the public. This inventory must call attention to "high-impact" agency uses of AI, such as when the AI output "serves as a principal basis for decisions or actions that have a legal, material, binding, or significant effect on rights or safety."

> Certain AI use cases automatically qualify as high impact, such as the use of AI in "safety-critical functions of critical infrastructure" and "in healthcare contexts".

Cool, AI that will have a high impact on trivial things like "rights", "safety", and "healthcare", nothing can possibly go wrong with any of that.
> assuming an html() function would interpret plain Templates as HTML

Agreed; it feels natural to accept plain templates (and simple sequences of plain templates) as HTML; this is hinted at in the PEP.

> html(t"<ul>{map(lambda i: t"<li>{i}</li>", items)}</ul>")

Perhaps more idiomatically: html(t"<ul>{(t"<li>{i}</li>" for i in items)}</ul>")

> syntax highlighting and type-checking are keyed off the fact that a template can only ever have a single tag

Yes, this is a key difference and something we agonized a bit over as the PEP came together. In the (very) long term, I'm hopeful that we see type annotations used to indicate the expected string content type. In the nearer term, I think a certain amount of "clever kludginess" will be necessary in tools like (say) black if they wish to provide specialized formatting for common types.

> a special html() processing instruction could both emit server-rendered HTML and say, lit-html JavaScript templates that could be used to update the DOM client-side with new data

I'd love to see this and it's exactly the sort of thing I'm hoping emerges from PEP 750 over time. Please do reach out if you'd like to talk it over!
Yes, that was the crux of my question (and was answered by that link when I checked teivah-given link, which linked https://go.dev/blog/loopvar-preview right there as well). Basically I wondered if the example given was really about:

1) In Go, the 'i' variable in the for loop is the same 'i' for each round of the iteration, meaning closures created inside the loop all refer to that same 'i' variable, instead of getting their own copy of it. Very easy to accidentally think the all closures have their own copy of 'i'. Goroutines are only mentioned because in Golang this mistake tends to come up with Goroutines because of a common code pattern.

OR

2) Goroutines themselves either behave or have some weird lexical scope rules in a way I don't know and it doesn't really have to do with closures but an entirely Golang-foreign-alien concept to me I cannot see, and this is why the book example had Goroutines mentioned with the mistake.

I rarely write Go myself so I was curious :) It looks like it was 1) unless I am bad at reading, and I think the Go 1.22 change is good. I could easily imagine myself and others making that mistake even with the knowledge to be careful around this sort of code (the link shows a more complicated example when scrolling down that IMO is a good motivating example).
On a more philosophical level php is this feature. At least as it was used originally and how it's mostly used today. PHP was and is embedded in html code. If you have a look at a wordpress file you are going to see something like this:

<?php ... ?><some_markup>...<? php ... ?><some_more_markup here>...
> The CLI does not currently emit the materialized manifests purely because our initial use cases needed to map values from reconciled manifests into other manifests. It is completely viable to emit the materialized manifests though.

Only in cases where the values are statically known, however. If you have resources that depend on the output of another resource, then we can't know that at "template time" as you pointed out.
Your example is a bit too simple. What I mean by that is, you have hardcoded your function to inject a specific part of your string. But t-strings allow you to write the full query `t'select * from table where name = {name}'` directly, without have to use a function. This matters because the SQL connection library itself can enforce templates.
SQL libraries can NOT enforce "sanitized types" because then you couldnt write raw sql without problems. They have to know the difference between "this is hard coded" and "this is a dynamic user variable". And the libraries can't know that, without t-strings.
Greenland 'Freedom City'? Rich donors push Trump for a tech hub up north
Show HN: Time Travel with Your SQL
Hi, my name is Anguel and I am one of the developers of WhoDB (https://github.com/clidey/whodb)

I am not a fan of the dbeaver, beekeeper, adminer, etc experience because they are bloated, ugly, and at best okay but not great.

Hence why I started working on WhoDB.

The approach:

- browser-based (chrome/firefox)

- no bloat

- jupyter notebook-like experience (Scratchpad)

- built-in AI co-pilot with ollama (local) or openai/anthropic

We just shipped query history and replay (time travel?) to the Scratchpad.

Would love for you to check it out and give some feedback aka roast us into oblivion:

docker run -p 8080:8080 clidey/whodb

Food for thought:

1. What's your biggest database pain point?

2. Any killer feature missing from current tools?
This is the correct way. Linking to a link to the story is not.
None of the beefs you list seem to constitute criminality. I don't understand how the problems you list merit having a security clearance revoked.

If Krebs might have done something wrong we've got a court system to determine whether he should be punished or not. Part of any punishment would surely be clearance revocation.

As it stands, this is just Trump lashing out, a terrible thing for representative government and a little dumb. We want people to follow laws and to exercise judgement. Trump's punishing someone for behavior that's probably not illegal. We don't want a bunch of cowed courtiers doing His Presidency's wishes. Even an autocratic president shouldn't want that, for obvious reasons.

It's also cowardly of other cybersec firms to just go along with this. Do we not have freedom of speech? I was told in the state of the union address that Trump brought that back.
Assuming your data stays at home, without opening any firewall ports, then maybe your data is safer. You're still only one malware/burglary/house fire/flooding/accident away from losing it.

The moment you start opening ports you're no longer remotely safe. Cloud providers have dedicated staff monitoring services (or monitoring systems monitoring services) for anomalies, as well as people monitoring their networks. These same people will also know in advance when a new patch is coming for some 0-day exploit that might leave them vulnerable.

Compared to your setup at home, where you will patch it "eventually" (at the earliest when you get home from work), and you won't know if you're the target of an attack until your server gives up.

Not to mention the risk of losing other data. The LastPass leak a couple of years ago was made possible by attackers gaining access to an unpatched Plex server on a developers home network, from which they could gain access to his work laptop. LastPass had questionable security practices sure, but the validity of the attack still stands.