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

Can you explain a bit of the workflow you expect for offline support?

Like would I have one set of LiveViews that run on device and a database wrapper that handles online vs offline queries? Do you envision all view code running on device then?

Either way, super cool to see!


On the other hand, this is helpful to know as a user of LLMs because it suggests that LLMs are bad at isolating the math problem from the cat fact. That means providing irrelevant context may be harmful to getting back a good answer in other domains as well.

Ideally you'd want the LLM to solve the math problem correctly and then comment on the cat fact or ask why it was included.


In many places though it's more like most of the stadium is made up of various levels VIP booths. So one of the options is to replace those VIP booths with more dense traditional stadium seating. Only it's not enough to convince the ticket holders of one VIP booth to sell their tickets so more dense options can be sold, for some reason all of the VIP booths around that one also have to agree, and they're not so excited that plebeians might get to sit in dense seats right next to their pristine VIP booth to watch the show.


Someone else mentioned it already, but what is there to talk about with SQL Server (and Oracle)? Like I'm sure there's plenty someone could write about but generally it's pay Microsoft so it's their problem.

Whereas something like Postgres has a plethora of forks and tools built around it, because it's open source devs can actually do interesting things to solve their problems.


Does Asahi actually maintain the Macbook's performance and battery advantage when running Linux though?


The performance is great, and now there's a fully stable userspace graphics driver stack. Peripherials basically work. The battery life under load (i.e. development) is serviceable, not terrible, but in my (limited, "I turn on my laptop after some amount of time" testing) it's not even close to macOS especially when turned off. This is with a 13" M2 Air.

It's a really good Linux laptop if you can find a M2 somewhere, IMO.


I have one as a developer laptop running Linux. It works fine, battery life is bad. (On AMD 7640U Framework 13).

I currently couldn't recommend them to anyone except users (developers?) who want to run Linux specifically. Otherwise a Macbook is going to be a much better computer at a better value, or just get any boring Windows laptop provider.

Pros compared to Macbook: - Runs Linux - amd64 makes some legacy software work easier - Easy and commodity prices to get 96gb of RAM and 2tb SSD.

Macbook pros: - Massively better battery life - Snappier/faster in general usage - Much more polished than Linux

I evaluated Thinkpads as well but trying to find one with the right configuration that wasn't too expensive or worse than the Framework was pretty hard.


I'm pro public transit and trains, but the stat has more shock value than actual logic.

What's feasible for a theme park doesn't necessarily extrapolate to public transit.


Expanding for the original question:

Roughly speaking, Postgres is to SQLite what Clickhouse is to DuckDB.

OLTP -> Online Transaction Processing. Postgres and traditional RDBMS. Mainly focused on transactions and addressing specific rows. Queries like "show me all orders for customer X".

OLAP -> Online Analytical Processing. Clickhouse and other columnar oriented. For analytical and calculation queries, like "show me the total value of all orders in March 2024". OLTP database typically store data by column rather than row, and usually have optimizations for storage space and query speed based on that. As a tradeoff they're typically slower for OLTP type queries. Often you'd bring in an OLAP db like Clickhouse when you have a huge volume of data and your OLTP database is struggling to keep up.


What's the significance of "online" in these acronyms?


Online means you expect the responses to come quickly (seconds) after launching the request. The opposite is "offline" where you expect the results to come a long time after making the request (hours / days).

ClickHouse is designed so you can build dashboard with it. Other offline system are designed so you can build reports that you send in PDF over email with them.


Live and real-time


It is a rather old acronym. The other option was batch processing, you will get your results in the mail type thing.

Here "Online" means results while connected to the system, not real time since there is no time requirement for results.


Why would GCP Cloud Tasks be part of the default libraries? If it’s that simple surely a community maintained gem would be fine?


To clarify: I'm talking about implementing the core functionality of GCP Cloud Tasks, not using that specific product.


Having both available is a huge win for the Rails ecosystem.

If you’re just starting or have a small project Solid Queue is invaluable and reduces costs and friction.

If and when you need more performance or power Sidekiq is still available. Both run in the context of your Rails app so moving jobs from one to the other shouldn’t be terribly hard.


Yes. But as with all things Rails I do wish the default performance could be pushed a bit. So say Solid Queue could work for 90% of project instead of 70 - 80%.

May be ZJIT could help.


Exactly, it's not an either/or situation. I've worked on a codebase that did 3-4k/s jobs through sidekiq and in this case sidekiq is obviously the best option (although we also used a go sidekiq client for certain tasks that didn't need the rails app context) but using sidekiq from the beginning is premature optimization. You can easily start with Solid Queue and switch over to sidekiq when you actually have data that tells you that it'll potentially become a bottleneck. Premature optimization is a complexity cost.


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

Search: