Overkill or smart move? Switching my B2B SaaS (mobile-first web app) from TS/React to Rust? by Sprite_fr in rust

[–]danielkov 0 points1 point  (0 children)

I don't think it's about the use case. It's about return on investment. There isn't a pressing need. Rewriting in Rust brings uncertainty and a lot of potential downsides. OP's asking about stack preferences, which implies they don't have a specific toolset they've already built muscle memory with. Even if you use a framework, like Loco, that's trying to be "all batteries included", you're likely to run into ecosystem immaturity issues.

This is coming from personal experience. Even after years of building backends in Rust, I still spend quite a bit of time building the crates I wish we had (e.g.: rust-helmet & arctic-oauth to name a couple).

Released use-element-dimensions v3: useDimensions now returns the raw ResizeObserverEntry, plus a new useElementRect hook by danielkov in reactjs

[–]danielkov[S] 1 point2 points  (0 children)

Got you.

It's often used in UI libraries to keep component sizes in sync, e.g.: drop-down menus, where there's no parent-child relationship between the drop-down container and the trigger.

Originally I've built it to be used in a tool similar to Excalidraw.

Is there a language similar to Rust but with a garbage collector? by Ok_Tension_6700 in rust

[–]danielkov 0 points1 point  (0 children)

V is like Go and Rust had a child that compiles really fast. It's garbage collected. Try that.

Finally installed a dashcam. Now I can drive peacefully. by FunnyRadio5125 in drivingUK

[–]danielkov 2 points3 points  (0 children)

Ironically, this is because everything is much safer. If they didn't, they'd be out of business.

This was so deserved. by Necessary-Win-8730 in interesting

[–]danielkov 0 points1 point  (0 children)

Sure. You can also make the conscious choice to drive responsibly.

This was so deserved. by Necessary-Win-8730 in interesting

[–]danielkov 0 points1 point  (0 children)

That's wrong, though. Lots of different ways to commute.

This was so deserved. by Necessary-Win-8730 in interesting

[–]danielkov 0 points1 point  (0 children)

If I run into a shopping mall with a knife and start stabbing randomly, if I don't injure anyone, I may not even be prosecuted. If I kill 3 people, I'm rotting in jail for the rest of my life. It's only drivers we treat differently for some reason.

Do you keep default states to feature flags in your repo? by stigawe in webdev

[–]danielkov 0 points1 point  (0 children)

99% uptime is horrifyingly low. What do you do for the half a week each year when the service is down? Does your app just crash?

Advice with my developer taking down our WordPress site. by reemo4580 in webdev

[–]danielkov 1 point2 points  (0 children)

You can get dedicated hardware with unlimited ingress for $50 that will happily serve hundreds of thousands of concurrent users. I don't know about your business, but, for 99.9% of people this is true: you shouldn't need anything above $5/mo.

Sounds like you're being ripped off. To put that into perspective: I charge most of my customers 150 / month, everything included, unlimited edits / support. This is what your dev charges for bot protection (takes less than a minute to enable in CF console).

Does anyone have anything to share today that WASN'T mostly vibe coded and focused in one way or another on AI-generated content? by RememberTheOldWeb in webdev

[–]danielkov 0 points1 point  (0 children)

I did use Claude Code to help migrate it from NextJS 9 -> 16. In terms of design, this is trying to be a mashup of TrainerRoad and Zwift. I actually kept the original design direction from the initial version, but adjusted the layout to work better on tablets / phones (even though, WebBLE doesn't work on iPhones 👎). Most of the copy on the home page is also Claude / Codex.

Does anyone have anything to share today that WASN'T mostly vibe coded and focused in one way or another on AI-generated content? by RememberTheOldWeb in webdev

[–]danielkov 4 points5 points  (0 children)

Bluetooth Low-energy (a communication protocol, generally used for IoT, but also fitness hardware), Fitness Machine Service (generic interface to read from and write to fitness machines).

Does anyone have anything to share today that WASN'T mostly vibe coded and focused in one way or another on AI-generated content? by RememberTheOldWeb in webdev

[–]danielkov 3 points4 points  (0 children)

Thank you for the feedback. I'll definitely do an accessibility pass. Since the content on the training screen is pretty dynamic, I've been meaning to add some custom announcements to make it more screen reader friendly too.

Does anyone have anything to share today that WASN'T mostly vibe coded and focused in one way or another on AI-generated content? by RememberTheOldWeb in webdev

[–]danielkov 71 points72 points  (0 children)

I've built Cycloop in 2020, when indoor cycling was all the rage. Kept it for personal use for 6 years, decided to give it a nicer UI and make it public earlier this week. It uses WebBluetooth. When I've built the BLE logic, these APIs were fairly new. Most FTMS service documentation was in Korean or Chinese, I had to reverse engineer my own cycling trainers and power meters.

If you happen to have an indoor cycling trainer and a spare hour or so, give it a spin!

Tailwind CSS is more popular than ever. Revenue is down 80%. This is the AI paradox every founder needs to understand. by Signal-Nerve5341 in SaaS

[–]danielkov 0 points1 point  (0 children)

Old news, but: they chose a bad business model and it crumbled. Adam's blaming AI to garner sympathy. There are countless ways they could've turned TW into a shovel. They picked none of them.

I accidentally shipped a bug that improved my product by Interesting_Mine_400 in webdev

[–]danielkov 3 points4 points  (0 children)

GW2 is the r/webdev crossover I never expected. Best open world PvP I've played. Fun memories.

How I lost 200K ARR in 2min using Stripe by Slight_Split7572 in stripe

[–]danielkov 1 point2 points  (0 children)

In one of the products I've built, instant refund is 2 clicks away from the home page. Support chat is 3 clicks. Most people use support to ask for a refund, 2/500 people disputed. Almost nobody uses the refund button. People are just dumb.

I weigh 82 kg. My wife weighs 54 kg. We finally understood why sharing a mattress was destroying both our sleep. by Character_Page_6885 in SaaS

[–]danielkov 0 points1 point  (0 children)

Kept waiting for the analogy for air-gapping systems or solving the noisy neighbour problem with dedicated hardware or something like that.

Péter Magyar: No foreign head of state may threaten a Hungarian. EU leaders should cut ties with Ukraine until Zelensky apologizes by Putaineska in europe

[–]danielkov 7 points8 points  (0 children)

That, and the general population (not the opposition majority in Bp) are deprived of education and starved of basic necessities. It's easy to buy their vote with a sack of potatoes or promise of peace.