shakedown.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A community for live music fans with roots in the jam scene. Shakedown Social is run by a team of volunteers (led by @clifff and @sethadam1) and funded by donations.

Administered by:

Server stats:

285
active users

#generators

0 posts0 participants0 posts today

New Kitten update

🥳 Kitten HTML templates and kitten.Component render functions can now be async.

kitten.small-web.org

This is quite a big one and it took me finally biting the bullet and getting my head around generators in JavaScript to implement properly.

So now you can mix synchronous and asynchronous components as you like and if there are any asynchronous components in your templates they will automatically be awaited (even if you forget to use await) ;)

I’ll write a proper post/tutorial/documentation for it soon but for the time being enjoy the screenshots where a layout template gets the latest three posts from my mock fediverse public timeline service and displays them on the page.

The kitten.Component version also has a refresh button that streams a different three to the page.

For those of you unfamiliar with Kitten, this is all the code in either example. No scaffolding, nothing. Pop either into a file called index.page.js and run kitten in that folder and visit https://localhost to see the example run.

Enjoy!

:kitten:💕

Random thought for anyone who has been running a generator in Southern California over the past few days (especially you newbies):

1. CHANGE THE OIL (undoubtedly needs to be changed)

2. MAYBE CHANGE THE AIR FILTER

3. STABIL in the gas tank... just in case you don't use it again for awhile.

4. MAKE sure you run the carb dry before storing (shut of fuel supply and let it run until it shuts off by itself), so gasoline doesn't sit in your carb and gum up.

(Much better solution is natural gas/propane conversion).

Continued thread

Carbon Monoxide Hazards

When used in a confined space, generators can produce
high levels of CO within minutes. When you use a portable
generator, remember that you cannot see or smell CO. Even if
you do not smell exhaust fumes, you may still be exposed
to CO.

Danger labels are required
on all portable generators
manufactured or imported on
or after May 14, 2007.

If you start to feel sick, dizzy, or
weak while using a generator, get to fresh air RIGHT AWAY. DO NOT DELAY. The CO from generators can rapidly kill you.

2/x

Continued thread

Portable Generator Hazards

Portable generators are useful when temporary or remote
electric power is needed, but they also can be hazardous. The
primary hazards to avoid when using a generator are carbon
monoxide (CO) poisoning from the toxic engine exhaust,
electric shock or electrocution, fire and burns.

Every year, people die in incidents related to portable generator use. Most of the incidents associated with portable generators reported to CPSC involve CO poisoning from generators used indoors or in partially-enclosed spaces.

1/x

Generator safety PSA: ***DO NOT FILL UP A RUNNING GASOLINE GENERATOR***

Gasoline fumes are released when you refuel the tank, and there is a high risk of igniting those vapors from the hot exhaust of the generator. You should not only turn OFF the generator, but also WAIT FOR IT TO COOL DOWN.

(you can get devices to toggle tanks/etc. safely, but most people do not have this).

The worst time to cause yourself burn injuries (and worse yet, maybe set your neighborhood on fire) is during the middle of a disaster.

Continued thread

Nearly two dozen #Republican-led states [because, of course] & a handful of #power #generators asked to pause the #mercury rules, which were finalized in May, while #litigation over them continues in lower courts. The *challengers* argue that the #regulations impose heavy costs while providing negligible direct #health benefits to the public….

[As of now] #PowerPlants must comply w/the Biden regulations by July 2027.

#law#SCOTUS#Climate

CPSC: CPSC Urges Those in the Path of Hurricane Francine to Take Steps to Prevent CO Poisoning and Other Post-Storm Hazards

e U.S. Consumer Product Safety Commission (CPSC) is urging those in the path of Hurricane Francine to take steps to protect themselves and their families against carbon monoxide (CO) poisoning, fires and other post-storm hazards.

Loss of Power—Using a Generator Safely

Consumers need to be especially careful when storms knock out electrical power. (more...)

cpsc.gov/Newsroom/News-Release

U.S. Consumer Product Safety CommissionNewsroom News Releases
Replied in thread

@reece @simonbp they are long-term because they need a shitload of precious metals tjat cannot he sourced innanything one could consider envoirmentally sustainable or friendly.

Lithium but espechally Cobalt are #ConflictMinerals.

Add to the fact that Methanol is not releasing hydrofluoric acid vapour when burning and isn't resulting ib a metal fire, but is as safe and easy to handle as racing fuel, and you get a lot of benefits.

Plus energy density per liter ang weight is superior and logistics of it is easier as well as the ability to store it longer.

Thus #Methanol - #Fuelcells can replace #Diesel-#Generators and other applications as a drop-in solution, as it can be produced sustainably both organic and non-organic and allow for longterm storage of renewable energy that is scalable...

Continued thread

An addendum.

Dual fuel #generators running on LPG or Natural Gas have a lower output than running on gasoline.

Make SURE to read manual and operating instructions, and take that into consideration, when selecting a generator versus your power requirements.

Typically, expect a drop of about 20% in output when you run a due-fuel generator on gas, rather than gasoline.

If you operate at the edge of what your inverter can do, and you switch to gas, from gasoline, you may stall your inverter.

Should you need to operate on #LPG / #propane / #Natural Gas due to running out of gasoline, consider trimming the devices being operated in your house grid.

Started trying out @kaspth's Associated Object gem, and I'm really digging it as a way to organize model logic. I'm only scratching the surface of using it so far, but it's delivering as advertised. github.com/kaspth/active_recor

Was having so much fun, I started a rough generator to make it a little faster, and Kasper already polished it up and created a PR. github.com/kaspth/active_recor

GitHubGitHub - kaspth/active_record-associated_object: Extract Collaborator Objects from your Active Records, a new concept called Associated ObjectsExtract Collaborator Objects from your Active Records, a new concept called Associated Objects - kaspth/active_record-associated_object