Saturday, September 4, 2010

PC Scripts Daily - 09/04/2010

Hello and welcome to the seventh edition of PC Scripts Daily! Today I have some update, a new segment called Apps Weekly, and part five of the Bash tutorial.


PC Scripts JavaScript Update

I have updated the JavaScript code that runs on PC Scripts. I have fixed some errors and made it more efficient. I have also added the code for the slideshow and I am waiting for our friends at gSword Creative for the images that will go into the slideshow.

I am going to combine as many JavaScript files as possible to shorten the time it takes to load PC Scripts.


Apps Weekly - Simple Note Review

Yes, Apps Weekly is back. Today, I have a review of Simple Note. I can't make screenshots because when I press the Home and Sleep buttons, nothing happens.

Simple Note is similar to Apple's built-in Notes app but it syncs with a cloud. There is a web interface with which you can access your notes. If you have an iPhone & and iPad, your notes can be synced between them, as long as you use the same account on both.

I write PC Scripts Daily on Simple Note and now I edit it on my computer. It's a hassle to edit documents on my iPod Touch. I just write it on my iTouch, go to my computer, edit it, and copy & paste it onto my blog.

Unfortunately, there is no built-in spell checker. It uses Apple's spell checker. It does have a built in HTML parser. It doesn't parse everything but if I type an HTML character (starts with a &, has a word, then a ; ), it will convert it to its parsed equivalent. This isn't normally a problem but since I do PC Scripts Daily in HTML, I have to fix all of the characters that Simple Note changed. Since their web interface doesn't parse HTML, I change the characters back to the HTML code on my computer. Before I got my computer working, I had to do this on my iPod Touch and that took quite a long time. I couldn't do it in Simple Note or else it would be parsed again so once I pasted it into Blogger, I changed them back. This took a very long time and I wouldn't have to do it if Simple Note didn't parse the HTML. I haven't found a way to turn off the HTML parsing but if it's already there, somebody, TELL ME!

If you aren't writing in HTML, Simple Note is a very good application. If you are writing in HTML, it's going to be a hassle to change the characters back but otherwise, it's great. Simple Note is on the App Store for free.


Bash Tutorial - Part 5: Arithmetic

A useful thing to know in any programming language is how to do arithmetic. This is a very simple operation in other programming languages but in Bash, it is very complicated. The syntax for doing an arithmetic operation is varname=$(($var1 operator $var2)). This will apply the operator to $var1 and $var2 and set the value of varname to the answer. For example, to add $a & $b and put the answer into $c, you would type c=$(($a+$b)). $var1 and/or $var2 can also be a numerical number rather than a variable. The operators you can use are: +, -, *, and / for addition, subtraction, multiplication, and division.


Next Edition

That's all for today. Today's edition isn't very long l but I hope you enjoyed it!

No comments:

Post a Comment