technonaturalist

image link to hive image link to ko-fi

webmonkeying

June ProgBlog #2: The Great Blogsite Migration Part 2

Part 1 happened over the course of weeks or months a couple of decades ago when I migrated to Drupal from livejournal (I didn’t really note how long it took partly because I wasn’t interested at the time and mostly because I was trying to get through that cringey era as quickly as possible). though it has been interesting watching my tone change from when I was blogging every little thing and basically talking to my friends on livejournal, to still kind of doing that but realising that people I didn’t know were also reading my blog at some point shortly after migrating to Drupal, to kind of just talking to a void/audience that may or may not be there, to mostly talking to myself and occasionally addressing the potential audience or specific people Part 2 started a few months ago after I finally (after way too long because I am nothing if not unreasonably stubborn) accepted the fact that I’ve been really, really struggling to keep on top of Drupal updates alongside everything else.

March ProgBlog #1: floundering

I deliberately didn’t post a progblog last week as I was having a minor tanty about how nothing had changed. Nothing much has changed still, I continue fighting to square up the mesh but it’s working out better with more mesh for more context. To some value of better. My DE of choice got upgraded to KDE6 which is mostly great for the most part. I had to swap out my theme switcher (Yin Yang) because it didn’t want to work under Wayland.

March ProgBlog #3: do you really wanna live forever

Title just because I was listening to Youth Group: Forever Young. I don’t know about forever (that’s a pretty bloody long time) but I definitely want to live long enough to get all these stories out (also a pretty bloody long time, probably longer than I’ve got, which is why I’m constantly semi-joking about cures for aging). Today was a coding day and I started off strong (and a bit late) and then the outlaws came round to hang out (and cleaned because they can’t help themselves, not that I’m complaining XD).

February ProgBlog #3: endless frustration with occasional triumph

There’s a bit going on again and it seems like youngest and I have crashed back hard into undesirable old habits (he’s basically refusing to go to bed and staying up as late as possible and needing to incessantly natter at me while I’m trying to work, and I’m just staying up late because I work best at night and can get quite a lot done in a short space of time unlike during the day where I distract at the slightest movement of air especially when it’s on things I hate (like javascript).

Adoptables and breedables nfts

Preamble This is a high level outline for a website/system/something to be built on hive utilising nfts and targeting adoptable/breedable artists. Adoptables seem to be a great use-case for NFTs as they’re supposed to be unique and assigned to one owner at any one time and can just slot into the existing nft system hive currently has. This idea extends that to firstly specifically target artists who may only be interested in an art-centric community and secondly to simplify and possibly add a bit of chaotic randomness to the “breedable” system, which as far as I can tell is currently done at each artist’s discretion.

Clippy pasta

[2/06/2015 11:08:56 pm] ryivhnn: Chrome is pretty good about being up to w3c standards so it ignores a lot of the -webkit- stuff [2/06/2015 11:09:05 pm] ryivhnn: Safari still needs a bit of help though coz it’s special [2/06/2015 11:10:45 pm] Darqx: it’s just apple [2/06/2015 11:10:48 pm] Darqx: apple is special [2/06/2015 11:10:55 pm] Darqx: i am getting so sick of the apple issues at school OTL [2/06/2015 11:11:42 pm] ryivhnn: LoL

Drupal 7 notes - Apache config

/etc/apache2/apache2.conf - find the directory bits and make sure the /var/www one looks like: <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> sudo a2enmod rewrite sudo a2enmod headers Make sure all the site configuration files in /etc/apache2/sites-available have .conf on the end (especially if upgrading from previous Apache and it doesn’t seem to be backwards compatible despite what the Linode library says). Don’t forget to sudo a2ensite all-the-sites.

Drupal 7 notes - making javascript work in a modal

Or more accurately in my case, making a jquery gallery work inside a modal. I am really bad at javascript so I have no idea if my hackjob is a good way to do anything but it did what I wanted. What we needed in a recent project was for a gallery view with a thumbnail slider to launch from a gallery index comprising of thumbnails made up fo the first image in a multiupload image field.

Drupal 7 notes - getting a Views block with a pager to remember what page it's on

While building this gallery for this client, I ran into an issue where if you clicked on the next page in the navigation block and selected a project on the second page, when the new project loaded the block would reload back on page 1. The Designer and I thought that pagers really needed to remember what page they were on but as of four years ago it was a feature Views and the core pager didn’t support, so at the bottom of an issue someone else opened up four years ago asking for this to happen some kind soul provided this code:

Webmonkey notes - rails command not working after successful rails install

Latest ruby: sudo brew update sudo brew install ruby OSX developer command line tool thingies: xcode-select --install Read the EULA and agree if you agree. Latest sass: sudo gem install sass -V Rails: sudo gem install rails -V Why yes I do like to see what’s going on. Edit ~/.bash_profile to include: export PATH=/usr/local/Cellar/ruby/2.1.1/bin:$PATH so that the system doesn’t have a cry about Rails not being installed after it just told you it successfully installed it.