Wednesday, 9 July 2014

How to Install genymotion on Kubuntu14.4

you know what the genymotion is. simply, it's emulator to run android app.
straight to the point:

1- Install virtualbox. the easiest way is to install it via Software Center. just search for it and then install
you have other options: navigate to VirtualBox  website, find your system installer package then install it, simple
or you can use 'wget' command.

2- install Genymotion. you need to sign up to be able to download, which is free. to install genymotion open up terminal(CTRL+T) then run the following commands:
  • you are in your home directory: cd Dowloands
  • give executable permission to installation file. you might have different version: chmod +x genymotion-2.2.2_x64.bin
  • run the installer:  ./genymotion-2.2.2_x64.bin
  • move the directory to your home directory:                                                mv geymotion ~/.genymotion
  • add this executable path to make your life easier:  echo 'export PATH="/home/$USER/.genymotion:$PATH"' >> /.bashrc                       you don't have to add this but then you have to go to its directory and run it from there.
now you can simply run it by : genymotion

I had some problems after installation:
  1. Error while opening log file: /home//.Genymobile/genymotion.log what i did to solve this problem was that i created a hidden folder in the directory in error message and then just create a log file with that name. you need to replace the with your own user name
      • cd home/
      • mkdir .Genymobile
      • cd .Genymobile
      • touch genymotion.log  
     
  2. Cannot mix incompatible Qt library i searched a lot to solve this problem, there were many solutions but the one actually worked was that just try to remove everyfile in genymotion instalation directory that are related to qt. you jut need to find files in every folder in installed directory with qt in their names and just delete them. that's it. now you can run genymotion by: genymotion  in terminal.
  3. after installation you can do whatever you want with it, it's simple and it's just configuring what you want and hitting next or ok.
Goodluck

Monday, 30 June 2014

USYD - INFO3315 - Mid term exam questions - 2013

 Last year assignment and tutorials was about FitBit. every students got one of this wireless FitBit device and every tutorial, assignment and quiz were around that. they might change it this year but it gives you overall view on how it looks like or what they assess in exam. i also wanted to put my assignment here but it's too long and I think you'll do better.
here's the questions:

Question 1(10 marks) 

(2 marks) What is one important affordance of the FitBit?

(2 marks) For your project this semester, you aim to create an interface that enables people to exploit their FitBit data so they can observe changes in their inactivity over time. Explain how the affordance of the FitBit are useful for this?

(2 marks) Suppose we had the perfect sensor for the project goal, state one key affordance would it have that the FitBit does not have.

(2 marks) Explain how  think aloud evaluation has the potential to give insight into the user's mental model?

Question 2(10 marks) 

(6 marks) For the project this semester, a friend drafted the following single sentence statement to describe the goal of their interface:
  • A sedentary worker ill be able to determine the average number of minutes per work-day that they were inactive during work-hours over the last full calendar month.
 There is missing key elements of the single sentence statement. What are the missing elements?

To help your friend understand how to improve their single sentence statement, amend the following copy, writing on an example of each missing part.
  •  A sedentary worker will be able to determine the average number of minutes per work-day that they were inactive during work-hours over the last full calendar month.

(2 marks) In the week 4 lab you saw the following question based on a standard questionnaire:
  • During the last 7 days, how much time in total did this user usually spend sitting on a week day?      ---------------hours ---------------- minutes
In light of your lecture on design of questionnaire, what is a serious weakness of this question?

(2 marks) The week 5 reading, Lewis et al(2013) UMUX-LITE when there's no time for SUS, provided evidence of the value of just 2 usability questions, rather than the full SUS. what is the main reason to use SUS, even though it takes the user longer to answer?

Question 3(10 marks) 

In the week 4 lb you studied the screen shot below, from the FitBit interface. It shows activity of a hypothetical user called Alex. The user has their mouse over the bar for the time 11.15 - 11.30am. If the user moves their mouse away from the bars, the bubble disappears.



Suppose you are designing the tasks for a think aloud usability evaluation, to access whether users can make effective use of this interface to access their level of activity

(4 marks) State one important weakness in the following task:
  • Use your mouse to hover over the tallest bar in the chart to see how many steps this user took at that particular time?

(2 marks) Write a better version of the question that avoids this weakness.

(2 marks)  State what Fitts' Law predicts about the effect of the size of the click-target where the target is 5 centimetres  from the current position of the mouse cursor.
  
(2 marks) In a desktop GMOS analysis, P ranges from 0.8 to 1.5, according to Fitts' Law. Is this directly applicable to a tabletop touch interface?
    Yes/ No
Justify your answer in terms of the relationship between Fitts' Law and the way it relates to the value of P in a GOMS analysis.

Question 4 (10 marks)

In the space below, draw a concept map. it should answer the question:
  • What are the characteristics of Think-Aloud usability evaluation?
Use only the concepts and links listed below.(They are in alphabetic order)
Use just 7 of the most important concepts to create just 6 of the most important propositions.

Concept list
efficiency
expert-users
learnability
memorability
monitoring
no-user method
novice-users
qualitative-method
quantitative-method
satisfaction
think-aloud
user method
user-errors

Link names:
evaluates
is-a(n)
is-important-for
is-suited-to

p.s: course website INFO3315 ... they changed it a lot
       please don't ask for answer. I even didn't have the questions

Wednesday, 11 June 2014

How to insert code snippet into your blog...easy way

ok, recently I was trying to copy paste some code into my blog. i tried different methods, and i found this method explaining Here the easiest and efficient way. you have other options if you don't like the logo at the bottom of your code snippet, which is just adding JavaScript and CSS files to your template. the only reason I used that method mentioned in that blog was that it gave me what I wanted and I didn't mind the logo, plus it was straight forward

Break out game in C++ using QT 5.2.1 - Stage 1 - Header files

In his stage we were required to implement a bouncing ball inside a box. ball needs to bounce of the box edges at constant speed. singleton design pattern used here. this is done in QT. we have header and implementation files for coordinate, ball, and dialog classes, in addition to main method.
here is the coordinate header file...coordinate.h...

ball.h
dialog.h

sample config file looks like this

now some explanation. coordinate class is for translating coordinate in Qt in a way that we are comfortable of. it means Qt consider top left corner (0,0), and while you're moving to right or down it increases the x and y coordinate. personally, I think we don't need this..well...here it is... ball class has some functions needs proper implementation beside normal getter/setter methods. render and isCollision functions. isCollision function checks if the ball hit any edges of the box, and render function handle the ball movements. dialog class is the core of this to put them all together. we used Singleton Design Pattern here to make sure only one instance of dialog exists at any time. I hope I explained it good enough, as I'm still learning. I'll post the implementation files and main method in near future, meanwhile stay hungry, keep coding

Some other information:

  • this is not my code. mine was similar but it didn't changed colour when ball hits the box
  • again this is implemented in Qt
  • the actual website that have the tutorial on basic set up to start on this assignment can be found Here

Friday, 6 June 2014

Break out game in C++ using QT 5.2.1 - Introduction

I had an assignment this semester which was about to create BreakOut game using C++ and Qt IDE. it was part of INFO3220 - Object Oriented Design subject which is offered in prestigious university of Sydney...where recently its e-learning website known as BlackBoard crashed....assignment was in 3 stages and it needed to be done individually.
stages are:
  1. bouncing ball inside a box in a constant speed, and specification of ball and box needs to be read from a file.
  2. lay out bricks with initial health. ball should hit them and based on the bricks health, it should behave accordingly, either bounce back or remove brick.
  3. add paddle at the bottom, ball needs to bounce back from that, and paddle needs to be controlled either by mouse or keyboard. shows players life and score.
I post the source code little by little, and I'll do my best to explain them. the code which I will use is not mine. we implemented the first stage then we for later stages we got a sample code for former stage and developed that to add additional features. the sole purpose of this is to give students the chance to have sample to work out and see how they need to do stuff. I'm not seeking no any intention whatsoever to get benefit from that. I thought about considering copyright of the person who wrote the code, I'm not sure if this cause any problem or any ethic issue. All rights reserved for INFO3220 teaching staff.
I'll post the code as soon as I get time...considering exams are coming...

I also try to put rest of assignments and task for other subjects hopefully. this might take time to organise them, so stay tuned
Pamador out

Saturday, 31 May 2014

How to install Windows application under Ubuntu

If you want to install a program and there is not the Linux/Ubuntu version of that program, you need to install a program named 'Wine' in Ubuntu. To install Wine you have two options:
1- in software centre just type 'Wine' and install it.
2- search in the internet and install that program


University of Sydney Elearning is Down!!!

apparently last night university of Sydney E learning website known as Blackboard has been crashed and all the unit of studies of all student has been removed. students can no longer see their enrolled unit of studies. and the bad thing is students are in final week, which is week 13, and they're working hard on assignments to submit them on due date, which put pressure on them. this might be good for students, so they probably get more time for assignments, or not. students can no longer see, lecture notes, tutorials, lecture recording etc. this is not good for prestigious university of Sydney.
I can see all the funny thing UTS, UNSW even UWS are saying about that. you let us down you damn inefficient, insecure, badly design, slow Backboard. you just list all the software quality attributes, and see none but one about that website which is University of Sydney shining logo.