1,567 karma · joined Nov 23, 2016 (10y ago) · 686 submissions
comment 1y ago · link · parent
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
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
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
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
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
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
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
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
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
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
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
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
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
But anything remotely technical with code snippets, diagrams, screenshots, tables, etc, PDF is going to be infinitely better.