Many of us are guilty of saying “database” when we mean a database server or a DBMS.
A database is a collection of tables storing related data,
schemas, stored procs, and permissions.
Most database servers are capable of managing many databases simultaneously.
I needed to create a new PostgreSQL database at Amazon’s RDS last week.
I already had an RDS instance; I needed a new database on that instance.
My Google searches turned up various recipes for creating a new RDS instance.
The following worked for me:
- SSH to an EC2 instance inside our VPC,
so that I could connect to the RDS instance using psql.
- Then run:
psql --host=SOME-DBMS-HOST --dbname EXISTING_DB \
…continue.
Title: The Prisoner of Zenda
Author: Anthony Hope
Rating: ★ ★ ★ ½
Copyright: 1894
Pages: 156
Keywords: adventure
Reading period: 23–24 June, 2016
Having read Royal Flash,
I also read its inspiration, The Prisoner of Zenda,
Anthony Hope’s classic adventure novel.
Rudolf Rassendyll, a young British aristocrat,
decides to visit Ruritania,
where his distant cousin and doppelgänger, the dissipated Rudolf Elphberg,
is about to be crowned king.
The future king has a half brother, “Black” Michael,
who begrudges him the throne and also covets his fiancée, Princess Flavia.
Michael kidnaps the king and the king’s friends,
in a desperate attempt to preserve political peace,
persuade Rassendyll to impersonate the king.
The imposture is successful and a stalemate …continue.
Title: Royal Flash
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★
Publisher: Plume
Copyright: 1970
Pages: 256
Keywords: historical fiction, humor
Reading period: 19–22 June, 2016
Having made an enemy of Otto von Bismarck a few years earlier,
Flashman now finds himself compelled by Bismarck to impersonate a Danish prince
in a German duchy, taking his place in a marriage to the duchess.
Flashman is a doppelgänger for Carl Gustaf and with his talent for languages,
he’s able to pull it off.
At first he believes that Carl Gustaf is recuperating from an embarrassing case of the pox,
and he settles into enjoying his role.
Then he learns that …continue.
When histories of 21st-century Britain are written,
the Brexit referendum will undoubtedbly be prominent.
A small majority of Britons voted to do the unthinkable,
to secede from the European Union.
Xenophobes and racists in coalition with the marginalized and disaffected
have delivered a big fuck you to London and to Brussels.
Some had cast a protest vote,
not believing that Leave would actually win.
Remorse immediately set in,
as the pound has dropped to a thirty-year low,
billions in EU funding is set to dry up,
and prime minister Cameron has resigned.
Scotland and Northern Ireland both voted Remain
and now both are making noises about their own independence from the United Kingdom.
Even …continue.
Title: Independence Day: Resurgence
Director: Roland Emmerich
Rating: ★ ★
Released: 2016
Keywords: sf
Watched: 24 June, 2016
As I watched Independence Day 2,
I disliked it more and more,
to the point where I was seething with anger
at the stupidity of the plot and the characters.
The original 1996 Independence Day was at least a watchable B-movie.
The sequel is leaden and plodding and makes no sense.
The characters are perfunctory and uninteresting,
while the comic reliefs are teeth-grindingly irritating.
You might assume that the young pilot who is the son of Will Smith’s character
would be the lead in this film,
but he’s sidelined here by Liam Hemsworth as the Top Gun jock.
My anger is …continue.
Perhaps I’ve been spoilt,
but most of the speakers at the technical meetups and conferences that I go to
have something to say and say it well.
I’ve also been to hundreds of Toastmasters meetings
and I’ve heard many speakers at all levels.
I went to a tech meetup tonight and I sat through two bad hour-long presentations.
The first speaker should have eliminated the first 20 minutes of his talk,
a self-indulgent ramble about various other projects that he had attempted,
which shed no light on his main topic.
He could easily have eliminated another 15 minutes from the rest of his talk
and it would have been the better …continue.
Title: Flashman
Author: George MacDonald Fraser
Rating: ★ ★ ★ ★ ½
Publisher: Plume
Copyright: 1969
Pages: 256
Keywords: historical fiction, humor
Reading period: 13–18 June, 2016
Brigadier-General Sir Harry Flashman,
celebrated Victorian soldier,
winner of the Victoria Cross,
survivor of the charge of the Light Brigade,
the battle of Little Big Horn,
and the raid on Harper’s Ferry,
reveals himself in this frank memoir published long after his death
to be “a scoundrel, a liar, a cheat, a thief, a coward—and, oh yes, a toady.”
The central conceit of the fictional Flashman Papers
is that Flashy, writing frankly in his old age about his remarkable set of adventures,
is perfectly willing to put himself …continue.
[Previously published at the now defunct MetaBrite Dev Blog.]
I attended DockerCon 2016 in Seattle
over the last two days and I learned a lot.
It was a well-run conference with an enthusiastic audience.
I’m astounded at the growth of Docker.
Three-and-a-quarter years ago,
Docker was revealed to the public for the first time,
in a five-minute lightning talk at PyCon 2013.
In January 2016, Docker Hub had received 1.6 billion image pulls;
by this month, that number had jumped to over 4 billion pulls!
DockerCon had over 4,000 attendees and nearly 100 exhibitors,
who clearly believe there’s a multi-billion dollar market for containers.
DataDog concurs, in a report on Docker adoption.
I complained yesterday about my difficulties in deploying Docker containers on AWS.
I have since succeeded in getting my app to deploy on ElasticBeanstalk,
though I have not quite ironed out all the problems.
I found several problems:
- I had to revert from a Multi-Container Docker environment
to a Single-Container Docker environment
because ECS wasn’t starting in the multi-container environment.
That meant I had to revert to a v1 Dockerrun.aws.json.
- I had to ensure that the Instance Profile had the
AmazonEC2ContainerRegistryReadOnly policy attached,
so that I could pull from the EC2 Container Repository.
I complained a few weeks ago about how hard it was to deploy Docker containers on AWS.
This week has been nothing but container-related frustration.
We have two apps running in Kubernetes clusters on top of AWS.
This is not a well-supported scenario and we have a fragile script
that spends a lot of time sitting in polling loops,
waiting for various things to happen like DNS updates taking effect,
the new cluster being available, and so on.
One of the apps has decided to stop deploying.
I do not know why.
I’ve been trying to get a new app deployed on ECS, the EC2 Container Service.
The way to deploy an …continue.
Previous »
« Next