Monday, March 3, 2014

Setup JQuery and Ajax on Django Framework

This based on my experience using JQuery Ajax on Django Framework, the first thing and basic thing to do setup JQuery on Django is about static file.

What is static file ?
Let say static file is file that never changed when page is loading, if you already familiar with web programming you should know about .css, .js , image file, .html file. And then let say those file is static file :-).

How to setup static file on Django ?
# Create static folder under your Django project, place it in same directory as manage.py

Saturday, March 1, 2014

Koding.com the social collaborative plaform

Last time I tried openshift from RedHat, it's good platform. But there is some thing that I don't get is about root access to virtual machine, and live code editing :-), with koding platform I get 20GB for a free, root access to virtual machine, live code editing, social collaborative and the best part is I don't really need local setup for development because I can code on the fly for testing app :-).

The thing is we need to register to koding.com to get 20GB free storage and awesome platform.

With this I try to create web application, but still in progress hope I can finish this in 2014 :-) and make something useful for other people.

Some awesome feature:

1. Social Development, also you can create interactive class for tutoring



Wednesday, February 26, 2014

Cross Site Request Forgery protection (CSRF)



I just build some web application using Django, and I found some interesting thing when using Ajax through Django Framework.

I am not deep in knowledge and advance programmer nor developer, just like script kiddies and I always want to know about new thing. Formerly I am Python big fan, so I want to create something with Python. Not only for building system nor system programming but I want to make something different :-).

In Django if we want to request using Ajax, Django will response with access forbidden. Why? because Django care about security to prevent again Cross Site Request Forgery protection (CSRF). Which is the first defense against CSRF attacks is to ensure that GET requests (and other ‘safe’ methods, as defined by 9.1.1 Safe Methods, HTTP 1.1, RFC 2616) are side-effect free. Requests via ‘unsafe’ methods, such as POST, PUT and DELETE.

At first time I confuse how to use it :-D #newbie, but then I found good documentation from Django documentation, very clear and bulls eye.

Wednesday, February 12, 2014

Illumiroom Augmented Reality on XBOX Gaming

Did you know about Augmented Reality ? is a live, copy, view of a physical, real-world environment whose elements are augmented (or supplemented) by computer-generated sensory input such as sound, video, graphics or GPS data.

Augmented reality is not just virtual reality, it's can be more useful for example in gaming area. One of biggest Software company #Microsoft, They develop Virtual Reality that make room environment effect awesome. The project called Illumiroom.

This article is originally is from the verge.

Microsoft today revealed new details about its IllumiRoom technology — an augmented reality home entertainment system that expands gaming content beyond the realm of a TV display, and onto living room walls. Brett Jones, part of the team that created the project at Microsoft Research, detailed the system during a presentation Tuesday at the Conference on Human Factors in Computing Systems (CHI) in Paris, describing IllumiRoom as an immersive technology that "makes your living room come to life."

When Microsoft announced IllumiRoom at CES this year, it fueled widespread speculation that the technology may be incorporated into the next-generation Xbox, to be unveiled next month. Subsequent teasers only amplified this speculation, though the company has thus far declined to confirm whether or not IllumiRoom will be integrated within its forthcoming console, describing it only as a "proof-of-concept system."

All signs, however, suggest that the technology may be ready for market sooner rather than later. Microsoft's demos — designed and implemented within just three months — have seemed remarkably advanced, and although the company has said that IllumiRoom could be used to augment film and TV, gaming has been its primary focus. That trend continued today, as Jones devoted the majority of his presentation to describing the ways in which IllumiRoom could transform the gaming experience. At one point, he explicitly compared it to the Oculus Rift, saying the IllumiRoom would enable more diverse and immersive gameplay.

"AUGMENTED REALITY, NOT JUST VIRTUAL REALITY."

"We believe IllumiRoom has a number of advantages," he said when discussing the differences between his prototype and the virtual reality headset. "It enables augmented reality gaming, not just virtual reality, and it enables a shared experience, so you can see and interact with the player sitting next to you." In an interview with The Verge, Jones clarified that he doesn't see IllumiRoom as a direct competitor to the Oculus Rift, but as more of a complement — something that, unlike Oculus, lets him "have a beer while I play Halo."


Microsoft has explored several augmented reality projects in the past, though it seems to have adopted a different tenor around IllumiRoom. Representatives from Microsoft Research, traditionally a more academic branch, have seemed more like marketers in recent months, stressing the impact IllumiRoom could have on consumers. The above teaser video, released yesterday, describes IllumiRoom as a technology that "envisions a next-generation gaming console" — a turn of phrase that, at least ostensibly, suggests the system may be integrated with Microsoft's next Xbox.

Hrvoje Benko, a researcher who collaborated on the project at Microsoft Research, insists that IllumiRoom is still a work in progress, though he stopped short of definitively saying whether it would or would not be integrated with the new Xbox.

"AT THIS POINT IT'S PURELY A RESEARCH PROJECT."

"At this point it's purely a research project," Benko said in an interview with The Verge. Benko added that the mention of next-generation consoles was not an explicit reference to the Xbox, but a look "five or ten years" down the road.

Yet for something that's only a "research project," the IllumiRoom has been publicized with unusual fanfare. Eric Rudder, the chief technical strategy officer at Microsoft, unveiled the system during Samsung's CES keynote this year, introducing it with a slick demo video. Benko acknowledged that the production quality of the video was "definitely higher-end than usual," but a company spokesperson insisted that the clip was only designed to "get people excited about the future of research," rather than tease an impending product release. The researcher also said that to his knowledge, Samsung is not involved with the production of IllumiRoom.

Neither Benko nor Jones would provide a timeline for bringing IllumiRoom to market. Its name, they noted, is only a working title rather than a brand, and they repeated that they have no involvement with its commercialization, which remains under the domain of Microsoft's product and strategy teams. They acknowledge, however, that they have been working closely with both Kinect and Xbox product teams. "There's a dialogue going on continuously there," Benko said.

"WE'VE ONLY SCRATCHED THE SURFACE."

According to the researchers, much of IllumiRoom's success will hinge upon content created explicitly for its immersive platform. Jones says they've created a basic API for game developers to use, noting that it's relatively simple to turn illusions on and off. More complicated actions, however, will require a bit more work. If a grenade rolls out of the screen and into a user's living room, for instance, Jones and game developers will have to decide how to execute that transition from 2D to 3D space, and, as he says, "How much we have to abstract away" from game developers. "That's something we've only scratched the surface of," he notes. Microsoft has conducted informal user studies with a handful of game developers, though the company has not begun talking to external designers about creating games for IllumiRoom.

Jones and Benko plan to tweak the system further this summer (with a public demo at SIGGRAPH in July) though they remain tight-lipped about IllumiRoom's broader future. When asked if he could definitively say that the technology would not be integrated within the next Xbox at some point, Benko repeated his familiar refrain: "It's just a research project."

Sunday, February 9, 2014

Working and Passion

original image is from

Working and Passion, what the meaning of that two word ? Ok, I will try to explain #with my opinion.

Meaning based on dictionary,
Working :having paid employment or functioning or able to function 
Passion :any powerful or compelling emotion or feeling, as love or hate. or strong amorous feeling or desire; love; ardor. or strong sexual desire; lust. or an instance or experience of strong love or sexual desire. or a person toward whom one feels strong love or sexual desire.

Why people working ?
First definition :  based on dictionary having paid employment, it's mean  that people do work just for money :-), is it true ? ask your self, what the answer ? :-)
Second definition : based on dictionary functioning or able to function, it's mean that people do work just for finishing something or do what people functionality on the office. is it true ? ask your self, what the answer ? ;-)

Why people have passion ?
I will just use first definition, because other is same. any powerful or compelling emotion or feeling, as love or hate, It's all about emotion, emotion is always related with feeling if like you will enjoy if you don't like you will not enjoy.
When people doing something related with their passion the will enjoy when doing something, they don't care about money :-). Most of them will spent money for their passion, isn't ?

So Working and Passion must be in one package, you will not have power to finish something if you working without passion and you will never done your work with perfect definition.

Passion is more important than Working, because passion related with feeling and emotion. If you have passion you will never lose you Job and always do everything with perfect result.

The important thing is you need to specify what kind of passion related with your skill. Improve that skill and get job which is related with your passion.

Tips : If you working but not meet with your passion, don't do with powerless. But do it with your best performance even if you don't really like it. But don't forget to spent your time 1 or 2 hour each day to maintain your passion. At least do 10% for your passion.

That just my opinion :-)