Tuesday, April 28, 2009

Inversion 1.3

I have updated Inversion to version 1.3. What has changed with this version is that you can export as text, png and tiff. (Find it under File > Export) I hope you can find this update useful. BTW the exported images show what you can see in the window.

Chagelog:

  • Added exporting options (text, png and tiff)

Download:

Inversion 1.3,dmg
Source.zip

System requirements

  • Mac OS X 10.5 or later
  • 1.5 MB free disk space

Example for exported png:

Export sample

Example for exported txt:

Given objects:
Cirle - r: 12.000000, center: point( 50.000000 | 30.000000 )
Cirle - r: 12.000000, center: point( 50.000000 | 20.000000 )
Cirle - r: 12.000000, center: point( 34.538287 | 28.296654 )

Solutions:
Cirle - r: 20.826605, center: point( 42.726146 | 25.000000 )
Cirle - r: -3.173395, center: point( 42.726146 | 25.000000 )
Cirle - r: -6.363027, center: point( 52.602972 | 25.000000 )
Cirle - r: 7.369658, center: point( 31.286805 | 25.000000 )
Cirle - r: 4.118702, center: point( 43.815119 | 15.115115 )
Cirle - r: -3.322336, center: point( 41.847730 | 32.973607 )
Cirle - r: -4.984636, center: point( 49.145481 | 36.963126 )
Cirle - r: 2.065743, center: point( 40.065832 | 20.042218 )

Thursday, February 12, 2009

Quite interesting

About choking under pressure: Sciam: How to avoid choking under pressure.

Thursday, December 18, 2008

Browsershots

About a month ago, I told about a free web service that will render a webpage in multiple browsers and test the functionality. I couldn't believe that there is no service like this on the web, still I couldn't find it (looks like I haven't event searched for it).

Now I found it: Browsershots

Example: Sreenshots for Inazawa-Church.com

Of course, you can't check the functionality (I think that's impossible), but it makes nice screenshots.

Wednesday, November 12, 2008

A web service that would help so many web developers

Yesterday, someone wrote an Japanese email to our church using the form on the church homepage. But, we couldn't read anything, because of encoding problems – all characters were like complex traditional chinese kanji you would only use in names.

I was surprised with this, as I had tested the system in various browsers on my mac with no problems at all. (Yes I should have tested it on Windows, but you know…) I even have IEv6 running on Wine - the problem is, it doesn't have support for Japanese characters (or maybe it just needs a Japanese font). Therefore I didn't test it with that.
The person who wrote the email, was apparently using IE 6 on Windows – I already told you the result.

Wouldn't it be nice, if there was a web service or a browser that would show your web page rendered in all major browsers and you could test the functionality in all browsers? I haven't found such service yet. It would save so much work.

Please someone, make this for all web developers including me.

Friday, October 10, 2008

DBS 1.1.1

I've found a bug in DBS so I fixed it.

Download:

DBSBeta1.1.1.zip

Changelog:

  • Fixed a bug where DBSI->match returned errors.

Sunday, October 5, 2008

DBS Beta 1.1

I've updated DBS to Beta 1.1. Main change is the ability to define DBS by xml.

Download:

DBSBeta1.1.zip

Changelog:

  • Added ability to define by XML
  • Changed DBSIFileUpload to hide the variables of the upload settings file and made them to constants
  • Added DBS_ALLOW_FREE_EVAL_USE for security in DBSTFromString

Wednesday, October 1, 2008

The Monty Hall problem

Something really amazing:

Imagine that you are a contestant on the classic television game show Let’s Make a Deal. Behind one of three doors is a brand-new automobile. Behind the other two are goats. You choose door number one. Host Monty Hall, who knows what is behind all three doors, shows you that a goat is behind number two, then inquires: Would you like to keep the door you chose or switch? Our folk numeracy—our natural tendency to think anecdotally and to focus on small-number runs—tells us that it is 50–50, so it doesn’t matter, right?
How Randomness Rules Our World and Why We Cannot See It: Scientific American

Amazingly, the answer is: Switch, because you will win 2/3

But why is this so?
If you choose the correct door first, the other door will be a wrong door. If you choose a wrong door first, the other door has to be correct, because the host can't show you the correct door, just one with a goat behind. Because of that, the probability that you will win is the same as the one that you will choose a wrong door first. And that is 2/3.
If you do this with 10 doors and the host shows you that eight of the nine left are wrong doors, the probability that you will win if you switch is 9/10. Really amazing.

Here you can try it out by yourself: