Cycling on Saturday

Today I cycled to some places I don't usually go to, and I managed to take some nice pictures. The weather was good and my bicycle was willing, so I managed to climb the mountain and make it down to the beach in time for sunset. Great day for cycling! Here are the pictures:

Pic of my bicycle near the mountain

View from the mountain

Back at the seaside for sunset

Sailboat in front of the coast

And finally, here's a pic of the tower.

Alas... In reality my bicycle is still broken and the weather sucked today, so I stayed at home. Better luck next time! :D

Posted in Cycling , Photography

Immersion

For the past week I have been completely immersed in progamming. It's a great feeling to start development on something from scratch, and to see it grow into a beautiful work of art. Every day, every hour, every minute there is something to add or to improve. The end results is getting better and better and you can still clearly see the improvements every day, quite unlike software that has been under development for months or for years. What could be better than designing a huge-scale program all by yourself, given full freedom to do whatever you like and a code library that you made yourself? I can think of no better job than that, and that is absolutely what I want to keep on doing in the future. Ah, these are my best programming years, when the ideas still spring to mind freely and the body writes code almost automatically without having to conciously think about it. Later, when I will be filthy rich and manager of some super-huge multinational company I will have forgotten this skill... 

Half unrelated note: the wiki page of the game of life is a great starting point for a wiki quest on recurring patterns and randomness in nature. Check it out :)

Posted in Tech , Thoughts

Random links to please the mind

https://en.wikipedia.org/wiki/Total_creativity

http://www.see.org/e-ms-dex.htm

http://www.multivax.com/last_question.html

http://www.catb.org/jargon/html/koans.html

https://en.wikipedia.org/wiki/Closed_timelike_curve

And here's something terrible from the wiki page on koans that made me laugh:

“If you have ice cream I will give you some.

If you have no ice cream I will take it away from you.”

(It is an ice cream kōan.) <-- T_T

Posted in Thoughts

Piet

Tonight I was randomly wandering around online when I bumped into something quite peculiar: Piet. It's a programming language named after Piet Mondriaan, the Dutch abstract art-ist. In this programming language, a program is actually an image where each color determines what to do. The color decided where the instruction pointer will go next, what to do with the stack and what to output to the user. It doesn't serve much of a purpose, but it's one of the most interesting esoteric programming languages I've encountered.  One program in particular made me smile, which I can link here as a bitmap.

piet_pi_big

Besides being a picture of a circle, this is also a Piet program that calculates the number pi. The best part is: if you increase the image size, the approximation of pi becomes more accurate. Brilliant!

</geek>

Posted in Tech

Train train...

This is probably useful for anyone in the Tokyo/Kanagawa area: I found a huge train line chart online that shows all/most of  the lines in Tokyo and Kanagawa. Normally no single chart shows all lines because they are owned by different companies, and it's even harder to find a good map in English, so I'm quite happy with this one. It's fan-made so it's not 100% reliable, but from what I can tell everything in there is absoutely correct. So useful!

http://www.mukiryoku.com/Tokyo_suburban.jpg

Today I was supposed to go look for a new apartment, but I went to bed late last night and woke up at 1PM. Then I somehow got caught up in reading Wikipedia's articles about trains, which lead to me finding aforementioned chart. After that I found out that Microsoft Train Simulator actually includes the Odakyu line which I have to take to get to Tokyo, so I  installed that and gave it a try. Driving trains is easy, except when you're on a tight schedule, and in Japan every second counts. Literally. Leave one second too late and you'll be too late at the next stop. 

MS TrainSim's graphics seriously suck, though, and it's quite difficult to recognize any station on the Odakyu line except Shinjuku. I looked around a bit for better trainsims but it seems difficult to.. 'acquire' in a fast and internetty kind of way, so I gave up. I did find a great flash applet that takes a quite different approach to train simulation. Take a look at it here. Why bother to design a 3d world if you can just take a movie of the actual train driving the route, right? Can't be more detailed than that :D

Posted in Daily Life , Tech

I love statistics

As the title says, I love them. Especially when it comes to stuff I am interested in, like photography. I found this program called ExposurePlot, which analyses all your pictures' EXIF info and graphs properties like focal length, aperture and shutter times in very clear charts, that show you exactly how much you use each setting. Here's a picture of my stats: 

stats

Click to enlarge. This picture shows how many times I used each focal length, aperture, shutter speed and ISO. I usually shoot in P or Av mode, so the shutter speed is mostly determined by the camera. Cool stuff!

(thanks to sister's nagging I finally updated the photography page with my new stuff :D)

Posted in Photography , Tech

And this is....

why I don't watch. CSI. 

<insert-sunglasses>

Posted in Uncategorized

Saturation of Luxury

It might not seem like I am living a very luxurious life; I don't have a car, I'm not filthy rich and my room couldn't possibly be much smaller than it is now. Still, I am living life in my own luxurious way, especially the last couple of weeks. I guess it all depends on how one defines 'luxury'. 

For me, luxury means doing what I want to do, whenever I want it. Eating what I want to eat, whenever I want it. Sleeping when I want to sleep, etc. etc. Luxury doesn't have to be expensive. Even though my current lifestyle is not very luxurious in terms on money I spend every day, it still feels luxurious to me, because it's all I really want. I'm living the luxurious life. And that's bad. 

Why is that bad? For one thing, because I am allowing myself to indulge too much in things that are not really important. I am enjoying the luxury of having hours and hours of movies and shows at my disposal, but instead I really should (could?) be looking for a new apartment or a new job. Eating and sleeping whenever I want means I am not in very good shape right now. Sleeping in every morning means I don't cycle to the beach anymore. 

When you take a photo, do you want the colors to look bland? No, I don't think so. A good photo will have sparkling, vivid colors that speak to you. But if you over-saturate the picture it will look fake and unreal. Having too much luxury in life feels the same way. It's like you're not really living life, you're only enjoying it. That sounds a bit strange, but I'm not the only one who feels this way. I got confirmation of this feeling from the strangest source: Wall-E. Yup, that movie is essentially about what happens to people when their lives get easier and easier. That future does not seem very good at all, does it?

So here's my statement: any person who is living a life of total luxury is not truly happy. What do you think?

Posted in Daily Life , Thoughts

Photo workflow and tools

As the years pass by and digital camera's images become larger and larger in resolution and file size, my hard disk is slowly filling up. Measures need to be taken. This weekend and last weekend I managed to make a nice system for myself, to always have access to all of my pictures without filling up my harddrive too much. I planned to explain my workflow here, thinking it would only take a couple of lines. Now it seems that i have quite a lot to explain if I go into details, so I'll keep it brief and pretend that my readers are all as geeky as I am.

My main photo folder is divided into years, inside which I have a folder for each date, starting with the month and date. Inside those folders I usually keep just the raw images from my camera, but if I have a lot I make another level and create folders for the RAW images, and the Small thumbnails (usually 1600x1200 or 2048x1536). When I review my pictures, first I make the thumbnails, then delete the crappy ones, and I run a perl script to move all the good pictures from the RAW folder into a 'Original' folder. Then I delete the RAW folder, which only contains blurry and crappy pictures after I am done reviewing. 

This became quite hard to manage when I decided that I want to back-up my originals but keep the thumbnails on my harddisk. I decided to no longer use Raw/Small/Original folders, but rather I will keep a completely separate index in a different folder. I will delete pictures from my index folder, and then run a perl script to synchronize with the original folder. I still don't directly delete the originals, but I move them to a 'Discarded' folder,  so that I can make sure that I really want to delete them. 

For this purpose I wrote a couple of Java programs and a perl script. The Java tool is called Eternal (don't know why -__-). It builds an index of images and movies from a certain source folder. It's configurable via a configuration file, where you can set the size of the images in the index, the jpeg quality, and also the movie quality. Yes, it also compresses movies. 

Of course I didn't write any of the resizing or movie compressing code myself. For resizing the images I make use of Irfanview, which has some nice command line options for resizing things. For compressing movies I use FFMpeg, which is by far the most brilliant piece of software that I've discovered in the past year. You can literally do anything to any kind of movie type just by using the command line. 

I got FFMpeg for Windows from here, and you can download Irfanview from here. As for my own software, you can get it from here. It's a RapidShare link so don't expect it to be up for too long. There's three programs:

  • Eternal.bat: creates an index folder (with smaller versions of images and movies) out of a source folder, recursively. (Eternal_rv2008.bat is an example of how I run it for my photo folder)
  • RevSync.jar: moves photos from the original folder to a 'discarded' folder, by looking at whether or not the same image exists in the index folder
  • MoveBig.pl: calls RevSync.jar for whichever index folder it is placed in, based on my own personal folder structure. 
If you want to use the tools that I wrote you should download FFMpeg.exe and Irfanview.exe as well, and point to their paths in the configfile. I don't think a lot of people will use my tool, but it's useful for me, so I might as well share it. 

I should note that there much better ways to index your photo's, and the only reason I do things the way I do is because I make a lot of pictures, and I'm too lazy to tag all of them individually. 

There you have it. That's how I manage my photo's. Hope it's useful to you. If you prefer a different systemor if you see a way to make managing photos easier, let me know :)

Posted in Photography , Tech

Brilliant

Of all the things that have been going on in my life, of all the interesting things I could mention here, the only thing I can thing of sharing is a picture of the brilliant sashimi (raw fish) I ate this afternoon:

img_5055

Recently I am trying a bit to isolate myself. I'm taking more time for myself and I'm feeling good about doing it. It seems that my friends are perhaps having a difficult time understanding this. Another little something that can create a look of surprise on their faces is when I tell them that I like my work. Yes, there are actually people on this world who like what they do. I enjoy my current job very much. It's the kind of work that I like to do. Designing. Building. Creating new systems that gather information that I can control and manipulate. Perfect place for a control freak like me, if I do say so myself. The best part is that I've been with this company for a long time already. I can see where the company is going. I can envision what they will need 3 months from now and 6 months from now, and I am able to create it. That's a good feeling. 

I have so much things I want to do in this company before I leave.  So much things to accomplish, still. Yet my attitude to work has definitely changed. The end is perhaps not near yet, but I am thinking about it. Thinking about what I will do after all this work is complete. No longer am I thinking about relaxing another year here in Atsugi, rather I am exploring every possible future I could have after this job is over, and I realize that I have a great many options available to me. That's a good feeling, again. 

It's not all good feelings, though. As I am gaining more self-confidence in my work and my own lifestyle, I seem to lose confidence in others. I can no longer see the people I deal with as 'just  people'. Instead I see people who are trying to manipulate me for their own good, trying to take advantage of me. I guess everybody gets a bit more cynical as they get older, but for me this kind of came in a burst. Let that be a lesson to me, and to others: people will never do what you want them to do. So don't expect anything. 

Hm, that was rather negative. I'd better throw in a happy picture:

cat

This is a cat. Cats are independent. They always do what they like. They don't listen to people, and they don't want to sit still and let people take pictures of them. Cats don't have owners, they have servants. Cats are like people.

Posted in Daily Life , Thoughts