Blog 2


Nov 3, 2016

I spent a little time in the past week porting one of my blogs to Python using Django. If the website looks similar to these four blogs, it's because they are all the same codebase with a handful of tweaks to make it possible to unify them with my other blogs and journals. While they aren't all ported yet, I thought I'd write a quick blog to explain things. For a decade and a half, I've been blogging on a PHP website I wrote in 2002 for Javantea's Fate and improved over time. In 2011, I wrote a blog in Python with Django for my trip to Brasil. When I went to Mexico, I copied the blog and created a second database. When I bought j4va.com for fun and profit (not really), I first put up a copy of java.com with some interesting things in its place. Then when I wanted to turn it into a blog, I copied the Brasil blog and made a third database. Now that I finally want to unify my blogs, it makes perfect sense to simply use the same thing, but copy all the data from the all the blogs into a single database. It's so well-written, that I didn't really need a really bad intro page anymore. So now AltSci.com goes to that unified blog interface. There's a lot of logic that makes it happen, but I'll leave that unsaid.

Of all my travels, only one trip is not available on my unified blog. I decided to use MediaWiki for my Europe Blog and spammers destroyed that blog, so I don't have easy access to the data. Eventually I'll grab the data and post it to this blog. For now, the pictures and videos will do. You have to click on the videos to get them.

Read more »

Natural Language in Small Wide World


Sept 1, 2016

Yesterday I published a small piece of software to Small Wide World's git to very little fanfare. It was a generalization of a bad piece of software I wrote the day before. It uses NLTK to perform a simple task: parse a simple sentence which follows the form "subject verb object" with optional additional information starting with "because". Examples of this grammar include:

GnuPG is software
IRC is a protocol
software implements a protocol
Javantea is human
AI3 is software
Javantea wrote AI3
Javantea writes software
Javantea writes English
Javantea reads German
Javantea reads Japanese
Javantea reads Portuguese
Javantea reads Spanish

nlp1.py creates this graph of the relationships:

Read more »

Cosplaying Luffy and Doc Ido

Aug 13-14, 2016

Today I spent a few hours sewing a piece in my Luffy costume. It isn't completely finished but you can see the results below. What needed to be sewn? The shirt was originally a tank top from American Apparel. While Luffy wearing a red tank top is absolutely acceptable in a pinch, it needs to be a 3 button vest to suit say Season 3 Episode 78 where they leave the island of the giants and Nami is sick, so they go to the winter island.

Javantea in Luffy cosplay
Javantea in Luffy cosplay

If you're incredibly lazy, sewing isn't necessary for this cosplay. If you don't intend to wash the shirt or wear it more than a handful of times (shame, shame!), then a cut shirt will actually look reasonably authentic. A really good reason to sew a cosplay is to reduce the likelihood of fraying. Many fabrics when cut will fray. The cotton from this shirt almost certainly will fray in the washer. If you've never sewn a garment, you probably didn't know that because a part of the professional sewing business is ensuring that doesn't happen. Exceptions exist, but Luffy's shirt is most certainly not frayed and you won't want yours to be either.

Read more »

Photoblog of Zürich

I thought I'd give you a short photoblog with a very important message. Okay, it's not that important. The lesson for today is: Never delete anything unless you have to for privacy or safety. The corollary, keep everything encrypted. The corollary to the corollary, remember the password as long as you keep that data encrypted.

Photoblog of Zürich, Switzerland from 2005

Read more »

next »