Thursday, June 14, 2012

Android Google Checkout Error

Logging into my Google Checkout account has been giving me an error for the past hour or so.

Tuesday, June 12, 2012

Pandora Public Profile

This is interesting: Pandora Public Profile for Adam Cox.

I would like to see more social networking features on Pandora. I would spend more time on there than Facebook!

Monday, June 11, 2012

WebGL: INVALID_VALUE: enableVertexAttribArray: index out of range

Google Chrome Warning: WebGL: INVALID_VALUE: enableVertexAttribArray: index out of range I was not using the normals in my WebGL application, so I removed these lines and the warning went away:
shaderProgram.vertexNormalAttribute = gl.getAttribLocation(shaderProgram, "aVertexNormal"); gl.enableVertexAttribArray(shaderProgram.vertexNormalAttribute);

Tuesday, June 5, 2012

Rap Beats Pro

The Rap Beats Pro application can now be found on Amazon:

Tuesday, May 29, 2012

WebGL Examples

Here is a new blog with WebGL Examples. It has a list of most of the best sites on the web that were written with WebGL.

Sunday, May 27, 2012

Updating Eclipse Android ADT

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Multiple problems occurred while downloading.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/plugins/org.eclipse.wst.common.frameworks_1.2.102.v201201190400.jar.pack.gz
HttpClient connection error response code 503.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/plugins/org.eclipse.wst.common.frameworks_1.2.102.v201201190400.jar
HttpClient connection error response code 503.
Multiple problems occurred while downloading.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/plugins/org.jboss.netty_3.2.4.Final-201112281337.jar.pack.gz
HttpClient connection error response code 503.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/plugins/org.jboss.netty_3.2.4.Final-201112281337.jar
HttpClient connection error response code 503.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/features/org.eclipse.egit_1.3.0.201202151440-r.jar
HttpClient connection error response code 503.
HTTP Server 'Service Unavailable': http://ftp.ussg.iu.edu/eclipse/releases/indigo/201202240900/aggregate/features/org.eclipse.wb.layout.group.feature_1.3.0.r37x201202060028.jar
HttpClient connection error response code 503.

Thursday, May 3, 2012

Multi-touch: Final Presentation

Original Goal for the Application

The original goal for the application was to have a realistic bow and arrow that will shoot at a moving target.

Related Work

This application is a pretty straightforward game where a user has a ship that will shoot at a target out in space. There are several classic space shooter type games and some more modern games that are similar.

There is one game called “Gridwars” that is an interesting game. It has moving targets moving around a grid and when the bomb button is pressed, the grid moves in 3D destroying nearby objects.

There is a multi-touch “space wars” game where users are shooting things at each other (http://www.youtube.com/watch?v=U2NIZV8xqnY). There is a galaxy spinning in the background.

Lessons Learned During Project Implementation

It is time-consuming to get a project working appropriately with MS Visual Studio and C# for the MS Surface. This is the first time I worked with MS languages and tools, but it was similar to Java. Still, I mostly work with web programming languages and this is different.

It is time-consuming to get objects to appear to look like they are getting shot in 3D into a wormhole or black hole type structure. This version of the game is just making the shooting bullets move (kind of) towards the center and shrinking as they are moving away from the ship that is shooting them. It is extremely generic, but it would be a difficult task to implement the actual physics that I was looking for. This gives the general idea, however.

A good simple solution that would solve the problem of shooting missiles into a wormhole and look realistic would be to make a grid of missile sizes and directions that would map to the coordinates of the screen. Then, each update of the screen, the missiles would move and adjust size and that would make it more realistic. I’m sure there is also some algorithmic formula to move the missiles according to the physics of a wormhole.

Application Designed for the Surface

The application that I designed for the Surface is a simple two player game where the user controls their ship by moving it back and forth. The ship will automatically shoot bullets into a wormhole at a moving target. I tried to make it look like the bullets were falling into the wormhole and the target was moving around the wormhole.

The object of the game is for the two players to hit the target as many times as possible in a chosen time frame. There is a high score board so that the players can try to beat their past scores.

Sunday, April 1, 2012

Google Racing - April Fools

Google Racing is an April Fool's joke if you didn't figure that out on your own!

Wednesday, March 21, 2012

Random Thoughts: AWS - Signed Requests with PHP & SOAP

Random Thoughts: AWS - Signed Requests with PHP & SOAP

MS Surface Sample Apps Not Working (x86) - System.NotImplementedException was unhandled error

Solution


A "System.NotImplementedException was unhandled error" in Microsoft Visual C# 2008 Express Edition happened for the sample apps that came with the Microsoft Surface SDK and Surface Simulator. This was a huge problem until I found the Solution to this problem. It is simple. First, you have to show advanced build configurations by going to "Tool -> Options -> Projects and Solutions -> General", clicking the "Show all settings" and checking the "show advanced build configurations". This will make it so the "Build -> Configuration Manager" will show in the main window drop-down menus. Go there and "Add new..." with x86 processor run the apps without these problems.

System.NotImplementedException
MS Surface in the Store
MS Surface

Sunday, March 18, 2012

Lingerie

Lingerie

Octomobi

Octomobi is an Mobile App Building website. Here is an App that I made with it as a demonstration.

EZ App Builder

Tuesday, March 13, 2012

Web & Mobile Privacy

Web & Mobile Privacy

Adam Cox

University of Massachusetts Lowell

Lowell, MA 01854

Adam.Cox9@gmail.com


Abstract

Privacy on the web and on mobile devices is a growing concern. More people are sharing more aspects of their lives on their mobile device and the web without knowing exactly what can happen. This paper will identify the problem in general, provide some specific examples, and attempt to identify some potential solutions.

Introduction

“Privacy is considered a core value in democratic societies and is recognized either explicitly or implicitly as a fundamental human right by most constitutions of democratic societies. [2]” There is no clear definition of privacy. It is typically viewed by some researchers [7] as either “the right to be left alone” or “the right to control what information is known about them.” Further, other scholars [2] define privacy in two aspects, “informational privacy” and “spatial privacy”. One really good question was asked [7]: “Is privacy one of the unalienable rights to all citizens?” If it is, then there are mobile & internet privacy related issues that need to be resolved. It is implied [2] that privacy is a core value in democratic societies.

There has been research [7] into the foundation of privacy rights. As suggested, US laws are built upon the principles stated in the Constitution & Declaration of Independence. However, there was no direct mention of the term privacy in either of them [13]. The laws that do exist are considered a patchwork and some are not fit for the internet and mobile devices [7]. The laws will become too complex and possibly ineffective, but further, research suggests that a general law will not be effective either [7]. Breaking laws up into realm levels with guidelines in each realm would be more effective [7]. The US Bill of Rights [16] states that “private property [should not] be taken for public use, without just compensation” in Amendment V. Google’s new privacy policy has a one size fits all solution and a sub-privacy policy for specific services that either extend or overwrite the general policy [17]. Google’s method appears to be appropriate and the US in its’ entirety should make a general privacy policy with some policies that override it for specific situations.

“New users of the Internet generally do not realize that every post they make to a newsgroup, every piece of email they send, every [WWW] page they access, and every item they purchase online could be monitored or logged by some unseen third party. [1]” Whether it will be from their mobile device or their desktop computer, it is evident that users are at risk.

Current Privacy Laws

Most states have enacted laws to require companies to notify customers that their personal information has been breached. According to Anton, Earp, & Young [10], they concluded that it is plausible that these laws made it so more breaches were reported. This data can be visualized in [10].

The US has some privacy related laws [7]:

  • The US Constitution (Amendment IV) secures the right of the people to be secure against unreasonable search and seizures
  • Privacy Act of 1974
  • Computer Security Act of 1988

In 1998, the FTC recommends five Fair Information Principles [6]:

  • Notice/Awareness
  • Choice/Consent
  • Access/Participation
  • Integrity/Security
  • Enforcement/Redress

The EU has privacy protection laws [2]:

  • EU Data Protection Directive 95/46/EC - codifies general privacy principles
  • EU Directive 2002/58/EC - sets out specific rules for privacy protection in the electronic and mobile communications sector.

Security freeze laws were put into place allowing users to prevent any accounts being opened in their name. According to [11], Alabama, Michigan, and Missouri have not yet adapted a security freeze law, but since this paper was published, Missouri has passed such a law. However, the consumer agencies allow anybody from any state to set a security freeze on their account [10].

Common Threats

“Long-term databases threaten your ability to choose what you would like to disclose from your past. [1]” A post that you made after a few drinks when you were 21, could come back to haunt you at your job when you are 30. Further, advanced search technology could turn up a post or picture of you that maybe a family member or friend posted in the past without your knowledge or permission. This may cause harm at your place of work or in a relationship. Other problems include sites that allow anybody to locate another person’s address online. This could allow stalkers or an ex to identify and locate their victims.

There have been many specific examples of government employees abusing government databases of information [1]:

  1. · IRS employees making illegal queries
  2. · SSA employees making illegal queries
  3. · AIDS patients records have been leaked
  4. · The FBI has been known to spy on politicians
  5. · The NSA has been known to spy on other domestic targets
  6. · Bill Clinton’s Democratic administration was found to have unauthorized secret dossiers on Republican opponents

The HIPAA Privacy rule establishes national standards to protect individuals’ medical records and other personal health information [12]. There is no general law that forces companies to notify its’ customers of their privacy practices other than medical related information. There are many federal and state laws that are related to the privacy of users’ data [13].

Tools & Solutions

The Platform for Privacy Preferences (P3P) [3] protocol would allow websites to publish their privacy policies in a machine readable format. The browser of the visitor could then read this and compare it to the user’s settings. The drawback to this method is that there are no laws or regulations forcing websites to adhere to this policy if they use it [2].

Other tools, such as PiML would control the dissemination of a User Agent profile. The User Agent profile includes information such as location. PiML could be run as a proxy-based solution or browser built-in solution [2].

There is also a PRIME project, which is working on solutions that will provide users control over their personal data. It will also allow users to trace where the data about them is being sent [2].

Vulnerabilities

Mulliner [9] found that private information would be sent to the websites that the user visited through the HTTP proxy headers. They concluded that the mobile network carriers appended this information instead of it getting sent directly from the phone. They showed a detailed example of how the MSISDN number is getting sent out which contains the user’s phone number. They showed that a website could collect this information and, in some cases, perform a reverse phone number look up. The “reverse phone number look up” reveals information such as first & last name and sometime the user’s address.

The solution presented [9] is for the mobile network operators to not inject this data into the headers. Alternatively, the data would only be included in the mobile carrier network and only be sent to currently authorized third parties. The user has no way to prevent this from happening.

Some security vulnerabilities were presented [8] in accessing social networks from mobile phones in which private information can be accessed by a third party. Three classes of privacy and security problems associated with mobile social networks were identified:

1. Direct anonymity issues

2. Indirect or k-anonymity issues

3. Eavesdropping, spoofing, replay, and wormhole attacks.

Further, [2] stated that “the current development of technologies has neglected to maintain the protection of individuals’ sovereignty over his/her private sphere and particularly individuals control over personal data that the real non-electronic world naturally and culturally provides.”

User Concerns

A study performed [10] revealed issues in the following classifications - personalization, notice/awareness, information transfer, information collection, information storage, and access/participation.

The top concern was information transfer, followed by notice/awareness, then information storage and access/participation; the fifth top concern is information collection and finally the least concern is personalization [10].

Personalization is when a website changes based on the users behavior. Even though this is the least of users’ concerns, users were concerned about personalization in 2002 and even more in 2008 [10]. This could be from the users’ perceived feeling of being a victim of the websites targeting.

It was stated [2] that “privacy can only be effectively protected by a holistic approach comprising both legal and technical means of protection.”

Conclusion

Through the research presented in this paper, it is shown that privacy threats exist on the Web and on Mobile Devices. These threats were identified and a summary of them was presented. It was also shown that there are some ways to potentially prevent some of these threats either through individual or collective means.

References

[1] I. Goldberg, D. Wagner, E. Brewer. “Privacy-enhancing technologies for the Internet” http://www.cs.berkeley.edu/~daw/papers/privacy-compcon97-www/privacy-html.html

[2] S. Fischer-Huebner. “Privacy Risks and Challenges for the Mobile Internet”

[3] W3C, Platform for Privacy Preferences (P3P) Project, http://www.w3.org/P3P/

[4] The Privacy Act of 1974 http://www.justice.gov/opcl/privstat.htm

[5] The Computer Security Act of 1987 http://www.cio.gov/documents/computer_security_act_jan_1998.html

[6] FTC, Fair Information Practice Principles http://www.ftc.gov/reports/privacy3/fairinfo.shtm

[7] C. Purchell, J. Zhan. “Adapting US Privacy Laws to the Internet: Is Patching Enough?”

[8] A. Beach, M Gartrell, R. Han. “Solutions to Security and Privacy Issues in Mobile Social Networking”

[9] C. Mulliner. “Privacy Leaks in Mobile Phone Internet Access”

[10] A. I. Anton, J. B. Earp, J. D. Young. “How Internet Users’ Privacy Concerns Have Evolved since 2002”

[11] Missouri Attorney General. http://ago.mo.gov/ConsumerCorner/blog/10407/Credit_freeze_may_become_law_and_cheaper_in_Missouri/

[12] US Department of Health & Human Services, HIPAA Privacy Rule. http://www.hhs.gov/ocr/privacy/hipaa/administrative/privacyrule/index.html

[13] Information Shield, United States privacy Laws. http://www.informationshield.com/usprivacylaws.html

[14] US Constitution, http://www.house.gov/house/Constitution/Constitution.html

[15] Declaration of Independence, http://www.archives.gov/exhibits/charters/declaration_transcript.html

[16] Bill of Rights, http://www.archives.gov/exhibits/charters/bill_of_rights_transcript.html

[17] Google, Policies & Principles. http://www.google.com/policies/privacy/preview/

Monday, March 12, 2012

Trending Products

Find the latest trending products!

Trends

Tuesday, February 28, 2012

Monday, February 27, 2012

EZ App Builder

Here is the EZ App Builder Blog that goes with the EZ App Builder website! Find resources for automated app building tools!

Thursday, February 23, 2012

Multi-touch System that I Have Known and Loved

Overview

This paper presents answers from Bill Buxton to some general questions that people asked him. Further, it goes into the history of multi-touch systems dating back to the early 1980’s. A lot of interested parties asked Bill Buxton questions about multi-touch since he has been involved in the topic for a number of years.

Chronology of Systems

There were many interactive devices listed in this paper that were multi-touch systems, but not a standard flat screen device that most people think of when they hear “multi-touch”. One good example is the electroacoustic music device they listed. It was not well implemented, but a device could be created where the input affords the sounds better than a standard keyboard.

Physical vs. Virtual

Bill Buxton was discussing that the virtual devices may not be ideal compared to real physical devices. This is definitely a con when thinking in terms of a flat multi-touch screen. For example, if a user was to play a race car game, a real physical steering wheel, like they have on the Wii would probably be superior than a virtual steering wheel on the flat screen. Another example is an MP3 player that can be paused or volume changed with one hand while the device is still in a pocket. A pure touch screen would prevent such a thing. A pure touch screen MP3 player may cause some problems for someone at the gym versus them having one with physical controls that they can interact with one hand while the device is strapped to their arm.

Discussion
  • Physical vs Virtual
  • Something more than just visual feedback
  • “Everything is best for something, but worst for something else”
  • A screen that can move up & down so that the screen was not flat
    • could get feedback with your eyes closed.