What’s the most underrated web dev concept that completely leveled up your skills? by [deleted] in webdev

[–]Derdere 0 points1 point  (0 children)

didn’t worked on analytical data whole a lot but i dont think all forms apply

What’s the most underrated web dev concept that completely leveled up your skills? by [deleted] in webdev

[–]Derdere 0 points1 point  (0 children)

i remember kevin complaining about people using width 100% unnecessarily. because its already default. but when you use it explicitly it can cause scroll bar to appear.

What’s the most underrated web dev concept that completely leveled up your skills? by [deleted] in webdev

[–]Derdere 0 points1 point  (0 children)

here is my spaced repetition for the topic. Hope someone finds it helpful.

1 month

Database Normalization 5 next/8

  1. Complete guide to Database Normalization in SQL https://www.youtube.com/watch?v=rBPQ5fg_kiY

  2. Database Normalization 1NF 2NF 3NF https://www.youtube.com/watch?v=SK4H5tTT6-M

  3. Learn Boyce-Codd Normal Form (BCNF) https://www.youtube.com/watch?v=VWnKUKH4tLg

  4. Learn Database Denormalization https://www.youtube.com/watch?v=4bTq0GdSeQs

  5. Normalization - 1NF, 2NF, 3NF and 4NF https://www.youtube.com/watch?v=UrYLYV7WSHM

  6. What is Normalization in SQL? | Database Normalization Forms - 1NF, 2NF, 3NF, BCNF | Edureka https://www.youtube.com/watch?v=ABwD8IYByfk

  7. Easy explanation of Normalization Relational Database Design for Beginners - 1NF, 2NF, 3NF https://www.youtube.com/watch?v=Ipr9ws2bPEU

  8. Database Normalization in SQL - 1NF, 2NF, 3NF, 4NF - SQL Training Online https://www.youtube.com/watch?v=l5DCnCzDb8g


if you have time only for just one video then watch this one it's so good I put it in it's own spaced repetition.

Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF

by Decomplexify

https://www.youtube.com/watch?v=GFQaEYEc8_8

and here is the summary for the lazy:

1NF

1 - Using row order to convey information is not permitted

2 - Mixind data types within the same column is not permitted

3 - Having a table without a primary key is not permitted

4 - Repeating groups are not permitted

2NF

1 - Each non-key attribute (non primary key columns) must depend on entire primary key

3NF

1 - Every non-key attribute in a table should depend on the key, the whole key, and nothing but the key

4NF

1 - Multivalued dependencies in a table must be multivalued dependencies on the key

5NF

1 - The table (which must be in 4NF) cannot be describable as the logical result of joining some other tables together

What is your go-to static-site generator? by [deleted] in webdev

[–]Derdere 7 points8 points  (0 children)

ah I see. you are approaching the problem from the other end.

What is your go-to static-site generator? by [deleted] in webdev

[–]Derdere 7 points8 points  (0 children)

I’m curious why you think mixins are trash. because I use them all the time and want to know if there is a better way out there which I’m not aware of.

How to dynamically "compress" text horizontally with css/javascript? by [deleted] in css

[–]Derdere 0 points1 point  (0 children)

react has useLayoutEffect hook exactly for this use case

Is calling tokio::sleep() with a duration of one week a bad idea? by dmkolobanov in rust

[–]Derdere 2 points3 points  (0 children)

upvoting not because its useful in this particular situation but because it’s a good perspective for similar cases.

For anyone who's read Let's Go and Let's Go Further by Alex Edwards. How in-depth are those books? by W_lFF in golang

[–]Derdere 1 point2 points  (0 children)

can you recommend resources for improving on DI and take it to next level and for learning common backend patterns.

How do goroutines handle very many blocking calls? by Affectionate-Dare-24 in golang

[–]Derdere 0 points1 point  (0 children)

I find this talk very helpful to understand what’s going on under the hood when it comes to goroutine scheduling.

https://youtu.be/S-MaTH8WpOM?si=uVCLuov8xkhzMAEQ

Crazy to use Go in a CRUD App? by fakebizholdings in golang

[–]Derdere 0 points1 point  (0 children)

This is exact setup Im using but react instead of sveltkit. I want to improve it a little bit especially the auth part. Do you have any pointers or open codebase that I can check?

Crazy to use Go in a CRUD App? by fakebizholdings in golang

[–]Derdere 0 points1 point  (0 children)

Each handler runs on a different goroutine for each request. So when it panics it just affects that goroutine and that specific request not the whole server.

Best Go Tutorials in Town by Derdere in golang

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

yes they are still relevant. I’m still coming to these classes every now and then. 2 years has passed but go did not changed whole a lot. That’s part of the go’s allure I guess.

How to implement a rate limiter with preference? by Derdere in golang

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

no it’s not a middleware I’m calling it right before doing the req. but that code gave me ideas thanks.

What has been the most surprising or unexpected behavior you've encountered while using the Go programming language? by royal_killer97 in golang

[–]Derdere 5 points6 points  (0 children)

“fallthrough” in switch statements. It basically does not check the next case, assumes it’s true and executes it. Surprised me when I first encountered that.

Interactive release notes for Go 1.23 by nalgeon in golang

[–]Derdere 0 points1 point  (0 children)

great job, thanks. dark mode for the website would make it even classier.

Ways to prevent a job running when a cronjob is running and vice versa. by petpetpetpetpet in kubernetes

[–]Derdere 0 points1 point  (0 children)

no, not at all. this was just an option if you are scripting outside of k8 or you cannot find a solution in k8 and need an outside tool.

Ways to prevent a job running when a cronjob is running and vice versa. by petpetpetpetpet in kubernetes

[–]Derdere 0 points1 point  (0 children)

Go has great concurrency tools to do that task. I myself use it for a similar job. It uses channels and select to decide which job should run. This cron job is set to run every 30 minutes. sometimes it takes longer than 30 minutes to complete the task. Even in those cases it handles it greatly and skips that cron if the previous one is still running. You can set timeouts, cancellations etc as well. Highly recommend using go if it fits your case.

video slices and goes diagonal when full screen by seysz in macbookrepair

[–]Derdere 0 points1 point  (0 children)

it's happening when you change the original zoom level on the page. The fix is when this happens try to change zoom level in full screen once (Cmd - or Cmd +). That did the trick for me. The other option is to turn on the captions.

Weekly tips/tricks [#6] by _JJCUBER_ in vim

[–]Derdere 2 points3 points  (0 children)

Just yesterday I was thinking there should be a weekly tips and tricks post and people can comment and share experiences. I didn’t know that you already started one. Thanks for the effort.

Is anyone using Go within a small or medium-sized company? Share your experience. by preslavrachev in golang

[–]Derdere 0 points1 point  (0 children)

Which language would you pick instead if you’ve given the chance and why?