jim3692

joined 9 months ago
[–] [email protected] 5 points 1 week ago

NewPipe or Piped

[–] [email protected] 1 points 1 week ago (1 children)

Judging by the colors, this is a new photo. It's not yellow.

[–] [email protected] 10 points 1 week ago* (last edited 1 week ago)

So, you guys never had to live in a badly designed apartment, because you couldn't afford a better one.

I have been living like this in Greece for about 3 years.

[–] [email protected] 32 points 1 week ago (1 children)

You also need to ln -s /dev/null /dev/nul

[–] [email protected] 12 points 1 week ago* (last edited 1 week ago) (17 children)

In bash, when you redirect the output of a command to /dev/null, like cat /etc/passwd >/dev/null, you are silencing the output.

There are cases that this is useful, for example when checking if an application is installed:

node -v >/dev/null && echo "Node.js is installed"

This line tries to get the version of Node.js, but it silences the output. That's because we don't care about the version. We only care about whether the execution was successful, which implies the existence of Node.js in the system.

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

Point (5) is not about the arcs' lengths. It's about the angle they create with the center.

Also, I never said that COD * 2 = 2π. I said (inner COD) + (outer COD) = 2π rads

[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago) (3 children)

Take this shape as an example. The "square" in question consists of AC, BD, the outer AB, and the inner CD.

Point (5) means that, since the lines AC and BD are radii of the concentric circles, the arcs AB and CD should have the same inner angle. That's because the angle COD is equal to AOB.

Since, the inner angle is the same, then the outer AOB should, by definition, be 2π - (the inner AOB), because that's how radiants work; a circle is 2π rads.

[–] [email protected] 1 points 2 weeks ago (5 children)

Since the straight lines are radii, they cut the circles at angle θ and 2π - θ, respectively. Adding those, you get 2π.

[–] [email protected] 16 points 2 weeks ago (7 children)

Solution:

Explanation:

  1. in order for the straight lines to be 90 deg with the circles, they must be radii of circles with same central point

  2. the length of an arc is defined as c = r * θ (where r is the radius, and θ is the angle)

  3. we define the inner circle with radius r₁ and its arc L₁ = r₁ * θ₁

  4. we define the outer circle with radius r₂ and its arc L₂ = r₂ * θ₂

  5. Because of (1), θ₁ + θ₂ = 2π

  6. To create the shape, L₁ = L₂ = r₂ - r₁

If you start replacing and solving, you will get a 2nd grade quadratic, which has a positive and a negative solution. The positive solution is that magic number.

[–] [email protected] 2 points 2 weeks ago (1 children)

BMWs need a speeding indication more than a braking one /s

[–] [email protected] 23 points 2 weeks ago

Could have avoided "!" altogether, and send "For you I have 720"

[–] [email protected] 2 points 2 weeks ago

You can install and run v3.1 in DosBox. In case anyone wanted to keep using it.

view more: ‹ prev next ›