Archive for the 'Windows' Category

Offline math program for iPhone

Hi, I have got an iPod Touch and I’ve always wanted a good math program for my iPod. I wanted one with all the things that I needed to calculate: integrals, diffs, limits, matrices, … but there was nothing for the iPhone. I looked up and in the AppStore and I found Wolfram Alpha, but it has two things I don’t like: it’s online and it has no memory.

So I looked up in Cydia an over the Internet and I didn’t find anything. I decided to try to compile GNU Octave, but it was very difficult, then I found that I could install python from Cydia. I did it and I found a module called sympy that does everything I wanted, it’s like a small matlab for your iPhone. You can see all the things this module does here. It’s really easy to get it working, here there are the requirements:

- Jailbroken iPhone
- Python (you can download it form Cydia)

And the steps:

Installation

1. In your iPhone, you need the Telesphoreo Tangelo source, that comes by default, anyway, it’s: http://apt.saurik.com and if you don’t have it a package called Terminal.

2. Now, in Cydia click into search and type python and download “Python” (not “iPhone/Python”).
3. From your computer download the .tar.gz file of Sympy from here. You should download the latest one, in this case it’s sympy-0.6.6.tar.gz
4. You’ll find a folder called sympy-version where version is the version, i.e.: sympy-0.6.6. To avoid problems extract the folder in your desktop and rename it to sympy.

5. From your computer copy the folder sympy directly inside your Media folder inside your iPhone. To copy files in your iPhone use iFuse if you are not on Lucid (if you’re on Lucid you don’t need anything!), and iPhone Explorer if you’re on Windows or on a Mac. The media folder is the default folder when you browse your iPhone with this programs. Some folders inside of Media are DCIM, iTunes_Control, or Photos.

(Note: The next steps: 6-8 may not be needed, if you want, try the manual without them and tell me if it worked.)

6. It’s almost done, now open your iPhone Terminal and type su. Type your root password, if you don’t have changed it, it should be alpine, if you have problems look up in google, I also don’t know if this step is needed or not, if you have problems try to avoid this part.

7. Now put this code in your Terminal:

cd /var/mobile/Media/sympy

And this one:

chmod +x setup.py

8. Now type this in your Terminal:

python setup.py

Running Sympy (after installation)

Even if you get errors executing setup.py don’t worry, as I don’t know if steps 6-8 are needed, I’ve done them but I doubt if they were needed. Ok, the point is that you have sympy installed. Now let’s see how you can open it. Close your terminal and open it again. Then put this code:

cd /var/mobile/Media/sympy

And then this one:

python

And… finally this one:

from sympy import *

You’re done, everything is fine. You can use the program, let’s do an example:

x=symbol('x')
pprint(integrate(1/(x**3+1),x))

Enjoy!

How to open Sympy faster

If you want to open Sympy faster, download this bash file I’ve created. Put it in /bin and give it executing permissions. To do this, just copy the file to Media in your iPhone and then, in your iPhone Terminal:

cd Media
su
cp 'sympy' '/bin'
cd /bin
chmod +x sympy

Then, to run Sympy, open your Terminal, type sympy and then inside the Python prompt type:

from sympy import *

BSOT in Windows 7

Yes, I got one blue screen of death in Windows 7 Professional 64-bit edition. I had no time to take a photo but here’s the proof. I’m experiencing problems with Adobe Flash player and sometimes I have some applications’ freezes, maybe I have a virus, I’ll have to scan my computer… shit!

How to fix Internet Explorer

It’s a shit, and if you don’t like it you just don’t use it, you have plenty alternatives. But… there’s a problem. In Windows almost all the applications that use a browser use Internet Explorer, for example Steam. There’s an addon called Chrome Frame. It’s developed by Google to run Chrome inside Internet Explorer, but it’s done to be run only if the page request it or if you enter in the urls by typing cf:http://url.com

But there’s a way to force Internet Explorer to render pages with Chrome, and you will never ever use it again! Now I can play CSS and visit webpages with Chrome inside Steam :D . So if you want to do this, follow the steps:

1. Install Chrome Frame, if you don’t have it you can download from here.
2. Now you have to do a registry modification. Just go to HKEY_CURRENT_USER\Software\Google\ChromeFrame and create a new key called OptInUrls.
3. In right side panel create a new String with * as name.

You can also download this file that does the same, (I’ve used it, it works fine).

Thanks to askvg.com for the help.

Edit: It works fine, but it doesn’t do what I wanted, it doesn’t work well in Steam. Inside Counter-Strike Source it displays Internet Explorer though pop-ups work with Chrome.