Thursday, 30 August 2012
Cocaine
The book I read to research this post was Cocaine by John C Flynn which is an excellent book which I bought from a secondhand bookshop. John is a professor who specializes in drug addiction. Coca leaves as a way to get high were first used by the aztecs around 5BC. They also thought it was an aphrodisiac. In around 1860 a method of synthesizing a white powder which was a lot weaker than modern cocaine was first developed. In the late 1960's modern cocaine was developed. It acts primarily on cocaine receptors in the brain to get you high. It's worth noting no drug works on every receptor in the brain and the receptors reacts differently to different drugs. Also the receptors vary in their characteristics from person. That is why drugs often affect different people in different ways. Another problem is often harmful substances are mixed in with the drug so the dealer can maximize his profits which there have been cases where people have died from these chemicals. Also often people snort or inject cocaine as well as other drugs. If you have it orally it goes straight to your liver before it reaches the brain and that neutralizes some of it which is good if there is harmful chemicals with it but it also tries to neutralize the cocaine. When you snort or inject it, it goes straight to the brain which is potentially more harmful but means you get more high. One thing it says in this book is that telling people not to get high on drugs is a bit like telling people not to have sex in that there is always going to be people doing it because it's enjoyable. I think it is important to educate about drugs so they can at least make an informed choice. A final thing worth noting is often users don't know how pure a drug is and there is the potential to overdose if it is pure or almost pure.
Tuesday, 28 August 2012
Amazon Simple Storage Service
The book I read to research this post was Amazon Simple Storage Service Developer Guide which is a very good book which I downloaded for free from kindle. A lot of this book is hands on using Amazon S3. Amazon S3 doesn't require an operating system like EC2 and is simply storage. Amazon only bills you for the storage used and there are no upper limits and they don't penalize you if you go over a certain amount. A single upload can't be more than 5Gb & the total load uploaded in multiple amounts can't exceed 5Tb. You can choose which service centre you use and many companies use 2 so if one goes down they can use an alternative. Currently there are several servers in the USA, one in Ireland, Singapore, Tokyo & Sao Paulo in Brazil. It is compatible with a lot of the other Amazon products. Many companies use Import / Export which is a high speed internal network that will copy your data onto S3 as well as EC2 and this is especially useful if you have several terrabytes of data.
Sunday, 26 August 2012
Amazon Route 53
The book I read to research this post was Amazon Route 53 Developer Guide which is a very good book and which I downloaded for free from kindle. Route 53 works with quite a few other Amazon services like S3 or simple storage service & EC2 or elastic compute cloud. if you have a hosted website by someone else it will also work with that. Basically it lets you link a website which is already up and running to a DNS name or several DNS names. When you sign up part of the process is you get a phone call from Amazon and have to enter a pin number presumably to avoid people running loads of sites maybe for dodgy purposes like selling viagra. I think Amazon want to make sure there is a real person at the other end. If you have a website at more that one Amazon server farm they will direct traffic to the less busy one at any one time. They have a server farm serving most continents ie one in Ireland serving Europe & one in Singapore serving Asia. If you have the Elastic Load Balancing from Amazon the TTL or Time To Live which is the time before it gives up trying to connect you and assumes it's a bad line, anyway the TTL in ELB takes precendence over the one in Route 53 so if you need to adjust it you need to do it in ELB.
Friday, 24 August 2012
The TGV Train
The book I read to research this post was The TGV Handbook 2nd edition by Brian Perrin which is an excellent book which I bought from Amazon. This book was written in 1996 so is a little dated but there is some interesting stuff on the future of TGV trains which I'm going to focus on some of which may have already happened. The engine on a TGV produces 8,800 KW and the top speed varies slightly from model to model but is around 300kph. SNCF the french railway service provider had to slow down the rate at which the high speed infrastructure was built. In Britain where I live in the development stage there is plans to expand the Eurostar to the midlands and north of England. Interestingly there used to be a railway line that went upto the midlands and sheffield which was the european gauge and which was scrapped and sold off when they nationalised the railways and now they are spending billions following a similiar route. There is plans to have a high speed link between Seoul & Pusan in North & South Korea which may have been built by now. The company that built the TGV was set to build the trains for that route. Also there's a high speed train link which has probably been built between Washington DC & Boston via New York which not be quite as fast as the TGV but was supplied by the same company and called the American Flyer. There's a similiar project in Florida linking Orlando or Disneyland with places like Tampa. In Russia there were plans to link St Petersburg with Moscow again with TGV & this would help ease congestion on that route. In Australia there were plans to link Sydney to Melbourne via Canberra. There was also talk of routes in Canada & Taiwan which again may have been built.
Thursday, 23 August 2012
Amazon Import / Export
The book I read to research this post was Amazon Import / Export Developer Guide which is a very good book which I downloaded for free from kindle. You could be forgiven for thinking that Import / Export has something to do with importing hard drives from Thailand but the truth is a little bit less exciting. It's actually a high speed data transfer service. You have to have either a S3 or simple storage service or EC2 or elastic compute cloud account. You then can send AWS your storage media and they will either import or export data and even wipe your media if requested. I think generally you use pen drives. They even send it back to you by courier which is included in the price. This service is only available at their asian, european & american server farms. The locations are Singapore in Asia, Ireland in Europe & Northern California for America. A further service they do is store your data on an offline server. If in an emergency you need a complete back up they will send that to you. Normally they send you a barcode sticker which you attach to the media but on more sensitive stuff you copy a file you must name signature and which is called a signature file onto the media. If you need a snapshot it's done in EBS format but this can't be imported onto media and can only be exported onto a EC2 server.
Wednesday, 22 August 2012
Creative Blogging
The book I read to research this post was Creative Blogging by John Edgar which is an excellent book which I downloaded from kindle. One mistake I made in my early days of blogging was thinking that I could have a general interest blog. I think google probably thought a lot of my tags were spam. What I should have done is if I wanted to do a new subject start a new blog. The best blogs take a niche subject and write about it in a lot of detail. I don't do that because it concerns me that I might run out of books I can write about. Primarily my sites are book review sites but I think people enjoy reading some of the ideas that are in the books in my own words. Anyway ideally you want to host your own blog although if you are going to make money from adverts - try adsense, adbrite & chitika for starters - you are going to need a lot of traffic. On my sites I don't believe that amount of traffic and also I do it for enjoyment. Ideally the wordpress software which can be got from http://wordpress.org is the best software if you are self hosting. Go Daddy is a popular hosting company. Anyway the wordpress software is free, open source and very configurable. There are thousands of plug ins available for wordpress many of which are free. You can even have a shopping cart on your website. Another idea is becoming an affiliate and they will often give you a personalized website address where people can buy stuff and then you get commission. A final point is you should buy a domain name for your blog as it's easier for people to remember. I have done posts on mom blogging, food blogging & corporate blogging & there's also 500+ blogs on computing in general at http://scratbag.me
Amazon Cloudsearch
The book I read to research this post was Cloudsearch Developer Guide which is an excellent book which I downloaded for free from kindle. I've noticed these posts on the various cloud services Amazon offers are quite popular so I have downloaded a load of developer guides from kindle and they should feature strongly on this site over the next few weeks. Anyway Cloudsearch is a search engine that lets you search your intranet or website. It's compatible with other Amazon products in particular S3 or simple storage service and EC2 or elastic compute cloud. It does advanced searches like boolean and returns the results in either JSON which is the default or XML. These of course are standards not computer languages. Amazon have done a sample database of 5,000 movies for you to practise with.
Subscribe to:
Posts (Atom)