HackerTrans
TopNewTrendsCommentsPastAskShowJobs

meiraleal

no profile record

comments

meiraleal
·6 mesi fa·discuss
[dead]
meiraleal
·9 mesi fa·discuss
[dead]
meiraleal
·anno scorso·discuss


  “OpenAI stole from the whole internet to make itself richer, DeepSeek stole from them and give it back to the masses for free I think there is a certain british folktale about this”
meiraleal
·anno scorso·discuss
It is great to see that this is the result of spending a lot in hardware while cutting costs in software development :) Well deserved.
meiraleal
·2 anni fa·discuss
Right. Goodness of their hearts only comes from the US. The others just want to take advantage, careful! /s
meiraleal
·2 anni fa·discuss
Still much better than IMF loans, heavy debt but no real infrastructure while forcing privatization to the group of western "friends"
meiraleal
·2 anni fa·discuss
damn Russians framing Chinese is a good proof their partnership isn't going well (same with Americans exploding germany infrastructure [nordstream])
meiraleal
·2 anni fa·discuss
Just last week, they gave a megaport to Peru, the biggest in Latin America
meiraleal
·2 anni fa·discuss
Visual SourceSafe was Microsoft's source control software, terrible by the way.
meiraleal
·2 anni fa·discuss
> How much do you tip Apple or Microsoft as appreciation for their software every time you show up to use it?

I don't use their products which for me are all garbage and I tip often free and open source software.

Now the important thing, comparing "tipping" Apple and Microsoft to giving a tip to a minimum wage worker is quite evil.
meiraleal
·2 anni fa·discuss
> It's none of your business to ever tip anywhere UNLESS you explicitly want to thank somebody for their service. How hard is that to understand?

That's exactly the point? Buying iced tea everyday for some time means that he liked it. Not showing appreciation to something he clearly appreciates
meiraleal
·2 anni fa·discuss
You should at least google (or ask chat GPT?) about Lit before calling it some hipster framework. Lit is the old Polymer.js and being under development for the past 10 years. Still small, still making the best use of web standards.

I agree with you about knowing a bit of most popular frameworks tho, they are quite interchangeable and very often adopt each others famous features. The biggest advantage of choosing Lit as your main tool is that it is the one that is more integrated with web components that won't go anywhere, anytime.
meiraleal
·2 anni fa·discuss
err... no?

Example using Lit and Template Literals:

  html`<div class="thing-contents">Hello</div>`;

Example using only web components:

  shadow.innerHTML = `<div class="thing-contents">Hello</div>`;
meiraleal
·2 anni fa·discuss
I'm with you on that. Lit is the way to go. It is in the 3.x version but it never released a real breaking change but also it doesn't carry bloat for compatibility as it is a thin layer on browser APIs. The core dev team is great too, not looking to jump the next hype bandwagon.

WebComponents are the future (and the present) of web development.
meiraleal
·2 anni fa·discuss
Lit, for sure.

Now is WebComponents prime time. Libraries like Lit have just a little bit of code that makes the DX of webcomponents be top notch. Some people like to use TS with it but what I love about lit is how powerful it is with just vanilla JS and no compile/bundling/building phase. Development directly in the browser, sane stack traces and faster than anything I've seen.

Lit code is similar to what React was until the 16 version.
meiraleal
·2 anni fa·discuss
I’m discussing tech, while you’re discussing anthropology. Should people use an inferior tool to achieve a higher social status/paycheck? I don't know, that's your opinion.

Do I recommend someone learn React to develop a web app nowadays? No, it's not worth it.

I'm not preaching to you, but to the juniors reading the thread. React contributes significantly to current JavaScript fatigue, and supporting it so juniors can get a job isn't in my or their best interest.
meiraleal
·2 anni fa·discuss
No, you are not. The complexity of a React app is pure madness.

The bloat in the ecosystem of (mostly) abandoned packages is unparalleled. With the bloat comes the need to tree-shake, bundle, compiling, things that are not needed in modern web development but takes a good amount of the dev cognitive load when developing a React app.

There are great alternatives nowadays that don't come with the bad recent decisions of React: Solid, Lit, even vue or svelte.
meiraleal
·2 anni fa·discuss
For me the start of the decline was actually React 16.8 with hooks.
meiraleal
·2 anni fa·discuss
JSX was unique while we didn't have native string interpolation in JS. With Template literals, JSX isn't that special anymore.
meiraleal
·2 anni fa·discuss
For almost 10 years, the core react developers would repeat incessantly: React is a library, not a framework.

In the past 2 or 3 years, they just "gave" up, turned it into the biggest most bloated framework in the frontend area while the official Web APIs in the browsers evolved so much that React is actually completely useless and now it is completely useless with a compiler.

I'm wondering if that was actually the reason they pivoted to this Frankstein? The loss of relevance as a frontend library.

Anyway, I jumped off the bandwagon and don't have a say in this fight anymore. But I'm doing my part advising every Junior Developer to not make the mistake of choosing React today.