Web Services (part 2)

After my free year was up at AWS, I saw the monthly web services cost and looked around for something more economical. Eventually, I migrated this website (tomposz.com) to Digital Ocean, which I’ve found to be much more economical, especially with the simple wordpress website hosting problem. https://m.do.co/c/ed94cc37cc74 is a referral link for you to gain a $50.00 credit toward the first 30 days to check them out. I get some credit, too, so if you use this, thank you.

This is all getting really simple to host a website nowdays. I can remember in the olde days 🙂

Amazon Web Services

Websites: This week, I’ve been on vacation, but as a diversion, I’ve known my hosting subscription for my website is up for renewal and I’d wanted to move the site to AWS, Amazon’s Web Services technology, anyway. So perhaps over an hour, spread among perhaps 5 separate settings, I accomplished this move.

What I needed to utilize to accomplish this was the following

  • A better backup mechanism: I’m using WordPress for my site, and there are a number of backup solutions there, the one I was using was easy to create a backup image of the site content and the database, and store it in a set of files on my Dropbox presence (I wanted a separate store for it) but I had never tried to restore the website from any of these backups. After examining other tools, I finally settled on All-in-One Migration by https://servmask.com/ ; they are also in the plugins library.
  • Creating an EC2 instance with a marketplace app for WordPress via Bitnami was straightforward except for the simple instructions I followed on the AWS community noted to ignore the creation of server keypairs (for SSH access). Attempted to create the keypairs later was never successful and I am not really sure why, reinstantiating the instance and reloading my website content but this time creating the keypairs during that instantiation was successful.

AWS has a free tier (for an initial one year) so if you’ve never done this before, you should try it. The marketplace has a number of apps already available for low or no software cost.

Affordable PCs

I don’t know if you’re like me, but I have a bunch of old PC’s around the house, I just can’t seem to get around to the recycling them, thinking at a minimum that I have data on that hard disk that I need to recover or at least validate that I don’t need it anymore.

A little while ago, I ran across this show, revision3, and I thought – I have a few (actually 3) cases with various really old technology inside. I’m talking IDE disk drives here. I can use this idea from revision3, and taking a step in that direction, put modern technology inside an old skin. After all, I don’t really care what the outside looks like, what’s important is that the stupid thing runs; and runs faster than the last PC I bought (for a bit more money, by the way).

Then my son’s PC died and rather than go out and buy something new, I encouraged him to go along with me on this adventure…

Here is what I bought (right from Amazon) shipped right to my door.

  • Intel Pentium Processor G3220 3.0 GHz LGA 1150
    BX80646G3220 $58.99
  • ECS Elitegroup Micro ATX DDR3 1600 LGA 1150 Motherboard
    H81H3-M4 (1.0A) used $34.99
  • Seagate Barracuda 1 TB HDD SATA 6 Gb/s
    NCQ 64MB Cache 3.5-Inch Internal Bare Drive ST1000DM003 $53.99
  • Kingston Value RAM 4GB 1600MHz PC3-12800 DDR3
    Non-ECC CL11 DIMM SR x8 Desktop Memory (KVR16N11S8/4) $39.74
  • EVGA 430W 80PLUS Certified ATX12V/EPS12V Power Supply
    100-W1-0430-KR $34.99
  • Total: $222.70

Yes, like the guys building the gaming PC, I could spend a bit more money and put in a high end graphics card for rendering a PC game fast enough, but I myself don’t need any more than this. There is VGA and HDMI on the motherboard. I think my son will finally opt for the graphics card, because he does do games and stuff. (a PNY 750TI is $140 extra)

But for the basics, including for example, the idea of a video recorder (a PVR or DVR) – this is enough. And, what I have also discovered with my son is that this thing is really quiet! Yes, there is a fan on top of the CPU to pull heat away, but outside the case, it is very quiet.

If you have a bunch of cards to put into the PC, maybe this isn’t for you. There is one slot for the graphic’s card, two slots for memory (the 4gb memory I bought is on one stick). There is power for just about any SATA you would reasonably put inside, 2 hi/2 low SATA connections, 6 different USB connections (inclusive of 2 USB3). All in all, pretty sweet for this price.

You will need a DVD drive to install Windows (which he already had from the old computer) or a bootable ISO copy of the DVD on an external drive and I already had a Windows 7 license to use, otherwise you might have to spring for the Windows software (+ $100). If you’re doing Linux, then you won’t need that.

Hope this is something useful for you.

Analog TV Death Delayed

as reported by SOSF,

This decision will require both network and cable broadcasters to continue providing an analog feed to their customers even though all of them have spent literally multi-millions of dollars gearing up and getting ready for the new digital age of television viewing.

I have analog coming into my home right now, mostly because it’s cheaper than digital plus the cable company wanted to charge me a lot of money for “home-runs” to the TV’s. At the time I had no digital TV’s either.

Today, I don’t really have digital TV yet (it’s been an expense thing) — I have a lot of component video and I do IP streaming from the video server near my router to the living room.

Until you get a larger and more recent TV in place, it’s hard to justify the extra expense, both to install and recurring.

Once the incoming signal is digital, you will need these digital-to-analog converters for each analog TV you have. At the store, if you have to buy them, it’s going to cost you about $20-30. Not counting whatever equipment your cable company wants to charge you (probably built into a set-top-box)

Note that some of the problems with DRM have been reported, and also all of that DRM code in Windows Vista has had various folks up in arms.

Amazon Web Services

This review of the components of Amazon Web Services is a must “listen” for anyone interested in how to quickly deploy a service without having to make a huge investment in infrastructure… Amazon has done it for you…

Jeff Barr, Senior Manager, Web Services Evangelism at Amazon.com is interviewed by Phil Windley and others for Phil’s personal podcast, “Technometria”. A great listen, right on the page noted in the link and with further links for more detailed reading.

WAMU – Tech Tuesday – Musings on mobile phone technology

I’m a little behind on my podcast listening, but I caught one just this weekend, The Kojo Nnamdi Show, Tech Tuesday, is a technology review radio show, which is recorded and available for the public as a podcast or a web download. Often, his shows depict the social aspects of technology and how society shapes technology.

A typical Tech Tuesday always includes the political or social implications of any new innovation, and explores the unexpected ways in which change creeps (or steam rolls) into our lives.

This particular show, from 5/22, had a few guests on the program, one gentleman from India and his efforts to bring internet to the public in less than metro areas of India, via wireless internet kiosks (not your typical internet access) for the farmer to provide agricultural product pricing, access to government services, for example… A second man talked about his company’s efforts in Cambodia, to bring a higher class of work to people there, via simple data entry jobs, since the work can be outsourced practically anywhere now…

This piece should remind us that our view of the “internet” resource isn’t necessarily the only one. Even mobile phone technology can be deployed differently in the 3rd world and allow different types of “applications” to be deployed. As an example, forget the “near” 100% coverage we have here in the U.S., think instead about coverage that might be “good enough” – and coupled with lower infrastructure costs as technology has improved, and you have a fixed-wireless phone system that doesn’t rely on mobility so much, but does indeed provide basic telephone service to a rural area, since to provide “real” fixed telephone service, with fiber, copper wires, and traditional telco switches is just too costly, indeed it’s unreasonable to consider in this environment.

Myself, I’m reminded about a deployment of SMS related technology I did for my last company. The scene: an African tribal herdsman. The problem: Moving his herd of cattle from one place to another. Why? Because of hoof and mouth disease, all cattle movement is strictly controlled by the government. The herdsman has to go to a government office, fill out some paperwork, come back the next day for his permit to go from point A to point B with his cattle.

These native African herdsmen are fiercely independent, often they’d rather distrust the government, but the hoof and mouth disease problem is endemic in parts of Africa and the situation does need to be improved upon.

The solution? My company worked with one of the local mobile phone companies to deploy an SMS based forms system that interconnected the farmer with the government. The technology was off the shelf web servers, so that “SMS applications” could be deployed with simple HTML tags in the basic web pages of a web app that already existed. What we added was a network based browser that rendered this HTML, on one side, and interfaced to the mobile provider’s SMS gateways. The special HTML tags identified specifically the text that was meaningful in the SMS messages, whereas the remaining text would be worthwhile to the typical computer screen.

So, how did this all work? Like this…

  • The farmer decides he wants to move his herd. He knows where they are currently and he knows where he wants to go…
  • He pulls out his mobile phone (and they do have and use them there) and sends a text msg to a specific number, for the government’s form for cattle movement.
  • In response, he receives a “fill-in the blanks” msg, which he replies to, which allows him to fill-in the info that the government needs: name, number of cattle, that sort of thing. He sends it back, and receives a separate SMS msg, with an authorization code.
  • The tribesman begins moving his herd.
  • He comes to a government checkpoint, shows his SMS authorization code on his phone to the guard at the checkpoint, the guard sends the code number to the app on his own phone, and now the herdsman can proceed to the next checkpoint.
  • Continuing on his journey, the herdsman repeats the checkpoint process with each guard he has to proceed through.
  • Arriving at this destination, the herdsman sends his own authorization code back, just as the guards have been doing at each checkpoint, which closes out the herdsman’s cattle movement

So, the government gets to monitor herd movement within their country, the herdsman didn’t have to go to any government office, he simply used a tool he already had (his mobile phone). Even the guards didn’t have any paperwork to fill-out and submit. Everyone makes out for the better.

The interesting thing is this was deployed about 10 years ago, with existing SMS technology. Today, people might be thinking about web browsers in the phones, and a traditional web app or a mobilized web app, but the point is – for this service, we used an existing web app, modified HTML slightly, and inserted our network server, which

  • rendered the pages, as if it were a user,
  • extracted the special SMS tags and pertinent textual data,
  • pushed this data onto the SMS gateway,
  • upon response from the gateway, the text from the herdsman is formatted
  • the HTML response is sent back to the application

No “special” phones or WAP browsers, just plain ole text msging.

Now don’t ask me about how the herdsman would charge his phone, while I suspect he had a solar charger, I never did find that out for sure.

Intel: Advancing Multi-Core Technology into the Tera-scale Era

From Intel:

ASCI Red was the first computer to benchmark at a teraflops (1996). That system used nearly 10,000 Pentium® Pro processors running at 200MHz and consumed 500kW of power plus an additional 500kW just to cool the room that housed it. Although not a general purpose computing device, this Teraflops Research Chip delivers 1.0 teraflops of performance and 1.6 terabits aggregate core to core communication bandwidth, while dissipating only 62W.

Wow! – from 1 teraflop requiring a 1,000,000 watts to 1 teraflop requiring 62 watts. Pretty soon, there will be a computer for a $1,000 with AI software that will probably be smarter than most everyone…

It was only 5-6 months ago that quad core were being announced.

Electrical Efficiency Needed

SAN FRANCISCO, Sept. 25 — Google is calling on the computer industry to create a simpler and more efficient power supply standard that it says will save billions of kilowatt-hours of energy annually…

FINALLY, since a full rack of blades from someone like Dell will cost you 20,000 watts of electricity in order to run the darn thing. Not to mention that while no special room a/c is required, i.e. it will operate at normal room temperature, there is also a significant thermal demand upon the total IT space, which may cause further a/c requirements and the power associated with that.

The article points out a couple of industry initiatives, but that fact that the heavyweight is coming in with their opionion, well this should bode well for future improvements, and thus less energy consumption.