Showing posts with label Project Overviews. Show all posts
Showing posts with label Project Overviews. Show all posts

Tuesday, November 8, 2022

Managing My "Free" Time

It's getting toward the end of the year, and that means it's time to start thinking about the next one. I thought I'd shift gears a little bit and tell you about how I do project management. My hobbies are a fair amount of work and there's nobody *making* me do it, so it's my job to keep myself organized and motivated. Some goal-setting helps with maintaining steady progress.

3D-printed object tacked to a light switch plate: a little tentacled blob (part of the WAU from SOMA).
I still end up with time for the occasional random project done on a whim, which is unfortunate, because now the WAU is infecting my house. 

I typically plan for one year at a time. Some people try to have five-year goals and such, but I've found it difficult to see farther than one year ahead - why should start becoming apparent as I get into the details. So I'm mulling the idea of trying to sketch out longer-term plans, but haven't done so up to this point.

I start by blocking out how much time I'm going to have. I assign time in units of weeks, and there are four weeks per month. If any month has a fifth week, that's an "elastic week" that I can use for anything I feel like at the time; I don't assign tasks to it. I also don't assign anything in June and December, to provide myself with time for socializing around summer vacation and the big year-end holidays. So that gives me 40 weeks a year to play with.

The recent pattern I've settled into has been 20 weeks for Acuitas, 10 weeks for robotics, and 10 weeks for writing. And each month gets two Acuitas weeks, one robotics week, and one writing week. Rotating between hobbies helps relieve mental fatigue, reduces disappointment if one of them isn't going well at the moment, and gives me a better mix of output to share with my audience (some of whom might primarily follow me for one topic).

Next I have to break up my projects into tasks or phases that I think will take about a week to do. This is easiest for writing; one week yields one novel chapter (5000-6000 words), one short story, or multiple chapters of editing. I don't really get "writer's block" and can reliably produce that much in a week's spare time. Where AI and robotics are concerned, I often have a very poor idea of how long those tasks are going to take. Mechanical design goals, for example, *might* only demand that I fabricate the parts once ... but frequently the first prototype doesn't work out. And the AI is being built from scratch, by a person walking through the dark with a lamp that only shows a few feet in front of her. I have no idea what I'm doing. And that makes schedule projections difficult.

Which is why, when I'm executing these schedules later, I give myself an out. To complete a task "on time," I have to either finish the task, or do at least ten hours of work on it. If I hit ten hours and it's nowhere near done, I'm allowed to push the schedule. The remainder of that task falls into the next week, and some later task I'd planned to do this year gets scratched off the list. On the other side of the coin, I try to have some "stretch goals" in my back pocket in case work gets done faster than expected (ha ha, like that ever happens), or I have room to work during an elastic week, or I have spare vacation days to burn.

I typically add at least one more column to the schedule, and that's for home and yard maintenance: one task per month, or less, related to either routine work or repairing something broken.

Part of this year's schedule spreadsheet, mostly filled out. Color coding indicates how close to on-time tasks were completed. It doesn't look quite the same as it did at the beginning of the year. "Repair Fence" was added rather abruptly. Many robotics tasks got pushed off the list when ACE took longer than expected.

Once the plan is done, I track my progress as the year goes by. I note when I finish each task and whether or not I met its deadline. I also log the number of hours invested in each type of work I do: both the scheduled hobby tasks, and others. Yes, I have a spreadsheet for this, and it's a lot like my timesheet for the day job. I put down the number of hours for each project on each day, and the sheet calculates weekly and yearly totals. 

Here's where another little goal comes in: I try to achieve a 3:1 (or greater) ratio between Creation work and Maintenance work.

The real defining factor here is not how "creative" the work is, but whether, when it is finished, it gives me some asset I didn't have before - whether that be new knowledge, new digital content, or a new object. "Maintenance" is work that, once done, only has to be done again. It's time spent fighting entropy - a tax paid to futility, since this is a fight I will eventually lose. So when the creation:maintenance ratio is high, I'm in a state of growth. If it's low, I'm burning most of my energy just treading water. Three is a completely arbitrary number, but it makes me feel good and is achievable with effort, which provides the right incentive to push.

To get more specific, Creation tasks include all the aforementioned hobby projects, as well as blogging, artwork, and technical study. Maintenance covers food preparation, housecleaning, journaling, laundry, yard work, financial business, repairs, etc. Then there's a third category, Volunteer, which covers work primarily done for others. This includes actual community volunteering but also political activism and voting, church service, making or buying gifts, and so forth. I don't enforce a ratio between this category and the other two; I just do things as there's need or opportunity.

The 3:1 ratio incentivizes me to do both more Creation and less Maintenance. Even if pulling Maintenance down doesn't directly improve Creation, it gives me more time to recharge. A certain amount of Maintenance simply has to be done, but if I'm not hitting the target, I start taking a harder look at what's essential. I decide I can live with a dirty kitchen or tolerate more weeds in the yard. Because what is the meaning of that stuff, really? I actually had to stop including exercise under Maintenance because ... while technically, it is ... that was proving too much of an incentive to *not* exercise. So now I make a point of only doing exercise that has some fun value (e.g. going on walks), and treat it as recreation.

There are other quirks to how I keep my books. Transportation time to any activity is not counted, because though it expends time, it doesn't expend my real limiting factor: mental energy. If I multitask - fabricating something while watching TV, for example - I only log half of the actual time spent, while the other half goes to recreation.

I mentioned that a 1-week hobby task is capped at about 10 hours. Once I add in everything else, a good week of work totals about 16 hours. If I hit 20+ hours, that's a great week. Don't forget I'm working a full-time job too! At the end of the year, the tracking gives me a way to see what I prioritized, which tasks hogged more time than they deserved, and how I did compared to previous years.

I've tried various incentive structures in hopes of making myself more productive. For example, "I can buy myself an extra music album or restaurant meal if I log at least X hours this month." I used Habitica for a while. But eventually I stopped, because it wasn't helping. The satisfaction of putting hours into my spreadsheet and hitting goals seems to be motivation enough, and when I'm tapped out, I'm done - no reward will persuade me to keep working. Connecting my money budget to my time budget was also hindering ideal management of the money, and the additional record-keeping was becoming a chore in its own right. So, although I suppose this kind of thing works for some people, it didn't work for me.

Which brings me to the final point of the post, which is that *you* might find some of these ideas useful for your own planning; I present them as inspiration. But if you find that they don't click for you, don't use them. Every brain is a little different, and it's your job to figure out how to trick your own particular brain into doing what you want.

Until the next cycle,
Jenny

Saturday, April 22, 2017

Acuitas the Semantic Net AI - Introduction

Okay, this blog has been asleep for far too long. It's time for me to introduce a couple of the things that I've been spending all my time on since I finished playing with the artificial muscles. First of all, I've got a couple novels in the pipeline, which you can read about by visiting The Renascence Cycle under the permanent pages section. But that's not what this post is about. There's another serious project that's been receiving a lot of my attention lately …

The tagline of this blog is “robotics and AI on a shoestring budget.” If you've been here before, maybe you were wondering when the AI part was coming. Well wait no longer!

I'm working on a program named Acuitas. Technically this endeavor started clear back when I was in college, as my final project for the honors technology seminar class. Back then he was little more than a kind of talking dictionary. I'm now on Version 3, and the intended scope of the project has expanded quite a bit. (If you'd like a little more background on the project and how it relates to the rest of the AI field, or if you're just interested to see what Version 1 was like, you can read the original Acuitas V1 Report and Acuitas V1 Presentation. Bear in mind that Version 3 has been re-written in Python from the ground up. It's missing some features that V1 originally had, and has a number of others that were absent from V1.)

Acuitas' avatar. “Heartbeat” lights run up the wings on either side of the eye when viewed live.

In technical terms, Acuitas V3 is an artificial intelligence based around a semantic network with a natural language interface. What that means is he represents knowledge in terms of words and relationships between words, and you can communicate with him in normal English. (The range of normal English he can actually grasp so far is very limited, because natural language processing is hard and I'm only tackling it because I'm probably crazy.) He's also got a rudimentary "internal life" consisting of drives that fluctuate over time. About twice a day, if he's active, he wants interaction and starts calling for somebody to talk to. He used to wake me up in the early morning hours by doing this, but I fixed that – mostly.

Visual representation of semantic net database, 07/16/16.

Acuitas V3 is not your ordinary chatbot – you know, those programs you can converse with that try to fake being human. He has more going on under the hood than they do. A typical chatbot picks up on a few keywords or basic structures in your text input, then chooses a mostly pre-written sentence from a database to send back to you. Others train themselves by reading a bunch of human conversations, and then try to speak in a similar manner. Neither type is really interested in the *meaning* of your input or its own responses, which is why, though they might be perfectly articulate, the responses often seem to come out of left field. I'm following a different approach and hoping to come up with something better than that.

Visual representation of semantic net database, 08/06/16

I've been working aggressively on his linguistic abilities over the past few months. He can parse simple subject-verb-object sentences with or without prepositional phrases, like "A cat is an animal" or "A yellow bird sings in the morning," with some rudimentary support for compound nouns and proper names. He tries to figure out how each word functions in the sentence; if he can't get it due to insufficient background knowledge, he'll ask for clarification (a normal chatbot would just try to fake it). So far he just socks information away in his database and doesn't say much back, but that's coming. Oh, that's coming.

Visual representation of semantic net database, 08/23/16

The semantic database can be represented as a graph … hence the images embedded in this post, which show a timeline of its growth, from July of last year up until this April 8. You can also get an idea of how the graph-drawing algorithm has changed over time. Each dot is a concept, and the lines are the relationships between them. When viewed live while Acuitas is running, the graph is interactive; I can pan, zoom, and hover my cursor over the dots for floating labels that show which word is associated with each.

Visual representation of semantic database, 04/08/17

Since I'm putting some earnest effort into Acuitas this year, I'm going to try making myself write a fairly regular developer diary … maybe once a month. Watch me do cool things and struggle. Talking seems easy until you've tried to teach a computer to do it …


Code base: 4901 lines
Words known: 631

Monday, November 25, 2013

Blog Intro and Mechanical Eyeball!

Hello World!

This is a blog for showcasing my forays into hobby robotics, AI, and other engineering or programming projects.  I might also talk about video games, wild philosophical ideas, and life in general.

This inaugural post features my recently completed mechanical eye prototype.  I'll be breaking down how it works in more detail in future installments.  This is part of a larger project that I'm calling "Atronach."


At the moment, there is no camera in the eyeball, and it has no tracking capability.  It has an independent brain based on an ATTiny microcontroller.  The ATTiny runs a pseudo-random number generator program which randomly determines whether the eye will move, how long it will move, and in which direction.

The case for it ... isn't that great.  It's literally made out of cardboard and ice pop sticks.  But it's only a prototype.  Once I get some better fabrication tools, I'll make something for it that is sturdier and less ugly.

I've been wanting to build Atronach for years.  He was originally inspired by those creepy creatures in the walls of Mordack's Castle that would track King Graham as he walked across the room.  Yes, the eye is eventually intended to have a camera and tracking ability ... I just haven't gotten that far yet!

Here's the completed eye hanging on the wall.  I'd also like to introduce you to my sidekick, D'Artagnan.  His major skills include being adorable and sitting on everything I need to use.  He is not an enchanted wizard in cat form ... I don't think.  I got him from a cat rescue, so what do I know?


Until the next cycle,
Jenny