Mar 31, 2010
WWW
The world wide web has come a long way. Internet has come a long way. The parents of WWW have had another breakthrough this week. They created the big bang in the tunnel buried underground that snakes its loop between Switzerland and France. The CERN has been a pioneer of sorts. Necessity is the mother of invention. Cern proved it to be true. Based on the concept of HTTP they wanted to develop something that facilitated sharing of information between researchers. The baby eventually moved out of the crib. If not Cern someone else might have developed webpages sooner or later but I think it would have been later. Talking about its invention brings to my mind the concept of 2 results or in other words every action has two results in two different universes. An electron has 2 spins, so in a lighter note in some other universe(may be like those sci-fi series) CERN didnt invent world wide web.
We are learning AJAX. In those days making a webpage might have been the talk of the intellectual elite. I think with easy tools in the future someone very novice might be able to wield the baton in AJAX. In my opinion Mathematics and Programming are subjects that need constant practice and I definitely lack practice.
We now have Web 2.0, wonder what web3.0 will be. It is definitely something that will strive to make human interaction and day to day jobs more easier. Experts say that WEB 3.0 will bridge the gap between Human Gizmo interaction and make it easier and cost effective.
Cisco Valet wireless
Office 2011 for Mac
Japan's SIM Card Technology
Buy whatever phone you want and then use it with whichever service you want - a man can dream. This dream, however, may soon become a reality... in Japan. The government has launched a review of the SIM lock technology that prevents simply swapping SIM cards with a separate carrier. The proposed legislation will not be applicable to the use of international sim cards.
Flash
There are rumors of a deeper partnership between Google and Adobe - the Chrome browser may ship with Flash built right in. The implementation of the new HTML5 standard is a large threat to Flash, as many video playback features are standardized and integrated into the new code. One of the main complaints about flash is that it is a stand-alone installation that must occur on all browsers, rather than being a shipped component.
The Macbook makes an appearance
As we prepare to leave Eastern with a smile and thousands of dollars in student loans, incoming freshman at Seton Hill University are entering with a smile. They won't be smiling because of their new found freedom but they'll be smiling because they are getting new Macbooks and iPads. I know, I know, how crazy is that. These students as well as the staff will be receiving these devices to help them with their learning experience at Seton Hill. The faculty and staff at the university will receive training that will bridge the gap between them and the technology.
I'm sure that the tuition at Seton hill is kinda high but I guess if I were getting a free computer I wouldn't mind paying back those student loans. I feel like this will give these students an enhanced college experience. I like the idea and look forward to hearing about more universities doing this.
Hacker educating Microsoft and Apple
The three time repeat hacking contest winner;Charlie Miller, of the annual Pwn2own contest is tired of the way that computer industry companies tries to fix it flaws and bugs. That is why he won't tell Microsoft, Apple and Adobe about the 20 flaws and vulnerabilities it has in its software. Instead he will show and teach them how to find the bugs themselves. He recently just won $10,000 in the hacking challenge and has been the winner the past 3 years.
Mar 30, 2010
Electric Hack
The Smart Meters are used to create a network connection between the customer and the utility company. They have a couple different security holes that could allow a hacker in to the system. The type of communtication used by the meters appears to be the weakness. There is a whole host of the scenarios that are possible by taking advantage of these vulnerabilities.
As quoted from the article "The communications standard used by smart meters, in particular, was an area that was a cause for concern, said Joshua Wright, a senior security analyst with InGuardians. If criminals are able to tap into the network, they could potentially doctor another person's bills or even stage bigger attacks on the grid, according to the report."
InGuardians has published a number of reports based on their findings. In one report it was stated that a single criminal could have control of multiple meters at the same time. The reports also point out that these types of vulnerabilities are more common due to our upgrading the grid's infrastructure.
I have worked for a retail Choice provider in the past. The cellphones that power the smart meters are very simple, and the meter boxes were not very secure. We had major problems with people using the phone line for long distance calls all the time or just stealing the phones. So the nightmare scenario of having a terrorist attack on the power grid is very real.
Individual Project 3
So the next part was to figure out how to add the second feed to my current project. I looked back over the class blog and saw the examples that were put up and this really helped. So I wrote the code based on this example, loaded it on people.emich and hit the button. I was happy that it worked until I saw that only the second feed was coming up. This surprised me a little; I would have expected the first one and not the second one to work.
I spent some time playing with the code and still could not get it to function right. I went through every line of code and could not see what the problem was. I finally asked one of my group mates for help. They were able to catch the mistake that I had kept missing and my feed now works with both Kayak and Expedia. The one thing I have learned about writing code whether it be C#, JavaScript or any other computer language is that there is very little room and any type error and the programmer must be a very diligent person and keep checking each line. If one variable is wrong, the whole application will not work.
Mar 29, 2010
iPad is reshaping the Internet
The iPad doesn't run flash. So, think of all the times you needed to update your flash or make sure you even have flash to run a program. Now think of all those programs that uses flash. If your site is shown on the iPad, according to the source I am using, your site won't look pretty.
It turns out people want their site to look "pretty" instead of the opposite. A lot of sites are being changed, this is changing the Internet. Now, all you flash users, don't worry it is still sticking around.
The reason the iPad could have a more pronounced effect on the internet than the iPhone actually really is simply because it’s bigger. The challenge of best displaying your content on the iPhone wasn’t simply making sure you had a Flash-less site — it was fitting it all into a 3.5-inch screen, reducing it to the utter essentials to fit the way people use their phones, a task that might’ve gone beyond a mobile-optimized site in many cases. With the iPad, two of the biggest restrictions — the tighter screen, those smaller windows of time — aren’t there, so content producers very well might not need an app to fit their content onto the iPad. In other words, they really can just build a site instead of an app, which is why the iPad might have a more profound effect on the internet than the iPhone.
Source: http://www.wired.com/epicenter/2010/03/how-the-ipad-is-already-reshaping-the-internet-without-flash/
First reaction to the iPad are mixed opinions. I did read something about a 10 hour battery life and wow that caught my eye when I have to always keep charging my laptop. It will be interesting to see what happens in the near future and see how this will reshape things we are used to seeing.
Apple and Google Together Again??
My code... looking for some help
$url = "http://api.fanfeedr.com/basic/all_scores?appid=735sdkx8cqvh8jbwyfzmr3x7"
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response_body = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if (intval($status) != 200) die("Error: $response_body");
var_dump(json_decode($response));
?>
This piece of code is my javascript. I am sorry I don't know how to post code like Adam did, where it was more organized. I used the blockquote which seemed to help the spacing.
function checkRival() {
fanfeedr();
}
function createRequest() {
try {
request = new XMLHttpRequest();
} catch (tryMS) {
try {
request = new ActiveXObject("Msxml2.XMLHTTP");
} catch (otherMS) {
try {
request = new ActiveXObject("Microsoft.XMLHTTP");
} catch (failed) {
request = null;
}
}
}
return request;
}
function fanfeedr() {
createRequest();
if (request == null) {
alert("Unable to create request");
return;
}
var url= "getFeedr.php";
request.open("GET", url, true);
request.onreadystatechange = displayFeedr;
request.send(null);
}
function displayFeedr() {
if (request.readyState == 4) {
if (request.status == 200) {
alert("here");
//var myObject = eval('(' + myJSONtext + ')');
detailDiv = document.getElementById("fanfeedr");
detailDiv.innerHTML = request.responseXML;
}
}
}
I think I need to fix how this is being displayed. I wrote in a previous blog comment that I was going to look at what Adam wrote and try and incorporate some of that. I am not sure that will work or not but is always worth a try. Does anyone else have any more suggestions for me?
Mar 28, 2010
The Safe Reader
I was searching for an interesting article to blog about and I came across an article about an application available to Blackberry users. The application is called the SafeReader. The SafeReader allows users to listen to text messages and emails while driving. This is a safe alternative to reading text messages and driving.
I think this is a good idea. I've come across a lot of emails with gruesome photos of people who were texting and driving or talking on the phone and driving. Technology has solved the problem of talking but not texting completely. I recently heard or an application for cell phone that will block the user from receiving and sending text messages while driving. I think the SafeReader is a better solution. I can't wait for this cell phone application to be available to all cell phone users.
Mar 26, 2010
What is Google Labs?
I wanted to know what exactly Google Labs does for users like me. I decided this is a great opportunity to explore something I don’t know and share it with others.
According to a google site they tried to answer the basic question what is Google Labs?
Google Labs is a playground where our more adventurous users can play around with prototypes of some of our wild and crazy ideas and offer feedback directly to the engineers who developed them. Please note that Labs is the first phase in a lengthy product development process and none of this stuff is guaranteed to make it onto Google.com. While some of our crazy ideas might grow into the next Gmail or iGoogle, others might turn out to be, well, just plain crazy.
This is fun for the lab can actually grow into something we use daily. Based on everyone’s comments and concern with a project it grows to be something successful or another failed experiment.
Engineers and researchers build Google Labs. This is a way for Google’s Engineers and researchers to be able to show off what they have been working on. I just really like how they use our suggestions as guides to how to improve what they already have accomplished.
Google "leveraging" with it's Services?
Mar 25, 2010
Netflix! ahoy!
I was working on Netflix the last week and it didn't seem to budge from its place. The Netflix api doesn't let you fetch details about its catalogs unless you have an account with it. The Autocomplete feature lets one draw just a gist from its database. In the Autocomplete feature one just needs to write a word, e g I wrote Step, the api shall fetch all the movies that have the word Step in it.
I could not tide over the problem with Netflix, hence my search for an alternative was on last week. We finally found an alternative which is the RSS feeds from Netflix. We had considered Yahoo movies api as well but it doesn't exist anymore. We also came across other interesting websites like TRYNT and Movie Web but the former didn't actually match our criterion. We were disheartened when the address to Trynt.com was an invalid one and it no longer existed in that server. All we got to see was a blank 502 bad gateway page.
Things are not progressing bad. Other than tiny silly mistakes that camouflage themselves in the coded background my programs eventually starts working. I am upbeat about netflix RSS feeds. I think it will be an interesting bit of information bar in our mashup webpage.
Mar 24, 2010
Sprint unveils its first 4G phone
Sprint announced the HTC Evo 4G today. I gotta say, I'm impressed. I'm particularly excited because, as everyone knows, I'm a fanboy of Android. And this lovely piece of equipment features Android OS 2.1. I'm stuck with the MyTouch 3g and the lowly 1.6 version of Android. I really wish that they would upgrade the operating system on units that are already owned by consumers.
So, back to the Evo, I'm drooling over this thing. It has a 4.3 inch display. One other thing that it has that my phone lacks is a a 3.5mm headset jack. I'm not sure why the hell they left that out when designing the MyTouch. Other features include Bluetooth, Wi-Fi, 1GB of internal memory, Assisted-GPS with Sprint Navigation, seven home screens, a personal organizer, a microSD card slot that accommodates cards up to 32GB, a 1GHz Snapdragon processor, an HDMI out port. A 1GB processor on a cell phone is freaking insanely fast too, and the HDMI port? Watch videos from your cellphone on your big screen tv lately? Sounds awesome.
I believe that Sprint is going to be the first carrier to offer 4G, which will be this summer. I'm looking forward to it's release, because I think it'll be the most successful Android phone released, so it'll be interesting to see how it fares.
What you need to know about Google vs. China
I know that this has been talked about quite a bit. But I found this article that gives a much better explanation of what is going on between Google and China. I was under the impression that the Chinese government wanted Google to collect more information from users for some reason. But this is apparently not the case.
What happened is Google was available in China when they first started up, but it was censored and sometimes shut down by the Chinese government. China's communist leadership restricts Internet content and political speech, so Google had to agree to censor some of its Internet search results in order to do business in China. Because of this Google launched Google.cn. Google says Chinese hackers tapped into the Gmail accounts of Chinese human rights activists and conducted a "highly sophisticated and targeted attack on our corporate infrastructure." China denies these claims, but the situation caused Google to promise to stop censoring its results in China unless some kind of new agreement could be arranged between Google and China.
So I'm a little confused about something. Did the Chinese government hack the gmail accounts? Either way I agree with Google's decision to stop censoring search results. Communism just completely blows my mind away. I know Americans think they are entitled to their rights, but I sometimes wonder if we realize how lucky we are to not have to deal with the shit that some people have to deal with in other countries.
AJAX is a PAIN
Bruce Perry posted a blog about using a open source Javascript library called Prototype. Why did he do this? Here are his own words on the subject.
"Why didn't I just create a plain old JavaScript object (POJO) for my application, instead of introducing an open source library? For one, Prototype includes a nifty collection of JavaScript shortcuts that reduce typing and help avoid the reinvention of the wheel. The commonly touted shortcut is
$("mydiv")
, which is a Prototype function that returns a Document Object Model (DOM) Element associated with the HTML tag with id
"mydiv". That sort of concision alone is probably worth the cost of setting up Prototype. It's the equivalent of: document.getElementById("mydiv");
Another useful Prototype shortcut is $F("mySelect")
, for returning the value of an HTML form element on a web page, such as a selection list. Once you get used to Prototype's austere, Perlish syntax, you will use these shortcuts all the time. Prototype also contains numerous custom objects, methods, and extensions to built-in JavaScript objects, such as the Enumeration
and Hash
objects (which I discuss below).
Finally, Prototype also wraps the functionality of XMLHttpRequest
with its own Ajax.Request
and related objects, so that you don't have to bother with writing code for instantiating this object for various browsers."
He goes on to SHOW YOU how to set up your files for using prototype by adding certain lines of code and files. And finally he finishes up the blog with examples on how to use the library.
Dynamic Web Interfaces
As I am still working with my individual projects http requests, I have been looking for some more information out on the web.
Well I found this site that talks about http requests, XML, DOM and parsing all in one!
XML.com has several sub-chapters on topics near and dear to our hearts. But the one I found most interesting was the one on Ajax.
The article starts with the history of XML and its interplay with JavaScript. The codes examples start with the basics, then it turns to "The Form," "Handling the Input," "HTTP Heavy Lifting," and the "The Server Script." There are examples on the parsing, xmlDocloading, and server requests.
And as with all good teaching blogs, there is a link to a book for more reading. In this case the book is "No Nonsense XML Web Development With PHP" by Thomas Myer.
Go Daddy may follow Google from China
GoDaddy has had an increase of Distributed Denial of Service or DDOS in the past few months from China. Censorship has been a problem in China. This is the first time a governemt has ask the company to seek additional information from its customers.
I think China is a very strict company so some companies should leave China. Hackers in China are not only threatening to the companies but to the users of the company. Hackers could get control of private information. GoDaddy might follow google and who is moving their severs to Hong Kong where the laws are less strict.
How Google used AJAX
This wasn't Google's main adaptation of AJAX on their search engine however, but is a mere bonus to what they were truly trying to accomplish after April of 2009. In an article listed on CNET at http://news.cnet.com/8301-1023_3-10220532-93.html?tag=mncol, Stephen Shankland talks about what's going on in the background that is actually making Google more money.
In a very simple adaptation, Google used AJAX to start loading the specific search results under the default 'boilerplate' that always remains in the same position after each subsequent search is performed. While this may be the definition practically of simple easy-to-use AJAX, the mere milliseconds that Google saves after each search really makes a difference. Apparently all of these quicker times ad up to a large amount of new searches, which in turn transfers into more ads being shown and therefor more money in Google's pocket. I figured they were merely updating their search engine to help benefit you and I by letting us know that 'dogs in funny costumes' was a possible search term, but I cash is the driving factor and I'm wrong as usual. Thanks Google.
Windows 7
After waiting three months I finally took the plunge and installed Windows 7 on my computer. Windows 7 has the same layout as Vista but is much improved. Gone are the slow start times and numerous Windows services that run in the background and bog your computer down. In my opinion, Windows Vista was basically another version of Windows Me (Millennium). Windows 7 gets great reviews by many user and many of them also state how Windows 7 is much improved over Vista.
Reviews
I took advantage of my student discount and purchased Windows 7 Premium. Installation was a breeze for me...Windows 7 took a lot less time to install than Windows XP. The reason for this is probably when you install Windows XP you must also install all the service packs and updates which can take a few hours. Since Windows 7 is new it does not have that many updates with it. As I installed Windows 7 I did have some skepticism about installing a new operating system.....will my hardware and their drivers work?? All that was quickly laid to rest as all my hardware played nice with Windows 7.
After some skepticism I am glad I installed Windows 7 onto my computer. Is it perfect?? No. But it sure is a nice new look and a welcome replacement after Vista was such a flop. Us XP users have been using the same operating system since 2001 and a change is always nice.
Mar 23, 2010
NetBeans : JavaScript Editor
Quarter of U.K. Kids Have Hacked
Young people now days see their computer or their cell phone or other data device not as a tool but as a part of themselves that they can not put down. If you have gone to a movie recently you will know what I am talking. All the young talk extremely loud with their friends, oblivious to anyone else. Then they start to text. Why did you even come to the movie if you want to talk to someone else? These kids are really disconnected from society and what is correct behavior. So hacking into someone’s account is no big deal to them. I see this becoming a really serious problem with all the young people of the world.
Another issue is how safe are our private accounts if young kids can hack into them. I think that the kids in this survey hacked into their friends accounts but they could lead up to non friends accounts and then into other than email or social. It just seems terrible that you have to think so far ahead about the next generation of hackers. Most hackers start out hacking because it seems like fun and then turns into something more. There is no way to stop technology but maybe we can show kids how to be better users and have respect for others.
Mar 22, 2010
DOM (Document Object Model)
As I continue in my IS 449 journey there is a new concept that looks very intimidating....it is called DOM which stands for document object model. Looking through the textbook DOM looks like very challenging and difficult. As I studied the book I realized that if you break down the web pages into subdivisions DOM becomes a bit easier. The first tag on a webpage (usually HTML) would be the head tag or parent. BODY then would be the child of that parent.
In my search for DOM tutorials on the web I came across this tutorial from Mozilla. This tutorial explains the structures for the DOM and how to call the object you want to use when running your API. This site also explains how the XML tree is structure. This was a very useful site and when I looked through the examples I began to understand how the DOM comes together.
Another useful site I came across was our all time favorite, www.w3schools.com. Although this site is not as in-depth as Mozilla's site it still gives the beginner the basic foundation for the DOM tree. Once mastered it looks like DOM can give the API programmer a great deal of control over their API. Hopefully these sites help in our journey of the DOM.
Mar 18, 2010
Co-Inventor of XML goes in on Apple
Mar 17, 2010
Parsing JSON response with PHP
After that I use the json_decode() function to convert the data into a searchable format:
NOTE: One nice trick that I learned is to do a var_dump() of the data variable to your output destination. What this does is essentially show you the structure of the JSON response so that you can see the hierarchy of tags. This is similar to just putting your XML URL into firefox in order to see the layout. To do this I use the following snippet of code:
The output will look like this:
After that it is just a matter of figuring out which items you want to retrieve and then grabbing that information. Yelp puts everything under the heading of businesses, which means that I use the following code to access the elements:
So here is the output on the site:
CSS styling
I noticed that i have to play around with Css code so i can get it to do exactly what I want. For my final project I'm thinking about adding a several images to the style also maybe a specific background color and specific positioning of my APIs.
I still trying to get the styling of my web page down. I am going to continue to surf the web for some other examples hopefully i will have it down pack for the final individual project.
Funny Websites Hit it Big!
Back to the topic at hand, have you ever heard of Texts from last night, or FML.com. These are both websites that display mini blogs. Texts from last night just show either drunken texts or funny texts that people text to their friends. FML.com gives a look into embarrassing moments that happen to people throughout the day. Texts from last night was developed by a former Wayne State University law student who decided to take the technical road in life and has hit the jackpot. The site is said to get 4.5 million hits a day.
These sites started as small sites and spiraled into conversation starters. These sites now have iPhone apps and have even been offered a book deal. This is an example of people following their dreams, you have a law school student who risked it all to develop a website. I think she's done pretty well for herself.
XOS Football coaching software
XOS is a software we use everyday at football. It is run by databases, and I would like to pursue a job when I graduate. It is a program that once inputed helps you watch practice or games as if they were happening in front of you. Also there is a way to fastforward, rewind, slowdown, and stop a specific play to help the coach coach.
XOS is constantly looking to expand their programs by asking coaches about what needs to be removed, improved and added. Programs all around the country use XOS, from big to small programs.
I was thinking XOS could convert to an online orientated company. I know alot of teams trade film of other teams. If they could convert the passing of film through their company they would force schools to use their service instead of competitors. If universities could log onto the server, and find then information they are looking for it would save their time and money. Check out their website and see what its all about xostech.com.
Android Hits 30,000 Apps
The Android app store has finally hit 30,000 applications, which is more than double what was available in December - but they still lag behind Apple rate of application development. The most important factor, however, is still up in the air - with thousands of applications similar to the iFart application within the Apple app store, the difference in the quality of the apps may differ greatly.
Google's New China - Update
Twenty seven Chinese companies that have purchased ads on Google's search engine have banded together to demand answers from Google, stating that they placed pre-payments on keywords and that if Google were to shut down its Chinese business that it could have drastic effects. Google's business dealings in China account for roughly 1% of their revenue, but the company currently employs 700 people. The Chinese government also delayed the launch of the Android-operated phones from Samsung and Motorola solely due to their association with Google.
Chronicling America API
The site allows you to search and view newspaper pages from 1880-1922 and find information about American newspapers published between 1690-present. To encourage a wide range of potential uses, they designed several different views of the data which are publicly visible and do not require an API key to use them.
This API allows you to:
- Search - the newspaper directory and digitized page contents using OpenSearch.
- Link - using stable URL pattern for titles, issues, editions, and pages.
- Linked Data - views of information about titles, batches, issues, and pages in RDF/XML.
- Aggregations - of items, like all the pages that make one issue, are related using OAI-ORE
Google St. Patrick's Day
I also thought it would be interesting to see how many sites came up when you google St. Patick's Day. It turns out there was 19,100,000 results. Everything form news, history, images, and so much more.
This got me thinking. Many people celebrate St. Patrick's Day even if they are not Irish. This is a very old holiday with a lot of tradition and many people like to participate by drinking green beer and wearing green. This would be a great opportunity to create an AJAX application to find local Irish pubs, St. Patrick's Day events, news, and history.
Indivudual Iteration 2
The new plans for my site is to use the Chronicling America API along with the Google Maps API. The Chronicling America API gives information about historic American newspapers. So far I have completed the iteration 2 requirements and have set up the Google Map API and am able to return the XML for the Chronicling America API using an onClick button.
The next step is to complete iteration 3. I plan to take the XML that is returned and parse the information to display the newspapers by location on the Google Map for Michigan. This iteration seems like it will be more difficult than the others, and I hope that I will be able to complete this task.
Mar 16, 2010
Social Media Hate
When people feel they can say or do whatever they want and their true identity will be kept secret, they are more apt to do horrible things. People who hate have always hid behind some type of cover. Throughout the years these types of people have used whatever technology was available to them to spread their words of hate. Social media sites are just their newest choice.
So should these sites be censored because of a few who use them for hate? I do not think that any media should be censored. The best way to handle people who hate and hide themselves is just monitor their activities to make sure that they do not harm anyone. By making a big deal about what they are doing, their message is spread to more people and that is their goal. By just not accepting their message of hate, they lose.