Live data from Hacker News

Draw an iceberg and see how it would float in water

joshdata.me

141–150 of 179 posts

Re: Draw an iceberg and see how it would float in water

#141

Sidenote: Good demonstration that even in 2021 jQuery has its place as the right tool for the job: quickly hacking together a small project.

What parts of jquery in particular?

I think the Node querySelector $('selector'), attaching event listeners, getting and setting element width/height

Re: Draw an iceberg and see how it would float in water

#142

Sidenote: Good demonstration that even in 2021 jQuery has its place as the right tool for the job: quickly hacking together a small project.

junior devs say dumb things about jQuery because they need to build experience and clout in complicated bloatware fortunately the crypto space is paying well enough these days and all you need is a wallet connect button, without a backend, so devs don't have to deal with this particular elitist bullshit to get hired by someone else anymore its actually questionable whether you need a frontend to make money right now.…

Was this written by GPT-3?

Re: Draw an iceberg and see how it would float in water

#144

Cool. I notice that something dropped from the top accelerates downwards. But something released at the bottom doesn't seem to accelerate noticeably upwards. Even with drag, a bouyant object should accelerate towards the suface, shouldn't it?

Note drag increases with speed. So objects accelerate until drag negates buoyancy and then it just goes upwards at a costant speed.

Re: Draw an iceberg and see how it would float in water

#146
post #142

Earlier quoted context omitted.

junior devs say dumb things about jQuery because they need to build experience and clout in complicated bloatware fortunately the crypto space is paying well enough these days and all you need is a wallet connect button, without a backend, so devs don't have to deal with this particular elitist bullshit to get hired by someone else anymore its actually questionable whether you need a frontend to make money right now.…

Was this written by GPT-3?

Yes, it was a deep fake trained by solidity and JS developers making 8-figures of revenue launching purely frontend products.

Re: Draw an iceberg and see how it would float in water

#147

Cool. I notice that something dropped from the top accelerates downwards. But something released at the bottom doesn't seem to accelerate noticeably upwards. Even with drag, a bouyant object should accelerate towards the suface, shouldn't it?

Note drag increases with speed. So objects accelerate until drag negates buoyancy and then it just goes upwards at a costant speed.

I guess that the 'terminal velocity' is quite slow as the difference between water and ice buoyancy is small.

Re: Draw an iceberg and see how it would float in water

#148

So without any further knowledge about how icebergs should orient and how scientists draw them: Icebergs in 3D will generally have different mass distributions than the corresponding 2D projections that we are drawing here. For example, there will generally be higher "2D mass density" in the center. Consequently, it is possible that the scientists "drawing icebergs wrong" are actually right and it just looks/"behaves…

It's just potential energy minimization. A tall thin iceberg will float on its size in 2D or 3D.

Re: Draw an iceberg and see how it would float in water

#149
post #40

Hourglass shape behaves pretty cool - that is, two triangles joined at their points

And drawing them at the bottom yields very different results than partially or fully above the surface!

I think they fixed this - today I can’t make the same shape, it just drops one of the triangles.
Post reply on HN