?

Log in

No account? Create an account

What I did on my holiday by Tats (now with video!) - Tactical Ninja

Apr. 2nd, 2013

10:15 am - What I did on my holiday by Tats (now with video!)

Previous Entry Share Next Entry

This weekend was just what the doctor ordered. That would be if your doctor were a sadistic bastard who likes to see their patients facepalming, sweating and groaning. But ultimately, it was also pretty productive, and what else would I be doing with four days off, right?

It started with the discovery that the YoT now has size 14 feet. This means that the lines carried in mainstream shoe outlets often don't carry his size. Fun times for a teenager who is fussy about shoes. Luckily he managed to find some, and I reckon that if I put an outrigger on them I could use one for waka ama.




The other foot in that photo is mine. I have no idea how this happened, but as old Ma Biddle* used to say, he's got a good grip on New Zealand, that lad.

On Friday I worked on making the Brainfart project behave itself. The task for the day was to get it doing the Kitt thing - you know the thing with the LEDs? Oh god you lot are so young.. here:



That thing. I got the strip to do it, although it takes way longer to run through 60 pixels than the 6 that seem to be on Kitt, so it's a bit boring to watch. Also, that video is way cooler than my one, and everyone loves The Hoff, right? Right?

*cough*

So I worked out how to do it and was playing with it and having all sorts of problems, then Dr Wheel came along and went "How about making it scaleable, so you can make the bar as long as you like by changing one number?" To which I went "Yay! Let's do that!" And he waved his brain at it and suddenly, in half as many lines of code, it was way better, scaleable, and like all neat and tidy and shit. To which I went *facepalm*. But, progress, right?

Then on Saturday I went and dug a hole. The hole in question is part of the repairs for a retaining wall. Wellington's a) hilly, and b) on a fault line, and retaining walls are a fact of life here. This one had moved a bit and needed fixing. Only it turned out it basically needed replacing, ie pulling all the posts out and resetting them further back into the hill. So we did that then. We being Happy, me and Dr Splodey, otherwise known as Patrick-who-doesn't-have-an-LJ-and-likes-blowing-stuff-up.

The old posts had been set in concrete, and getting this off required the use of a jackhammer, which looked for all the world like one of those ridiculously large space-age guns you get in FPS games. Here is a picture of me wielding said hammer:



Well, ok, I'm not wielding it there, I'm just holding it aloft in victory after finishing this hole. Check out the size of mah hole, man. And the size of mah weapon. That is an impressive hole, I have to say. Also, that hammer weighs 18kg so after swinging off the end of it all morning, I was kind of done, and opted for a standard digging bar for the rest of the hole. I've no idea how heavy that was, and my noodly arms after the jackhammer couldn't tell, but I'd put it somewhere between 10 and 15kg, so somewhat lighter but still a mission to heave around. The soil is clay with rotten rock and gravel interspersed, and the wall is backed by a giant (like, 8 foot across giant) macrocarpa stump, so loads of person-size roots to cut through as well (you can see one to the left of my head in that pic), making it slow going. By the end of the day we had three full (empty) holes dug, one half-a-hole, and one "Oh shit we have to dig another" hole. And then we all laid around groaning.

So, um, Sunday was an exercise in not doing any exercise. At least, not physical exercise. For me, it was back to the Brainfart. This time I thought I'd be clever and ask Dr Wheel before I started. Thus ensued more facepalming, interspersed with declarations of "I feel stupid!" and eventually a brief glimmer of understanding, which led to this:



I know, riveting, isn't it? What's exciting about that? Well, it's one strip of LEDs behaving as if it's 5 strips. And because the code behind this mostly fell out of Dr Wheel's brain, it's scaleable - which means that when I've bought the rest of the strip and cut it up, I can make it behave like 24 strips, or 15, or however many I want. I can change the length of them and it'll work all that stuff out for itself, and produce evenly spaced dots according to the changes. Neato.

It might also work as a closet light. *ahem*

Anyway, after that I sat down by myself and tried to apply everything I'd learned on Friday on top of what I'd learned to get those 5 yellow dots. And, success! Five little Kitts doing five little bars going backwards and forwards, changing in colour and length according to what I told them to do:



This isn't as pretty as the first Brainfart video, but the difference here is that it's not just something someone else made that I got off the internet - I wrote this code myself, to do very specific things according to what I wanted, and thus I'm far more pleased about this progress (if that's even possible - I was pretty pleased with the last one as well). Given how new I am to coding, this feels very much like I'm trying to write haiku in Japanese, without really understanding the rules of haiku or the rules of Japanese. Consequently when it works, I'm equal parts amazed and proud of myself.

And I'm learning. Every time I do this I can do a bit more, and that makes me feel good. Also, this means I'm now at the point where I can separate the strips physically, and chain them together with wires for power and data, and this means I can start the physical construction part of the project. That means that pretty soon it's going to start to resemble the idea that this started with, back when I had that brainfart at Rainbow Serpent and went "I want to make this thing! Who cares if I know nothing about coding or electronics! Why should that stop me?"

I'll be over here, feeling pleased with myself in the full understanding that I could buy something at Dick Smith that does exactly what I've made, probably for half the cost and no effort. But one day, one.. day.... *rubs hands together with evil glee*

Next steps: learning how to get multiple colours in one loop, playing around with brightness, and trying to get my newly-acquired multiple strips to behave differently from each other.

Anyway, yesterday we filled our holes in again. This involved lining up the posts into position, bracing them there with stays, then mixing up loads of concrete in a wheelbarrow and filling the holes with it:



The nearest new post is the hole I was standing in in the previous photo. It now contains four wheelbarrows full of concrete, and about the same of dirt on top of that. In that pic you can also see part of the Giant Stump of Rooty Doom, and some of the Giant Roots of Holey Doom. There may have been flights of fancy about dynamite part way through digging those holes. Yup.


So, um, yes. Equal parts physically hard and mentally hard, but ultimately I reckon gratification comes from being able to see where you've been and what you've done, and so this weekend was pretty damn gratifying. Big holes and shiny lights! And I got some satisfaction also from discovering that it wasn't just me that was totally knackered from swinging off a jackhammer all day on Saturday. It's been a long time since I put in a day's real work (shearing doesn't count cos I'm used to that), and it shows that all this training has some application outside of trying to do handstands. Nice.

So what did y'all do with your long weekends? Whatever it was, I hope it was fun and satisfying.

* Somewhat matriarchal figure from my childhood who taught me to ride a horse, milk a cow, take a hiding, and pull my head in. She was awesome.

Comments:

[User Picture]
From:rivet
Date:April 1st, 2013 09:32 pm (UTC)
(Link)
I finished a chapter of my life, hopefully with my dignity intact.
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 1st, 2013 09:48 pm (UTC)
(Link)
You pretty much have all the dignity, lady. <3
(Reply) (Parent) (Thread)
[User Picture]
From:rivet
Date:April 1st, 2013 10:18 pm (UTC)
(Link)
That would explain why some people seem to lack it entirely.
(Reply) (Parent) (Thread)
(Deleted comment)
[User Picture]
From:tatjna
Date:April 1st, 2013 11:24 pm (UTC)
(Link)
People who punch things a lot get calloused knuckles. That's the only part the continuity department got right.
(Reply) (Parent) (Thread)
[User Picture]
From:rivet
Date:April 2nd, 2013 01:12 am (UTC)
(Link)
I look forward to that chapter :)
(Reply) (Parent) (Thread)
[User Picture]
From:ferrouswheel
Date:April 1st, 2013 09:56 pm (UTC)
(Link)
"And I'm learning. Every time I do this I can do a bit more, and that makes me feel good"

Oh god, that's how it starts... ;-)

Hours of frustration, followed by success and a euphoria unlike any other. I'm addicted to dopamine in my prefrontal cortex.
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 1st, 2013 10:00 pm (UTC)
(Link)
It can't be too bad. I've seen you stop pushing the lever long enough to feed yourself...
(Reply) (Parent) (Thread)
[User Picture]
From:pundigrion
Date:April 1st, 2013 10:16 pm (UTC)
(Link)
I didn't give a hoot about the Hoff, but I was in love with that car and tried unsuccessfully to make my own Kitt out of cardboard.

Also, supa impressive hole digging!

We spent our long weekend pruning followed by excited watching bulbs grow. Look, look peony tips!!


They look like little horns!
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 1st, 2013 10:23 pm (UTC)
(Link)
Little RED horns! That makes them better.

Meanwhile, I was contemplating bulb planting this weekend. I reckon I'll give it another couple of weeks but it's nearly winter now here. Not that you'd know from the complete lack of rain.

Bulbs are awesome!
(Reply) (Parent) (Thread)
[User Picture]
From:pundigrion
Date:April 1st, 2013 10:28 pm (UTC)
(Link)
I am pretty laid back about my bulb planting. Early...late it all comes up just fine. I'd be fussier if I were planting super rare or expensive things maybe, but I tend to pick things reputed to be "good for naturalizing" since I always have loss from varmits.
(Reply) (Parent) (Thread)
[User Picture]
From:tatjna
Date:April 1st, 2013 10:30 pm (UTC)
(Link)
We don't get varmints so much as I have to start looking after them straight away because they're in pots under an eaves where they don't get natural water.

So I leave them pretty late - but anything past mid-May's taking a gamble cos they often start to come up by the solstice.

I miss having a proper garden - which is why I'm rapt that you post about yours!
(Reply) (Parent) (Thread)
[User Picture]
From:pundigrion
Date:April 1st, 2013 10:35 pm (UTC)
(Link)
Ah yeah, I have a spot like that under my eaves too even though mine are in the ground. Everything just bakes there and it is already dry. Too early to flip over the rain barrels quite yet though.

I'm glad you like garden posts because I get pretty verbose and posty come go-time :-DD
(Reply) (Parent) (Thread)
[User Picture]
From:t_c_da
Date:April 2nd, 2013 12:52 am (UTC)
(Link)
What I did for my long weekend? Apart from spending a bit of time down at the local recalling a Righteous Dude that pulled off an Amazing Trick a while back, you mean?

Spent some time dismantling a retaining wall made of punga logs that was well past it's use by date in preparation for someone to replace it with something a wee bit more substantial, and various pottery activities around a garden that has recently suffered the trauma of having a 6 foot fence erected around it, which involved clearing rather a lot of timber out of the way of said fence - we have carted almost literally a ton of timber to Little Toast Fairy's place for later consumption by her log fire, and there's more waiting to be transported...

Yeah, not a bad weekend holiday, all told...
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 2nd, 2013 01:47 am (UTC)
(Link)
Apparently it's retaining walls all the way down.
(Reply) (Parent) (Thread)
[User Picture]
From:meathiel
Date:April 2nd, 2013 05:30 am (UTC)
(Link)
Compared to you I had a pretty lazy weekend - only went to a concert and out clubbing. Oh - and some more packing - I'll get there ... one day. (By the end of the week would be ace!)
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 2nd, 2013 09:45 pm (UTC)
(Link)
Concerts and clubbing sound fun and a nice way to spend a holiday. Packing, not so much. *sympathy*
(Reply) (Parent) (Thread)
[User Picture]
From:m_danson
Date:April 2nd, 2013 02:14 pm (UTC)
(Link)
Impressive!

I spent some time doing not much.
(Reply) (Thread)
[User Picture]
From:tatjna
Date:April 2nd, 2013 09:44 pm (UTC)
(Link)
I hope it was a relaxing and enjoyable not much! ;-)
(Reply) (Parent) (Thread)