March 3, 2015
online-storage
Heroku
To remove an app
I couldn’t figure out how to do it online, so I did it from inside a VM with commands like this:
$ heroku apps:destroy evening-stream-6581
$ heroku apps:destroy --confirm fierce-lightning-5483
How I put vdb2 on heroku
baseubu1210dev:~/dev/vdb2 $ heroku create --stack cedar
Creating shielded-sierra-2960... done, stack is cedar
http://shielded-sierra-2960.herokuapp.com/ | git@heroku.com:shielded-sierra-2960.git
Git remote heroku added
baseubu1210dev:~/dev/vdb2 $ heroku apps:rename vdb2
Renaming shielded-sierra-2960 to vdb2... done
http://vdb2.herokuapp.com/ | git@heroku.com:vdb2.git
Git remote heroku updated
SSH keys
baseubu1210dev:~/dev/vdb2 $ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/vm/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/vm/.ssh/id_rsa.
Your public key has been saved in /home/vm/.ssh/id_rsa.pub.
The key fingerprint is:
b7:13:f2:1e:8c:f1:d9:f1:d9:97:ee:6f:78:37:32:f0 vm@baseubu1210dev
The key's randomart image is:
+--[ RSA 2048]----+
| |
| |
| |
| |
| S o . |
| O * o o.|
| . O + ooo|
| . o Eo.=|
| . +==|
+-----------------+
Note: PWD is heroku
Tell heroku about the ssh keys
baseubu1210dev:~/dev/vdb2 $ heroku keys:add
Found existing public key: /home/vm/.ssh/id_rsa.pub
Uploading SSH public key /home/vm/.ssh/id_rsa.pub... done
Now I can run the command:
$ git push heroku master
September 2, 2013
Latin-America-trip-notes
Where I will be posting until mid-November
My tumblr blog
Cellphone frequencies
- Brazil: GSM900, GSM1800, GSM1900, GSM850, 3G
- Argentina: GSM1900
- Chile: GSM1900, GSM1900, GSM850
- Uruguay: GSM1900, GSM850
- USA: GSM1900, GSM850, 3G
ge’s flight plans
- Ticket #: 0012381831829-30
- Record locator: JPUIKL
Flight to DF/W
American # 332
TUE 01 OCT 4:00 PM RDU => 6:05 PM DF/W
Seat 10B
Flight to Brazil (São Paulo)
American # 963
TUE 01 OCT 7:35 PM: DF/W => 7:40 AM WED 02 OCT SAO PAULO GUARULH
Seat 19D
Flight to US (Miami)
American # 912
SUN 10NOV 9:35 PM SANTIAGO SCL => 4:25 AM MON 11 NOV MIAMI INTERNTNL
Seat 26B
Flight to RDU
American # 124
MON 11NOV 10:30 AM MIAMI INTERNTNL => 12:30 PM MON 11NOV RDU
Seat 19C
David’s flight schedule
Updated Itinerary - Delta confirmation # GUH769
Tuesday, October 1
Flight: Delta 1177
Departs: 12:15 pm from Raleigh, North Carolina
Arrives: 1:41 pm at Atlanta, Georgia
Seats: 17D
Cabin: Economy Class
Tuesday, October 1
Flight: Delta 105
Departs: 9:50 pm from Atlanta, Georgia
Arrives: 8:25 am (October 2) at Sao Paulo, Brazil
Seats: 31B
Cabin: Economy Class
Sunday, November 10
Flight: Delta 146
Departs: 10:10 pm from Santiago - Benitez, Chile
Arrives: 6:00 am (November 11) at Atlanta, Georgia
Seats: 32A
Cabin: Economy Class
Monday, November 11
Flight: Delta 1294
Departs: 8:35 am from Atlanta, Georgia
Arrives: 10:01 am at Raleigh, North Carolina
Seats: 24C
Cabin: Economy Class
Resources
Expected average temperatures on Carlinhos and Georges Big Adventure
It’s going to be pretty hot in Indiatuba

It’s going to be warm in Rio

It’s going to be nice in Florianapolis

It’s going to be very pleasant in Porto Alegre, Montevideo and Buenos Aires



It’s going to be cool in the mountains of Argentina

It’s going to be cool, but warming up in Chile



Either Valpariso or they are not very enjoyable: http://www.offexploring.com/nickandfabrice/blog/chile/valparaiso-valparaso-valparaso-province/2012-11-10+13%3A51%3A15
This looks like a good hostel with rooms in Santiago. Trip Advisor.
September 1, 2013
Syncing-gitm-with-2tlh
Bittorrent Sync
I’ve tried but nothing happens at all.
gitm and 2tlh can’t ping each other, but I can ssh between them.
Allowing ping
I followed advice from Apple Support, only I deselected stealth mode:
- Choose Apple menu > System Preferences, click Security & Privacy, and then click Firewall.
- Click the lock icon to unlock it, and then type an administrator name and password.
- Click Firewall Options.
- Deselect the Enable Stealth Mode checkbox.
Ping now works, but syncing doesn’t.
Listening
The Preferences tab shows the port on which you are listening.
Should both computers listen on the same port?
No devices show up
SpiderOak Hive seems to do syncing like Bittorent Sync
Most of my problems required deleting ~/Library/Application Support/SpiderOak and restarting SpiderOak.
SpiderOak Hive now seems to be syncing files between my Mac Mini and my MacBook Air. Whew!
What is the difference between SpiderOak Sync and SpiderOak Hive?
If you look at the services listed by SpiderOak on their web pages, you’ll read:
SpiderOak offers 5 services in 1 solution: Online backup, sync, share, access and store.
The word Hive is not used there.
If I understand correctly, SpiderOak Sync can only sync items that are already being backed up by SpiderOak. This implies that I cannot sync files larger than my account quota, which is 5GB.
SpiderOak Hive, on the other hand, uses a folder that I am not backing up with regular SpiderOak. So I’m hopeful that I can sync files larger than my quota.
I wonder what role SpiderOak Sync is supposed to play now?
Logging into SpiderOak Forums
According to the login page for SpiderOak forums I can “Select the ‘User Forums’ item in the SpiderOak application ‘Help’ menu (Mac), or the SpiderOak notification tray icon (Windows, Linux). This is the recommended method. Why?”
Trouble is, my Mac Application has no help menu. So is there a way to log into the forums without entering my username and password into a browser?
Reading SpiderOak forums
The page (https://spideroak.com/personal/) lists 5 services in 1 solution: Online backup, sync, share, access and store.
Will someone please explain the difference between these services?
I’m not really that dumb a guy, but I can’t figure out exactly what SpiderOak does, besides local encryption and online backup.
I’m writing this in as elementary a manner as I can because I need simple answers, explaining where data is stored and how it is transmitted by the various SpiderOak services that look the same to me.
Here are my best guesses:
- SpiderOak Backup: copies files in the SpiderOak Hive folder to the server.
- SpiderOak Store: store files on the SpiderOak server. I can’t distinguish this from SpiderOak Backup.
- SpiderOak Hive: a special folder required by SpiderOak Backup. Files placed in this folder will be copied to the server and synced to SpiderOak Hive folders on other machines.
- SpiderOak Sync: copies files from one computer to another. I have trouble distinguishing this from SpiderOak Hive.
- SpiderOak Access: access files with a web browser (I haven’t tried this).
- SpiderOak Share: let others see files with a web browser or possibly their SpiderOak apps (I haven’t tried this).
With Dropbox, I put my files in a folder whose name can be changed, and Dropbox copies them to its server. If I add Dropbox to another machine, Dropbox will download the files from the server and populate the folder. From then on, a change on either machine will update the server and the other machine - a form of syncing.
As far as I can tell, this is what SpiderOak does. This is what happens with the SpiderOak Hive folders on my two Macs: files are synchronized between them.
So what else does SpiderOak Sync do? If I understand correctly, SpiderOak Sync can only sync items that are already being backed up by SpiderOak. In other words, the have to be in the SpiderOak Hive folder, too. SpiderOak Sync allows me to select subfolders of the Hive folder, so maybe it’s a way to prevent full synchronization between my machines, to only sync some of the files in the Hive folder?
Another way to ask my question: what’s the difference between Sync and what the Hive folder does?
I was hoping to find a way to do what Bittorrent Sync does (except I unfortunately can’t get that to work either): transmit files from one machine to the other without going to a central server. I was hoping that Hive did this, but apparently Hive stores files on the SpiderOak server and cannot sync files larger than the storage space purchased.
August 31, 2013
Docker-versus-Virtualbox
Justin saw this article and recommended that I take another look at Docker. He especially recommended that I do the docker tutorial, and I did. It seems pretty nice.
I told Justin:
It seems very nice but I’m going to hold off until it runs on OSX. To run it now I’d have to run it inside a virtualbox VM and I don’t see the point. Besides I can’t imagine getting networking and file sharing working from way in there.
One advantage of docker seems to be the downloadable premade environments. This reminded me that virtualbox has them, too.
Reading another article on docker, I found this explanation of the difference between docker and :
Virtualbox has a lot of overhead as each image uses its own kernel and file system. This isn’t the case with docker - containers share the same operating system as the host, and when possible, the same binaries and libraries. It’s possible to run hundreds of containers on a single docker host.
An instance of docker running in OSX, if I understand correctly, could only run OSX, not some other OS. And docker in linux can only run linux.
I use virtualbox to run linux server images in OSX. I can develop for linux on my Mac.
Currently docker sounds like a very useful tool for someone developing on linux for linux.
August 11, 2013
family photography
This was in Como, Italy in 2000

Memorable reaction to this photo by Celisa Steele
We should all have eponymous boats.
August 11, 2013
For years now I’ve felt overwhelmed by the many appeals from organizations working for causes that matter to me. Appeals never seem to stop. I rarely see their names in news stories: the only information I get about most of these organizations is in their incessant requests for money.
I’ve wondered just how large or effective many of these organizations are. I imagine an organization consisting of two or three people - most of the funds they raise surely go to paying themselves to do whatever it is that they do.
Perhaps this is as it should be - I have no real way to know - but today’s News & Observer has an interesting article about the 400,000 groups dedicated to serving veterans
The problem is, the groundswell of support for our troops has led to
an overabundance of veterans groups.... With redundant efforts, groups
compete for the same resources – and donors are becoming skeptical
that the cause they support is really having any effect at all.
The article also mentions that the US has 1.6 million non-profits. I guess this means that 1.2 million are devoted to things other than veterans. That sounds like a lot of non-profits but it’s easy to be confused by numbers. But I’m beginning to feel that a non-profit has to prove to me that they’re effective before I donate to them.
Non-profit organizations that seem to be effective:
- ACLU
- EFF
- Planned Parenthood
- Nature Conservancy