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.

@craftyguy
limtak: linux is more than a kernel

Because when we say , we don't mean android or another locked-down platform.

LiMTAK: Linux Mobile atTAK

this isn't just the 'year of ...', it's the start of a war

LIMTAK: Linux In my Mobile: Tool Against Kludgery

A kludge is a makeshift solution to a computer problem. Time-based obsolescence (by outdated cas, un-upgradable emoji fonts) was a mistake baked into many software platforms. This tool frees us from it.

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

@agx Did you know that in , you can slide your finger across the keyboard to type adjacent letters? (This is actually my favorite unique feature of the phosh experience).

@tbernard What do you mean by 'the editor that won'? Who defines winning?

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.

@zudn From a usability perspective, it's pretty bad too:
* starts with you deaf/mute (to try to scare people into using their phones to connect instead)
* browser version only allows you to see one person at a time (to get people to download the app so they can have more control)
* when screen sharing, it's hard to see all faces, takes over fullscreen on desktop
* phone app only shows 4 videos at once

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

@calebccff @postmarketOS
or...
* edit text/write code with
* change my layout
* browse gemini:// with
* listen to podcasts with
* try to use the fediverse through
* ssh into servers... really, I like the squeekboard+kgx experience better than florisboard+termux/android

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