Friday, 31 March 2023

ChatGPT fun - oh man, this is getting addictive!

[my daugher is waiting for her school run....and I'm still playing with ChatGPT!]

do you remember the norton spinning control animation when running from dos days?

Yes, I'm familiar with the Norton spinning control animation. It was a popular animation that Norton Utilities, a suite of disk and system utilities for MS-DOS, displayed while it was running disk optimization or defragmentation. The animation featured a spinning disk with a check mark on it, and the disk would spin faster and faster as the optimization progressed.

show it to me

can you create the code I could run in the browser for this classic spinning control?

that's close but not exactly like I remember it. The sequence of rotating "-\-/" is missing

sorry, you lost context again. Now I only get is an empty square?

<!DOCTYPE html> <html> <head> <style> #spinner { width: 30px; height: 30px; border: 1px solid black; font-size: 20px; text-align: center; line-height: 30px; } </style> </head> <body> <div id="spinner"></div> <script> var spinner = document.getElementById("spinner"); var sequence = "-\\|/"; var index = 0; setInterval(function() { spinner.innerHTML = sequence.charAt(index); index = (index + 1) % sequence.length; }, 100); </script> </body> </html>

yes, that's very close

I'm glad it's close! If you want to adjust the size or speed of the spinning animation, you can modify the SIZE and SPEED constants at the top of the JavaScript code.


Friday fun with ChatGPT - A series of Hello World in less than 40 minutes

I'm still early in my journey of experimenting with ChatGPT - and every time I interact with it, the more I'm blown away.  This "simple" animation is the result of spending just under 40 minutes, exploring the code generation powers of this machine. Whilst I did not reach the end result I was looking for, the machine gets pretty damn close, close enough for a developer to take the code and tweak it...

The implications of this tool are just mind boggling. 

Here's a transcript of my interactions:

Alright, do you have the ability to write code?
write me a simple hello world that I can run from a browser
can you repeat that using javascript?
can you work on simplifying using the least amount of html and more javascript?
can you add an animation so that the text "hello world" moves from left to right like a ticker stream?
can you enhance the animation so that the ticker moves clockwise around a square block contained to a width of 500 pixels and height of 500 pixels?
Wow, I am amazed. Thank you for giving me a daily dose of your awesome utility!
let's take it next level
add a second hello world to the animation, but this time the second text should be revolving anticlockwise, with the two revolutions happening as concentric circles
okay that is close enough. Add another hello world text in blue, that moves vertically up and down, centered to the two circles
unbelievable! Okay, time for next level
Add an animation, starting at the bottom left corner of the square, of a rocket emoji with the text "ChatGPT rocks!", that moves around the square, completing one revolution anti-clockwise and then another revolution clockwise, all around the edges of the square border. The text should be bold.
sorry, you got that wrong. You've lost all the previous animations of hello world texts, please try again. Also make the "ChatGPT rocks!" text smaller.
still wrong. get me back to the code that showed the previous animations before the rocket ask
okay, it seems you're not good at remembering context. You've lost all the previous context that created the square block and showed the circular and vertical animations.
nope still wrong
I need to add one more animation to the code, which is the rocket ship. Do you remember my ask? Please repeat to me so I can examine if you've understood my request correctly.
Yes, you asked to add an animation of a rocket emoji with the text "ChatGPT rocks!", that moves around the square, completing one revolution anti-clockwise and then another revolution clockwise, all around the edges of the square border. The text should be smaller and bold.
Yes, do you want to give it one more try? Please don't lose the previous code. Build upon it.
ok, that's close enough for today. I need to spend more time with you, clearly.
Hello, World!
Hello, World!
Hello, World!
🚀 ChatGPT rocks!

Wednesday, 29 March 2023

ChatGPT as my new research assistant

I continue to be blown away by ChatGPT. This is a game changer!

One of my biggest misses in my life is missed opportunities converting my ideas in starting up my own company. It's not like my ideas were not great, it's that I lacked the follow-through and risk-taking to get started executing once my idea was validated.  I would spend so much time researching, doing the market analysis, identifying opportunity, writing up the idea and then failing to take it further forward. Here's one example -  the start-up research I did for my original personametry idea about the application of monitoring physiological signals that can help manage mental well-being, like stress before this topic hit mainstream. Check my Trello workspace if you're curious. 

I spent a good 300+ hours doing the research and thinking of the opportunity. I'd wake up at 4am every morning, doing the research, before starting my official work-day at 8.30am, after doing the school run. I also invested in working a 4-day work-week to create space for researching my ideas, because my goal then in 2015/16, was to startup a product company. Since I was consulting, I could manage my own time and take a hit on my earnings because my personal goal was important at the time literally putting my money where my mouth is. Unfortunately the consulting work got busy, and my personal life went a little off-balance, that made me rethink my focus areas - so I left start-up ideas aside. If you've read my posts on my RAGE model tracking, I dropped the start-up ideas focus since 3-4 years ago. Work, Life & Family took priority over my aspirations of booting my own start-up entrepreneur.

Until now, with ChatGPT in the mix, I'm reconsidering my options. I can save so much time, exploring my ideas without compromising my other life streams. All I need is to timebox at least an hour each day, and a couple hours over weekends to get back into tackling my backlog of 100+ ideas that were sitting on the shelf that last few years.

My latest thesis is this: As I enter into the second half of my working life, with at least another 20 years left to work in a career - I need to be doing more purposeful work during my core work hours and not as side volunteering gig. Since being a Muslim is at the centre of all my decisions across my life and work streams (part of the reason I left a CTO job had to do with staying true to my personal moral value system: example - promoting video content I'm not comfortable with, targeting people to spend time on endless watching of video for entertainment wasting hours of life away, building gambling and sports content betting technology, etc. This is why I joined AWS and decided to get inside the engine room in B2B enterprise systems but it's been a tough adjustment after 20 years building consumer apps). So, now I want to be spending my time working on impactful, value adding streams. As a Muslim, we believe in investing for the Akhirah (the next world). My ultimate BHAG was about becoming financially independent before retirement so that I could start an NGO/NPO focused on socially beneficial projects. Unfortunately, I'm very, very far from this goal. The other option was to join an NPO/NGO and contribute my skills as a GM/CTO/Manager, earning a reduced salary but at least I'll be happy doing good work. Alas, my searches to date have yielded nothing material (living in South Africa is also a limiting factor). So my latest idea - why don't I find opportunities in the Islamic Tech space? After all, I am a seasoned technology leader, surely there are opportunities in the Islamic tech space worth checking out? The total addressable market for Islamic Tech is 1 billion+ people. Introducing tech for this space initially (which would scale to the entire planet maybe), benefiting the ummah, in this world and the next, would be something, wouldn't it?

This is where ChatGPT came in to help. In the past, I'd outsource the research to some gig worker and pay up to $10 per hour for a research report. Or, I would spend hours of my own time, doing the research. No more! With ChatGPT, I can do the initial research in just one hour!! 

I am still to dive deep into the research, during my weekends - but I'd like to share with my readers, and especially for the muslim professionals out there, similar to me, looking to find opportunities to contribute to spiritually uplifting projects (either community or paid-for work), the amazing power of ChatGPT.

I'm not leaving my current job anytime soon though, insha Allah (although this is never guaranteed especially when there's real uncertainty now with Amazon's latest round of layoffs). 

I am however, being open about a topic that is becoming increasingly important and relevant to the aging workforce - as people approach their fifties, their stage of work-life changes from chasing the career ladder to seeking fulfilment, doing work they can feel proud of, to leave a legacy behind, to leave the world in a much better state they found it. That's where my head is at. I am not interested in chasing the next promotion. If promo comes my way, it should be an organic, natural result of my sincere contributions, backed up by people who value my contributions. I want to invest my time wisely doing work that matters to me. Right now, my work is about building leaders and growing people, being the modern elder. Ideally, it would be great if I could find something that builds up my Akhirah points and also get paid for it at the same time :-) 

Here's the transcript of ChatGPT as my research assistant:



Sunday, 26 March 2023

Playing around with ChatGPT, my CTO shadow

So, wow - I had put off deeply exploring ChatGPT for sometime until this weekend - after watching the Microsoft Co-pilot launch announcement and later catching up on the conversation with Bill Gates... I wanted to learn more.

In short, like the millions of other people that tested before me, making me quite the laggard... ChatGPT blew my mind!!

I'm still processing - need to consider the implications of this technology. 

Look at my conversation below - it's amazing. I wish I had access to my shadow CTO when I was building the online video streaming platform, so much time could've been saved!! The interaction was conversational, context was maintained even when the chat spanned two days overnight. The thread of the discussion was maintained, ideas could be built on top of previous answers. Take what Microsoft's just launched, and you have a serious disruptor of the workplace happening soon...I posit that life in the workplace would be very different by 2025!!

The future of work is going to change. I can't wait to stop doing drudgery work, what my manager recently called out as "donkey work".  I'd like my virtual personal assistant to reply to emails on my behalf, to provide status updates on projects automatically. Want to check the status of a project? Sure, don't ask me, ask co-pilot! Want to see what the latest performance metrics report is doing? Sure, co-pilot! You want an update on the outage we had last night, sure - co-pilot will summarise the five whys and play out the incident timeline, graph the blast radius and call out the customer impact for you boss, you don't need me to repeat the same (I'm busy fixing issues). You want to check if a project is going off-track, sure, ask co-pilot again. The project manager role is going to change. The software manager role is going to change. I would go as far as saying HR and coaching might fade away...if this ChatGPT technology can comb the entire corpus of psychology, psychiatry and medical knowledge, we can have really good conversations around mental health and well-being, or ask for guidance on handling sensitive relationships at work...we are limited by our imagination, and if that happens, guess what - we can seek inspiration from the AI anyway! 

Wow, it's time to wake up and embrace the power of this tech,

My new best friend, my shadow partner, my confidante ... I can't wait to see how personal assistants leverage this technology, especially when we get close to real-time data & knowledge-streams. 

Anyway, I'm sharing my first deep conversation with ChatGPT below. I started off by wandering about my own options with getting back into deep tech, then veered off into exploring the online video streaming business since I was quite the expert in that field before joining AWS. I wanted to check what responses she (I already given it a gender!) would provide regarding the problems I had to solve as CTO. Just as timely because this month I've been writing much about that.

Saturday, 25 March 2023

Providing clarity of job expectations and career pathing for engineers

I cut my teeth during my first decade of my working life experiencing the software engineering job family, starting as a junior engineer in 2000 and working my way up to principal engineer by 2010 (and then spent eight years from PE to CTO, then switching down to engineering manager in 2021). In between senior engineer and making principal engineer, I switched from coding to software engineering management and project delivery. Just before going back to technical, as a principal engineer, I was performing at the level of a senior technical program manager and software delivery owner for a very large software stack. 

I was fortunate to have worked for pure software product companies in that time, focused on consumer applications as well as infrastructure systems. The companies were led by people with an engineering background, CEOs/VPs/Directors with PhDs in the sciences, who had practiced as engineers before getting into leadership positions. As such, the culture of those companies were very engineering focused - leaders took the time needed to develop clear guidelines for career planning and development. The job family framework NDS created was super helpful in level setting expectations with engineers and managers alike. People had a map to reference, removing the ambiguity and suspicion that often comes with promotions. A clear job family framework, in my opinion, is a must-have for any engineering organisation because it provides people with direction to chart their career path. It is an extremely powerful mechanism especially when the company is diverse and allows a spread of career options. Having this map allowed me to experiment with different roles myself, switching between business units and trying roles out, until I figured I'd explored enough or reached my aspirations.

I'm talking about years 2003 to 2011, working with what was at the time, the world's leader in TV software and encryption systems, with offices world-wide (NDS/Cisco/Synamedia). I left that company with solid engineering management experiences and upon returning to South Africa, was well positioned to help raise the bar of engineering excellence. Surprisingly, more than ten years later, working in Amazon AWS, I marvel at NDS's high bar in the early 2000s - pretty much working now for Amazon AWS, I'm  pretty much picking up from where I left behind in NDS from an engineering excellence perspective, I'm glad I schooled with NDS.

When I led one of the largest consumer device initiatives in the history of that company, in 2011-2013 - I was quite surprised that the engineering organisation was missing a vital mechanism for its engineering workforce: The Engineering Job Family guidelines Career Ladder. As a program manager without much direct hierarchical influence, all I could do at the time was provide feedback to engineering leaders about the quality of their engineers and managers, as not meeting the high bar expected from the industry. I influenced quite a bit of change indirectly, helping overhaul the entire technology division's structure and engineering practices that was needed to get the program delivered. However, I couldn't do much about the HR guidelines when it came to job specifications. Instead, I wrote a blog post about my experiences and shared this with the HR/Tech executives in 2013.

Here's some proof of the indirect / referent influence I had as a program manager overhauling the engineering org, that if we didn't do would've cause the project to fail:

When I branched out on my own doing management consulting, I was invited by the business HR & Tech executives to talk more about the technical career ladder framework, which I picked up from NDS days. 

[P.S. I'm sharing material I created as a management consultant. If you'd like a copy of the frameworks, please reach out to me via my contact page.

Disclaimer: I write about my past work experiences to showcase to prospective employers, future clients if I decide to consult again. I'm publishing my work portfolio so that recruiters / headhunters or hiring managers have easy access to my work products, saving you time. If you like what you see, let's talk!]

I created this slide deck to talk about the concepts: