HNHacker News
TopNewBestAskShowJobs

film42

1,269 karma · joined July 27, 2012

Garrett is my name, I make stuff. This is my everywhere username. If you find me, say 'Hi!'

film42 [at] google mail

submissionscomments
film42··on Claude Opus 4.5
This is why I migrated my apps that need an LLM to Gemini. No model degradation so far all through the v2.5 model generation. What is Anthropic doing? Swapping for a quantized version of the model?
film42··on Gemini 3
At this point I'm only using google models via Vertex AI for my apps. They have a weird QoS rate limit but in general Gemini has been consistently top tier for everything I've thrown at it.

Anecdotal, but I've also not experienced any regression in Gemini quality where Claude/OpenAI might push iterative updates (or quantized variants for performance) that cause my test bench to fail more often.

film42··on GPT-5.1: A smarter, more conversational ChatGPT
It's a cash grab. More conversational AI means more folks running out of free or lower paid tier tokens faster, leading to more upsell opportunities. API users will pay more in output tokens by default.

Example, I asked Claude a high level question about p2p systems and it started writing code in 3 languages. Ignoring the code, asking a follow up about the fundamentals, it answered and then rewrote the code 3 times. After a few minutes I hit a token limit for the first time.

film42··on Alphabet tops $100B quarterly revenue for first time, cloud grows 34%
AKA... 70% of existing google cloud users have filled out a support ticket, which starts with a chat bot.
film42··on AWS to bare metal two years later: Answering your questions about leaving AWS
Maybe look at R2 or Wasabi instead of S3. That would cut your storage bill by 3x and take your cloud network bill to zero. IMO self-managing DBs always sucks no matter what you do.
film42··on AWS to bare metal two years later: Answering your questions about leaving AWS
Or you have PTSD after 10 years of being on-call 24/7 for your company's stack. I've built my next chapter around offloading the pager. Worth every penny.
film42··on MinIO stops distributing free Docker images
They created their business on open source. Free software was their top of funnel. Free customers become paid customers, and fund the business. They are more than welcome to change this, but there is no way they don't end up with egg on their face, and that's what we're seeing here.
film42··on IBM invites CockroachDB to infest its mainframes with PostgreSQL
I have a feeling this is IBM dipping their toes into the water of Postgres after seeing Databricks acquire Neon and Snowflake acquire CrunchyData. Won't be surprised if IBM acquires them next year. It makes a lot of sense and I wish everyone the best of luck.

From the outset, CockroachDB has a "just scale it up" product, an open-source presence, a serverless product with pricing similar to DSQL from AWS, and enterprise support. There is a lot to work with there if you're IBM.

film42··on PEP 810 – Explicit lazy imports
I'm a fan because it's something you can explicitly turn on and off. For my Docker based app, I really want to verify the completeness of imports. Preferably, at build and test time. In fact, most of the time I will likely disable lazy loading outright. But, I would really appreciate a faster loading CLI tool.

However, there is a pattern in python to raise an error if, say, pandas doesn't have an excel library installed, which is fine. In the future, will maintainers opt to include a bunch of unused libraries since they won't negatively impact startup time? (Think pandas including 3-4 excel parsers by default, since it will only be loaded when called). It's a much better UX, but, now if you opt out of lazy loading, your code will take longer to load than without it.

film42··on Tuning async IO in PostgreSQL 18
My guess is both will look about the same with real world workloads. Worker is certainly more predictable which is safer in general. That said, I appreciate the callout about signal throughput on workers (fewer connections farm to more processes vs each connection getting its own io_uring setup with upper bound being the throughput for a single process). Again, I doubt it makes any difference for 99.9999% of apps out there.
film42··on Things you can do with a Software Defined Radio (2024)
Very cool post. If Jeff Geerling is reading this, I wouldn't mind watching a video on each of these ;)
film42··on Neovim Pack
I think I update Vundle like once every 3 years.
film42··on Claude Sonnet 4 now supports 1M tokens of context
The 1M token context was Gemini's headlining feature. Now, the only thing I'd like Claude to work on is tokens counted towards document processing. Gemini will often bill 1/10th the tokens Anthropic does for the same document.
film42··on Claude Sonnet 4 now supports 1M tokens of context
Agree but pricing wise, Gemini 2.5 pro wins. Gemini input tokens are half the cost of Claude 4. Output is $5/million cheaper than Claude. But, document processing is significantly cheaper. A 5MB PDF (customer invoice) with Gemini is like 5k tokens vs 56k with Claude.

The only downside with Gemini (and it's a big one) is availability. We get rate limited by their dynamic QoS all the time even if we haven't reached our quota. Our GCP sales rep keeps recommending "provisioned throughput," but it's both expensive, and doesn't fit our workload type. Plus, the VertexAI SDK is kind of a PITA compared to Anthropic.

film42··on Qwen3-4B-Thinking-2507
Is there a crowd-sourced sentiment score for models? I know all these scores are juiced like crazy. I stopped taking them at face value months ago. What I want to know is if other folks out there actually use them or if they are unreliable.
film42··on I wrote my PhD Thesis in Typst
Thanks for your comment! I have a few PDFs that I need to generate for groups of users every so often and since wkhtmltopdf is considered EOL, I've been forced to use chrome (which sucks to manage). I just rewrote that code to use Typst (via the typst gem) and it's so so so much better.
film42··on Show HN: Canine – A Heroku alternative built on Kubernetes
Looks great! I'm definitely in the market for something like this; and building on top of helm charts makes me want to try it out.

Can Canine automatically upgrade my helm charts? That would be killer. I usually stay on cloud-hosted paid plans because remembering to upgrade is not fun. The next reason is that I often need to recall the ops knowledge just after I've forgotten it.

film42··on Snowflake to buy Crunchy Data for $250M
Congrats to the Crunchy Data team! Thanks for making containerized postgres so easy for years and years. Wish you all the best!
film42··on Fivetran to acquire Census
Congrats to the teams! Like others have said, your pricing ends up killing adoption for my company. We ended up self-hosting Airbyte. It ain't perfect but at least we're not paying $10/GB to replicate data within our own VPC.
film42··on Wikipedia says it will use AI, but not to replace human volunteers
Exactly. But using AI to summarize articles, stitch them together, etc. under the Wikipedia brand as a product is something they could easily sell. I can totally see a university buying WikiResearch™ for every student.
film42··on Wikipedia says it will use AI, but not to replace human volunteers
I'm guessing any useful use of AI has already been adopted by some volunteers. Wikipedia might be able to build tools around the parts that work well, but the volunteers will end up footing the bill for the AI spend. Wikipedia will probably pivot to building an AI research product which they can sell to universities/ b2c.
film42··on Someone at YouTube needs glasses
Same. Shorts are actually a great product in terms of capturing attention, but I don't want them on youtube. I hear someone from the back shouting, "you're not the customer, you're the product!" but I pay for youtube premium... that makes me the customer; and I pay for the long-form content without ads! But 50% of Youtube shorts are just ads or product marketing. I never feel good after going on a youtube shorts binge. Please, youtube, let me turn it off.
film42··on Jepsen: Amazon RDS for PostgreSQL 17.4
I agree, but I have a feeling this isn't a small fix. Sounds like someone picked a mechanism that seemed to be equivalent but is not. Swapping that will require a lot of time and testing.
film42··on Jepsen: Amazon RDS for PostgreSQL 17.4
I think AWS will need to update their documentation to communicate this. Will a snapshot isolation fix introduce a performance regression in latency or throughput? Or, maybe they stand by what they have as being strong enough. Either way, they'll need to say something.
film42··on Mark Zuckerberg says social media is over
To quote David from the Acquired episode on Meta:

> I really want to keep hitting on this insight again, that Mark correctly identified of social shifting from the town square to the living room. This is a second order effect of that shift that the company didn’t see coming. Because once you shift social from the town square to the living room, it now becomes possible to divorce media from social. You’re already getting your social now in private, in your digital living room. The town square can become something that is completely not social.

film42··on OpenAI releases image generation in the API
I generated 5 images in the playground. One using a text-only prompt and 4 using images from my phone. I spent $0.85 which isn't bad for a fun round of Studio Ghibli portraits for the family group chat, but too expensive to be used in a customer facing product.
film42··on Show HN: I built a Ruby gem that handles memoization with a ttl
TIL! That's pretty cool. I still think if you have no reason to catch an error (i.e. state tracking, etc.) then you should not.
film42··on Show HN: I built a Ruby gem that handles memoization with a ttl
Redis is great for caching a customer config that's hit 2000 times/second by your services, but even then, an in-mem cache with short TTL would make redis more tolerant to failure. This would be great for the in-mem part.
film42··on Show HN: I built a Ruby gem that handles memoization with a ttl
Nice! In rails I end up using Rails.cache most of the time because it's always "right there" but I like how you break out the cache to be a per-method to minimize contention. Depending on your workload it might make sense to use a ReadWrite lock instead of a Monitor.

Only suggestion is to not wrap the error of the caller in your memo wrapper.

> raise MemoTTL::Error, "Failed to execute memoized method '#{method_name}': #{e.message}"

It doesn't look like you need to catch this for any operational or state tracking reason so IMO you should not catch and wrap. When errors are wrapped with a string like this (and caught/ re-raised) you lose the original stacktrace which make debugging challenging. Especially when your error is like, "pg condition failed for select" and you can't see where it failed in the driver.

film42··on Supabase raises $200M Series D at $2B valuation
Is the new valuation multiplier number of developers on platform instead of revenue? Valuing at $1000/developer is kind of insane. Valuing at $570/database is also nuts. It's a cool product but I hope the founders can find a win in what must be a pretty cramped cap table.
← PreviousPage 2 of 14Next →