HN user

stass

438 karma

Aspiring programmer.

Posts13
Comments167
View on HN

I cheated a little bit and don't calculate the fluid dynamics in real time. Instead, I'm using force models from the excellent Aero-Hydrodynamics of Sailing book by Marchaj, which is sadly out of print. I then do iterative balancing of the drag force and combined drag/lift forces on sails until they converge.

SailRhythm is a bit WIP, so didn't want to share too early!

Thank you so much for the detailed feedback. I do have plans to implement wind flow visualization and have a way to visualize forces as well. Controls a bit tricky to do, but this is definitely something I've been pondering. As you said, at certain headings the changes sometimes are too small to perceive.

I built one recently to mostly help myself visualize how sail trim worked and how various boat controls like mainsheet and backstay affected sail shapes, various forces and boat performance. It uses a physics-based VPP and I calibrated it against Catalina 36 polar charts, so should be pretty precise!

I plan to integrate the simulator with the sail trim guide I'm building to help people learn.

It's a WIP, but accessible at https://www.sailrhythm.com/

Happy to answer any questions!

There is a great school called Modern Sailing School in Sausalito. I highly recommend taking a class from them. I took one in the past and they are great!

Will help you figure out if you are into sailing or not.

Not my demo! But I got inspired by it some time ago to build a simulator for monohulls which uses a physics based VPP to calculate the boat speed based on input controls like mainsheet, jib sheet, travelers, backstay and so on at https://www.sailrhythm.com/

It uses Catalina 36 Tall Rig as a base model for sailboat parameters and was calibrated to match ORC-published polars for it within 1-5% on both close, beam and broad reaches.

Mostly built it for myself to help me understand how less common control affect the sail shapes, angles of attack and boat heel and behavior in a visual way.

It's still WIP, but you might find it useful for yacht-specific stuff!

Even still a lot of information is not online. I've been building a web sail trim simulator and had to hunt down a physical copy of the Aero-Hydrodynamics of Sailing book by Marchaj, because a lot of the formulas and models I needed to simulate the boat were not online, and what was online was often wrong.

This site is an absolute treasure trove of technical material on sail and hull design, with a focus on model yachts but most of the physics scales up. It covers aerofoil theory (momentum, circulation, lifting line), sail twist, downwash, planform effects, Reynolds number, hull resistance, appendage design, VMG, and more.

Lots of spreadsheets and practical calculators too—bulb shape optimization, wetted surface area, simple VPP models. If you're into sail performance modeling or yacht design, this is one of the best resources out there.

I can't believe I'm arguing that it's immoral to steal on HN, but here we are...

Yes, you might decide that breaking your moral code to feed yourself or your family is an acceptable tradeoff, but it's a tradeoff nonetheless. It's a conscious choice. A lot of people in history made a decision to go hungry instead.

Children might see the world in Marxist generics where some ambiguous, but for some reason always "wealthy" people stole all the fruit trees and poisoned the water. Adults usually deal with specifics. Who are all these mysterious people are? Do you think the food just fell from the sky before the industrial age? What do you think happened to the people who stole before the industrial age, hungry or not?

There was an actual rise in crime, both perceived and statistical, immediately after he was elected. Hell, Boudin ran on a campaign that people like his terrorist parents should not be prosecuted.

It's a well documented fact that Boudin refused to prosecute pretty much anything besides police officers. Why would police officers arrest anybody in that case?

It's the same story with other Soros-funded prosecutors: Gascon in LA, Kim Foxx in Chicago. To give them credit, they don't hide that their own goal is to protect criminals. People should listen.

The majority of these challenges are direct result of the government's corruption and incompetence. See e.g. housing crisis, or student debt issue, or massive drug proliferation.

The issue is that they are not just removing racist or hateful content according to some kind of standard. They are going after hot topics of the day, whatever it happens to be.

Even worse, hateful and racist content that is ideologically aligned is explicitly allowed. One would be hard-pressed to find anything more blatantly racist than White fragility or works of Dr Kendi, and yet you would not see eBay banning them, up until they fall out of favor.

CPI might not be high, but inflation can show itself in different places. Asset inflation has been increasingly high since 2019, which is clearly visible in stock market, real estate and commodity markets. Similarly, construction materials are up significantly.

It may or may not show up in consumer prices eventually.

What was invented in CERN was hypertext. WWW and internet was largely built and commercialized in US.

I think it’s fair to say that a lot of innovative technologies were invented in Europe, but most of them end up being commercialized in US due to market incentives and the whole funding and support infrastructure these incentives created.

For starting out I'd recommend Clause and Effect by Clocksin. It's a very short but practical introduction with really good examples along the way (including symbolic differentiation and FFT).

Collectivism killed hundreds of million of people in the past century alone. This was also rationalized. Rugged individualism is much less a-social from that perspective.