Brain implosion imminent. Or what's been happening.
My head. It’s so full of stuff that I have a very mild persistant headache. The cold isn’t helping either, it makes my shoulder hurt. I’m glad I don’t live somewhere that’s actually cold.
Following is a thought dump so I can work out what I’m doing and so anyone that cares can now know why techno was gone for the last month and why I’ve been in such a ridiculous distracted foul mood.
Drupal 7 notes: html5 placeholder text
Fairly straightforward. Mostly here as a reminder for how to do webforms; (example has a theoretical nid of 1 and a theoretical form field called “message” and the “submitted” part stymied me for a bit).
template.php
<?php
function mytheme_form_webform_client_form_1_alter(&$form, &$form_state, $form_id) {
$form['submitted']['message']['#attributes']['placeholder'] = t('Type your message here...');
}
?>
Could also use a switch in hook_form_alter(). One of these days I’ll think about finding out if there’s any difference performance-wise in using a big switch with many form alterations or several smaller hook_form_form_id_alters.
Sunday lazy sunday
[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]
Last night, I was on a roll. I went to bed slightly later than intended.
This morning, 3yo woke me up repeatedly. First, sometime before the sun came up. Then shortly after the sun came up and the blue light was caning my eyes. Then after the sun came up. And shortly after JJ staggered out of bed I did the same seeing as I couldn’t sleep anyway.
You will be assimilated...
Or not. Short version, according to last night’s bizarro dream, there’s going to be a merger between “this” world and “some other dimension/universe” soon if it’s not happening already.
Now that I’m awake I’m wondering if it was Yet Another Incarnation of the Crazy Dog House, though I don’t recall seeing a cliff this time. One day I should probably try to explain The Crazy Dog House, which appears to be a stupidly large mansion not a doghouse.
Camel barge
[minor pseudonymising edits during Drupal to hugo migration for all the good that will do now]
Me: Here [3yo], a green nappy to go with your camo.
3yo: Camo! What’s camo?
JJ: Camoflage.
2yo: Camel barge? What the?!
This work by ryivhnn is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License
Funding, distribution and musings on my sanity (or lack thereof)
Business has been going pretty well. This is great, and it also means I haven’t had a chance to work much on AR. I’ve been proofing and editing the scripts in between banging my head against code and deciphering client requests, and spent a whack of Sunday working on Red, but I’m pretty sure at this stage that I won’t be ready to animate the first ep by the end of the year. I am refusing to have panic attacks about it.
New camera, more aquaponics photos
We finally bought a NAS, it’s living next to the router (which makes logical sense as it has to plug into the router). I’m currently copying all the music and photos onto it and will probably delete them off my computer as part of my cleanup process (moving a bunch of Stuff off the 250Gb ssd to the 2Tb sata).
Moving the iPhoto database was nice and easy (drag, hold down alt when opening iPhoto, selecting where the library had been moved to, delete the original file), and it kind of needed to go elsewhere as it’s 53Gb and going to blow out as I’m shooting RAW.
Sprat does not share my scss enthusiasm
[reformatted the code during migration to make it slightly easier to read, this was a copy/paste from some text conversation and all formatting was lost]
ryivhnn 6/04/12 10:23 PM hee hee other cool thing with sass, i do this:
@mixin inline-block {
display: inline-block;
margin: 0 -2px;
vertical-align: top;
}
and then when i need things inline-blocked etc (in a few places) i do:
#container {
.stuff-what-needs-inlining {
@include inline-block;
}
}
Darqx 6/04/12 10:24 PM i look at that and see what looks to be php mixed with css and want to run away screaming
css notes: fixed middle fluid outer column
Also known as: I’m a blithering idiot.
I spent way too long overthinking this problem and only finding solutions with floats (I have very specific cases where I’ll use floats for layout, also I could have missed anything that didn’t use floats for layout as I was stupidly staying up way too late when working on this). The way to do it is actually embarrassingly easy. I’ll be using it for the header and footer (after I’ve installed Sassy, prepro and phpsass.
Malay, lojban, and pocket money for bookwork
F=Faham (Photo credit: :Salihan)
Not “versus” because it’s not a contest. Not really.
I’m about to give up on my Malay Anki deck, mostly because it’s not ordered in a way that makes logical sense to me. I grew up hearing a lot of Malay, sadly I didn’t learn it formally because I couldn’t be bothered going to Malay school on Saturday mornings (I already went to school five days a week, why in the hell would I want to go on a sixth?) and I didn’t pick up nearly enough in daily life (partially because I think my parents were more concerned about me speaking and writing decent English while going through school, partially because I had for a very long time this idiotic notion that if I couldn’t grasp something the very second it was presented then I was obviously too stupid to live, and mostly because I was probably too damn lazy to pay proper attention). I figured that I should just be able to pick it back up, and I did to a degree. I’m not sure how the deck was structured, perhaps relevance to something that wasn’t relevant to me. There were many instances where I wondered why the root word hadn’t been introduced before a word that built off it.