Blog

Here I post things, it is pretty cool huh?

Archive

Follow with your favorite feed reader

Pebble Rebel

Mar 03, 2023

A journey about my new pebble watch


Today marks the day that i have fully repaired my pebble steel!
It took some time, and i didn't take photos because i did it for me not for the content.

When i got my pebble, the first thing i did was learnt to make a watch face! C is a somewhat known language to me but im def still learning, so there were a few weird mishaps. but i defintely have to thank the rebble discord for helping me learn!
My watch face took a few days, and im still tweaking it, however it is so fun to learn a newish language, and solve problems, so i can wear my own art!

a watchface with a fox showing low battery, 21deg, 15:17, and cloudy a mock up of the previous watch face, but with placeholder numbers and a bluetooth disconnect image a flicking motion of the watch to activate the backlight and display an early version of the watch face

as well as that, i have also done some hardware repairs to the watch! this previous wensday i went to a watch shop, and had them replace the old screws (torx t3) as one was stripped and needed removal and replacement, after that i opened it up, careful not to pull the vibration motor off, and stuck some folded up paper in the back. this was to reduce screen taring while i waited on my replacement zebra strip to arrive.
Today that part arrived, so i opened up my watch again and took the whole thing apart! the hardest part was probably slipping the new zebra strip into place, as it was thicker then the original (which was intentional), however i managed to squeeze it back into the motherboard and return everything to its regular place.

I still have a piece of paper with one fold in the back, down from 6 before repairs, just to make certain screen taring remains a thing of the past.

I'm not sure what i will do in future with this watch

Read More

Updated Blog

Mar 02, 2023

and what im doing at the moment


As you may have noticed if you have looked at this page before now, i updated my blog somewhat! now you can see a fair bit of the post!

this was inspired by my friend rats, who has been starting to post to their own site too! it made me happy and i decided i want to post my longer form things that aren't structured articles, like this.

Later, i plan to talk some about my journey with my new pebble steel, both in software which i am experienced in, and hardware which i am not. i have already done some bodge repairs, while i wait for parts to arrive, but i hope it will be good in the future!

Html Theme

Jan 07, 2023

A small snippet that you can play with to test colour theme ideas for websites


I was working on some themes for a site when i decided to make this to help better visulise the themes:

Here is the site in an iframe, though to edit the colours you'll either have to save the site from this link or use your browsers inspector

Source:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Block Site</title>
        <style>
        
        /* Test Colours Here */
        :root{
            --link: #333;
            --head: #666;
            --nav: #999;
            --text: #eee;
            --background: #fff;
        }


        body, html{
            margin: 0;
            padding: 0;
        }
        body{
            height:100vh;
            background-color: var(--background);
        }
        header{
            background-color: var(--head);
            height: 4ch;
        }
        body section{
            display: grid;
            grid-template-columns: 1fr 9fr;
            height: 100%;
        }
        .sidebar{
            background-color: var(--nav);
            min-width: 8ch;
        }
        .content{
            font-size: 1.5em;
            padding: 1ch;
        }
        .word {
            display: inline-block;
            width: calc(var(--l, 6)*1ch);
            background-color: var(--text);
            height: 1em;
            margin-left: 0.5ch;
        }
        .word:nth-of-type(10){
            background-color: var(--link);
        }
    </style>
    </head>
    <body onload='document.querySelectorAll(".word").forEach((el)=>{el.style.setProperty("--l", Math.floor((Math.random()*8)+3))})'>
        <header></header>
        <section>
            <nav class="sidebar"></nav>
            <article class="content">
                <!-- 100 "Words"-->
                <span class="word"></span><span class="word"></span><span class="word"></span><span class="word"></span><span class="word"></span><span class="word"></span
Read More

New year

Dec 31, 2022

New me..mes


What a wild ride it has been! I am writing this just as a sort of "woo!" for the end of the year.

I did a lot this year, mostly related to health stuff. my wheelchair was meant to be delivered earlier this month but alas did not, but that means it will be a brand new thing!

I became the web warlock of Neokosmos (this was meant to be a link but the live site seems to be down and my site is still beta), a project that captured my heart since 2017 and has now captured my soul as i struggle with google's api to allow the writers to have 0 friction in updating the site, as the books are still WIP.

I got a cat!

Freddie

I did a drawing a day almost for an entire year, starting with my very first post on 07/02/2022, which means only a month left until that's been going on a full year!

I did a lot with many projects over this year that made me very happy.

I even migrated servers, not planning on doing that again!

I made new friends, reconnected with old, and had so much fun.

I hope this coming year will be just as amazing!

Read More

Absolute Paths, Absolute Madness

Dec 25, 2022

Don't forget about them


So. our story begins last month when i moved servers.
i didn't set up a backup script because i felt that it was unnecessary as i had server backups enabled. Easy!

Until last week that is, when during a change to how i store what date a post was created on, i accidentally made everything on the same day.
why does sed change the creation date metadata anyway‽‽

I quickly found out that server backups are just images, snapshots, of the server, meaning I'd have to loose the last 24 hours of data from stuff like myfriendsare.gay which was a no go for me.

So. that absolutely sucked, luckily i had a partial backup in the form of the original images for my art. so i managed to automate the restoral of that for the most part, excluding about the previous two weeks.

After that, i decided to set up the amazing Backup Script!

I think it was a clever script;

#! /bin/bash

# Make Backups
tar -cvzf "./beefox.xyz/beefox-xyz-$(date +"%Y-%m-%dT%H:%M:%S").tar.gz" -C /root/beefox.xyz/ ./static/files/ ./SitePosts/ ./webMentio
ns && echo -e "\e[1m\e[38;2;238;170;102mFinished Site Backup\e[0m" &
T1=${!}
sudo -u postgres pg_dumpall -v | gzip -9 > "./postgres/postgres-$(date +"%Y-%m-%dT%H:%M:%S").gz" && echo -e "\e[1m\e[38;2;238;170;102
mFinished Postgres Backup\e[0m" &
T2=${!}
mongodump --gzip --archive="./mongodb/mongo-$(date +"%Y-%m-%dT%H:%M:%S").gz" && echo -e "\e[1m\e[38;2;238;170;102mFinished Mongo Back
up\e[0m" &
T3=${!}

wait ${T1}
wait ${T2}
wait ${T3}
echo -e "\e[1m\e[38;2;238;170;102mFinished
Read More

Yet another explanation of the fediverse (or mastodon or friendica or pixelfed or peertube or pleroma or akkoma or activity pub or writefreely or honk or any other number of software names)

Nov 18, 2022

A hopefully understandable informational piece on the fediverse


So, twitter is dying and you've decided you don't want to deal with corporations any more. But what is the fediverse (or the list of the things in the title)?
The fediverse put simply is like email, except it is styled differently. Everyone has their own address, for example mine is @foxes@myfriendsare.gay, and anyone can talk to anyone else no matter where they are. I can talk to @foo@mastodon.example just as easily as i can talk to @bar@pixelfed.example.

What do you mean?? How's it work??

To put it simply, your instance, the site that your account is on, keeps a list of other sites it knows about. When you create a post, the site sends the post to all the sites it knows about. And then other people can boost that post which tells all of their followers about your post, even if they don't know about the site you are on yet! This is called federation.

What about likes?

Likes, favourites, kudos, whatever you may call them, they work the exact same way. and i mean exactly the same way! Your instance sends the same message, except for the fact the message is labelled "Like" instead of "Post". This however does mean that there is no such thing as accurate numbers in the fediverse, because it takes time for information to pass across the internet. If you follow someone however it is usually only 30 seconds or so at the most.
And this also applies for follows, for DMs (which are just posts, see Hold on, Admins can read my DMs??), for emoji reacts, for anything that can happen on the

Read More