Saturday, May 29, 2010

Sharepoint inline frames

Inline frame is basically a website within a website.
You set an initial website for your inline frame, and then you can click on any links within that website, and only the contents of the inline frame will change.























Subsequently you can modify the inline frame initial webstite by changing the "src" field on your left hand side.

















Lastly, beware if you want to change the whole page (not just the content of the inline frame) by clicking on a link within the inline frame, you need to select "parent frame" in "target frame" under hyperlink properties (that is: right click on a hyperlink, then click on "hyperlink properties," then click on "target frame," and finally click on "parent frame."
If you don't understand what I am talking about, you will soon understand; after you run into a few problems with inline frames, everything will be clearer.

The "target frame" setup can be used for many other useful things.
Have fun, and good night.

Dictionary definition boxes part 2

Before we begin, a "string" is a line of code.

OK

So, in front of a word that is to be defined via a pop-up
box you enter this string, and in the parentheses (what a stupid word)
you enter whatever you want to see pop up.











After you are done, you type in the word that is supposed to be clickable.
In this case "Yummee"










And lastly you finish the string with the brackety slashy A.
You can forget about the brackety slashy P.


Voila,













If you are curious about the whole weird sentence, it's from a movie.
Here is a link to a short youtube clip.

Dictionary definition boxes part 1

A separate definition pop-up after clicking on a word in your web-quest dictionary is fairly easy to implement.













Let's say that we have a pretty usual sentence plus a single word:HTML clipboard

"Carbonize koxohydrates, therm nuclears, make me a sandwich.

Yummee"

And we want to have a pop-up box when clicking on koxohydrates and yummee.

You can obtain the raw code from here.
(The second one)















Go into the split-window mode in Sharepoint by clicking on split. By double-clicking on anything in the lower window you highlight the section of code pertinent to whatever you clicked on (as you can see in the image above).













(It doesn't really matter how many lines you split it into)
To be continued.

Tuesday, May 25, 2010

Videos in Hot Potatoes

It is possible to embed videos in Hot Potatoes. Click and place your cursor where you want your video to be embedded. Then click on insert, and media object. If you are embedding a youtube video, go to youtube and under your video click on embed.






















Then copy the link that appeared underneath.
Paste the link into "Media file" in the window you opened in Hot Potatoes by clicking on insert and then media object. Click on add flash player and then OK.

















Voila, hopefully this will work. If it doesn't, and you have problems like multiple videos displaying and such, write me a message in the comments section.

Hot Potatoes errors

After uploading some Hot Potatoes exercises I received some errors. So if you also receive PHP errors, write a comment in the comments section and I might be able to help you.
For example PHP error on line 1 is really easy to fix.

How to choose a laptop: video card

Video card, aka. graphics card or GPU (Graphics Processing Unit), remember it's GPU not CPU.
This component takes care of displaying stuff, yeah, that's it for explaining.

Choosing the right video card hinges on one thing: do you play games or not? If you don't then it doesn't really matter what video card you choose, and you can stop reading this post, unless you do some other heavy duty graphical work (I am pretty sure you don't). Then lower prices should be your guide.

If you do want to play NEW games, then you need to look for some decent card.
But what is a decent card?

**************************************************
Warning, what follows is very confusing
**************************************************

There are basically three manufacturers of video cards: ATI (AMD), Intel and Nvidia.
Intel manufactures only GPUs that are integrated into the motherboard or the processor itself. These are generally not suitable for playing games.
So, your options are:
ATI Mobility Radeon 4000 or 5000 series; or Nvidia GeForce 200M or 300M series.

For ATI 4xxx and 5xxx denotes the series, and the second digit xXxx denotes the performance category within the series. The last two digits further specify performance.
Therefore, Radeon 5870 is more powerful than Radeon 4870, but 4870 one is more powerful (and more expensive) than Radeon 5400 despite the fact that the series number is higher. Yeah, its pretty confusing.


Nvidia is pretty similar. 2xx and 3xx denotes the series, xXx denotes the performance category, and the last number further specifies stuff within the category. Caveat, Nvidia also uses GTX, GTS, GT ... in that order to determine how powerful a card is. The most powerful card from Nvidia is GeForce GTX285M (M stands for mobile, portable for laptops). The 3xx series has some power-consumption tweaks, but other than that it is basically the same.

If you still want to buy a gaming laptop, visit this site, they have a good GPU comparison chart.
http://www.notebookcheck.net/Comparison-of-Graphic-Cards.130.0.html
for gaming you should not go lower than their category 3.
By the way, when you see SLI or Crossfire in a name, that means that there are 2 graphics cards inside.
Also remember notebook graphics cards are not comparable to their desktop counterparts. They are generally half as powerful (my estimate). This is because notebooks have to keep heat and power-consumption low.

Friday, May 14, 2010

How to choose a laptop: memory and hard drive

The word memory usually refers to computer's "short-term memory" or RAM (Random access memory). Hard drive or hard disk is its "long term memory."
When you turn on the computer things that you and obviously your processor is working with get stored in the RAM. If you open a program (Word, browse the web, listen to music) it gets stored in the RAM, that means your computer is working with it (just like our short term memory). Once you shut down your computer, all of that gets erased (unless you saved it).

Saved it??????????????
But you just said it gets eeeerased.

When you save things, you save them onto the hard drive. Contents of the hard drive don't get erased when you shut down your computer (but you should still BACKUP YOUR DATA just in case). So that important essay, save it onto a USB stick too.

RAM: If you just use your computer for everyday tasks like web, music, movies or essays, then you need at LEAST 2GB of RAM if you have Vista or Windows 7 (4GB of RAM is better).

Hard disk (HDD): The more gigabytes the better.

There are two types of hard drives: ones that spin and ones that don't. The standard type of hard drive is a one that has platters that spin. In this type of HDD you want it to spin fast 7200RPM (Revolutions per minute) is better than 5400RPM. Et ceteris paribus more RPMs means faster file transfer.

The new type of hard drive is called "Solid state hard drive" (SSD). These ones don't have any spinning parts. They need less energy (longer battery life), they are generally faster and sweeter. The downside: they are expensive. Again if you are on a budget, skip them.