petersr

joined 2 years ago
[–] petersr 1 points 7 months ago

They came for the dogs first and now us

[–] petersr 27 points 7 months ago

Well, I guess PDF has one thing going for it (which might not be relevant for scientific papers): The same file will render the same on any platform (assuming the reader implements all the PDF spec to the tee).

[–] petersr 9 points 7 months ago (1 children)

Welcome to Denmark.

[–] petersr 2 points 8 months ago

From ChatGPT:

Me: Water exits a nozzle at coordinate (0, 1.7m) and hits the ground at (2m, 0). Assume the water exits the nozzle at 90 degree (i.e. straight to the right). How can we determine the speed of the water?

(here I made some rough assumptions based on the image, and assumed that her feet were at (0, 0)

Answer: The speed of the water exiting the nozzle can be determined using the principles of projectile motion.

  1. Determine the time of flight:

    The water is projected horizontally from a height of 1.7 meters and hits the ground at 2 meters horizontally. The vertical motion is governed by the equation: [ y = y_0 + v_{y0} t - \frac{1}{2} g t^2 ] Here, ( y_0 = 1.7 ) meters, ( v_{y0} = 0 ) m/s (since there is no initial vertical velocity), and ( g = 9.8 ) m/s² (acceleration due to gravity).

    The water hits the ground when ( y = 0 ): [ 0 = 1.7 - \frac{1}{2} \times 9.8 \times t^2 ] Solving for ( t ): [ 1.7 = 4.9 t^2 ] [ t^2 = \frac{1.7}{4.9} ] [ t = \sqrt{\frac{1.7}{4.9}} \approx 0.59 \text{ seconds} ]

  2. Determine the horizontal velocity:

    The horizontal distance covered is 2 meters. Since horizontal velocity ( v_x ) is constant (there is no horizontal acceleration), the distance can be given by: [ x = v_x t ] Here, ( x = 2 ) meters and ( t \approx 0.59 ) seconds: [ v_x = \frac{2}{0.59} \approx 3.39 \text{ m/s} ]

Therefore, the speed of the water exiting the nozzle is approximately 3.39 m/s.

[–] petersr 8 points 8 months ago (1 children)

What velocity does the milk exit the nipple with to be able to have that trajectory?

[–] petersr 4 points 8 months ago (1 children)

Stuxnet would like a chat with you

[–] petersr 5 points 8 months ago* (last edited 8 months ago) (1 children)

Can we at least avoid a dystopia future?

[–] petersr 3 points 8 months ago (3 children)

But can we at least get him out the election?

[–] petersr 15 points 8 months ago (1 children)

Don't be evil, you know.

[–] petersr 1 points 8 months ago

I hear ya. But to be honest, what they are doing here is fine, and doesn't seem malicious. There is an Open Document specification and they stick to it, but the spec doesn't enforce everything. For instance for the ordering of certain elements on the page, I bet you they store store those elements in memory in an efficient data structure where ordering doesn't matter, so when writing out the memory to disk, the easiest for them to do is just write it out in what order it appears in their data structure.

But there are probably other cases where they are not so innocent.

[–] petersr 8 points 8 months ago (2 children)

I will join that therapy session. This is pretty much what we did, except LFS, since it was "a requirement" to also track what they layouting of the Excel file was like.

And even extracting and inserting the code was not stable. Excel will arbitrarily change the casing of ".path" to ".Path" for no reason and add and remove whitespace between functions as it see fit. It was such a pain. We also had a hard time handling unicode strings for instance containing a degree sign. And the list goes on.

[–] petersr 7 points 8 months ago* (last edited 8 months ago)

Yeah, I made such a tool - and kept polishing edge cases until I gave up. So just wanted to warn everyone.

view more: ‹ prev next ›