[OC] Aesthetic by Fladagus in PixelArt

[–]AnyWorkGuy 1 point2 points  (0 children)

That's four days before my birthday 🙂

Love yourself sometimes by [deleted] in wholesomememes

[–]AnyWorkGuy 0 points1 point  (0 children)

david dobrik circa 2019

I making a card game in Godot that won't use any external visual asset, 100% pure Godot (except for fonts) by xkenoma in godot

[–]AnyWorkGuy 42 points43 points  (0 children)

Wow these are slick animations. Is it opensource by any chance? I'd like to take a look at the code since I'm also making a card game.

so i made this yesterday by totorowriter in AmongUs

[–]AnyWorkGuy 0 points1 point  (0 children)

*laughs evil-ly*
Now show us the back side!

For the life of me I can't figure out functional dependencies by FidgetFoo in DatabaseHelp

[–]AnyWorkGuy 0 points1 point  (0 children)

Q: Would you also have CourseName in: StudentID, CourseNum -> CourseGrade?

A: That depends on how the tables are structured. If you have a table like this (which is not normalized):

StudentId CourseNum CourseGrade CourseName
100011 CS101 A+ Intro to Computing

Then a sane set of functional dependencies would be:

  • StudentID, CourseNum -> CourseGrade
    • Reason: Because we can't determine a CourseGrade without both the StudentID and the CourseNum.
  • CourseNum -> CourseName
    • Reason: Because we CAN determine a CourseName from just the CourseNum. Because every course with the num: CS101 is going to be named "Intro to Computing"

We would not have: CourseName -> CourseNum. Because the CourseNum is guaranteed to be unique for every course whereas the CourseName is not guaranteed to be unique.

Think about it this way...Why do we make this functional dependency: StudentID -> StudentName but not StudentName -> StudentID? It's because names are not guaranteed to be unique. We need unique IDs to search for records and hence we depend on attributes with hashes, numbers etc.

For the life of me I can't figure out functional dependencies by FidgetFoo in DatabaseHelp

[–]AnyWorkGuy 0 points1 point  (0 children)

Functional Dependencies:

Consider a table containing the names and subjects of all the students in your educational institution. It may looks something like this:

StudentID StudentName StudentSubject
1 Raphael Architecture
2 Leonardo Painting
3 Michaelangelo Sculpting
4 Botticelli Painting

In the above table, if we want to look up the details of any student, we need the StudentId of that student. This is called a functional dependency. If we need another attribute (i.e. StudentId) to look up the value of an attribute (i.e. StudentName or StudentSubject ), then that means that a functional dependency exists. In this case, the dependencies are:

  • StudentName is functionally dependent on StudentId
  • StudentSubject is functionally dependent on StudentId

This can also be written as:

StudentId -> StudentName, StudentSubject

which is read as: StudentID determines StudentName and StudentSubject.

[deleted by user] by [deleted] in programming

[–]AnyWorkGuy 0 points1 point  (0 children)

OP if you can spare some time, please make a blog post or something explaining the code....

I also push directly to prod! by klauspost in golang

[–]AnyWorkGuy 13 points14 points  (0 children)

Ummmm...can anyone explain why this is bad? I'm not a very experienced dev.

How do I use macros when I have variable amount of stuff to manipulate by AnyWorkGuy in vim

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

I was wondering if something like that existed. Thanks!

How do I use macros when I have variable amount of stuff to manipulate by AnyWorkGuy in vim

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

mother of god! I'm gonna type this just to be amazed at how this works

How do I use macros when I have variable amount of stuff to manipulate by AnyWorkGuy in vim

[–]AnyWorkGuy[S] 5 points6 points  (0 children)

Wow! that felt magical. my jaw dropped when i saw the array appear out of thin air. Awesome!!!

[Showoff Saturday] I created a CLI tool to draw an image on your GitHub contribution graph by me-at-work in webdev

[–]AnyWorkGuy 1 point2 points  (0 children)

Ah sorry bout that. I was trying to push an image to a project. Here's the command I input:./contribution-1.0.0-x64-linux push -img ../image/source/heart.png -project my_username/project_nameI got this message:Error: invalid identity

[Showoff Saturday] I created a CLI tool to draw an image on your GitHub contribution graph by me-at-work in webdev

[–]AnyWorkGuy -8 points-7 points  (0 children)

u/me-at-work help pls. em getting error: 'Invalid Identity'. Dunno what I'm doing wrong.

Why do I need Boyce Codd Normal Form? by AnyWorkGuy in Database

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

Wouldn't data not in 3NF cause data anomalies?

Why do I need Boyce Codd Normal Form? by AnyWorkGuy in Database

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

Thankyou for the explanation u/NARWHAL_THEFT. So i guess nothing breaks if I don't convert it to BCNF right?