Better HN
topnewbestaskshowjobs
Log inSign up

pythonaut_16

1,567 karma · joined Nov 23, 2016 (10y ago) · 686 submissions

Submissions

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Come on really?

Do you write perfect commit messages every single time on every project you work on?

comment 1y ago · link · parent

Specialization of AI models is cool. Just like some people might be better planners and some are better at raw coding ability.

comment 1y ago · link · parent

I’m not sure how much this tells me about a model’s coding ability though.

It might correlate to design level thinking but it also might not.

comment 1y ago · link · parent

Or Colima https://github.com/abiosoft/colima

Free, open source, and has worked perfectly for me so far. (I think I briefly ran into issues with an Elastic Search container? so ymmv a bit)

comment 1y ago · link · parent

Very much this.

I think the community tends to overestimate the ecosystem’s maturity which is one of the big things holding it back, both because it blinds the community to areas that need improvement and leads to bigger shocks when newcomers do unexpectedly run into the rough edges.

comment 1y ago · link · parent

Some of the big performance wins don’t come from the raw compute speed of Erlang/Elixir.

Phoenix has significantly faster templates than Rails by compiling templates and leveraging Erlang's IO Lists. So you will basically never think about caching a template in Phoenix.

Most of the Phoenix “magic” is just code/configuration in your app and gets resolved at compile time, unlike Rails with layers and layers of objects to resolve at every call.

Generally Phoenix requires way less RAM than Rails and can serve like orders of magnitude more users on the same hardware compared to rails.

The core Elixir and Phoenix libraries are polished and quite good, but the ecosystem overall is pretty far behind Rails in terms of maturity. It’s manageable but you’ll end up doing more things yourself. For things like API wrappers that can actually be an advantage but others it’s just annoying.

ASP.NET and Springboot seem to only have theoretical performance, I’m not sure I’ve ever seen it in practice. Rust and Go are better contenders IMO.

My general experience is Phoenix is way faster than Rails and most similar backends and has good to great developer experience. (But not quite excellent yet)

Go might be another option worth considering if you’re open to Java and C#

comment 1y ago · link · parent

It’s Twitch not some indie startup.

You’re not entirely wrong but you’re exaggerating the difficulty.

comment 1y ago · link · parent

It’s probably best to compare download sizes on a logarithmic scale.

18mb vs 180mb is probably the difference between an instant download and ~30 seconds. 1.8gb is gonna make someone stop and think about what they’re doing.

But 18mb vs 9mb is not significant in most cases.

comment 1y ago · link · parent

Thanks for pointing this out.

It does seem weird to complain about the file size of a debug build not a release build.

comment 1y ago · link · parent

Private posts/feeds/groups is one of the biggest things missing from ATProto at this point.

Once they solve that it will really take off beyond just a better Twitter.

comment 1y ago · link · parent

For what it's worth my criticism was aimed at the lack of substance in the parent reply rather than the skepticism around the product.

comment 1y ago · link · parent

Thank you for your insightful comment. You’ve clearly thought about this more than the business who decided to make the camera, and your logic is impeccable.

comment 1y ago · link · parent

So you're saying the legal system should hinge on the judgement of what random people believe is "crazy" rather than judges, juries, laws, etc. One opinion should outweigh everyone and everything else?

comment 1y ago · link · parent

So where were all the other bidders offering $10 million plus?

comment 1y ago · link · parent

Do you find it soulless when painters don’t mix their own paints or weave and stretch their own canvases?

Is it soulless when a sculptor doesn’t source their own clay and marble directly from the earth?

Or when a musician uses an instrument made by someone else, or a composer uses digital sounds recorded by someone else?

There are many different forms of artistic expression and many rely on relatively mechanical and “soulless” work being done for us by someone or something else.

Tools like this can open up new and creative world building options to people who previously didn’t have access to 3D models. It increases the opportunities for creative expression rather than diminishing them.

comment 2y ago · link · parent

Fair. I checked the site on my laptop and the logo at the top left easily got me to the homepage that described the editor.

comment 2y ago · link · parent

It's a blog post directly on their website. Is it really unreasonable to need to click to the home page for more context?

comment 2y ago · link · parent

Fly.io would probably work for your use case. Doesn't have the restart limit of Heroku and still has a solid enough free tier to run your app!

I'd be happy to help if you need anything! Whether hosting or just backend related questions!

Also depending on how hard coded your architecture is, maybe you can separate out the Magic specific data from the app itself? So the MTG specific data could just be loaded as a datapack?

comment 2y ago · link · parent

Do you think that’s inherent to the language, or a result of common patterns?

How do other languages, like Python, scale better to more devs, besides more devs available? All that comes to mind immediately is modules in Elixir being globally available, but I’m genuinely curios about your experiences.

comment 2y ago · link · parent

Thanks for posting this, I’ve been having similar thoughts lately.

Elixir is extremely overhyped, not because it’s not great but because most of the discourse is about how much better it is than other languages.

With Python, Rust, Go, and JavaScript I can find a ton of interesting projects and tools; tons and tons of examples of people doing interesting things, easily outweighing the language hype.

Elixir has a handful of core tools, tons of hype posting, and a smattering of introductory blog posts to those tools.

The community really has the appearance of lacking depth. (Granted I think partly that’s because the depth exists inside companies that don’t really talk about it)

comment 2y ago · link · parent

Wouldn't this just mean if you're on Ubuntu 18.04 you'd need to manually update glibc to >= 2.28?

18.04 is an LTS release which according to Ubuntu's website ended standard support in April 2023 and still has "Expanded Security Maintenance" until April 2028.

From the article it seems like the real problem is Microsoft didn't adequately communicate the change in advance or provide safety checks when upgrading. It seems like an easy oversight to make though.

Also I'm sympathetic to the numerous situations in which developers have no ability to upgrade old Linux boxes but it seems like Microsoft's not entirely to blame for not supporting a 6 year old Ubuntu release a year after its standard support timeframe.

TL;DR: Situation sucks, seems like a typical Linux dependency issue, hopefully they consider and communicate better in the future.

comment 2y ago · link · parent

It looks like some of these are cases of duplicate threads being migrated, which isn't completely obvious when looking at this Github page.

For example https://news.ycombinator.com/item?id=39219568 was just a dupe. Maybe that's the case for some of the more technical stories that are removed.

comment 2y ago · link · parent

In my experience it comes down to the type of book. Novels and narratives with just a few supporting tables, illustrations, or diagrams? EPUB is probably preferable.

But anything remotely technical with code snippets, diagrams, screenshots, tables, etc, PDF is going to be infinitely better.

comment 2y ago · link · parent

So that project's plan is to distribute malware then?
12345
23