On The Desire To Change Career
| | |

On The Desire To Change Career

If I had been smart I would have changed career path around 2006-2007 when I was in London surrounded by entrepreneurs and web developers, rather than now during a pandemic. Normally I struggle to find new contracts because of two things. The first is that for camera and editing work there are very few opportunities per year, and the opportunities that do arise have hundreds, if not thousands of candidates so the probability of success is low. The other issue is that because there are few jobs, if you fail you may have to wait months for an opportunity to appear.


That’s why I have spent the entirety of the pandemic reskilling. Every single day I study web development. I have gone from IT support courses, to CSS to HTML, to Javascript to frameworks and back to JavaScript. The journey is long and hard. When I was finally free to study Angular in depth I found that my knowledge of Javascript was not deep enough, so I went back and studied on JS pathway, and now I am studying a second one on Linkedin Learning. My goal is to be proficient. This isn’t a one day goal. This is a journey.


You can follow my journey on github to see what I am learning. One of my side projects, to practice what I have learned is this one. At the moment it is a simple app that retrieves a random image from my instagram gallery and displays it with its title. This self-project is worthwhile because it is easy to follow a course and code along with the teacher. The problem with this is that when there is no teacher, and no model you need to innovate and find your own solutions.


Last year when I tried something similar I found a way to convert from Json to CSV to bring it into Wordpress. Now I am working with Fetch, random number generators to find a post, let to be within the scope of one block, converting epoch time to human readable date and time, and more. If I followed instructions I would find it easy to do, but I couldn’t find any, so I am experimenting with ideas from courses. The next step is to find how to use classes and ids’ to embellish it with CSS.


I started with the random post generator. The next steps will be to use constructors, for each loops, display ten posts at a time, but also to enable finding them by year and month. I can also add more metadata fields than I can with Instagram. I could add country, type of landscape and more. I can practice building a CMS from the ground up. In letters of motivation I wrote about learning about Media Asset management tools from the ground up, and now out of curiousity, that is what I am doing.


It has taken a while to understand how Javascript works, but now that I have I can spend more time experimenting and learning each day. My increasing proficiency will be shown through the projects I build in courses, but also the self-led project.


Sometimes I add comments to commits, to explain what I found hard, and then I show the code that resolved the issue. If you’re curious as to why I would use a self-hosted json file and media files the answer is simple. I don’t need to go through the process of asking for permission to acccess an api to access my own data. For an example of working with ajax and json you can refer to this project.


And Finally


When you work in the media and broadcasting you constantly need to look for opportunities, to face rejection, and continue looking. With the skills I am learning now people are already interested, and that is the reason to change from skills that are less interesting, to those that are.

Switching From MySQL to MariaDB with Infomaniak
|

Switching From MySQL to MariaDB with Infomaniak

Today I tried Switching from MySQL to MariaDB with Infomaniak as a webhost. This morning they sent an e-mail to say that we could switch from MySQL to MariaDB automatically so I tried. For the test I:


  • downloaded a new install of wordpress to my local machine and put it in the MAMP htdocs folder under mariadb.
  • I installed MariaDB on port 3310.
  • Using the command line I created a wordpress database.
  • I configured WordPress. Within seconds the website was up and running.
  • When I saw that the interface was that the same and that I had to make no changes I went ahead with Infomaniak.
  • Of course I backed up the MySQL server data, just in case.


Within a matter of minutes of telling Infomaniak to switch from MySQL to MariaDB the migration was finished and the website was up and running again. It was quick and painless. If something did go wrong I could easily step back but I also ensured that the user interface for MariaDB and MySQL were the same. When you’re coding websites from scratch some databases require different lines of code to function. That was my concern, and that’s why I decided to experiment with a small scale trial on my own machine.


How to create a database and tables in MariaDB


To learn about the differences between MariaDB and MySQL.


The plugin I modified for my own use, works on one of my local wordpress installs so I could port it to the website. I still want to experiment with having custom css for those pages without pasting the code as custom html. Custom HTML in WordPress is messy to deal with. I prefer to find a clean solution.

WordPress Child Themes

WordPress Child Themes

For a while, I have been thinking about creating my own WordPress themes, but I didn’t know where to start or how many hours it would take. I always assumed that it would take many hours and that I would have to create templates, style sheets and more for a number of pages. In reality, you need an index.php page and a stylesheet. Anything else is a bonus.


A shortcut is to find a theme that you like and to see which fields you want to modify and just modify that behaviour. Choosing to use another font requires one or two lines of code. With minimal effort, you can personalise a theme.


The course I watched is “WordPress: Building Child Themes” and within two hours you will see how to use CSS, functions and templates to change one or more aspects, using the themes that you select. Personalising your own theme, can take seconds rather than hours.


It also gives you an opportunity to learn with a small challenge, and as you grow more confident you can try more and more ambitious projects.


You have the Theme Developer Handbook to help you along.


What I would like to do is find a way to create themes by subject for pages so that I can make my website fully dynamic, and bring the static pages into the 21st century. This will require some trial and error, hence the value in playing and experimenting, until it works.

Learning To Code By Building CMSs
|

Learning To Code By Building CMSs

It’s easy to use Facebook or other CMS every day without thinking about how the code works. This summer I have coded two CMS using Linkedin Learning. One of these CMS was running with PHP and MySQL and the other was running with Ruby On Rails and MySQL.


The PHP CMS


In the process I learned how to install MySQL, how to get MySQL and PHP to talk to each other. How to organise files between private and public folders on a web server and more. Getting MySQL to talk with the web server was a challenge that took a few days to get right.


With the PHP CMS I learned about arrays, about interacting between PHP and MySQL and I learned to be attentive to using the correct syntax. Sometimes though, a single typo would block my progress for a period of time. It wasn’t rare for me to compare the code I wrote with the code written by the instructor line by line to find my typos.


I could have cut and pasted the code but I found that simply typing the code character by character was enough to force me to read the code carefully. When I made typos it taught me to attentive to details as well as to be more aware of the syntax.


Ruby On Rails


Ruby on Rails was an interesting learning challenge. I got stuck before I even finished setting up the project. As a result of this I went back and followed a course on essential Ruby. This worked as a nice complement to what I learned from that point on.


During the project configuration process I got stuck because I created the project with the wrong database connection type. I left it on the default and when I tried to correct this I failed, and failed, and failed again. Eventually I decided to delete the application and create a new one, with the right database connection and this time it worked well.


The challenges I faced were that the Puma Server wouldn’t start because a gem was missing, that the CMS wouldn’t start because of a mistake in the routing file and more. Eventually I would restart the server but I spent a lot of time debugging.


One of the most persistant problems I had with Ruby on Rails is that it’s hundreds of lines of code across multiple files and although the error messages are obvious you need to learn to read them. For two or three days I couldn’t find what the error was, despite looking through every page and its code. Eventually I found that I had written “visible” and forgotten a “:visible”. That error crashed the Puma server consistently.


With Ruby On Rails, I learned to work within a framework. This knowledge is transferrable to working with other frameworks. I’ve gone from knowing how to install and use a CMS like WordPress, Joomla, and Drupal to learning how to create one and to understand how arrays and functions work. I have also learned how to think about security and how to use blowfish and other encryption technology to keep passwords etc. more secure.


With Ruby Gems I could work on projects of my own and be less reliant on other websites. One project I would like to work on is creating a heatmap of all my walking activities and the easiest way to do this would be to find some code and adapt it to have the functionality I desire.


The Next Step


The next step is to learn to use JavaScript. I will then know how to use HTML/PHP for content, CSS for layout and finally JS for interactivity.



Friendconnect

Today I got round to installing friendconnect on this blog. This means that everyone that has a gmail account can log in and become part of the community sprouting from this blog. You can also comment about things in general now.

There’s a new layout now, as a result information is easier to find and the whole site should load quite a bit faster.

| | | |

Twittervox now has a facebook page

Twittervox, a show which I do under the name Warzabidul with the help of Loudmouthman of Loudmouthman.com now has a facebook page which I created earlier in the day. The point of this facebook is to bring together all those that have participated in the show so that they may discuss past and future program topics, from social media, through twitter rules and regulations and towards related topics like seesmic and Second life.

If you’re on twitter or seesmic and have a facebook account then come and join the conversation. We’re waiting for you.

| |

Wikipedia Reaches 2 Million Articles

A recent article has brought to the world’s attention that Wikipedia has over 2 million articles on its website and that’s great. What it means is that thousands of people have taken a little time out of their day to provide what knowledge they had to a global audience through their small contribution.


The World Wide Web was not always as easy to use as it is today. Back when I started using the world wide web there were less than six million web pages. Now there are several billion and google is helping to index this mess. This mess I’m talking about is the enormous amount of content that people have created and shared on the world wide web without any consideration for ease of retrieval. In 1997 when I wrote about the Romans I was one of ten to twenty people who created content on this topic. As a result, it was not hard to get other people’s attention. As pioneers of online content when Larry Page and others started to create lists of interesting websites it was easy to be added to the collection. As more content was produced so the link collection would have to be stepped up and get help from search algorithms. I remember when Altavista was one of the great websites you wanted to be linked from.


I remember the first time I saw that Google had sent me traffic. It was quite interesting because google was a young startup only just getting to be noticed. I was happy because I was the top result on this search engine as a result of which I would get more traffic.


There was one drawback however and that was that I did not have the time or inclination to carry out the level and quality of research to write new articles therefore I looked for contributors. I tried with forms, with e-mail addresses, and with a forum. All of these had little or no success because I had not generated enough of an active audience. I was getting many insults and questions by e-mail but no one bothered to give me answers.


As a result, what you see there today is what I wrote when I came back from a holiday in the Ardèche region of France.


Over the years I would study a number of subjects and as I learned a little more on each one I would add a page or two and see more traffic and more comments come my way. The lack of contributions meant that my website is the labour almost entirely of one person. Last month I had half a million visits in a twelve-month period. Keep in mind that I am not a social networking website and have no programing knowledge to create something attractive to a mass audience in the same way as Flickr, Facebook or other websites.


Communities have been part of the internet since the BBS days when it was text-based and only universities and government officials had access. Over time so the community would develop and people would team up to work on specific projects. Wikipedia was one of them. Jimmy Wales found a model by which he could get people to contribute “as little or as much” as they wanted. They could as easily add one line of text as add an in-depth explanation of a theorem. As a result, no one was kept out of the loop.


He is often credited with being a pioneer whilst in fact, this notion is as old as the first dictionaries. Whilst I do not remember the name of the first people to compile the first dictionary I do remember that they worked by contributions. Their idea was simple. They would ask people to write down a word and a description of what they thought it meant. Over the years as more and more words were amassed, and as the need for storage went from a room to a barn and beyond so the dictionary would become a good resource for a uniform definition of words. I’m sure there’s a great dissertation to be written on that topic.


Anyway, the point is this; through the combined effort of a community so knowledge could be processed and shared through dictionaries, encyclopedias, and more. In so doing we now have access to the answer to any question we can think up.


I have noticed a trend in online interaction that has been particularly strong within the past six months to a year and this is the centralisation of specific activities. If you’re looking for social communities there is a movement away from interest-based communities to having mega-communities such as Facebook, myspace, Bebo, youtube, and Flickr. Each of these communities helps to bring together vast amounts of people but they also help to move away from the search engine.


What I mean by this is that whereas in 1997 you would go to search engines and type a search query today you know that you’ve got central locations where to concentrate your effort. In 1997 you’d type Roman Civilisation and my website would have been the first result. Today if you type the same query you’ll end up on Wikipedia because at least to thousand dedicated people have put so much time into the web site aggregating and collating information.  As a result of this some people would say that the section of my website on the Romans is redundant since you have such a great resource within the depths of Wikipedia. The web killed Encarta and similar efforts to provide encyclopedias in electronic form. As a bonus, any researcher can drop by Wikipedia, find a short introduction in what he is researching before moving away from this website to a more in-depth knowledge that has been written by academics and experts in their field of research.


This brings me to the Cult of the Amateur by Andrew Keen. He was criticized by people such as Leo Laporte for expressing his thoughts that the web is a congregation of content for idiots. You can tell he didn’t read the book or listen to the audio file and here’s why. The web is full of content that takes only a few seconds to compile and digest but that’s because those who are new to the medium are playing around and testing a variety of possibilities. Now take a look at the trends for university graduates per year and you’ll see that there’s an increase in the number of highly educated people.


As a result of this, there is an increasing number of experts on a progressively diverse number of topics. If you’re specialised in zombie films, as was one friend, for his dissertation then you’ve got a widening base of specialists who can talk between themselves. It’s the same for development studies, for documentary and any other intellectual pursuit.


Whilst academics are busy carrying out research and making sure that every point they make is backed up by at least three or fur other sources the “plebs” for lack of a better word are playing around with the technology and seeing what works and doesn’t. For them, it does not matter whether what they say is right or wrong because they have fewer credentials. Take as an example of what happened to the BBC with the Hutton inquiry. The problem was not whether the information was correct or incorrect but who was saying it. If Sky news makes certain allegations then they will be ignored because they are not as highly regarded as the BBC. The BBC is held in such high regard that should they say anything that is not absolutely backed up by the fact they will be called to account.


It’s the same with the online community. Children and teenagers are developing the infrastructure, which they, as grown-ups will take full advantage of. Wikipedia is a self-moderated international community of researchers who work together to get the most accurate information out to their readers. We should see the same trends within the wider blogosphere and as people gain more experience in audio and video websites such as myspace, youtube, and Facebook.


Jimmy Wales and his community have demonstrated on a small scale, with over two million articles, what we should expect to see from the World Wide Web within the next few years.