technonaturalist

image link to hive image link to ko-fi

Drupal 7 notes - making javascript work in a modal

Wednesday, 3 September 2014 @ 10:35pm

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. We used Gallery Formatter (the only one that would show up in the Colorbox Node at all).

Stolen crackers

Sunday, 31 August 2014 @ 3:26pm

JJ: Ahh you’ve got some crackers there! 5yo: Freshly stolen from the English!

Head retopo

Monday, 25 August 2014 @ 1:32pm

Alternate title: my Blender muscles are atrophying -_-

I had a lot of work on the last three weeks and have now slowed down as I put out a call for help a couple of days ago and now waiting on a response. In the meantime I’m slowing down back to normal and getting back into the 3d (no 3d for three weeks make fyn something something). So three weeks ago after stuffing around with the rig I eventually came to the conclusion that the topology around the hips was wrong. After trying and failing to fix it by spinning edges, I decided to just retopo the whole thing because I wasn’t sure about the loops around the face either.

New norcia excursion

Sunday, 17 August 2014 @ 1:54pm

I keep forgetting to write about our day trip to New Norcia.

It was one of those things that had been suggested ages ago by mother in law as she had gone to school there and was interested in showing it to the kids (and us, though both JJ and I have been in the area previously, me on a Yr11/12 art camp and him…well he was not quite sober for most of it apparently). This seemed like a nice little local history and anthropology/society and environment type thing (New Norcia is the only monastic town in Australia) and we finally got around to it, in the in-laws massive shiny new Toyota something or other that they’d bought as part of their retirement plans.

If it's relevant then it's ok!

Friday, 15 August 2014 @ 10:10pm

[9yo was carrying on like a pork chop about doing his maths workbook.]

9yo: Do I haaaaaaave toooooo [bleat whine moan etc]
me: It’s on the way to stuff you’ll have to know to be an engineer.

[9yo’s eyes light up]

9yo: Oh in that case it’s okay!

[9yo hits the books]

The Angus Saga

Wednesday, 6 August 2014 @ 11:11pm

This is my 7yo and her dog Angus (aka “Angillian and “Ningle Nangle Jangaloid” and permutations thereof, don’t ask, I don’t know).

7yo and her spaniel

Yesterday (5th of August) at about 7:40pm JJ took both dogs (Angus and my dog Tali) for a walk as he normally does. As he was walking past the Gosnells Football Oval a “stray dog came out of nowhere” and grabbed Angus and started shaking him. The dog was halfway across the road before JJ saw it coming and had grabbed Angus by the time Tali noticed. JJ started screaming at and kicking the dog as hard as he could while Tali bit at back of it. A passer-by pulled over and called the police (who then posted it on their Facebook timeline) and after JJ finally succeeded in driving the dog away, carried Angus to our gate while JJ called Tali (who had broken his collar and was running around naked, fortunately he’s obedient) in. JJ came racing to the door yelling for me and after telling me what happened in one sentence appended “Angus is fucked” and racing off. Our neighbour had come out having heard the commotion and went to the emergency vet with JJ to try to staunch the bleeding.

Three eyes

Sunday, 27 July 2014 @ 7:20pm

5yo: Mum when can I play the old Minecraft that we used to play?
me: …? …tomorrow after bookwork.
5yo: Mum when can I have computer?
me: When you can show me that you’re responsible enough to have one.
5yo: When can I have a third eye?
me: …I guess when medicine and technology advance enough.

This was all part of the same conversation.

So much dumb things on internet

Tuesday, 15 July 2014 @ 11:45am

[5yo is sitting on my lap watching Youtube, he watches a clip I have a very low opinion of]

me: That was really, really dumb.
5yo: There’s so much dumb things on internet!

As he said it in a rather sing-song voice I’m wondering if he is parroting that from somewhere and if so, where :)

History overload, and vague career plans

Sunday, 29 June 2014 @ 1:20pm

We binged out on history recently. I can’t remember if I mentioned instating a docos-only-before-bookwork rule to stop the kids from gluing themselves to screens and routinely refusing to come do the bookwork, but it’s been working reasonably well. Horrible Histories was the recent favourite, I think they’ve watched every dvd we have now as well as anything on iView at the time, and favourite dvds have been repeated with them singing along. As well as watching Horrible Histories, 9yo has also decided to have me read him the books for bedtime story. We’re also still very slowly working our way through the very thick Ned Kelly book.

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

Friday, 27 June 2014 @ 9:20pm

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: