Better HN
topnewbestaskshowjobs
Log inSign up

danpad

25 karma · joined Jun 20, 2024 (2y ago) · 18 submissions

https://danpad.com
Submissions

comment 1y ago · link · parent

Shame on you.

comment 1y ago · link · parent

True :D

comment 1y ago · link · parent

Weeeeell debating whether to use one of those 3 UI component libraries you mentioned is IMO pointless, you are gonna be fine with any of them. I was thinking more along the lines of Django vs Rails vs ASP.NET and someone suddenly coming in and yelling "LET'S DO CLOJURE".

comment 1y ago · link · parent

Yes, I could use those. But I gotta ask myself:

- will my client have problems finding someone that speaks Czech/Slovak and also knows DaisyUI/HyperUI/HTMX/Django? - are those techs gonna be maintained in 5 years? - what's the bus factor on the techs? Is it several people's project or a one (wo)man show?

All while there's React+<one of the big component libraries> right at your disposal...

comment 1y ago · link · parent

Your first paragraph highlights the issue perfectly. You mentioned Bulma—how many developers have even heard of it, let alone use it regularly? It’s even worse when one app uses Bulma because someone wanted to try it out, another uses Tailwind because it came along a year later, and then there’s a 10-year-old PHP project still stuck on Bootstrap 3.

With something like MUI, everything is where I expect it to be. That consistency lets me focus on learning the business logic, addressing critical bugs, and thus making meaningful contributions.

comment 1y ago · link · parent

Excuse me - do you understand what a component library is? It's a whole framework from element wrappers, styling, animations to pre-made pages, filtering and sorting functions on tables etc. Think MUI, Bootstrap or PrimeNG.

HTMX is just "replace this with response", you'll still have to write all the CSS classes, manually add them to all the elements, do animations yourself etc. I like HTMX, but I am tired of backend and hobby programmers shilling it at every opportunity. Try to write a reasonably complex website with it and give it your friend to maintain and improve. You'll understand why frontend frameworks exist. HTMX sends you back to the HTML-in-PHP ages with homebrew ORMs and what not, because there's no unified way of doing things.

comment 1y ago · link · parent

Yes, I could do it with server rendered site, it wouldn't be as fast though. Also SPAs were my bread and butter with my previous employer, and I have gotten to a point where I am much more comfy with NextJS+Django than SSR Django, Django+homebrew JS or something like HTMX (as much as I wanted to like that one).

Statically generated site is something completely different and I couldn't make Gramazing like that.

comment 1y ago · link · parent

> I've never seen a fast or responsive SPA

Here, let me blow your mind. It's in Czech, but you can click the orange buttons to try the activites: https://gramazing.com/features .

Made with NextJS (client side only), Django, hosted in Germany on a cheap VPS.

comment 1y ago · link · parent

Your first sentence implies there is some relevance of taking an arbitrary EV and comparing it to an arbitrary ICE. There's not... I am gonna bet anything your random EV is gonna be heavier than a Suzuki Swift.

comment 1y ago · link · parent

Hah, I hadn't even thought of banking/payments on the go. And true regarding the offline maps - a few sister comments mentioned leaving phone at home though.

comment 1y ago · link · parent

I think so. Also half of the people don't have children and/or have a lot of free time. I am not even talking about responding to emails/family chat.

How do they do 2-factor auth to Heroku/Gitlab/whatever? Maps in a foreign country where you can't even read the letters? On way to job interview when the interviewer has an emergency and needs to postpone? Good friend is in the town and calls you to hang out? Translation when a tourist comes to ask where something is?

comment 2y ago · link · parent

You do and they can get bullied because of it.

You don't and they can get bullied because of it and also become the weird kid that doesn't have social media.

Sometimes there isn't a good choice. :/

comment 2y ago · link · parent

I am not sure if this is satire or not.

comment 2y ago · link · parent

I don't think it's that unfathomable when you look at how governments spend the money. E.g. a public Czech university spent 80k euros to change their logo from this:

https://cdn.xsd.cz/resize/21404adf37a83977870fe87fe0eb4ea6_r...

to this:

https://www.em.muni.cz/cache-thumbs/logo_muni_web-1580x790-2...

Why does a public university, one of the most popular in the country, need a new logo? And if it needs a new logo, why don't they assign it as a project to the students of arts/marketing faculty?

comment 2y ago · link · parent

that is simply not true. Try to solve the scenario of earning 10 USD a month via YouTube monetization with your tax domicile being in the Czech Republic while being full-time employed. "Simply get less money" is a vast overstatement.