Readit News logoReadit News
morbicer commented on The Ingredients of a Productive Monorepo   blog.swgillespie.me/posts... · Posted by u/mifydev
countWSS · 3 months ago
From viewpoint of security and separation of concerns giving unlimited access to everything by virtue of "everything" being stored in one giant repo sounds exceptionally short-sighted. A single rogue actor would be able to insert code to any component of choice instead of working on isolated repo with people who specifically know it and approve the code: the monorepo is a "big ball of mud" with vague shared responsibility that defers to people who worked on "specific parts" but they lack any authority or control, auditing the entire codebase doesn't scale.
morbicer · 3 months ago
Codeowners file + required review from the owner team solves like 90% of those worries
morbicer commented on The Truth about Atlantis (2019)   talesoftimesforgotten.com... · Posted by u/gostsamo
morbicer · 4 months ago
Beware, the linked Creative Society is a front for AllatRa sect, very dangerous Russian backed disinformation group that's infiltrating Central Europe.

It goes so far that district attorney from Slovakia, who is a member of the sect is going after Czech journalists who uncover them.

They have tool to generate videos on any esoteric/conspiracy topic with AI assistance.

Sadly I can't link much English sources.

- https://vsquare.org/disinformation-whitewashing-russia-allat...

- https://allatra.tv/en

- https://www.bbc.com/news/blogs-trending-61166339

- https://cs.wikipedia.org/wiki/AllatRa

morbicer commented on How Monero Fulfilled Satoshi's Promise   zola.ink/blog/posts/how-m... · Posted by u/znano
morbicer · 6 months ago
Monero was the only coin that made sense to me back in the 2017 crypto craze. A real anonymous and government free currency. To this day I am salty that Bitcoin won, such a shitty coin, now firmly embraced by governments, full of regulation. Slow, high fees, not really accepted by merchants. Just a "gold" made out of thin air.
morbicer commented on Solarpunk   en.wikipedia.org/wiki/Sol... · Posted by u/nis0s
akeck · 6 months ago
Yup. I'm seeing this as well in trying to write Solarpunk fiction that has near zero hand waving of technical and economic challenges. I've had to rethink a bunch of everyday stuff that today relies on substantial heavy industry behind the scenes (like toothpaste).
morbicer · 6 months ago
I get what you mean in general, but toothpaste isn't a great example as it's not a necessity. My wife goes without it for years and has no cavity or gum issues.

- https://advanceddentalartsnyc.com/is-toothpaste-necessary/

- https://www.huffmansmilesdental.com/is-it-okay-to-brush-your...

morbicer commented on There's Math.random(), and then there's Math.random() (2015)   v8.dev/blog/math-random... · Posted by u/beepill
jansan · 7 months ago
I wonder why there have not been any updates on v8.dev since July 2024. Did Google axe some v8 developer jobs?
morbicer · 7 months ago
Probably because they might be forced to sell it? https://www.bbc.com/news/articles/cp81ppr3l9go.amp
morbicer commented on Tailwind CSS v4.0   tailwindcss.com/blog/tail... · Posted by u/g3eorge
vim-guru · 7 months ago
CSS has become significantly more user-friendly than in the past, with most browsers now behaving consistently. It's worth learning as there is no build step involved, and it avoids cluttering your markup with excessive code.

You could opt to use style attributes directly within your HTML. Historically, we avoided this to maintain a separation of concerns, but it's puzzling why some prefer reintroducing similar methods. Is it just to save a few keystrokes? Using style attributes even seems more straightforward since it doesn't require translating code in your head.

I simply don't see the appeal.

morbicer · 7 months ago
There's a bunch of things you can't do with style attributes, just to pick a few:

- Pseudo-classes (e.g., :hover, :focus)

- Pseudo-elements (e.g., ::before, ::after)

- Media queries

- Keyframes and animations

And the DX in a larger project isn't great either.

On the other hand, this upcoming standard is a great addition for collocating styles https://developer.mozilla.org/en-US/docs/Web/CSS/@scope

morbicer commented on Modern JavaScript for Django developers   saaspegasus.com/guides/mo... · Posted by u/rob
fmnxl · 7 months ago
Show me this amazing site of yours. With that amount of talent maybe you should go over to Next.js and solve their RSC issues.
morbicer · 7 months ago
I can't, our app is enterprise SaaS built as SPA. Nextjs is imho garbage. The only reason I can imagine it is so popular is that average React devs are indeed very bad with code organization. If I needed server rendering I would go with Astro + interactive islands.
morbicer commented on Modern JavaScript for Django developers   saaspegasus.com/guides/mo... · Posted by u/rob
fmnxl · 7 months ago
Well there's a cost to that abstraction, e.g. you'd have to pass the context into the component, so every time you need to modify the component's schema/props you'd need to change it twice, both in the parent and the component.

You must have seen some huge React components with 20 different props or even more, and you'd need to think about memoizing those props to prevent a re-render, etc etc.

I've also been a web dev for over 20 years, and 10 years with React. I'd say that going back to native HTML APIs for handling stateful things like forms and form validation is a breeze, rather than writing components and endless abstractions. It's enough for the vast majority of the time.

morbicer · 7 months ago
Those are just shitty codebases. I maintain a React app that's over 10 years old, almost milion lines of code and we have zero components with 20 props, no issues with performance or whatnot.

I am an oponent of over-abstraction but components are very light abstraction and provide just sensible encapsulation and reusability.

morbicer commented on Modern JavaScript for Django developers   saaspegasus.com/guides/mo... · Posted by u/rob
pier25 · 7 months ago
> I just can't go back to PHP at this point

Same.

During 2024 I evaluated multiple backend platforms/frameworks to get away from Node. Laravel is great and modern PHP (the language) is also surprisingly good but betting on PHP feels like betting on coal and the steam engine. The runtime and execution model are extremely outdated and resource hungry.

There are some efforts like FrankenPHP and Swole that package a PHP app to have a persistent execution model. But IMO unless PHP officially adopts this model this will always feel like a hack to me.

morbicer · 7 months ago
The job market for php devs is also weird. Very few talented people. Because php jobs on average pay the worst, people who are motivated and smart often learn another language and abandon php. There are some very practical oriented and clever people willing to do php but you have to look very hard.
morbicer commented on Modern JavaScript for Django developers   saaspegasus.com/guides/mo... · Posted by u/rob
chis · 7 months ago
I wish there was some way to just get react-style data bindings, html generation from JS, and code organization, while still hosting from purely a flask/django backend. The traditional split of a flask API and a react frontend consuming it, just feels like overkill.

Plus native JavaScript+html is just so close to a complete solution these days. I don’t miss components at all. I just want better code organization.

morbicer · 7 months ago
I don't understand the second sentence. As someone developing web apps for over 20 years, components ARE the better code organization.

u/morbicer

KarmaCake day534March 31, 2021View Original