Wednesday, 22 August 2012

Amazon Cloudfront

The book I read to research this post was Cloudfront Developers Guide which is an excellent book which I downloaded for free from kindle. There is quite a lot of information in this book along with some tutorials for AWS management console and even some scripts in various computer languages. If you had a web site on a web server in Seattle in Washington State & someone was looking at it on a desktop in Austin, Texas the signal might go threw 10 web servers to get there and each time it would slow the signal down and possibly degrade it. Cloudfront which either stores information which needs downloading or routes you threw to a server where the file can be downloaded keeps the number of servers it passes threw to a minimum. If you store the information on another it can either be a S3 or simple storage solution, or your own web server. If it's a RMTP file which is used by flash media server it must be a S3 server. The information can be HTTP, HTTPS, dynamic or live feed. Incidently you can have a web site hosted on a S3 server. The name they give to the file they call a cname and you can have upto 10 different ones which might come in handy if you sell information products. If you need a specific DNS name or web address for the file you may have to use the Route 53 service. If you use Cloudfront you can choose which continental server farm stores the information so that it is reasonably near your customers.

Monday, 20 August 2012

Amazon EC2

The book I read to research this post was Amazon EC2 Elastic Compute Cloud User Guide which is a very good book which I downloaded for free from kindle. This is quite a big book and covers the subject in a lot of depth. If you are a developer you can subcontract space on EC2 and Amazon will pay you commission. There is an EC2 data center on each continent obviously apart from antarctica. The asian one is in singapore and the european one is in ireland. To use EC2 you must have your own operating system if it is windows it should be server 2003 or 2008. You can use unix or linux. If you use windows you access your drive space via remote access if you use linux or unix it is via SSH or secure shell. You obviously need a computer with a dvd drive to install the software on your server space which is done via the internet. Many developers use the software development kits in PHP, Java & .Net but Amazon also have a repository of scripts donated by benevolent programmers some of which are in other computer languages. You can upgrade your server space without having to shut down any online programs. I may rent some server space off Amazon when MS Server 2012 comes out because normally I would build a server and in my job as a network engineer I would have to learn how to use it but I think it's better to use EC2. Some businesses use EC2 services from more than one server farm which you can do and then if one goes down they not stranded. The different server farms on different continents charge different rates.  Probably the biggest benefit of cloud computing is the cost of upgrading your computer equipment is deferred. If you are interested in cloud computing have a look at my post on that subject at
http://scratbag.me

Amazon Dynamo DB Database

The book I read to research this post was The Amazon Dynamo DB Database Development Guide which is a very good book which I downloaded for free from kindle. This database is part of the cloud computing services offered by Amazon Web Services integrates with things like S3 or Simple Storage Service & EC2 or Elastic Computing Cloud. For developers Amazon do freely downloadable software development kits in PHP, Java & Microsoft .Net. Some people use one of the C languages which are compatible. Much of this book is examples of code in various languages and this is a very big book. Dynamo is a NoSQL database and uses Hive for doing things like queries or performing general database commands. You can upgrade or downgrade the amount of storage your database uses without leaving the program. This has to be done in increments of at least 10%. There is a free option if you hardly use any storage which I think is primarily for people to try this out. Your first 40 million transactions on your database are free but I am sure you realise on a reasonably big database that will soon be used up. Some people get confused about the different methods of updating a database so I'm going to explain it. Imagine you are in a warehouse and someone asks have you got x in stock. You would use a query to check this and if you thought he might make the same request again you would name it and save it. Now suppose he asks for a printout to say it's in stock and the price etc you would do a report which is a bit more presentable than a query. Now suppose some stock arrives and you need to update the database you would use an update query if it was one type of item or a form if it there was several items. Setting up forms sometimes needs programming knowledge and can get very advanced. They call these things objects and the table were everything is stored is another example of one. There is other things like crosstab queries which incidently draw information from several tables into one query.

Saturday, 18 August 2012

Agile Project Management

You might be interested to know I did a couple of posts on project management & PRINCE2 which cover project management in a more general way & that's at
http://claireabella29.com
The book I read to research this post was Agile Project Management for Dummies which is a very good book which I bought from kindle. In my job as a network engineer I have to read a lot of books about computing but they are mostly books connected to my job in some way. This book is about a method of project management which is specifically for software development teams. I was so ignorant of this subject I thought agile & scrum were programming languages. I've seen books advertised on kindle about agile & scrum though. I think if you were involved in computer programming you would love this book. I must admit the book was a bit complicated for me. One of the main principles of agile is that things like meetings should keep to strict time limits ie if you are working on a 1 week project you have a 1 hour meeting. These meetings are called scrums. The idea behind that is that your programmers are working on their code as much as possible. Believe it or not in some software houses they only spend 20% of their time doing that which is unacceptable. Another problem is that some companies get the programmers to do the testing which in agile you have people who have a specific job doing that. I have read before that given the huge amounts of code that need to be written it's virtually impossible to write a program that doesn't have bugs. The best you can hope for is that the program only has occasional problems. That's why companies often release patches & why they say you should always give the company a few months to iron out any problems when a new program comes out.

Thursday, 16 August 2012

Japanese Railways

The book I read to research this post was Riding the Train in Japan by Erik Curre which is an excellent book which I bought from kindle. In Japan lots of people have driving licences but cars are relatively scarce and many people use the train commute. When someone has a job his employer will often give him a train pass. The Japanese Railway is also second to none and includes the famous shinjanken or bullet train which is the fastest commercially used train in the world. Officially the train has a top speed of 300kph or 186mph but they have done tests where it has gone a lot faster. Interestingly it's cheaper to fly than to catch the bullet train. It's also probably Japan's biggest tourist attraction. There are 3 major types of train in Japan. The commuter trains stop at every stop and are the slowest. They have a sort of bench running down both sides of the train. Often you have to stand on these especially during rush hours. Then there are the express trains which only stop at the major stations. You can have upto 5 different classes of express train and each type will stop at different stops which is very confusing for tourists. These trains have comfortable seats. The final type is of course the bullet train. Tokyo is in the centre of the railway and its main station has 3 million passengers go through it every day. Many department are proprietors of their own railway line and the store will be right next to the station. When you see a house advertised for sale you will see how many minutes away the local railway station is in the advert. Tokyo, Narita Airport is served by 2 terminals, terminal 2 does the asian flights and terminal 1 does most of the rest. You need to know which terminal to go to because they aren't directly connected. You can waste a lot of time travelling from one to the other.

Hobby Farming

The book I read to research this post was Hobby Farming for Dummies which is an excellent book which I bought from kindle. This book is about smallhold farming although there is information on things like cattle farming which you might associate with proper farming. If you live in the country and are considering going into hobby farming you should take a look at what nearby farmers and neighbours are doing. Chances are if they are keeping  ie beef cattle there are good reasons for doing so. You might be inclined to farm something which can higher returns but often means a higher initial outlay. Good female alpacas often sell for $30,000 or more. Alpacas, llamas, sheep, angora rabbits and musk ox can all produce wool. Llamas and goats like hillsides. Musk ox live in alaska so it must have a cold climate and the fibre they produce which comes from the undercoat is 8 times warmer than wool also their meat is low in fat. Some people farm buffalo and yak which will attract visitors. Some farmers have even crossed cattle with buffalo to produce beefalo which have meat which is lower in fat than beef. My local supermarket started doing ostrich steaks recently and the eggs which weigh 3-4 lbs especially are considered a delicacy. Some people farm emus which in addition to providing meat and eggs also provide a type of leather. An animal which is especially suited to the smallholding which wants to specialize in pigs is the vietnamese pot bellied pig. They are as affectionate as dogs and can even be allowed in the house. A lot of people are after exotic pets and you can make a nice income breeding them but don't forget you probably need a specialist vet which doesn't come cheap. Also you should never take animals out of the wild especially in tropical countries because you don't know what diseases they are carrying. Many tropical diseases we are only just discovering. An exotic pet will often be happier living in the wild and in a lot of cases we don't understand their temperament. Some of these animals can be dangerous. A blue tongued skink which is a large lizard that is often kept as a pet can hold its own against a dog. Finally if you do decide to go into animal husbandry you may need a gun in case something like a wolf or a fox attacks your livestock. There's even cases of wild dogs which have been dumped by their owners and formed packs attacking livestock.

Wednesday, 15 August 2012

Geography

The book I read to research this post was Geography for Dummies by Charles Heatwole which is a very good book which I bought from Kindle. You might be interested to know I have done a couple of posts called GIS & GPS at http://scratbagroberts.com
GIS stands for Geographic Information Software or System & GPS stands for Global Positioning System.
It might surprise you to know that there is a 10,000 mile mountain that wasn't discovered until the mid 20th century it's the Mid Atlantic Ridge and the Atlantic Ocean is very deep at that point. It's also extremely volatile with magma frequently bubbling up. I did a post on geology a while also at the address above which looks at the tectonic plate theory suffice it to say the crust of the earth is comprised of plates which rub against each other causing earthquakes and where the crust is thin volcanoes form.
The sea level is rising as the earth is warming up and causing the ice caps to melt and some countries like Bangladesh which is densely populated are predominantly a couple of feet above sea level. Many big cities which are ports face the same problem also in Bangladesh they have the problem of the rivers flooding due to silt making the river level higher than the surrounding land. They have to almost constantly dredge the rivers. Also due to corruption they don't get very good value for money and much of the country is flooded.
despite its northerly position Britain has mild weather and this is mainly due to the Gulf Stream Current which brings warm water from the Carribean to Britain. This current then travels to the arctic and then goes round on itself and arrives at Western Africa. Casablanca has quite mild weather for a city that borders the Sahara for this reason.