skysight-inc/HackerNews huggingface dataset:
I think that yes, there is a better way. You have a function that calls the API, then take the output and call another function that calls the API, inserting the first output into the second one's prompt using an f-string or whatever. You can have a helper function that has defaults for model params or something.

You don't need an abstraction at all really. Inserting the previous output into the new prompt is one line of code, and calling the API is another line of code.

If you really feel like you need to abstract that then you can make an additional helper function. But often you want to do different things at each stage so that doesn't really help.
Perhaps the more direct comparison is RHEL with 10 years of normal support and more if you're willing to pay more ( https://www.redhat.com/en/resources/els-datasheet ) and Ubuntu with... looks like 5-12 years depending on how much you pay?
I know that it is impossible, but it was fun to try to make a 5 color map work. That being said, is this a bug? https://imgur.com/a/zbkYg9j

I can't seem to wrap my head around why this isn't 3 colors.
I understand what you're trying to say, but get a map out: Maine does not border Mass, and none of our cellphone network segments touch. If I drive from Boston to Bangor (nearest major city), I will touch somewhere around 40 distinct networks during that trip ~4-5hr trip, and will have to pass through NH.

This is about 250 miles away. I assume you're west coast, this is approximately twice the distance between Seattle and Vancouver, or half the distance between SF and Seattle.
You could, but as described that would be a crime (almost certainly multiple crimes). Fraud, breach of fiduciary duty, self-dealing, just to name a few avenues that a prosecution could pursue.
What are you proposing? That childhood now just is an isolated and gloomy affair, and we should just accept it? Price of progress and all?
> in a vast, global cooperative

I don't mean to dismiss the larger truth here about humanity's responsibility to exercise restraint in playing the impossibly strong 5-ace hand it was dealt by natural selection.

But the naturalistic fallacy has a knack for hiding its sharpest razors among the soft folds of words like "cooperative."

The universe appears, as far as we can tell, overwhelmingly hostile toward life with the sole observed exception of our precariously balanced biosphere.

And that biosphere is itself a circulatory system built on exploitation, consumption, and predation - host to endless torrent of unimaginable agonies which are both staggeringly abundant and structurally inalienable from the matrix of this 'cooperative' system.

It's hard, as another HN'er once succinctly put it, to be more cruel than Nature.
+1 to CFPB

My account at Venmo was banned with zero explanation and no support would talk to me on the phone. I submitted a complaint to the CFPB, got a phone response within 2 weeks, and was promptly unbanned.
LangChain itself blows my mind as one of the most useless libraries to exist. I hope this does not come off the wrong way but so many people told me they were using it so it was easy to move been models. I just did not understand it, these are simple API calls that felt like Web Dev 101 when starting a new product. Maybe its that so many new people were coming into the field using LLM but it surprised me as even what I thought were experienced people were struggling. Its like LLMs brought out the confusion in people.

It was interesting as a library at the very beginning to see how people were thinking about patterns but pretty useless in production.
Didn’t he get sued and settle with Ubiquiti because he refused to retract a statement that implied Ubiquiti willingly put in multiple backdoors into their own products and that customer information had been breached? Which was entirely false?
Meanwhile in the previous episode they were pushing startups to jump on the LLM hype-wagon or risk being left behind.

YC seems to be focusing more on whatever the buzzword topic that is trending amongst the Twitter monoculture.

Rather than educating founders on more fundamental topics such as how to get from 0-1, how to hire, fostering positive culture etc. For which there is still such little content on.
The signing process might be whacky but the actual swift and swift ui is quite pleasant to use.
Massive Cyberattacks Are Hitting More Than 15,000 Car Dealerships Right Now
3D Printed Macintosh Studio and iPad Mini Dock
Not all 'open source' AI models are open: here's a ranking
That's a really good point. I'm using macOS and I tested -w option against a CSV file that is about 430MB in size and has about 18,000,000 words in it. The time was 0.989. When I ran wc2 on the same file, it clocked in at 0.943.

I wondered what I was doing wrong and came back to the comments section and found your comment. Ah.

Edit: interestingly, the newline count time was 0.458 with the macOS version and 0.943 with wc2.
>That would be a stronger claim than the one I made which is just that life exists in some form somewhere else in the universe with a relatively high abundance and it’s highly likely intelligent life exists somewhere as well.

Sure, but we're probably thinking of "intelligent life that can build a civilization", right? In that case, highly-intelligent alien orcas aren't going to meet the requirement. They just don't have a body type that allows them to change their environment and build technology. If there really are alien civilizations out there, like in Star Trek, that show might not actually be that far off with its assumption that 95% of them are humanoid. And in this case, there could very well be lots of other intelligent life, but which never managed to build a civilization.
The $375M Slice
I'd still prefer to have an intern.

However, it's because I'd empower the intern to use Claude or GPT to be even more productive.
One thing worth pointing out. If you don’t mind using GitHub or Google you can get “SSO at home” for a lot of things, since most
SaaS provide Google/Github login in their lower priced tiers. It will usually be OIDC based and not SAML, but it’s definitely possible to use these providers up to a quite significant scale.
Why I was dabbling in capoeira my trainer pointed multiple times, that my mediocre stamina during train sessions was due my holding my breath. I did not quite believe her, but still I wonder how often this is an issue in sport activities.
No, I'm not confused at all. There is no "red matter" in Star Trek.

Are you one of those people who continues to insist falsely that there was more than 1 Matrix movie, or more than 3 Star Wars movies?
usable to do what? Docker is a basic requirement to do any dev work these days and Userland cannot run it
Tesla owners file class-action alleging repair, parts monopoly
I might have dyslexia as I have difficulty reading large numbers (phone numbers, numbers >100k, etc). I can never read a number like "12333456". Therefore I built this tiny Visual Studio Code extension to help me format large numbers (I know, we could use _ in many programming languages, but that doesn't seem to work for JSON and YAML)
Ask HN: Has anyone else found it harder to review code recently?
The last 12-18 months or so I've started to realize that I'm having a harder time reviewing code, especially if that code is from a stranger (e.g. on an OSS project) or a new colleague.

I find that I will take a first glance at the code, notice the inclusion of some more advanced concept or technique, and instinctually I'll assume the code is the product of a more seasoned developer. Then, quite often, I'll come across something in the code that doesn't make sense. My initial reaction is to assume the author of this code is using some new technique or approach I'm not familiar with. I'll dig and search and turn myself inside out trying to figure out what I'm missing...only to eventually come to the conclusion that I haven't actually missed anything.

No, the reason the code didn't make sense to me is because the code just...doesn't make sense. It was not the product of some seasoned developer, but rather of a junior developer who has simply made a series of run-of-the-mill junior-developer-mistakes. In the past I would have been able to pick these sorts of mistakes out from a mile away. Now I find I have to see past the patina of pseudo-sophisticated LLM-generated code first before I can start the review process.
This is lovely. The Ux isn’t my favourite when it’s time to draw but it’s pretty great besides that
I understand being stuck on Solaris 10, but if you don't like CDE you could theoretically install something else; didn't it even officially ship with GNOME 2 out of the box?

(This is slightly funny to me, too, because I sometimes run CDE on my shiny new Linux boxes out of a combination of nostalgia and dislike for the endless change of new things. As you say, I can install the latest CDE release, fire it up, and return to 15 years ago, if not more. Windows 11? Never heard of it. GNOME? Well Sun brands it the "Java Desktop", but whatever. CDE is the same as last time I saw it, and it will be the next time I see it. It's clunky, but that's a small price to pay for a quiet corner of the world frozen in time.)
on "some" phones
I guess we both need to cite our sources. Mine is this one, which shows the federal budget revenue being comprised of 50% individual income tax in 2023: https://www.cbo.gov/publication/59727

NASA’s budget comes from the the federal budget, managed by congress, not directly from the Treasury. I don’t necessarily think that matters, but I don’t know if the federal budget’s revenue differs from the Treasury’s for any reason, so it seems worth mentioning.

That said, I just looked and the Treasury’s own website matches the congressional budget office’s claim, and says that 52% of the 2024 revenue was individual income tax … so where did you get the 85% number?? https://fiscaldata.treasury.gov/americas-finance-guide/gover...
Citing national security, US will ban Kaspersky anti-virus software in July
To be honest, I can't understand most of this, but it makes me want to learn more math, as someone who's still an undergraduate in the US. Previously, I had only heard of terms like functors and free algebras in the context of programming in Haskell or Isabelle.
What a great idea! Ones server could serve the latest tweet, or current location, anything. I think there are a lot of risks, sanitizing input from “random” hosts mostly, there’s a chance that it could hurt your server when retrieved/stored or the client when it’s rendered. I wonder if you converted the curl results to a small gif, would that help or hurt the experience? One could run the conversion code in some sandbox, like FaaS.
I'll choose the one I can get rid of at will without even having to vote
Check out Guardian Ag
I never had any real awareness of him as an actor (M.A.S.H was just a few years before my time), but as the best tribute I have at hand, a nugget of trivia:

Dragon Quest VII has a party member named Kiefer, the disobedient prince of the Kingdom of Estard (a wayward prince in Dragon Quest; quelle surprise). In the original game, his father's name was Burns, but the English translators for the 3DS remake decided that "King Donald" sounded better.
Uh, no. It's actually extremely effective against the target variant. The original Wuhan strain is extinct as a result. In areas with high vaccine uptake, the population has very high levels of neutralizing antibodies against it, to this day. Even if it somehow broke out again, it would die off within weeks, as most of the population is immune to it.

Evolution has driven the virus away from the neutralizing antibodies. This is called immune escape. Recent variants have very little antigenic overlap with the original strain. The original antibodies are not very effective, so people can actually get sick once again.

The FDA now updates the vaccine formulation every year. This means that every year, there is a time window during which the vaccine formulation and the circulating variant are the same. If you get an updated shot as soon as it becomes available, you're immune for all practical purposes until a new variant emerges.
Now we have to argue about "culture". I'd say, movies and net series are culture and well funded and popular with the public. No need for subsidies for unpopular "theater". Also, according to that same episode of freakonomics, average income for theater goes is $270k a year. Those fans can afford to pay for their preferred entertainment. The government does not need to subsides them.
I think you just don't come off very convincing.
I don't think it is a big problem given functions like fs.readFileSync already exists. It doesn't have to be a JS standard but be a server-side JS runtime specific function, which can be used when hacks are needed.
The healthcare industry has been thoroughly regulatory captured, so profits generally represent steeper zero-sum wealth extraction rather than having provided mutually consensual transactions. We likely agree that the main dysfunction of the healthcare industry is the complete lack of price signals, but without multiple key dynamics being fixed (off the top of my head: the nonsensical ability to create post-facto bills not based on any contract, anti-competitive arrangement between "insurance" and "providers" in the form of price fixing "networks", lack of statutory maximum rates for emergency care), superficial deregulation would only make the problem worse.
Entertaining, you won't be disappointed - but it's been a while since I've seen 1990s themed webpages with colorful wallpaper backgrounds and iframes, and this is definitely one of those. I didn't realize how hard those are to read these days.
They are already required to report this aren’t they?
My view: look at most of the real problems we face today. They require solutions consisting of:

1) Engineering (what software folks call hardware), especially cross-functional engineering across several fields, such as chemical and electrical.

2) Software, typically including applications of ML.

3) R&D. Research And Development, folks. The thing investors don't want you to do.

Those types of companies will almost never come out of venture capital. They start with a small founder investment (what VCs tell us is called 'bootstrapping'), significantly supported by federal government grants and contracts (the best source of funding for true R&D), and then product development and commercialization.

The ZIRP-era of pure software, VC-driven type of technology entrepreneurship tries to skip all the way to the end, scale beyond all bounds, and exit big and fast. No wonder we're experiencing groupthink, and why the Bay Area is hollowing out: in this form of technology entrepreneurship, there is no deep economic basis for growth.

In short: technology entrepreneurs should take on technology risk. That means raising capital late, not early, because investors will always be skittish about R&D and longer timeframes. And it means following your own vision first and foremost, rather than letting venture capitalists define how you see the world.

Investors are not where the action is. It is founders and early employees who built the likes of Sony, Qualcomm, General Atomics -- each of these, a real technology company.
> Hungary has already said that it has plans to continue negotiations.

But at the same time Hungary loathes the EU. If anything, they are doing it for the money, no?
If they wanted to handle this using minimal automation, they could.

> That they want to be sued?

Q.E.D. It has been demonstrated by their system design.
You still retain the ability to load the APK and use the app, even if ByteDance withdraws from the US market.

What ByteDance should not be able to do is profiteering and monetising while aiding and abetting pro-Chinese propaganda on their platform.
At Guardian Ag we’re building aerial products for American scale farms. This tech is taking off world wide!
They should ban never-ending scrolling. User interfaces should be required to divide content into discrete pages.
Er, does it? Do you have a source to suggest that?
I can respect that position. When I reflect on permaculture design, or Christopher Alexander's ideas, for example, the Western modernity did not have to turn out the way it did.

I can't say that non-Western empire cultures were that much better from that lens.

The one I had been studying for the past year or so was the Chinese. During the 1500s and 1600s, technologies for warfare was just as rampant. The Ming and the Jinchurens were fielding firearms as enthusiastically as anywhere else. The 1800s when many places were industrializing, the Qing dynasty was wracked with uprisings, revolts, and a civil war with a scale comparable to WWI in terms of numbers of dead and cities razed. This unrest was the result of centuries of increasing marginalization of young people being shut out from economic opportunities, and widespread access to the ability to inflict violence.

But I can't even say that even if the Qing did not have that internal instability, would they have done better? The telegraph was invented in the mid 1800s, and it started globalizing markets because of information transmission. It is considerably difficult to map Chinese ideographs to the equivalent of Morse code, even if the literati were not using the ability to read and write maintain status.
> And if you want to peak train nerd like me: raildriver.com

This... is amazing!!
Ah, the halcyon days of March 2023, we were a while loop away from AGI. I remember there was something that was It for like a month, to the point that whoever built the framework was treating a cocktail napkin on which they scribbled, whatever, "act, evaluate, decide next action, repeat", as if it was a historical talisman. And I wasn't sure! Maybe it was!
At the time that movie was made, looking at everyone involved and lack of track records, I can totally understand why he made the decision he did.
No, but the part where people don’t make a distinction between how they view paid support contracts and open source is. “Uncompensated labor of others” covers everything from sneaking into a concert to reading an entire book at the bookstore to pirating a movie/game to buying an academic license for something you use at work to harassing an open source maintainer into adding a change you want. Since I only wanted to talk about the last one, I used wording specific to that.
Would this JavaScript library even be useful to anybody?
> if SQL were directly an API

Isn't that what SQL/CLI is for? https://publications.opengroup.org/c451
It's also used to mean "characters interacting with each other" and sort of message passing between them. Not sure but I get the sense thats what the author is using it as
One point that stood out to me that I agree with is this:

> It is certainly worth knowing what content has been ingested. Mandating transparency about the content and source of training datasets—the generative AI supply chain—would go a long way towards encouraging frank discussions between disputing parties. But focusing on examples of inadvertent resemblances to the training data misses the point.

I think that’s a good idea because that at least opens the possibility for affected content creators to knock on the AI company’s door and demand parley.
This is the .net library code they're beating. It's hundreds of lines long and makes use of ARM SIMD or SSE2 depending on support available. Lemire and colleague have certainly improved on that algorithm if it's only 30 lines long.

https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...
back in the day, long before linux/gnu existed, i learned quite a bit on the unix philosophy from "The Unix Programming Environment" by Rob Pike and Brian Kernighan.
> Boeing could have been a 100+ year firm

Boeing was founded in 1916 so is currently just shy of 108 years old
Disappointed this is the single mention of Klute here.
I have a consumer app that swaps between the 5 bigs and wholeheartedly agree, except, God help you if you're doing Gemini. I somewhat regret hacking it into the same concepts as everyone else.

I should have built stronger separation boundaries with more general abstractions. It works fine, I haven't had any critical bugs / mistakes, but it's really nasty once you get to the actual JSON you'll send.

Google's was 100% designed by a committee of people who had never seen anyone else's API, and if they had, they would have dismissed it via NIH. (disclaimer: ex-Googler, no direct knowledge)
Every time I approached LangChain, contrary to the attitude of my colleagues, I could never figure out what the point of it was other than to fetishize certain design patterns. Interacting with an LLM in a useful way requires literally none of what LangChain has to offer, yet for a time it was on its way to being the de facto way to do anything with LLMs. It reminds me a lot of the false promise of ORMs, which is that if you trust the patterns then you can swap out the underlying engine and everything will still just work, and is more or less a fantasy.
I really like the idea of "good" and "bad" abstractions. I have absolutely built both.

This sentiment is echoed in this comment in reddit comment as well: https://www.reddit.com/r/LocalLLaMA/comments/1d4p1t6/comment....

Similarly to this post, I think that the "good" abstractions handle application logic (telemetry, state management, common complexity), and the "bad" abstractions make things abstract away tasks that you really need insight into.

This has been a big part of our philosophy on Burr (https://github.com/dagworks-inc/burr), and basically everything we build -- we never want to tell how people should interact with LLMs, rather solve the common problems. Still learning about what makes a good/bad abstraction in this space -- people really quickly reach for something like langchain then get sick of abstractions right after that and build their own stuff.
The median operating margins for hospitals is around 0% or some times negative.

No it isn’t. You are treating as arms’ length salaries what are in economic substance partnership distributions to de facto owners.
https://news.ycombinator.com/from?site=t3x.org
Whats the TLDR of this article?
Discussion (23 points, 2 hours ago, 15 comments) https://news.ycombinator.com/item?id=40743524
LangGraph is the primary reason I use LangChain - being able to express my flow as a state machine has been a boon to both the design of my platform as well as my own productivity.
Perhaps. But also throwing more flops at it has long been Ilya’s approach so it would be surprising. Notice also the reference to scale (“scale in peace”).
The idea was that a controller is instantiated per request, so constructor and then your method, index / post / list / ...

You could use your constructor as a shared place to set up the requirements for your method.
> It is an antiviral drug delivered by a long-lasting subdermal delivery implant.

I don't see anything to indicate it's an implant - the prescribing information [1] says it's a subQ injection, and the trial information [2] seems consistent with that.

[1]: https://www.gilead.com/-/media/files/pdfs/medicines/hiv/sunl...

[2]: https://classic.clinicaltrials.gov/ct2/show/NCT04994509
Yeah I thought the consensus against LangChain was formed a year ago, surprised to still be seeing these articles.
This is a good article, and I like the nuance it conveys. My takeaway from the article is that it highlights the need to identify what sources of information go into making a response. If a response uses the result of training on 10,000 documents and costs $0.0001, then every document gets its 1/10,000 fraction of 1/100 of a penny.

When there is a payout scheme with information source traceability, I'm willing to bet that no-charge information will be used in preference to everything else. Alternatively, we could stop the copyright thuggery, treat training data as a worldwide Commons resource, and distribute the profits from LLM companies to sovereign funds.