MurphyA/hacker-news huggingface dataset:
by uptownfunk | 2025-04-10 21:33:52+00:00
I will say, now after 15 years messing with this. With LLM I just do it all in Python. But, I still miss the elegance and simplicity of R for data manipulation and analysis. Especially the dplyr semantics. They really nailed it. I think they got crushed by the namespace / import system. There’s something about R that makes you so fluid and intuitive. But the engineering, the efficiency, I get with Python now, I can’t go back.
by trelane | 2025-04-10 21:33:54+00:00
Depends on how you like to code. I have two full screen frames on their own monitors with 5 or 6 side-by-side windows, and a stack of three vertical split windows on one side.

I like to have the side-by-side windows looking at different files (unless I'm in a really long file) and the stack of windows have vcs, messages, and sometimes eglot
by namaria | 2025-04-10 21:34:01+00:00
Good man I never said anything about AGI. Why do you keep responding to things I never said?

This whole exchange was you having knee-jerk reactions to things you imagined I said. It has been incredibly frustrating. And at the end you shrug and say "eh it's useful to me"??

I am talking about this because of deceitfulness, resource efficiency, societal implications of technology.
by almosthere | 2025-04-10 21:34:21+00:00
If we had hard tough luck challenges, we'd be happily moving mountains to overcome them. Unfortunately we're placated babies sucking on pacifiers trying to make issues out of anything so that we can stay entertained.

Meanwhile, serious countries have had us in their sights for 20 or 30 years and a major conflict to take the USA out is coming. It may be war, but hopefully it is just economic war.
by xurias | 2025-04-10 21:34:44+00:00
Who do you think voted for Trump? You point out that it's perfectly possible to live a "simple" rural life.

I see https://en.wikipedia.org/wiki/Beggars_in_Spain and the reason why they vote the way they do. Modern society has left them behind, abandoned them, and not given them any way to keep up with the rest of the US. Now they're getting taken advantage of by the wealthy like Trump, Murdoch, Musk, etc. who use their unhappiness to rage against the machine.

> My money is that rural towns USA will look almost identical in 30 years from now.

You mean poor, uneducated and without any real prospects of anything like a career? Pretty much. Except there will be far more people who are impoverished and with no hope for the future. I don't see any of this as a good thing.
by simonw | 2025-04-10 21:34:50+00:00
Can we be sure that research became part of their mainline model development process as opposed to being an interesting side-quest?

Are Gemini and DeepSeek and Llama and other strong coding models using the same ideas?

Llama and DeepSeek are at least slightly more open about their training processes so there might be clues in their papers (that's a lot of stuff to crunch through though).
by BrandoElFollito | 2025-04-10 21:34:50+00:00
No, of course not. You come with the whole package but we do not care.

We do not care of you support black live matters or trump or abortion. This is your thing and except if you are with people who want to discuss this you let keep it to yourself. There are plenty of people that are Ken to discuss, we are not prude.

This is so obvious to me that I feel I must be missing something.
by johnnyanmac | 2025-04-10 21:35:39+00:00
I can't imagine trying to keep working while there's no pay coming in. I know the industry is brutal, but I won't be able to work if I get evicted from my home. Especially as a contractor, you gotta look out for yourself. If they stop paying, I stop |providing services. The world wouldn't be any different towards me in that regard.
by bad_user | 2025-04-10 21:36:25+00:00
I have yet to enjoy any of the "creative" slop coming out of LLMs.

Maybe some day I will, but I find it hard to believe it, given a LLM just copies its training material. All the creativity comes from the human input, but even though people can now cheaply copy the style of actual artists, that doesn't mean they can make it work.

Art is interesting because it is created by humans, not despite it. For example, poetry is interesting because it makes you think about what did the author mean. With LLMs there is no author, which makes those generated poems garbage.

I'm not saying that it can't work at all, it can, but not in the way people think. I subscribe to George Orwell's dystopian view from 1984 who already imagined the "versificator".
by davepeck | 2025-04-10 21:36:31+00:00
One place we landed with PEP 750 is that Template instances have no natural string rendering.

That is, you must process a Template in some way to get a useful string out the other side. This is why Template.__str__() is spec'd to be the same as Template.__repr__().

If you want to render a Template like an f-string for some reason, the pep750 examples repo contains an implementation of an `f(template: Template) -> str` method: https://github.com/davepeck/pep750-examples/blob/main/pep/fs...

This could be revisited, for instance to add `Template.format()` in the future.
by dylan604 | 2025-04-10 21:36:34+00:00
TikTok was mobile device centric, and the people that glommed onto it quickest were young mobile users. StumbleUpon was just a website that the "olds" used. Maybe I'm wrong, but did SU have a mobile app? If so, they did a very bad job of getting it into the hands of those that TikTok did.
by wubrr | 2025-04-10 21:36:44+00:00
> In the same book, there's a rough explanation for language which describe the three elements that define it: Symbols or terms, the grammar (or the rules for using the symbols), and a dictionary which maps the symbols to things and the rules to interactions in another domain that we already accept as truth.

There are 2 types of grammar for natural language - descriptive (how the language actually works and is used) and prescriptive (a set of rule about how a language should be used). There is no known complete and consistent rule-based grammar for any natural human language - all of these grammar are based on some person or people, in a particular period of time, selecting a subset of the real descriptive grammar of the language and saying 'this is the better way'. Prescriptive, rule-based grammar is not at all how humans learn their first language, nor is prescriptive grammar generally complete or consistent. Babies can easily learn any language, even ones that do not have any prescriptive grammar rules, just by observing - there have been many studies that confirm this.

> there's a lot of training done with corrections when we say a sentence incorrectly.

There's a lot of the same training for LLMs.

> So LLMs learn the symbols and the rules, but not the whole dictionary. It can use the rules to create correct sentences, and relates some symbols to other, but ultimately there's no dictionary behind it.

LLMs definitely learn 'the dictionary' (more accurately a set of relations/associations between words and other types of data) and much better than humans do, not that such a 'dictionary' is an actual determined part of the human brain.
by lostdog | 2025-04-10 21:37:03+00:00
It would suck for HN to devolve into politics news. Having a place to discuss and learn about tech topics is important.

That's not to say I don't care about the ongoing crisis (I do!). But I have plenty of other places to read about and discuss it. I don't really want it on HN more than once a week, because it will just drown out everything else.
by tylertreat | 2025-04-10 21:37:15+00:00
Koreo and Kro share a lot of similarities in that both allow you to build abstractions that encapsulate a lot of complexity. For instance, in Kro you could implement a ResourceGraphDefinition that builds a "Workload" abstraction that produces a Workload CRD that, say, lets you specify a container image, a database, and a bucket. Then when you create an instance of this CRD, Kro might map this to a Lambda function, RDS instance, and an S3 bucket, perhaps using ACK for example. In Koreo, this would be a Workflow that has various ResourceFunctions which produce the Lambda, RDS, and S3 bucket. Just like with Kro, this would be triggered off of a CRD. In essence, both let a platform team (or whoever) provide high-level APIs that encapsulate resource management.

One difference is just in how the two approach doing this. Koreo takes an approach of providing primitives that can be composed or reused and, importantly, are actually testable (since testing is a first-class thing in Koreo). This lets you more easily validate automations but also makes it easier to provide "building block" like components that can be shared between Workflows.

Another difference is in how Koreo solves configuration management. Rather than relying on string templating or unstructured YAML overlays, Koreo treats configuration as structured data. This allows you to specify and tweak configurations in a predictable and typesafe way by transforming, validating, and composing them programmatically. Koreo is very much modeled after functional programming principles, so we can, for instance, define functions that validate preconditions or apply standard tags to resources in an environment. This model also enables configuration reuse and overrides across teams and environments without introducing tight coupling or duplication. Instead, we can apply configuration "layers" to build up a resource. Kro really focuses more on resource orchestration and leaves the configuration management up to the user.
by doublerabbit | 2025-04-10 21:37:39+00:00
If your website provides me a respectable and decent service I am going to take that over than say a website that's open 24/7.

The same amount of quality will cost more for 24/7 availability so the likelihood of them cutting corners is more likely and thas causing a lack of quality. If however they don't then yeah, I guess you would.

You can't even read amazon reviews without logging in, now all you get is an AI generated summary.

My broadband provider is more expensive than the common domestic provider but they provide decent support so that's why I am content in forking the extra cost.
by no_wizard | 2025-04-10 21:38:10+00:00
I have heard this many times about Cloudflare. Its very odd how (seemingly) dysfunctional their sales pipeline is.

It should be really easy. All their competitors make it easy, anyway. Not sure whats going on here.

Thankfully for most situations their self serve options are clear and transparent I've found, but the fact remains that sometimes you need that enterprise agreement like in your case, or in cases where you want to do tenant software (IE building on Cloudflare as core infrastructure for a SaaS)
by gruez | 2025-04-10 21:38:16+00:00
>It's surreal to see the usual rewrite-in-Rust articles and such still dominating the main page during an ongoing and fairly open effort to end liberal democracy in the US and upend the entire world trade & security order.

Did you miss this post from yesterday, with 697 points and 1406 comments? https://news.ycombinator.com/item?id=43634806

or maybe a tariff adjacent story with 674 points and 980 comments? https://news.ycombinator.com/item?id=43631543
by ein0p | 2025-04-10 21:38:25+00:00
FWIW I had moderate sleep apnea (nowhere near as bad as what you're describing) and I "cured" it by forcing myself to breathe through my nose at least 90% of the time, including when sleeping. Some people tape their mouth shut, but I can't do that - I have a beard. Breathing through the nose seems to have fixed the permanently runny nose as well, I don't know why. I know it's all individual and what worked for me might not work for everyone, but IMO it's worth a try. The downside is, until the corresponding musculature regains strength you will feel like you're out of air. It'll take 3-4 weeks to fully adjust. It'll pass, don't worry.
by ty6853 | 2025-04-10 21:38:45+00:00
I know who to blame. I think I know exactly what protocol they were shaking down on this guy because my passport was flagged on a similar list after fighting in a Syrian militia for a US ally that US government employees often support. Which isn't illegal, but for whatever reason seems to have pissed off CBP.

The point is you're dealing with a hostile agency that hates Americans. You can't control what unaccountable tyrants do, only what you do.
by PaulHoule | 2025-04-10 21:38:53+00:00
Two concerns. (1) Humans already have a lot of longevity factors compared to other animals so drugs that extend life in mice might just be bringing them closer to where we are already. This experiment (expensively) used primates so it is more interesting than usual. (2) Metformin seems to suppress the beneficial metabolic response to exercise! See

https://www.science.org/content/blog-post/metformin-and-exer...
by johnnyanmac | 2025-04-10 21:39:36+00:00
Perhaps in the 90s where we still had some semblance of a social contract on taking care of your debts and your workers.

In the 20's, that's all been torn down. Gifting isn't only commonplace but are being busted out at untold scales these days. There's no sense of community, networks are weaker than ever, and workers have less right than ever, so everyone's struggling. This is all doubly true for the games industry.
by davepeck | 2025-04-10 21:39:55+00:00
> Agreed, although this doesn't work as well for HTML or SQL that doesn't fit on one line.

PEP 750 t-strings literals work with python's tripe-quote syntax (and its lesser-used implicit string concat syntax):

lots_of_html = t""" <div> <main> <h1>Hello</h1> </main> </div> """

My hope is that we'll quickly see the tooling ecosystem catch up and -- just like in JavaScript-land -- support syntax coloring and formatting specific types of content in t-strings, like HTML.
by itishappy | 2025-04-10 21:40:00+00:00
Oh, I'm pretty sure I didn't understand your example and am probably missing something obvious. That's why I'm here asking dumb questions!

I think I'm following more, and I see how you can accomplish this by encapsulating the rendering, but I'm still not seeing how this is possible with user facing f-strings. Think you can write up a quick example?
by _cs2017_ | 2025-04-10 21:40:46+00:00
Thank you! Curious what options for deferred evalution were considered and rejected? IMHO, the main benefit of deferred evaluation isn't in the saving of a bit of code to define a deferred evaluation class, but in standardazing the API so that anyone can read the code without having to learn what it means in each project.

Also: were prompt templates for LLM prompt chaining a use case that influenced the design in any way (examples being LangChain and dozens of other libraries with similar functionlity)?
by nhumrich | 2025-04-10 21:41:03+00:00
> You could achieve the same thing with a function returning an f-string no no.

> just use a tag type and a sanitisation function that takes a string and returns the type

Okay, so you have a `sqlstring(somestring)` function, and the dev has to call it. But... what if they pass in an f-string?

`sqlstring(f'select from mytable where col = {value}')`

You havent actually prevented/enforced anything. With template strings, its turtles all the way down. You can enforce they pass in a template and you can safely escape anything that is a variable because its impossible to have a variable type (possible injection) in the template literal.
by llm_nerd | 2025-04-10 21:41:16+00:00
It won't be deleted, but instead will be flagged so it won't front page.

You can still find flagged content on https://news.ycombinator.com/active, which seems like a reasonable compromise. This site shouldn't devolve into discussing every political event -- which usually means American political event because that country has descended into an idiocracy that seems to really like Reality TV-style governments full of imbeciles and plastic faced sociopaths -- but people can still have their release valve as necessary if they seek it out.
by janalsncm | 2025-04-10 21:41:21+00:00
Omni bar solves an obvious problem: the vast majority of the time showing a DNS error is way less useful than guessing where the user meant to go. That’s the alternative.

If I set my default search engine to Mojeek and type in “spotify” will they not suggest spotify.com? If I type in “sp<tab><enter>” is that taking away my agency from potentially going to spootify.com instead?

I am game for a conversation on the power of defaults and monopolies but that’s very different from saying suggestions are bad because people should just remember everything.
by the_af | 2025-04-10 21:41:23+00:00
I don't think the concern is that Davis "did it for the money", and that's not a fair representation of why some of us mock Jim Davis.

I don't think anybody is arguing comic authors shouldn't make money out of their work.

The concern is that Garfield is the product of conscious market research and not whatever we imagine a comic artist goes through when creating their comics. You can dismiss this as some ridiculous search for "purity", but wouldn't you say most people imagine Watterson, Schultz, etc. went through a process more or less "I liked these other cartoons, and wouldn't it be cool to make something about <idea>/<childhood memories>/<something that inspired me>/<something that worries me>" vs "hey, let's make money, what kind of character would make me the most money?".

Davis is not the only one, of course.
by Waterluvian | 2025-04-10 21:42:07+00:00
I often read concerns that complexity keeps being added to the language with yet another flavour of string or whatnot. Given that those who author and deliberate on PEPs are, kind of by definition, experts who spend a lot of time with the language, they might struggle to grok the Python experience from the perspective of a novice or beginner. How does the PEP process guard against this bias?
by cogman10 | 2025-04-10 21:42:17+00:00
Interesting but also seems like something that'll be a bit problematic to work with when vandalism happens.

The sensor is right outside the box, it'd be better if that was recessed and harder to see/access (I can see these little black dots getting little dabs of paint).

But, tbh, I don't really see the utility of this over equipping the postman with a scanning gun (or even phone) that does the same thing. You might still want 4g and solar panel, but I'd use those for a "there's something at this box" and not "let's scan it to let people know it's on the way".
by BrandoElFollito | 2025-04-10 21:42:24+00:00
The important thing for her will be the weather. This week was great, next week may be less great.

Another imprint thing is that this is vacation time for children in the Paris area. This is rather a good thing.

Besides that they're is nothing to worry about. Seriously. We discuss like crazy what is happening in the US but this is like a tv series. When we meet real Americans we don't care (well, someone may tease her a bit :))
by aseipp | 2025-04-10 21:43:16+00:00
I don't disagree in general but in Bazel's case this path has been heavily optimized. Maybe there are limits to it but "java startup slow" is a 101-level complaint.

In fact, I don't even think the client program for Bazel is written in Java, but C++, and the Java daemon it talks to is started when you first attach to a Bazel workspace and it persists, so subsequent interactions are very fast. Just running `bazel` randomly is not truly indicative of what using it feels like, because that's not what people actually use it for. People use it inside a build workspace, that is the case that matters.

Beyond that, other build systems like Buck2 (Rust) also use the client-daemon architecture for a number of other reasons, including the fact that actually-really-large build graphs are far too large to rebuild on every invocation, so the daemon is necessary to keep the build graph and interactively analyze and incrementally invalidate it on demand. Doesn't matter if it's Rust or Java, these things are architectural. That's also one of the points of the article, of course, and why they're theorizing about server-side analysis caches and graphs, etc.

This all indicates to me that the people designing these systems actually do care about interactivity of their tool. It is not a matter of "java startup slow" to use a client-server design, though it certainly is known to help.
by munk-a | 2025-04-10 21:43:26+00:00
B2B websites often can keep regular business hours - if your customer base is working professionals in NA then outside of 9AM-8PM EST your site traffic probably drops dramatically. At my company we looked at analytics and realized our traffic is almost exclusively 9-5 EST while most folks work 9-5 PST so we just do large deploys after 4 PST.

I think being aware of your traffic patterns and incorporating that into business decisions is a great idea. OT, especially for potentially hair pulling off hours deployments, costs a lot of employee happiness - reserve it for when it's actually an emergency.
Ask HN: How are you using technology to fight fascism?
by frogperson | 2025-04-10 21:43:28+00:00
We have all seen the headlines, we all know the sad state of affairs in US politics right now. Sometimes it feels like we are on a one way rocket trip to a not so nice place. For those of us that refuse to board the rocket, remain silent, or submit without a fight, I have a question for you.

How can we use technology to fight back?

This community is full of brilliant minds, and I'd like to have a discussion about what works, what doesn't work, and any interesting concepts that haven't yet been tested.

I know this isn't the typical topic here at HN, but it is technology related, and I hope the Mods will graciously allow us to have a civil discussion in good faith.
by deepsun | 2025-04-10 21:43:29+00:00
I only partially agree with "you can't force people". I think that all people are just like children, but bigger. You can force a kid to not eat to much sugar, even when they want to.

Same with education, for example you can financially force people to learn, say, computer science instead of liberal arts. Even when they don't like it. It's harder, less efficient, but possible.
by johnnyanmac | 2025-04-10 21:43:30+00:00
There's "benefit from financially" and then there's "can survive on the income". Mostly likely any early projects won't even be Doordash levels of compensating. Especially in games which this thread focuses on. 6+.moknths of work and half of the indie games can't even break $2000.

Given current times, I understand not having time for hobby projects while trying to survive.
by eternityforest | 2025-04-10 21:43:33+00:00
Whatever is going on in a LISPers mind is pretty impressive.

Deeply nested structures are one of the absolute most common things I see in code that makes it harder to read than it needs to be.

When something is nested, every level of nesting is part of the context you need to understand, and more than a few levels just doesn't fit on a screen when you indent it.

Often if there are any syntax errors, auto format won't work, so you have to be careful or else wind up possibly spending several minutes just figuring out where a closing brace or closing tag is supposed to go.

Just the structure alone is hard enough, but then on top of it, the language itself is flexible and full of user defined syntax, and lots of flavors don't even have any static typing.

It seems almost like a language for computer science more than for programming.