574 karma · joined December 23, 2018
Contact me at
hn@{username}.com
Gemini is about 10x cheaper per token. But for some reason it's using 8 times more input tokens than CC. They also have this thing called cached tokens, which is much cheaper than not cached tokens. It's a hot cache of your context on Google side, cached automatically. So at the end of the day you don't know how much you'll pay.
Models
Google is good for very complex topics and when the conversation is short. But both models are great. I prefer Claude and Sonnet 4.5 is great all around
CLI tools
Gemini cli is at it's very early days. Doesn't support hooks or subagents. Often runs into loops it can't break out from, essentially gets stuck but you still pay for the tokens.
Claude is just great. Allows you to write complex workflows they way they are supposed to be written. Handles hooks and subagents. MD file can reference another MD file, so you can DRY your files.
Nested plan mode works weird, sometimes the agent gets stuck if it asks for plan approval and thinks it's executing it, but displays nothing... So plan mode is not fully supported in subagents.
A nice thing is that .Claude directory is automatically understood by codex or cursor, you should be able to run your Claude command using openai models via codex or maybe even other providers via Cursor.
Summary
Overall Claude is the best all around, but the tokens are crazy expensive and the subscription model is a joke. You don't know how many tokens you can use when you're subscribed, but it's 'something', and last week they changed the limits, it's suddenly half of 'something'...
On the other hand, I remember that time you enjoy wasting is not a wasted time. I don't sleep well if I don't just chill and forget about the world, from time to time. It's like in the Sims. I aim towards my creativity and entertainment need bars to be filled. While coding, I often increase the fill of both bars.
PUGs need a way to communicate and broadcast, to be discovered, but it doesn't necessarily need all of Meetup's features. Also, PUGs probably don't want to be tied to Facebook or other social media platforms. It'd be best if they allowed a simple ownership transfer, once you get tired of organizing.
That's why I created https://pythonuser.group/ - a lightweight side project that, despite being rough around the edges, fulfills the core need: allowing people to discover PUGs worldwide for free. The platform costs me almost nothing to maintain. Allows to subscribe to local PUGs via RSS (not sure if it works). I'll add "export all my PUG data" once someone requests this feature.
It's the first time I share it with the world. Please don't treat it as prod-ready. Feedback welcome at hn@{username}.com
Would someone be able to recommend an approach that's not a hack, for implementing a custom release command on k8s? Downtime is fine, but this one off job needs to run before the user facing pods are available.
Haptic feedback in the newest iphone? You need to support it in order to be featured.
You can play games on apple watch? If you support it, a guaranteed feature.
New localisation guidelines? Featured only if you support all of them.
So back then (not sure how it is right now) you needed to implement useless or at the very least something unnecessary in order to be featured on iPhone and make a buck. Otherwise apple wasn't able to sell their new technologies.
If nothing has changed, people will try to port their games to apple vr so they are more likely to be featured on iPhone.
All our games (6, iirc), were featured.
You can always prefetch related, or even use outer=True. This will return the results you expect.
I bet they will never fully migrate (and they don't want to).
Not affiliated with ING in any way, its just what I heard.
Battery isn't great but afaik it improved in the newer models.
Let me tell you, mobile games are much more addictive than casino games. There's more mechanisms to make you addicted, to squeeze the money out of you and everything is sugar coated.
I felt terrible when starting a job in igaming, as I always considered it to be a "dirty" sector. I was surprised to see how many things are regulated. Examples: ID age verification, sometime you need to ping the government API to let them now, there are casino level limits, country/global level limits (can't be exceeded), daily/weekly loss limits, num of tabs opened in the browser limited to 1, max spin time etc.
It's surreal that kids play on an unregulated casino without any winning ods.
> When you declare a path operation function with normal def instead of async def, it is run in an external threadpool that is then awaited, instead of being called directly (as it would block the server).
https://fastapi.tiangolo.com/async/#path-operation-functions
OP either meant this, or its variation, such as async_to_sync and sync_to_async. https://github.com/django/asgiref/blob/main/asgiref/sync.py
Ofc this is a python example. I have no idea how it works in different languages.
/s