Hacker Newsnew | past | comments | ask | show | jobs | submit | sighansen's commentslogin

I use the same stack to run my apps! sqlite as Database backen on ephemeral pods. On initialisation, the pod restores the current litestream backup from object storage. No persistent volumes needed. No issues so far.


Without persistent volumes, every deployment of the app may require the SQLite data to be restored from S3, which can take time if database size is large. With PVC, regular app deployments use existing database, only a disaster recovery scenario restores from S3.

Yes, it feels magical to just recreate your namespace or even create a new K8s cluster and see all your apps (from OpenRun metadata) and app data restored automatically.


I have no use case where I store a TB of data in a sqlite let alone few GB. Currently this checks out and restore is few seconds.


It's classic HN to criticize OP that their solution doesn't scale, and then for OP to respond by saying that they don't need the scale and anyway PG tells you to do things that don't scale.

SQLite is great for small-production scale. Don't let anyone tell you different. Just keep in mind that it's a pain to move if you ever do need to scale up. If it's a startup, you might. If it's a weekend hobby project you're building for your personal use only, you probably won't.


I wonder if stuff like this will also be created when token costs explode.


So your prior is that token costs are only going to go up. Doesn't stuff like GLM 5.2 and Deepseek change this? I.e. something close to Opus 4.5 that runs 10X + more performantly.


No, because those loans still have to be repaid.


Could you explain your mental model of the situation a bit more?

Let's take something like GML 5.2 that is open source - anyone can run it on NVIDIA or AMD chips. People are currently making money by running GLM 5.2 Nvidia and AMD chips and selling inference on aggregators like openRouter.

So the cost to serve is like cost of Chip or financing for Chip + power and rackspace somewhere. We basically know that each year you will be able to server exponentially more inference per $ on Nvidia and AMD hardware as it gets to newer generations, so why would you expect the cost of inference on open models to also increase?

Like let's say not through a Chinese subsidized provider but like BaseTen https://www.baseten.co/pricing/ why would that get more expensive year over year?


> Could you explain your mental model of the situation a bit more?

I'm talking specifically about US-based AI companies / hardware companies and their circular investments and their customer-facing pricing.

> We basically know that each year you will be able to server exponentially more inference per $ on Nvidia and AMD hardware as it gets to newer generations, so why would you expect the cost of inference on open models to also increase?

Because the cost of training continues to increase while getting increasingly harder and harder to make gains. On top of that, there is the delay between investing in the datacenters, staff, running the training, operational costs of customer use, etc and actually recouping profit via customer sales. Your costs go up because their costs go up. Likely even more so now because of the increased risk the US Gov will shut down sales and use of their newest models. That risk will get bundled in with pricing.


Hmm but isn't your point moot if the GLM 5.2 type models are good enough to do these large scale port to Rust projects? Like maybe Anthropic goes bust but doesn't really matter for this case.

I feel like your conflating some general skepticism around the trillion dollar valuation of the US majors and their business model with the topic at hand - large scale C to Rust conversions and similar.


It will be very difficult to get those used in production in any US enterprise in the Fortune 500.

The topic at hand wasn't rust conversions, it was token cost.

Effectively token cost for most in the US is whatever the companies and US Gov say it is... Until it pops because they have no real moat.


No, they don't, they can also be defaulted on/written off. Open weights are there to stay, plus research, plus the GPUs, just the power needs to be paid.

There's a limit to price hikes due to competition, and open weights can't collude so closed weight companies don't have that much wiggle room to raise prices unless they are much better than open weights.


> There's a limit to price hikes due to competition

Unless you say you have the best model in the world, and then everybody will fight to use it.

> No, they don't, they can also be defaulted on/written off.

Bye, bye world economy.


Yes, because you can buy infinity tokens for $10,000 with hardware.


People can and do still run local models.


The only ISP I have access to is Deutsche Telekom and I often have problems with websites loading slowly. A few more years before other ISPs can provide internet in my new development area. I can't understand, why they are allowed to have a monopoly in some areas.


>why they are allowed to have a monopoly in some areas

because no other ISP can enter for a reasonable price. Germany should have made the infrastructure open-access for all providers, just like they did in Switzerland.


Looks interesting. I'm interested in the T-Deck Tulip CC and would love to use it for coding whilst im traveling. Any experience with using such a device for light programming?


If you're staying in python or another dynamic language it could probably work. Unfortunately I don't think there are a lot of native compilers that run on esp32s, though there are some[0]

[0]: https://github.com/valdanylchuk/xcc700


I have used the T-Deck with tulipcc for coding and writing, although these days I mostly use it as a calculator. I wrote a GUI text editor for it, which you can find here:

https://github.com/coolcoder613eb/notepad

I haven't done too much coding with it, but I have on occasion fixed bugs in the text editor on the T-Deck itself.


As well as micropython, there is also a port of ulisp. http://www.ulisp.com/show?4JAO


Really interesting. I wonder if something good will come out of it. It feels like twitch plays pomemon.


If you want to see a speedrun, I made the same thing around a month ago:

https://theboard.stavros.io


Really love litestream. Easy to use and never crashes on me. I still recommend using it as a systemd unit service. I'm not only using it as a backup tool but also to mirror databases. Looking forward to their read-replica feature.


As long as iceberg and delta lake won't support v2, adoption will be really hard. I'm working aot with parquet and wasn't even aware that there is a version 2.0.


Why wouldn't they adopt the v2.0?


Version 1 took about ten years before it became de rigueur. Version 2 is hot off the press.


From my memories, when Unicode arrived [i.e ages ago], I bet 10$ it would never succeed . Now that it is reasonably supported everywhere [and I lost my 10$], I am more confident that sometimes good ideas eventually win.

#callMeOptimist


I don't understand why you wouldn't just use plain s3. There is no comparison in the readme and I would love to understand what the benefits are. Also I would have expected a comparison to maybe Apache Iceberg, but this might be more specialized for relational data lake data?


That is just plain untrue. They deport criminal migrants or migrants that are not under international asylum law. And we are talking about few thousands per year.


[flagged]


> I bet those poor people are also disproportionately non-white!

Yes, simply based on the fact that only non-European citizens can be deported. But what is interesting is that they are also disproportionately non-east-asian.


Not necessarily. Many refugees are from Ukraine, they can freely move to Germany, work there and apply for social benefits. I think Germany really needs similar rules for other countries, particularly in Africa and Middle East!

That would prove they are not far right once for all!


This looks really helpful! I'm working a lot on graph databases and am wondering, if there are similar projects working with say neo4j. I guess because you don't have a schema, the complexity goes up.


neo4j advertises such an integration on their landing page

https://neo4j.com/generativeai/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: