Readit News logoReadit News
thanhhaimai commented on Code formatting comes to uv experimentally   pydevtools.com/blog/uv-fo... · Posted by u/tanelpoder
thanhhaimai · 3 days ago
I'd rather `ruff` being merged with `ty` instead. `uv` for me is about package / project manager. It's not about code style. The only time `uv` should edit a code file is to update its dependencies (PEP 723).

On the other hand, both `ruff` and `ty` are about code style. They both edit the code, either to format or fix typing / lint issues. They are good candidates to be merged.

thanhhaimai commented on How does the US use water?   construction-physics.com/... · Posted by u/juliangamble
bob1029 · 3 days ago
> Water in the US is generally both widely available and inexpensive: my monthly water bill is roughly 5% of the cost of my monthly electricity bill, and the service is far more reliable.

In my experience with municipal utility districts, the reliability of the water supply is typically not much better than the local power grid. The sewage lift stations seem to have the highest quality generator arrangements.

thanhhaimai · 3 days ago
It's interesting you said that. My experience is the opposite. In my last 10 years in California, I've had power outages a couple times a year (mostly due to storm / trees falling on the electrical lines). But I don't recall a time I got water cut off.
thanhhaimai commented on How to stop feeling lost in tech: the wafflehouse method   yacinemahdid.com/p/how-to... · Posted by u/research_pie
thanhhaimai · 4 days ago
For some reason, I see this style of "everything lowercase" more often recently. It distracts me from the content a lot. Was there a reason this style has become more popular?
thanhhaimai commented on "Remove mentions of XSLT from the html spec"   github.com/whatwg/html/pu... · Posted by u/troupo
spankalee · 5 days ago
A few things to note:

- This isn't Chrome doing this unilaterally. https://github.com/whatwg/html/issues/11523 shows that representatives from every browser are supportive and there have been discussions about this in standards meetings: https://github.com/whatwg/html/issues/11146#issuecomment-275...

- You can see from the WHATNOT meeting agenda that it was a Mozilla engineer who brought it up last time.

- Opening a PR doesn't necessarily mean that it'll be merged. Notice the unchecked tasks - there's a lot to still do on this one. Even so, give the cross-vendor support for this is seems likely to proceed at some point.

thanhhaimai · 5 days ago
The responses of some folks on this thread reminds me of this:

https://xkcd.com/1172/

thanhhaimai commented on Imagen 4 is now generally available   developers.googleblog.com... · Posted by u/meetpateltech
tmvphil · 9 days ago
The way it totally disregards the many explicit instructions given in the "four panel" comic strip.
thanhhaimai · 9 days ago
> Imagen 4 Ultra: When your creative vision demands the highest level of detail and strict adherence to your prompts, Imagen 4 Ultra delivers highly-aligned results.

It seems that you may need the "Ultra" version if you want strict prompt adherence.

It's an interesting strategy. Personally, I notice that most of the times I actually don't need strict prompt adherence for image generation. If it looks nice, I'll accept it. If it doesn't, I'll click generate again. For creativity task, following the prompt too strictly might not be the outcome the users want.

thanhhaimai commented on Claude Sonnet 4 now supports 1M tokens of context   anthropic.com/news/1m-con... · Posted by u/adocomplete
cambaceres · 12 days ago
For me it’s meant a huge increase in productivity, at least 3X.

Since so many claim the opposite, I’m curious to what you do more specifically? I guess different roles/technologies benefit more from agents than others.

I build full stack web applications in node/.net/react, more importantly (I think) is that I work on a small startup and manage 3 applications myself.

thanhhaimai · 12 days ago
I work across the stack (frontend, backend, ML)

- For FrontEnd or easy code, it's a speed up. I think it's more like 2x instead of 3x.

- For my backend (hard trading algo), it has like 90% failure rate so far. There is just so much for it to reason through (balance sheet, lots, wash, etc). All agents I have tried, even on Max mode, couldn't reason through all the cases correctly. They end up thrashing back and forth. Gemini most of the time will go into the "depressed" mode on the code base.

One thing I notice is that the Max mode on Cursor is not worth it for my particular use case. The problem is either easy (frontend), which means any agent can solve it, or it's hard, and Max mode can't solve it. I tend to pick the fast model over strong model.

thanhhaimai commented on Cerebras Code   cerebras.ai/blog/introduc... · Posted by u/d3vr
sneilan1 · 23 days ago
1,000 messages per day should be plenty as a daily development driver. I use claude code sonnet 4 exclusively and I do not send more than 1,000 messages per day. However, that is my current understanding. I am certainly not pressing enter 1,000 times! Maybe there are more messages being sent under the hood that I do not realize?
thanhhaimai · 23 days ago
The issue is not about whether the limit is too high or too low. What turned me back was that they claimed "no weekly limits" as a selling feature, without mentioning that they change it to a "daily limits".

I understand it's a sale tactics. But it seems not forthcoming, and it's hard for me to trust the rest of the claims.

thanhhaimai commented on Cerebras Code   cerebras.ai/blog/introduc... · Posted by u/d3vr
thanhhaimai · 23 days ago
> running at speeds of up to 2,000 tokens per second, with a 131k-token context window, no proprietary IDE lock-in, and no weekly limits!

I was excited, then I read this:

> Send up to 1,000 messages per day—enough for 3–4 hours of uninterrupted vibe coding.

I don't mind paying for services I use. But it's hard to take this seriously when the first paragraph claim is contradicting the fine prints.

thanhhaimai commented on Animated Cursors   tattoy.sh/news/animated-c... · Posted by u/speckx
thanhhaimai · a month ago
For a demo of the new Cursor feature in Ghostty: https://www.youtube.com/watch?v=enwDjM7pNNE
thanhhaimai commented on Electric cars produce less brake dust pollution than combustion-engine cars   modernengineeringmarvels.... · Posted by u/tzs
brtkwr · a month ago
An an EV owner, I can testify that the tyre wear more than makes up for the reduction in brake dust. I’ve had to change tyres every 10K miles.
thanhhaimai · a month ago
I'm not sure I can agree with this. I have 2 EVs, and the tire looks almost brand new after like 10k miles. I think the driving habits matter more than whether the car is EV or not.

u/thanhhaimai

KarmaCake day2165January 16, 2012View Original