Vigge93

joined 1 year ago
[–] Vigge93 21 points 16 hours ago* (last edited 16 hours ago)

Comment should describe "why?", not "how?", or "what?", and only when the "why?" is not intuitive.

The problem with comments arise when you update the code but not the comments. This leads to incorrect comments, which might do more harm than no comments at all.

E.g. Good comment: "This workaround is due to a bug in xyz"

Bad comment: "Set variable x to value y"

Note: this only concerns code comments, docstrings are still a good idea, as long as they are maintained

[–] Vigge93 1 points 1 day ago (1 children)

Example: https://www.rt.com/pop-culture/600410-germany-gelsenkirchen-renamed-taylor-swift/

Except for the final paragraph, it is very non-political, and easily verifiable to be true.

I want to be clear that I do not condone or support using these types of sources, since it funds non-democratic governments, but simply dismissing all of their stories as "fake news" without any further critical thinking or fact checking is not correct.

[–] Vigge93 3 points 1 day ago (3 children)
  1. In what way is it not covered, according to you?

  2. If the news story is, e.g., non-political, does not try to influence your opinion on something, and is based on first-party facts that can be independently verified and that are correctly represented, the source does not matter for the factuality of the news story, even if it is from a non-democratic source.

[–] Vigge93 4 points 1 day ago (5 children)

That's covered under "Consider the source."

The source having ties to a non-democratic government does not automatically invalidate the source, but it should make you scrutinize it more sceptically in relation to the other criteria.

[–] Vigge93 3 points 2 days ago (1 children)

It literally says "and" on the second to last row

[–] Vigge93 3 points 2 days ago (2 children)

Not to be too pedantic, but Californium is Cf

[–] Vigge93 15 points 2 days ago

Damn right, you'd miss the Pan Galactic Gargle Blaster drink before the dinner. Not ok.

[–] Vigge93 25 points 1 week ago (2 children)

ITT: People misinterpreting the idea as "facts that your school taught wrong", when it's really saying, "things that have changed since you went to school" (either through a change in definition or by new research).

E.g. If you went to school before the early 2000's, you were taught that Pluto is a planet, while that is no longer true since it was recategorized in 2006.

[–] Vigge93 5 points 2 weeks ago

Being able to handle it, and being able to handle it efficiently enough are two very distinct things. The hash method might be able to handle long strings, but it might take several seconds/minutes to process them, slowing down the application significantly. Imagine a malicious user being able to set a password with millions (or billions!) of characters.

Therefore, restricting it to a small, but still sufficiently big, number of characters might help prevent DoS-attacks without any notable reduction in security for regular users.

[–] Vigge93 4 points 4 weeks ago

Not the Doppler effect, as that only applies to moving objects, but instead the inverse square law, where the energy of the sound wave decreases by the square of the distance from the origin, since it spreads in a sphere with the energy being spread across the surface of the sphere, resulting in a very quick dropoff in the loudness.

[–] Vigge93 6 points 3 months ago* (last edited 3 months ago)

#Wordle1017 3/6* Grade: A

⬜⬜⬜⬜🟩 C+

🟩⬜⬜⬜🟩 A+

🟩🟩🟩🟩🟩 A+

https://gradle.app/#SMXWKREyjq2jTtZN

[–] Vigge93 38 points 3 months ago (4 children)

Can confirm that SAAB cars are great! Mine is coming up on 19 years old, and apart from some superficial issues still works as well as when it rolled out of the shop. SAAB was also very innovative with their cars, taking a lot of inspiration from their jets, which is clearly seen in their design.

view more: next ›