MurphyA/hacker-news huggingface dataset:
Show HN: Tgcli – Telegram CLI in Pure Rust (No TDLib)
by mrbeep | 2026-02-05 17:52:37+00:00
I built a Telegram CLI that's pure Rust with zero C/C++ dependencies. No TDLib, no OpenSSL — just `cargo build` and you're done.

Features:
- Incremental sync with checkpoints (fast subsequent syncs)
- Full-text search via FTS5 (local) + global Telegram API search
- Send messages, files, voice notes, stickers, polls
- Manage chats, folders, contacts, reactions
- Admin commands for groups (ban/kick/promote)
- Human-readable tables or --json output

Particularly useful for LLM agents (OpenClaw, etc.) — there's a SKILL.md in the repo with all commands documented for AI consumption. Agents can sync, search, and send messages programmatically.

Install:
brew tap dgrr/tgcli
brew install tgcli

Or: cargo install tgcli
by Someone1234 | 2026-02-05 17:52:59+00:00
Does anyone with more insight into the AI/LLM industry happen to know if the cost to run them in normal user-workflows is falling? The reason I'm asking is because "agent teams" while a cool concept, it largely constrained by the economics of running multiple LLM agents (i.e. plans/API calls that make this practical at scale are expensive).

A year or more ago, I read that both Anthropic and OpenAI were losing money on every single request even for their paid subscribers, and I don't know if that has changed with more efficient hardware/software improvements/caching.
by omoikane | 2026-02-05 17:53:09+00:00
Electricity cost in California is generally more expensive than most other US states, except Hawaii. Not sure why.

Perhaps Comma needed the datacenter to be in San Diego for latency or other reasons, but if they need it mostly for compute, it would have been cheaper to operate their datacenter elsewhere... but if we keep going down that path, maybe it actually becomes cheaper to rent a cloud after all.
by acdha | 2026-02-05 17:53:29+00:00
> Much of the "cloud so expensive" crowd are just engineers too narrowly focused on a small part of the picture, or in denial about their ability to compete with the competence of cloud providers

This has been my experience as well. There are legitimate points of criticism but every time I’ve seen someone try to make that argument it’s been comparing significantly different levels of service (e.g. a storage comparison equating S3 with tape) or leaving out entire categories of cost like the time someone tried to say their bare metal costs for a two server database cluster was comparable to RDS despite not even having things like power or backups.
by somenameforme | 2026-02-05 17:53:30+00:00
No it obviously is not. You do not have a right to stay in a country illegally, anywhere in this world. If you want to migrate to a country, you need that country's permission. Without it you are an illegal alien and will, at the minimum, be removed from that country as soon as you are caught. In many places in this world you then may end up in detention - potentially indefinitely, imprisoned, fined, and so on. The US system, which is mostly just giving you a 'free' ride home, funded by US taxpayers, is incredibly lenient.

There is no in group, out group, or whatever else. Go to Mexico or Canada illegally, as an American, and you're getting deported, same as everybody and everywhere else. Vice versa if a Canadian, Brit, or whoever else comes into the US illegally, they're also getting deported.
by aristofun | 2026-02-05 17:53:38+00:00
I wonder for every Dropbox how many similar products are there in the graveyard.

Technically I understand the market fit as the point where your unit economy starts making ends meet and showing positive dynamic. If for every dollar spent (on everything including and most importantly user acquisition) you can prove yourself that you get >1$ returns, your business model works.

And I doubt there is a simple strategy for that, or even a finite number of strategies, even complex ones that can guarantee you anything.

And I'm sure nobody truly knows "in advance that it'll succeed" whatever "it" is.
by mrguyorama | 2026-02-05 17:53:48+00:00
You being personally ignorant of this specific argument which gets litigated every single time this comes up but only by Americans because most other countries have zero difficulty doing exactly that is not a valid argument.

91 percent of American filers take the standard deduction. The IRS already has all their information, already knows how much they withheld, already knows what they owe back. For all these people, TurboTax is just filling in 10 fields in the standard form.

"All your tax deductibles" is irrelevant for the vast majority of the country, and always has been.

The 35 million remaining americans who do itemize are free to continue using this old system while the rest of us can have a better world.
by tstrimple | 2026-02-05 17:54:13+00:00
My wife and I are both "book a week minimum" readers. In 2025 she finished 80 novels. I was in the mid 70's. We've been doing this basically since middle school uninterrupted. Reading is just our preferred form of consumption based entertainment. Last year we watched maybe five movies and I finally got my wife to sit through the fourth season of The Wire. The only "modern" show we're actively watching is The Pitt.

It's starting to sound like reading books has a similar distribution as consuming cannabis. The "daily" users account for 3/4ths of the spending on cannabis despite being 1/3rd of overall users. The heavy consumers consume A LOT and skew the statistics.
by jacob_lev | 2026-02-05 17:54:28+00:00
The idea: Most trading interfaces are charts and candlesticks. I wanted something visual and tactile like a game board. So I built a grid system where each cell = a trade.

The build took 6 months solo (React + Web3 backend)

What I’d do differently: Start community-building before the build, not after. Classic mistake.

Tell me what do you think? Too simplified, or refreshingly direct?
by mFixman | 2026-02-05 17:55:20+00:00
I found that "Agentic Search" is generally useless in most LLMs since sites with useful data tend to block AI models.

The answer to "when is it cheaper to buy two singles rather than one return between Cambridge to London?" is available in sites such as BRFares, but no LLM can scrape it so it just makes up a generic useless answer.
by ralferoo | 2026-02-05 17:55:35+00:00
Sadly, it doesn't handle dropping columns well in sqlite. Actually, it was news to me that DROP COLUMN has been added into sqlite somewhat recently, but certainly the version you'll get on most devices doesn't include it.

But anyway, from the example for sqlite, I added "x integer not null," to the original table, and was greeted with "-- Skipped: ALTER TABLE books DROP COLUMN x". Then ticked the "Enable DROP" and got the same, except with the line uncommented.

Such a shame, this is one thing that would make a lot of difference. FWIW, the standard way of doing this is creating a temporary table with the new data, dropping the original table, and recreating the new table, copying the data across and deleting the temporary. It's kind of a shame that it doesn't automate that, and this is one of those things that's incredibly easy to mess up if you're not careful, especially if there are constraints involved.

If it just does the easy stuff, you might as well just do it by hand.
by m3047 | 2026-02-05 17:56:07+00:00
Rules are just rules. You can put things in a domain name which don't work as hostnames. Really the only place this is enforced by policy is at the public registrar level. Only place I've run into it at the code level is in a SCADA platform blocking a CNAME record (which followed "legal" hostname rules) pointing to something which didn't. The platform uses jython / python2 as its scripting layer; it's java; it's a special real-time java: plenty of places to look for what goes wrong, I didn't bother.

People should know that they should treat the contents of their logs as unsanitized data... right? A decade ago I actually looked at this in the context of a (commercial) passive DNS, and it appeared that most of the stuff which wasn't a "valid" hostname was filtered before it went to the customers.
by famouswaffles | 2026-02-05 17:56:31+00:00
>I think he's a cook, watching people putting frozen "meals" in the microwave and telling himself: "hey! That's not cooking!".

It's the equivalent of saying anyone excited about being able to microwave Frozen meals is a hack who couldn't make it in the kitchen. I'm sorry, but if you don't see how ridiculous that assertion is then I don't know what to tell you.

>And I totally agree with him. Throwing some kind of fallacy in the air for the show doesn't make your argument, or lack of, more convincing.

A series of condescending statements meant to demean with no objective backing whatsoever is not an argument. What do you want me to say ? There's nothing worth addressing, other than pointing out how empty it is.

You think there aren't big shots, more accomplished than anyone in this conversation who are similarly enthusiastic?

You and OP have zero actual clue. At any advancement, regardless of how big or consequential, there are always people like that. It's very nice to feel smart and superior and degrade others, but people ought to be better than that.

So I'm sorry but I don't really care how superior a cook you think you are.
by heraldgeezer | 2026-02-05 17:56:33+00:00
I love Claude but use the free version so would love a Sonnet & Haiku update :)

I mainly use Haiku to save on tokens...

Also dont use CC but I use the chatbot site or app... Claude is just much better than GPT even in conversations. Straight to the point. No cringe emoji lists.

When Claude runs out I switch to Mistral Le Chat, also just the site or app. Or duck.ai has Haiku 3.5 in Free version.
by bradbeattie | 2026-02-05 17:57:19+00:00
The softer approach to this I've implemented in the past is to ingest and link up org data (user accounts, groups, projects, etc) into one central DB and then provide an audit notifications or dashboards to authorized users. Examples:

- Slack user detected with full access that isn't associated with a staff-grouped LDAP account
- Group A in System X doesn't match the members of Group A in System Y)
- Service Z provisioned, but their associated customer account is deactivated

These kinds of violations _can_ be automatically synchronized in a variety of ways, but I've seen that result in politically embarrassing outcomes (e.g. Sensitive user X is fired, their Slack account is automatically deactivated, people notice before some kind of staff meeting can be held to talk about what's going on).
by seanhunter | 2026-02-05 17:57:46+00:00
I broadly agree, but the place where psychology comes in in the continuous auction process. Just like a conventional auction, when prices start to go up, some people get overexcited and bid things up further, and conversely when people become terrified and stampede for the exits, selling assets at prices that are below any reasonable fundamental value. In the supply/demand model this is essentially the stock transitioning into being a Veblen good (where demand rises as price rises) and whatever the opposite of that is called, which is an interesting phenomenon and afaics purely psychological with no rational basis (unless you think greed/fear is rational I suppose)

That said, when people claim to distill the market psychology into a single recap or analyze the market psychology to predict future price, that's pretty much nonsense.
by bronco21016 | 2026-02-05 17:57:50+00:00
I used Claude Code (CC) to make my own MCPs for these apps. I gave it read/write access only, no ability to delete. Of course it could probably code it's way into doing that since it can access the MCP code. I don't run it in --yolo mode though.

I interact only with CC on the machine and watch what its doing, I haven't tried OpenClaw yet.

Here's some workflows I've personally found valuable:

- I have it read the "Grocery" Reminders list and find things I commonly buy every week and pre-populate the grocery list as a starting point. It only adds items that I haven't already added via Siri as the week goes on. For example, I might notice I've run out of cheese and I'll say "Hey Siri, add cheese to grocery list". The list is shared via iCloud Reminders app between my spouse and I.

- Pre-CC, I wrote an OR-Tools python tool for "solving" the parenting time calendar. My ex and I work inconsistent schedules each month. Each month I was manually creating a calendar honoring requests, hard constraints, and attempting to balance custody 50/50. CC uses the MCPs to fetch the calendar events and review emails related to planning. It then structures everything as JSON as inputs to the optimizer. The optimizer runs with these inputs and spits out a few "solutions". I review the candidate solutions and select one. CC uses the MCP to add the solution to the calendar. This one saves me probably an hour every month.

- CC uses an email MCP to fetch emails from my child's school and suggest events its found in the emails to add to the calendar.

None of these are huge time savings on their own but the accumulation of reducing the time to complete these repetitive tasks has been awesome in my opinion. These are all things that most definitely would not have been worth automating with traditional dev work but since I can just dictate to CC for a few seconds and it has something that works a few minutes later it's become worthwhile.
by kuerbel | 2026-02-05 17:58:21+00:00
It's because of the licenses mostly. If you buy e.g. business standard or business premium or whatever you want to make the most of it. Hey, there is a free chat app included, and it integrates so well with the rest of m365!

(Also most people don't know that you can still use a KMS with/for office 2024. You don't need M365.)
by majormajor | 2026-02-05 17:58:46+00:00
What prevents people from not doing what the policy says? Since neither "paper doc" policy nor "code policy" actually constrains humans from trying to exploit or work around the system, oversight and compliance still seem like messy human functions. Does this just become "more structured compliance documentation"? Which sounds nice, but not dramatically different.

And on the creation side, what prevents political fights over what goes into the "code policy" of exactly the same sort that lead to compromises or oddities in paper policies?
by ChuckMcM | 2026-02-05 17:59:14+00:00
Stocks are fine for diversification, just stocks that have a different risk factors. So back in the 90's I had been working at Sun then did a couple of startups, and all of my 'investment' savings (which I started with stock from the employee purchase plan at Sun) were in tech of one kind or another. No banking stocks, no pharmaceutical stocks, no manufacturing sector stocks. Just tech, and more precisely Internet technology stocks. So when the Internet bubble burst every stock I owned depreciated rapidly in price.

One of the reasons I told myself I "couldn't" diversify was because if I sold any of the stock to buy different stock I'd pay a lot of capital gains tax and the IRS would take half and now I'd only be half as wealthy.

Another reason was my management telling me I couldn't sell my stock during "quiet" periods (even though they seemed too) and so sometimes when I felt like selling it I "couldn't."

These days, especially with companies that do not have publicly traded stock, that is harder than ever to diversify. The cynic in me says they are structured that way so that employees are always the last to get paid. It can still work though. You just have to find a way to option the stock you are owed on a secondary market. Not surprisingly there are MBA types who really want to have a piece of an AI company and will help you do that.

So now I make sure that not everything I own is in one area. One can do that with mutual funds, and to some extent with index funds.

But the message is if you're feeling "wealthy" and maybe paying your mortgage payments by selling some stock every month, you are much more at risk than you might realize. One friend who worked at JDS Uniphase back in the day just sold their stock and bought their house, another kept their stock so that it could "keep growing" while selling it off in bits to pay their mortgage. When JDSU died they had to sell their house and move because they couldn't afford the mortgage payments on just their salary. But we have a new generation that is getting to make these choices, I encourage people in this situation to be open to the learning.
by xp84 | 2026-02-05 17:59:20+00:00
> You are a country of immigrants, and your greatness was built upon that foundation.

This makes a great talking point, but those immigrants eventually assimilated into the culture, and also importantly, they were specifically allowed to come because the US needed more people in order to power its economy. The Chinese came to build the railroad, the Irish and Italians and Germans came over and worked in factories and as police and many other industries. This was badly needed 100 years ago.

Today most illegal immigrants are uneducated and are either working in the unofficial economy or in service-sector jobs, which depresses wages for everyone with low education. We don't need every restaurant to have an unending stream of desperately poor would-be busboys and dishwashers, or for Uber to have a stream of poor drivers. Or for rich people to have an ample supply of housekeepers paid in cash. All that does is keep wages in the toilet for working people.

But about open borders, why are so many Latin American countries such bad places to live that so many of their people want to come to the US? Open borders just means anyone can walk right in and bring all of their problems with them, not to mention their drug and human trafficking operations and the criminal gangs that operate them. We already have enough of that as it is.

No Western country can stay civilized with open borders. Anyone with half a brain can see how it is going in the UK and France, where they are only a bit more "open borders" than the US has been. Thankfully for Americans, Latin-American culture is more compatible with Western culture than Islamic culture is.
Show HN: KlongPy array language now supports autograd
by eismcc | 2026-02-05 17:59:44+00:00
Hello HN!

I had some free time so I have been upgrading KlongPy.

KlongPy now supports PyTorch as a backend and autograd over the array language.

A while back someone on HN thought it would be cool to have Klong support autograd and I also thought that would be cool.

There's a lot of examples in https://github.com/briangu/klongpy/tree/main/examples/autogr...

but here's a taste:

f::{x^2} :" Define f(x) = x^2
f:>3 :" Compute f'(3) = 6.0

Looking for feedback on new operators and any obvious gaps. Thanks!

updated github pages: https://klongpy.org
repo: https://github.com/briangu/klongpy
by thehamkercat | 2026-02-05 17:59:58+00:00
Same with opencode and gemini, it's disgusting

Codex (by openai ironically) seems to be the fastest/most-responsive, opens instantly and is written in rust but doesn't contain that many features

Claude opens in around 3-4 seconds

Opencode opens in 2 seconds

Gemini-cli is an abomination which opens in around 16 second for me right now, and in 8 seconds on a fresh install

Codex takes 50ms for reference...

--

If their models are so good, why are they not rewriting their own react in cli bs to c++ or rust for 100x performance improvement (not kidding, it really is that much)
by Shamar | 2026-02-05 18:00:07+00:00
The documents provide smoking-gun evidence that Meta, Google, Snap, and TikTok all purposefully designed their social media products to addict children and teens with no regard for known harms to their wellbeing, and how that mass youth addiction was core to the companies’ business models. The documents contain internal discussions among company employees, presentations from internal meetings, expert testimony, and evidence of Big Tech coordination with tech-funded groups, including the National Parent Teachers Association (PTA) and Family Online Safety Institute (FOSI), in attempts to control the narrative in response to concerned parents.

“These unsealed documents prove Big Tech has been gaslighting and lying to the public for years
by MisterTea | 2026-02-05 18:00:50+00:00
Seems to have suffered an HN hug of death.

The SGI ports are pretty interesting as I would like to know how one goes about getting the machine specs to bring up the hardware. Same with the Apple PPC ports. Plan 9 had limited SGI support at one point and the compilers for big/little endian MIPS are still maintained.
by pc86 | 2026-02-05 18:01:12+00:00
A huuuuuge part of why companies, especially public companies, especially those in regulated industries like healthcare and finance are willing to pay eye-watering sums of money for a SaaS app that you could get an MVP up in a few weeks time from a competent team with no AI is that they need a phone number to call when something shits the bed at 2 AM on a Wednesday. They need support SLAs without the payroll and headache associated with it. They need someone to sue if things truly go tits up.

Moving SaaS apps in house is a great way for a VP to get a fat bonus or a director to get a promotion but I have to imagine it keeps the CIO/CTO up at night unless they're fully asleep at the switch.
by simonw | 2026-02-05 18:01:12+00:00
The cost per token served has been falling steadily over the past few years across basically all of the providers. OpenAI dropped the price they charged for o3 to 1/5th of what it was in June last year thanks to "engineers optimizing inferencing", and plenty of other providers have found cost savings too.

Turns out there was a lot of low-hanging fruit in terms of inference optimization that hadn't been plucked yet.

> A year or more ago, I read that both Anthropic and OpenAI were losing money on every single request even for their paid subscribers

Where did you hear that? It doesn't match my mental model of how this has played out.
by staticshock | 2026-02-05 18:01:23+00:00
The main problem here is that real people operate in fuzzy domains. Snapping them into place "with code" won't magically resolve the gray areas inherent to the most valuable real workflows.

Think about the prized "high agency worker." What makes them desirable is the willingness and ability to make well informed, unilateral decisions on matters that are likely not yet organizationally codified, or codified in a way that is "wrong" for the task at hand.

Also, the reason terraform works is because it is _operational_. As in, it's actual code that runs. If it was mere documentation, it would drift like nobody's business. In order to make "organizational code" operational, you would need enforcement (a compliance team?) manually keeping the documentation in sync with reality in all of the meat and thought spaces where real work happens.

The only place where this can plausibly be automated is in digital spaces. In fact, I'm surprised the article doesn't go there: "organizational code" starts feeling way more plausible as definition for AI agents than for real people, specifically because agents are operationalized in digital spaces, where enforcement can be automated.