Pages

Friday, January 13, 2012

Javascript

1. When was the language developed?

Introduced in 1995, JavaScript, an object oriented web scripting language, has become an international standard allowing web developers the ability to write Dynamic HTML that works on multiple browsers.
2. For what purpose was the language developed?

JavaScript was crated as an alternative to the failing Java. The goal of the language was to create a lightweight and easy to learn language with the ability to script the behavior of web page content.
3. Who developed the language?

JavaScript was created by Netscape programmer Brendan Eich. The web scripting language was first released under the name of LiveScript as part of Netscape Navigator 2.0 in September 1995. It was renamed JavaScript on December 4, 1995
4. Is the language typically used on micro, mini, or mainframe computers?

The language is mostly used in simplifying website designs and code. Commonly used for popups
image rendering and other types of design. Also used to preform tasks, sort of like an Input Output machine.

5. Show us what the language looks like.





Roboto Bot (v. 0.1) - Example

Copyright 2011-2012 Jake Smith, Alain Gilbert and Turntable.fm

//BOT ACCOUNT
var bot = new Bot('auth+live+68149d90417e2243626a732561b4f923bb35a6d8', '4ebd50424fe7d07276000c25', '4e04350514169c1136006d6b');


//USERLIST

var theUsersList = { };

bot.on('roomChanged', function (data) {

// Reset the users list

theUsersList = { };

var users = data.users;
for (var i=0; i var user = users[i];
theUsersList[user.userid] = user;
}
});
bot.on('registered', function (data) {
var user = data.user[0];
theUsersList[user.userid] = user;
});
bot.on('deregistered', function (data) {
var user = data.user[0];
delete theUsersList[user.userid];
});

//COMMANDS
// Respond to commands!
if (data.text.match(/^\/hello$/)) {
bot.speak('Hey! How are you '+data.name+'?');

//WELCOME


bot.on('speak', function (data) {
if (data.text.toLowerCase().match(/^thanks roboto.*$/)) {
bot.speak("You're Welcome, "+data.name+"!");
}
});

//BACK

bot.on('roomChanged', function (data) { 
console.log(data);
  bot.speak('Roboto is back and better than ever!');

Tuesday, November 29, 2011

Site Safety



1. What online shopping site are you researching? Put the url here and the site name.

[Trusted] Fab - Daily Design Deals for Everyone! | http://fab.com
(Invite Only Deals)
[Unsafe] ...

2. Does this site use cookies to identify you as a return shopper? How do you know?
[Trusted] The site uses Basic HTTP Log in and Password Authentication, but it collects your cookies and IP to keep you logged in until you decide to log out.

3. Is the site secure? Identify the security measures that this site uses to keep your credit card and personal identity safe.


[Trusted] Fab uses Verisign to verify the site payments. This Web site can secure private information using a VeriSign SSL Certificate. Information exchanged with any address beginning with https is encrypted using SSL before transmission.
4. Does this site offer person to person payments? 

[Trusted] No, it only offers payment directly to Fab.com via Credit Card only.Verisign + BrainTree Credit Card security protect your credit card payments.

5. How can I verify that this site has not compromised individual's credit card or personal information?

[Trusted] Google Safe browsing and WoT (Web of Trust) both verify that the site is safe.

6. Identify 3 methods I can use to keep my credit card and personal data safe from hacking while shopping online(identify at least 1 from reading in the text)

[Trusted] Verisign, Paypal and Https are all ways you can tell that the Credit Card information is secure when buying online.

Tuesday, October 25, 2011

Mac OS X Project

Mac OS X 
by Jalen and Jake

Operating System: Mac OS X
How To troubleshoot printing:

Step 1
Sometimes a printer stops working for no apparent good reason. In the Print Queue, try clicking Resume or Start Jobs. If all else fails, turn off and restart your printer.

Step 2
Your Mac won't give you a warning when you're running low on paper, so keep an eye on your printer’s paper tray.

How to create a Folder/directory: 
Step 1

Navigate to the location from Finder where you want to create a folder
Step 2

Click on the Gray button and click on New Folder button
Step 3

It creates a new folder

How to delete a file/directory:
Step 1
Drag the items to the Trash

Step 2
Choose Finder > Empty Trash.

How to change from one folder/directory to another:
It is a simple process of moving from folder to folder.

How to rename files: 
Step 1
In Finder, open the folder with your file in it.

Step 2
See all those pretty icons? Don’t click on them. Find the icon for your file. Click once on that icon then click and hold the mouse button down on the filename below it.

Step 3
After about a second of holding down the mouse button the text will become editable and you can type over the name. Be careful you don’t change the extension because bad things will happen!

Other features? 

http://www.apple.com/macosx/whats-new/features.html


https://sites.google.com/site/bhsc