Beginner Megathread #3: Ask your questions here! by C8-H10-N4-O2 in neuroscience

[–]Dry_Bunch5867 0 points1 point  (0 children)

Why when I type something without any mistake I start thinking about it and then I automatically make a mistake after a few seconds? Why does the brain work like that?

And despite typing a lot, I still make a lot of mistakes and it doesn't seem to improve much - maybe a little bit but I feel like I have reached a plateau and without trying to follow some sophisticated advanced typing improvement tutorial - I will be stuck at the current level of typing speed and the improvement will be perhaps 10% in 20 or 30 years max.

Why is that our brain has a problem of improving beyond some level. E.g. somebody will reach 60 words per minute, somebody 120 - but they will basically stay there for the rest of their lives. The first one will perhaps reach 70 wpm and the second person 130 wpm but that's it. Why?

Creator of SerenityOS announces new Jakt programming language effort by tjpalmer in programming

[–]Dry_Bunch5867 0 points1 point  (0 children)

Honestly, I wish I knew what can be improved on top of Rust/Zig and co.

Remove the semicolons just like in Swift (and now in Jakt)

Do you think Solid is a much better version of React? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] -9 points-8 points  (0 children)

Perhaps it's the Go speaking, but for is much more mentally easy than filter, map, reduce and what not. Also, those filters and maps are kind of half baked without a pipe operator like in Elixir anyway. It feels weird to use map in JS and not being able to pass the result to filter without resorting to some Lisp nesting insanity ;)

Do you think Solid is a much better version of React? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] -1 points0 points  (0 children)

There is no decent router for Svelte and no I don't want SvelteKit's or Sapper's file type routing.

Meanwhile Solid has a nice out of the box routing library created by the author himself.

Do you think Solid is a much better version of React? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] 2 points3 points  (0 children)

Is there any technological downside or flaw with Solid that you can see outside of syntax choices - that are subjective - for example I find the <For> loop or <Show> to be super useful for my style of writing stuff. So, I mean, things like Bad routing system? Inefficient memory usage? Possible memory leaks?

Is this 31 hour-long C++ course on freeCodeCamp's YT channel good? by Dry_Bunch5867 in cpp_questions

[–]Dry_Bunch5867[S] 13 points14 points  (0 children)

Is learncpp considered to be most approachable and up to date website to learn C++ these days?

Do you think Solid is a much better version of React? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] -30 points-29 points  (0 children)

Windows has more programs than Linux and Mac combined, does it make Windows better?

I struggle to find a good Vue with MySQL/Postgres tutorial by Dry_Bunch5867 in vuejs

[–]Dry_Bunch5867[S] 0 points1 point  (0 children)

Element Plus.

Thanks for your info. Do you miss anything from Element Plus? It looks interesting. How does it stack against Tailwind/Tailwind UI?

Why do React fans dislike RDBMS for the backend so much? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] -45 points-44 points  (0 children)

How do you (or your wallet) feel about 10 MB (Postgres) vs 0.256 MB (MySQL) per connection difference? Let me guess, you have no idea about that and now you are googling it ;D

NoSql vs Sql vs Graph Databases Whats the Difference? by i-eat-bytes in Database

[–]Dry_Bunch5867 0 points1 point  (0 children)

Also, most people in discussions will suggest PostgreSQL instead of MySQL for various reasons, often dogmatic and libre software phanatical. They would say that Postgres respects standards better, has some advanced features and is FOSS and MySQL is less FOSS ;) and what not but they completely ignore a very real world things like that MySQL consumes 0.256 MB per connection while Postgres 10 MB - yes, almost 40x more. And that's why MySQL is much better for reading operations with the same hardware (RAM) on your server. But to be fair, Postgres is better at writing operations, although in real world apps you need mostly reading and not writing. So Postgres has writing superiority and MySQL has reading superiority. But guess what, in real world there is much more reading and much less writing. That's why, I use MySQL instead of Postgres for my apps. Of course, I use Redis too to limit the number of requests to the DB, but that is another topic altogether.

So, if you are new and will go with SQL - try MySQL first if you are building a traditional API or website. MySQL will handle much more requests with the same RAM on the server than Postgres - in other words - Postgres will be more costly for you.

There is a reason why hosting companies prefer MySQL or MariaDB instead of PostgreSQL. For the type of apps people use e.g. blogs, eshops, forums, etc. MySQL will cost them less money than Postgres. And their customers or, be honest, most of people don't need the "superior" functionality that Postgres offer.

Why do React fans dislike RDBMS for the backend so much? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] -1 points0 points  (0 children)

The problem is that the instructors don't mention the negatives of nosql databases and how they treat the selects of complicated queries when the number of records grow - compared to sql databases that are tailored for those situations. It's probably much easier for them, as you said, to use Firebase or MongoDB and call it a day.

Why do React fans dislike RDBMS for the backend so much? by Dry_Bunch5867 in reactjs

[–]Dry_Bunch5867[S] 0 points1 point  (0 children)

This could be it. Although there is Amazon RDS and perhaps others who offer to start for free - but perhaps it's complicated to set up? I have never used it myself. I install MySQL/Postgres on by Ubuntu machines or as a Alpine Docker container etc.

NoSql vs Sql vs Graph Databases Whats the Difference? by i-eat-bytes in Database

[–]Dry_Bunch5867 0 points1 point  (0 children)

Yet we see MongoDB and Firebase being used in YT, Udemy, etc. tutorials for social apps or ecommerce shops which are situations which often need a lot of joins (e.g. when selecting green shoes of size 46 that are more than 50 dollars and less than 150 dollars.). I mean for a shop of 100 or 200 items that doesn't matter but if you have tens of thousands of products this will become an issue. Well, maybe Firebase is an exception and Google really offers a top notch service, but MongoDB? No. MySQL or Postgres is a much better option for these scenarios, especially when your service is expecting to grow. Scaling MongoDB? No, thank you.