Show more

Migrating a site to from mysql/mariadb

1. Run migrations to create db structure
2. Remove single quotes from the database (and newlines/control characters, because why not). This allows mysqldump files to be imported into postgresql.
3. mysqldump --compatible=postgres --no-create-info --skip-add-locks $DB | psql $DB
4. Fix increments `ALTER sequence song_id_seq RESTART 12345;` (current versions of laravel use old-fashioned postgres increments)

Show thread

I thought a fun thing to do would be to switch my main VPS to for more frequent updates (compared to ubuntu). (I run , a custom site, and some other simpler stuff) So far, I've started using , and also have been learning that migrating from mysql/mariadb to may have been too ambitious an idea.

Hey fediverse! I'm called Zach, and yes, I love technology. Started coding as a kid writing games using , got into programming . Spent several years doing web development and some , looking to expand my skills and gain new experience.

Technology should (at least) do one thing well, and (necessarily) be there when you need it.

Another reminder that builds.sr.ht is awesome :)

I just want to mention, again, how useful and what a blessing songs.zachdecook.com is! I can only imagine the work that went into it, but it is very much appreciated, at least by me!
@zachdecook

anyone have an idea how could be modified to fade out the currently running app, so we could see our wallpaper?

background setting gave performance issues, so I'm thinking this approach will be better.
So far, I have

*{background-color:unset}

in gtk.css

I needed to `sudo modprobe uinput`. This is really promising, I bet someone running would be able to get it running faster because that supports splitscreen and doesn't.

Show thread

I tried out -virtual-gamepads (github.com/jehervy/node-virtua
).

syscall crashes with after I select 'gamepad'.

but we'll call this 'promising'. probably will be easier to add support to than to try to wade through the levels of complexity to get to behave nicer under (it tells me unknown keyboard layout sometimes at compile)

Show thread

With the recent talk about support for some big apps, I wonder if there are any soft-gamepads that could work with on a device.

Any leads?

apparently it's also important to delete the old records... and also that the new records are correct.

Show thread

Installed a new home router, and I guess it decided to get us a new IP address, so my gemini capsule is down while the new A record propagates.

today I added a script to my capsule to allow me to add to my /bookmarks.gmi file *using gemini*.

Seems like some of the browser experience could be done out in geminispace itself... less requirement for client authors, though that means more things "in the cloud".

@friend @postmarketOS ooh we *still* don't have a dang screenshot bind out of the box... Don't worry the key bind I used here is *only* for the proof of concept, check out the WIP MR for more details: gitlab.com/postmarketOS/pmapor

. @wholesomedonut wants to see technology as it is: "a miraculous, marvelous invention whose original intents have long been uprooted by a society full of greed and indifference"
gemini://soviet.circumlunar.space/wholesomedonut/gemlog/my-return-to-tech-exile.gmi
I hope you're able to get free from the vitriol and set your mind on higher things. (Unfollowing negative accounts helps, but maybe taking a break from the fediverse would be best).

starting to try to compile on a raspberry pi zero... it's armhf, so if the problem (running it on the pinephone) is architecture based, this will likely also fail.

Which got me thinking more about :
If I were to make a gem-app, what feature options would be desired?
Would any of the following be useful, and how should they look in ?
* notes (currently in square brackets)
* cross-references (currently in parentheses)
* word references (I experimented once with putting Strong's references in superscript)
* red-lettering (ideologically, I disagree with this)
* section titles
* chapter divisions
* verse numbers

Show thread

Wrote a little script to create an outline of the gemini://gemini.zachdecook.com/cgi-bin/oebindex.sh so you can navigate the bible without thinking about the verse and chapter numbers.
(git.sr.ht/~earboxer/cgi-bin/tr)

Create your own programming languages, stay ahead of the AI.

Was reading by @linmob and feeling kind of left out, running 21.03, so I upgraded to master/edge. It broke phosh startup, but was fairly easy to fix by (plugging in a keyboard and) removing some unused packages and running `apk fix`.

thought i would compare mastodon clients for mobile linux.
Compiled and set up . is still compiling dependencies. One of these is written in , can you guess which one? (this experience makes me want to learn )

Show more
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml