Readit News logoReadit News
curioussavage commented on The time is right for a DOM templating API   justinfagnani.com/2025/06... · Posted by u/mdhb
taeric · 2 months ago
I did mean grid, there.

And don't get me wrong, I don't necessarily want everything absolute positioned. I just find it amusing when people try to get a badge or some such on something and then herculean efforts they will go through to get that badge exactly where they want it.

So, with bluesky, the amount of markup that goes into the footer menu of each post would be what I'm looking at. Tools were clearly used to get styles such as "css-g5y9jx" and this isn't the worst examples I've seen. But I am curious on why so many nested divs seem to be needed all of the time.

I am not clear what you mean by canvas-like approach? I think folks should still use elements. Just fewer of them, all told.

Direct to my claim, though; my argument is just that templates/designs are visual things. I don't think people are thinking in terms of nested div elements. They largely don't even think of sections of their template as parent/child relationships. They have a visual thing and want it filled in with whatever data.

curioussavage · 2 months ago
The nested divs in modern markup are just signs of lazy bone headed devs. I’m constantly removing them from our own app because with either grid or flex box layout in the browser is stupid easy. Haven’t even been tempted to use the old tricks like floats or absolute positioning in years and years.
curioussavage commented on Can Style Be Timeless?   mrporter.com/en-gb/journa... · Posted by u/mooreds
e-dant · 5 months ago
These were three pants from Lululemon, figured they’d be good.

None of them lasted more than 6 months.

Admittedly, I bike and walk a lot, so probably I put more strain on them than I should have.

But, come on, that’s why I got them, and surely if I can bike 20 miles in $30 pants from target, those fancy lululemon pants should also have worked.

curioussavage · 5 months ago
Yeah lululemon is your problem there I’m guessing. I just did the reverse. For the last decade most of the clothes I wore came from target and they were ok. I felt like the fits worked for me so I mostly stuck with them.

That said I found some nice small brands and they blow target clothes and all those mall brands out of the water. The mall stuff is often exactly the same as target.

Relwen is my favorite brand right now.

curioussavage commented on Show HN: Time travel debugging AI for more reliable vibe coding   nut.new... · Posted by u/bhackett
bhackett · 6 months ago
Yes, that's all true. Even so, vibe coding empowers anyone who can write clear instructions to build software, but the limits of the technology get hit pretty quickly by non-developers and they have little recourse. This blog post https://addyo.substack.com/p/the-70-problem-hard-truths-abou... is a great overview.

The tech will get better and better (I couldn't imagine we'd be doing this a year ago) but to be truly useful it has to reliably produce reasonably well engineered code, and effective debugging is a key piece of that.

curioussavage · 6 months ago
I’m sure it will. My pessimistic take is that the worst case is that thousands of bozos create crappy little apps that only cause minimal harm. And people just endure it instead of pushing for better guard rails.

Best case is some high profile shit show caused by software made mostly or entirely by ai that hopefully is bad enough that legislators wake up and realize that in the modern world software is essential enough that you can’t let just anyone sell it or services based on it. Just like you can’t allow anybody design/build bridges or hardware or whatever.

But I’m sure thats wishful thinking. Hacks and buggy software causing consumers harm is just accepted and software industry folk all hope to be billionaires so nobody cares.

curioussavage commented on Automating the Vim Workplace (2020)   sharats.me/posts/automati... · Posted by u/leonry
windward · 7 months ago
Strong agree. Failure to grok what comes with Vim often results in a permenent Nerdtree pane.
curioussavage · 7 months ago
Eh. I tried to buy into this for years but I think my poor working memory just pushes me towards having something like it open.

Maybe a little less now that I’ve become a heavy user of tabs. When I start working on a unique task I create a new tab with a few splits with the files I’m interested in. In a way tab views are how I externalize my working memory. But a file tree is still useful to me because file names don’t stick so using a command or picker to swap is often slower

curioussavage commented on America Is Suddenly Getting Healthier. No One Knows Why.   theatlantic.com/ideas/arc... · Posted by u/____H____
Aurornis · 8 months ago
> the best cure for drug addiction is just... being around other people. Not being isolated by circumstances, odd work hours, what have you.

Counterpoint: Most of the people I know who picked up drug addictions (all who have received treatment and currently recovered) picked them up from social situations. They encountered groups where drug use was their common weekend activity and you either joined them or you weren’t included.

Being in between jobs or having a job with low demands was also an enabler of drug addiction. Idle hands and all that.

> Just having a social life will not only keep you addiction-free but also enables you to use the same substances recreationally in a healthy way

This generalization doesn’t hold at all. I haven’t heard of any addicts who became more moderate of their use of hard drugs when surrounded by other users of those hard drugs. The correlation goes the other way. Being around other users both enables and encourages more drug use.

curioussavage · 8 months ago
Seems obvious that if said social life is mostly with people who mostly just do drugs then no change will happen.
curioussavage commented on Hawai'i-Issued Real IDs Can Be Added to Apple Wallet Beginning August 28   hidot.hawaii.gov/blog/202... · Posted by u/srockets
kstrauser · a year ago
Also Californian, and I envy Hawaii this. I've had the CA DMV Wallet app installed since its launch. Every single time I open it,

1. It tells me I need to refresh my license. I click the button.

2. It tells me I need to log into the DMV website. I grit my teeth and log in.

3. It tells me my password has expired and I need to update it because no one there has read the NIST guidelines. I snarl and update it.

4. I get an error message that the system is temporarily unavailable or something and my password can't be updated, so I can't log in, so I can't refresh my ID, so I can't use the app at all.

At this point I only keep testing it out of sheer bullheadedness and a high pain tolerance.

curioussavage · a year ago
Same here in Utah. We had crazies screaming about mark of the beast when digital ID first came up. They finally started it and it’s only through some garbage app. Probably someone connected or whatever.
curioussavage commented on FastHTML – Modern web applications in pure Python   fastht.ml/... · Posted by u/bpierre
jph00 · a year ago
Fast enough for YouTube, Instagram, and Dropbox. If you need to scale up bigger than that then maybe reach for something else I guess.

Today's HN launch of FastHTML's home page was running on a $5/month hobbyist account at Railway.app, where it averaged 1% utilization of 1 VCPU.

(The trick, as always, is to optimise the inner loops in your app as needed; often that just means using pre-existing fast libs for that bit, but sometimes you may need to reach for cython/PyO3/etc. Often you'll find you don't need anything extra. FastHTML's own home page doesn't need anything extra.)

curioussavage · a year ago
YouTube instagram and Dropbox definitely don’t scale thanks to python. They scale thanks to the massive infrastructure they built around some python code. Cdn caches etc. we all know this. And they could probably save money by migrating to a more performant and safe language. But they have money firehoses and household brand recognition so they don’t care.
curioussavage commented on Fusion – A hobby OS implemented in Nim   github.com/khaledh/fusion... · Posted by u/michaelsbradley
IshKebab · a year ago
That's not a good reason. Why not just standardise the entire ecosystem on the same style? If you think that sounds infeasible, consider that Rust, Go and even Python have done this with no problem.
curioussavage · a year ago
Because an important feature and focus is that nim compiles to c and makes it easy to just import and use c libraries. So many of the 3rd party libs mentioned are NOT technically part of its ecosystem. There is at least one thread on the nim forum that extensively explains the reasoning behind the decision in much better detail and pretty thoroughly debunks this “problem”
curioussavage commented on Cost of self hosting Llama-3 8B-Instruct   blog.lytix.co/posts/self-... · Posted by u/veryrealsid
logtrees · a year ago
Whoa, so you have code running in AWS making use of your local hardware via what is called a reverse SSH tunnel? I will have to look into how that works, that's pretty powerful if so. I have a mac mini that I use for builds and deploys via FTP/SFTP and was going to look into setting up "messaging" via that pipeline to access local hardware compute through file messages lol, but reverse SSH tunnel sounds like it'll be way better for directly calling executables rather than needing to parse messages from files first.
curioussavage · a year ago
Using tailscale might be a better and easier solution.
curioussavage commented on WebAssembly: A promising technology that is quietly being enshitified   kerkour.com/webassembly-w... · Posted by u/romaintailhurat
coxley · a year ago
They're pleasurable when you're the only author. They become a minefield unless every contributor is diligent, which happens very often.
curioussavage · a year ago
Yup. Somebody is going to write something that hogs cpu without yielding to the loop or queues up an absurd number of tasks waiting to be executed which effectively has a similar effect. All of a sudden latencies are high. Depending on how tracing is done it can appear like certain io operations are the culprit if you just go off of traces.

P99 latency for every route on your web server will be fixed at the max time any individual unit takes to execute before yielding plus loop overhead and its own time. This can drastically increase it for many routes.

Meanwhile some genius insists that our app is “io bound” so the single threaded async runtime must be a perfect fit.

Apart from just being generally faster at least with go I know that when somebody screws up there should be n other threads still executing tasks.

u/curioussavage

KarmaCake day475June 18, 2016View Original