MinGW and Cygwin to build a Windows DLL

I was writing C++ in Linux - gvim + aterm is my development environment of choice.  I needed to turn my code into a Windows DLL, though, and the following webpage was really helpful.

http://www.mingw.org/wiki/sampleDLL

I installed Cygwin in a Windows XP virtual machine, used Cygwin to install MinGW, modded my code and Makefile a bit based on the samples on that page, then ran “make windows” in that virtual machine.  Everything built great and let me put my code into LabView on a computer which didn’t have Cygwin libraries.  Job done.  Thanks MinGW and Cygwin.

Read more »

Geotagging Photos

Posted on

Well, I’m disappointed by the way Picasa handles geotagging photos in Linux. It looks like the newest version doesn’t support geotagging. Not only that, but when it resizes images to upload to Picasa on the web, it kills any EXIF information that may have specified a location. What the heck Picasa? Why you gotta clobber my shit?

I can preserve the geotags by uploading directly from my G1 (slow), or by going to the Picasa website and uploading from there (can’t do a batch upload, also can’t resize automatically).

Read more »

Current Chili Recipe

Posted on

Here’s my current chili recipe. This one is going to be awesome when it’s all done. It’s good enough right now that I have a hard time sticking to my plan to make it awesome without the spiciness, then add the spicy in later. The last few times I’ve made it I’ve added in the peppers… Shame on me. It’s just too tasty to resist.

1 can bush kidney beans 1/2 can bush pinto beans 1 lb browned ground beef 1 can hunts diced tomatoes 1.5 tbsp chili powder - I’ve been using McCormick’s 1 tsp Mexican oregano 1 tsp garlic powder 1 red bell pepper, minced 1/2 red onion, minced 4 jalapeños, minced 8 serrano peppers, minced

Read more »

Movies To See

Posted on

Here are a few movies I need to see: Brazil The Adventures of Buckaroo Banzai Across the 8th Dimension There Will Be Blood Empire of the Sun Ghost in the Machine The Warriors Lost Boys


Comments:

Karl - Apr 2, 2009

Beyond the Valley of the Dolls

Also, get a copy of the old Casino Royale…


Karl - May 1, 2009

Also see Public Enemy and Little Caesar.

Read more »

Chiltepin Batch 1 Day 1

Posted on

I planted 10 of my Chiltepin seeds today. At Lowes, I picked up some seedling mix, a 11.5" clay dish and a 10" plastic dish insert.

These are chili peppers that are used to dry climates, and several websites I’ve seen suggest the seeds should not be watered too much. To avoid problems with overwatering, I poked holes in the bottom of the plastic dish, filled the clay dish with sand, then put the plastic dish containing the soil on top. The sand will allow water to drain out of the plastic dish, but might let the soil in the dish reabsorb the water if it gets too dry. Also, the sand might hold heat better than just air, and air was the alternative had I placed rocks between the plastic and clay dishes. Only one half of the plastic dish has holes in it, the other side is completely intact. I’ve placed 5 seeds on each side, and if/when they germinate, maybe I can tell whether the holes matter at all.

Read more »

WWI

Posted on

Grenade in Foxhole
Hopeful glance at other man
Bend to throw, heads bump!

Read more »