Books on shelves. I wish I had this many books https://www.pexels.com/photo/books-on-brown-wooden-shelves-8045884/

Some pointless random “Shower thoughts” on the minds’ ability to hop worlds

Have a random minddump of thoughts from insomnia-derived boredom

Well, technically, not shower thoughts this time. I spent some time, in amidst failed attempts to get to sleep, considering how interesting it is that the brain can flip across world contexts basically instantly.

I’ve consumed a lot of media, watched a lot of TV, Films, read (and listened to) a lot of books. It’s possible to jump across multiple worlds inside my head basically instantly, with wildly divergent situations and environments.

From a post-apocalyptic hellscape (Fallout), to a swords-and-sworcery fantasy (the world of Paksenarrion), to a sci-fi what-if playground (Mass Effect games), into a tribal post-apocalyptic world (Horizon: Zero Dawn games). I went from watching threads fall from the skies of Pern, dragons flaring in the sky, into crystal singers mining (Killashandra), to hearing stories about a really dangerous helpful… chicken (Beware of Chicken), in seconds.

So many fascinating worlds and contexts, and I can basically jump between them in an instant.

I’ve been reading books from early on – I remember being taught that I didn’t have to read out loud, and that being the start of my dive into books. From whodunits of Nancy Drew to the wacky comedic, pointed satirical criticisms of Dungeon Crawler Carl, being able to jump between worlds lends to enjoying other’s creative outputs.

I’ve tried to write fiction, once or twice, and all my efforts have ended up in a bin. My latest, and formerly most likely to see limited light of day, was lost in an encryption screwup – once again I learn the lesson of backups being essential.

Not that this is really going anywhere at all. Just thought that the mind’s ability to jump between worlds was interesting. And one day, all going to be lost, like tears in rain.


(Image courtesy of https://www.pexels.com/photo/books-on-brown-wooden-shelves-8045884/. I wish I had that many books)

php-fpm not starting pool

If for some reason adding a PHP-FPM pool doesn’t work, and you don’t know why, and you’ve spent 20 minutes bashing your head on it even though you’ve added the config file and everything.. make sure you’ve remembered to change the poolname at the top of the file from the [www] you copied from the www.conf file

I know most folk these days are using ansible and stuff to do this, but we add sites so rarely it’s just not worth setting up

Fix off screen windows in Windows 10

Do you have windows which are stuck off screen and there is no Move options in the right click menu on the taskbar, even if you hold the Shift key? Read on for a solution!

  1. Left click the app’s icon on the taskbar icon. If the app has more than one window open, click on the appropriate thumbnail.
  2. Press and hold the Alt key on your keyboard then press the spacebar and release. This will bring up a menu on one of your visible screens.
  3. Click ‘Move’ on the list, and use the cursor keys (the arrow keys) on your keyboard to move the program. The window will continue move while the key is held down. The window will usually be to the left or right of the screen where the menu popped up, but you may have to experiment to see where it is to move it back.

That it! Good luck!

Staying cool in a heatwave

I’ve been reading lots over the last little while, on how to stay cool in the current heatwave. This is all the recommendations I have. I’ll follow this up with explanations of each suggestion in another post later โ€” writing this has taken a lot out of me! Links are for example, buy what’s available and fits your needs ๐Ÿ™‚

The UK is not set up for heat waves of up to 40c, thousands of people will die, we may have power and water outages.

Things to do immediately

Things to do the day before the heatwave

  • Turn your fridge and freezer up — make them colder
  • Freeze bottles of water (Separately from the immediate water stock!). Old fizzy drink bottles are fine. Squeeze them a little before putting the lid on, to give the water space to expand into
    • For one of the bottles, fill it halfway up, and store in the freezer so you can get to it. When you want a cold drink, just fill it a bit, and shake. Instant cold water!
  • If you have south-facing windows, prepare to cover them. A sheet, tin foil, paper.
  • Prepare foods ready to eat cold. Tuna mayo, egg mayo for sandwiches, salads, cold meats, cook some beans ready. Consider cooking a pasta bake or similar and putting it entirely into the fridge
  • At night, open your windows:
    • If you have a multiple level house, open windows/doors on one side of your house on the bottom floor, and on the top open the windows on the other side โ€” so air will flow in a diagonal
    • If you’re in a flat or bungalow, open the windows/doors on opposite side of the house
  • Try to stay at home, or indoors. If your office has air con, I’m jealous. Avoid heavy activity during the day
  • Cover any south facing window with tin foil / paper / baking paper / cardboard / sheets. Do this on the outside if at all possible. If you do it on the inside, you might overheat your windows, and break them. Expensive bills later!

During the heatwave

peeling warning sign

DO NOTs

Do not do any of these things. They will harm you!

  • Drink Alcohol
  • Drink too much coffee (A little to prevent withdrawal is a good idea, but give energy drinks a miss)
  • Use “Air Conditioners” that don’t have an extract hose, that you have to fill with water. They use up the indoor air ability to absorb water — and sweating is the main way you lose heat when it’s too hot, so they make you hotter and make fans work less effectively. It’s safe to use them with a window open
  • Use air conditioners with an extract hose out a window without sealing your window with these kits. Yes they’re ugly, but without them you’re literally pulling hot air in from outside!
  • Heavy exercise โ€” including manual work — especially during the peak in the afternoon, 1200 โ€“ 2000 (12pm to 8pm)
  • Avoid cooking using the oven, or hobs whilst windows are closed. If you have to, use the microwave
  • Avoid travelling if possible. Trains will be very slow, aircon may fail. Roads may melt
Green node of traffic light

DOs

  • An hour after sunrise, or as close as possible, close your windows
    • During the heatwave, check the temperature sensor against the weather app, or your weather station. When the indoor temperature is close to the outdoor temperature, go outside a second to see if it feels cooler outside (in the shade!) than inside. If so, open the windows as recommended above — in a diagonal, or opposite side of your dwelling
  • Drink lots of water. One or two electrolyte drinks a day in the absolute peak temperature
  • If indoor temp is below outdoor temp, keep the windows closed. Make sure to open them when it’s warmer
  • Consider pointing a fan out the window once it’s time to open the windows. Use a tissue or light cloth to work out which way the natural wind is blowing air, and point the fan in the direction to work with the wind, not against it
  • Wear light, airy clothes. If you can, stick to 100% cotton, which will wick your sweat and help it evaporate, keeping you cooler
  • Wear a hat if you go outside, and remember your sunscreen โ€” even if it’s cloudy
  • If you have cats, put out a few bowls of water, spread around the building for them to drink from
  • If you have plants, water them before the temperature peak
  • Shower with a lukewarm shower. You want the water just a little cool to the touch. Too cold, and you’ll confuse your body, too hot, and you’ll just make it worse
  • Freeze a hot water bottle. Wrap it in a towel to cool down
  • Wrap an ice pack in a towel, and hold it between your upper thighs. You have arteries there, so will cool your entire body rapidly
  • Damp a towel and put it around your neck
  • Put your feet in a bucket or large bowl of water
  • Don’t use your fans feature to have it change direction it blows air into โ€” oscillation. You want to set up a breeze of air around your room, that’ll effectively multiply how much air is moving without needing too many fans
  • Put a bowl of ice in front of a fan
  • Damp a sheet, or wet duvet cover before sleeping
  • You can set up a fan to blow *into* a duvet cover, effectively inflating it with a constant supply of fresh air. You can use clothes pegs attach it to the fan’s grills

Comment your own tips below!

First Class Trouble: Crash and game logs

You can find Crash Logs from the game First Class Trouble here:
%LocalAppData%\FCT\Saved

You can get there quickly by opening a file browser (hit START + E at the same time), copy that line, and paste it into the address bar;

Crashes *should* pop up a window asking for permission to send to devs when the game crashes. If it doesn’t, you can always tweet them and see if they want the crash report ๐Ÿ™‚

mosquitto connection refused

Hi all, if you’ve just upgraded mosquitto server on some flavour of linux and wondered why all your mosquitto subscribers and publishers on your network have just started failing, you may have fallen foul of this:

the new mosquitto 2.0 requires a ‘listener’ be configured to the ports required, or else it will only listen to the localhost:1883.

So if all your clients start failing after, edit the configuation and add the following line to the top:

“listener 1883”

See the post here for more information: https://mosquitto.org/documentation/migrating-to-2-0/

Anaconda/Spyder Python IDE Not launching [SOLVED]

If you’ve just installed Anaconda / Spyder IDE (available here for personal use) in Windows find it’s not launching, and neither is the Anaconda launcher, and you have a previous installation of Python e.g. Python 2+<3, remove Python 2.X from your Windows PATH variables and retry opening it.

To do this, right click on ‘My Computer’,
select Properties to bring up System Properties and
click ‘Advanced System Settings’.
Agree to the UAC prompt and click ‘Environment Variables’ then look for Python references anywhere, edit and delete as required.

Retry launching Anaconda/Spyder and it will now work.

If this doesn’t work, open a command prompt (Type cmd/enter from the start menu), navigate to the Anaconda installation (in Windows 10, ‘cd c:\programdata\anaconda3\” and try launching anaconda or spyder (.\scripts\spyder.exe) and noting any error messages that appear which can then be googled for the relevant fixes.

Hope this helps!

Garreth

Local Weather forecasting

Just a quick note to enquicken someone else’s google seaches in the future,

For local weather forecasting based on ambient air pressure, the algorithm you need is the Zambretti algorithm .

The original Hackaday article on this is here:
https://hackaday.com/tag/weather-forecast/

And some useful matlab code to get you started is here:
https://w4krl.com/zambretti-forecaster/

Finally, some tags to help google air pressure wheel forecast ambient air pressure bmp280 bmp180 air pressure forecast etc.