XSLT Basics For Transforming One Specific XML Structure To Another XML Structure

I was messing around with R (i.e., a free program that can organize and transform data), and I told R to transform the data into CSV format.  I converted this CSV format file into XML file using one of those CSV to XML free tools on the Internet.  The problem is that the XML file I got from the whole process contains structure in which is radically different from the XML structure that I need to use with a software.  Luckily, XSLT comes to the rescue.  With XSLT, I discover that it’s possible to transform one XML structure to another XML structure.  The problem is that I have no knowledge of how to use XSLT just yet.  Once again, YouTube is a treasure trove of free information, and the YouTube video right after the break introduces me to XSLT basics.  Of course, I may have to do more study and research on XSLT before I would know how to properly transform one XML structure to another XML structure.

R Datalicious

R is calling me.  Anyhow, I’m trying to learn R.  I think R is very powerful, because it has features that allow you to collect data in various ways.  With R, you can also easily analyze data and make charts, graphs, and whatnot.  I’m a newbie in R, and so I may not be able to fully appreciate R.  I’m a newbie in R, and so I don’t know how to express how powerful R is to you.  Nonetheless, I know a few things so far.

Here is one example among many of how I understand R could be used by you.  With R, you can install Rvest package to easily collect data from the Internet (i.e., websites).  Note:  Data don’t have to come from the Internet.  It’s possible to use R to collect data and then store the data into MySQL database.  It is also possible that the data in MySQL can also be converted back into appropriate data formats in which R would be able to utilize.  Marrying MySQL and R together, it’s possible to enlarge the data collection scale by using R, and using R to format data in various manners.  (My newbie speak, because you may know of a more elegant way of going about using R in this specific manner.)

Anyhow, to scratch the surface of R and see how powerful R can be, just check out the two videos right after the break.  (These YouTube videos are not mine, because I embed them from other YouTube’s user-generated content authors.)  Enjoy!


Loop, One Small Step For A Game, One Giant Hope For Humankind

One of my dreams is about exploring a programming system in which the holographic slash virtuality artificial intelligence system would become my assistant.  This assistant would be out of sight and out of mind but in your face when I got stuck.  One example would be assembling a futuristic software that could model all possible events that got high probability of becoming facts.  Such an ambition would be out of my league for sure, and so there is no way I would know where to start.  Nonetheless, the out of sight out of mind but in your face assistant would come to my rescue.

The AI suggested me to play with the event models that it had magically conjured up into my vision.  Wearing a stylish futuristic glasses, I could see all of these holographic models appeared out of the thin air, but these models looked hyper realistic.  In fact, the AI messed with my senses and allowed me to feel, smell, and touch the virtual models as if the virtual things I played with got more realness than the real things.

Playing around with the models for a bit, I got nowhere.  The AI suggested that it could just assemble the models for me the way I would imagine it.  I told the AI that I needed a system with intuitive user interface that could allow normal people to interact with when the need for calculating future events arises.  Furthermore, I told the AI that the system needed to be accurate enough for real world tests such as calculating the probability of how many disasters would occur within three months.  This way, I could shorten the testing time for the system.

While during the whole programming process, the AI walked me through various event models that could fit into a puzzle.  Furthermore, as I played with the models, the AI suggested to me various ways that I could skin a cat and arrive at the end of the tunnel whence the light would reveal to me a first draft of so called a futuristic crystal ball.  Within couple hours, I got a first rough draft of the crystal ball system.  I would imagine that it could take couple hundreds, if not couple thousands people’s concerted efforts to carry out my very feat.

So called first rough draft had already allowed me twiddling by as tons of data got smashed together by the crystal ball system.  The data were collected and fetched into the system by my AI assistant of course.  The AI did what I told it to in plain English or Vietnamese or whatever language I could speak to it.  The crystal ball system was hard at work in predicting the next three months’ disasters.  Actually, it was like I only had to waste thirty seconds or so before the crystal ball system spitted out the disasters in a timeline in which I would be on the lookout for the accuracy of it all.  Whatever disasters that could occur in the world within the upcoming three months time frame got projected into my vision.

I had predicted the future, and all it took me just thirty seconds or so to do so, minus the couple hours that I had to program the crystal ball system.

Back onto earth, my feet are now firming with the real ground.  I don’t see this will happen anytime soon.  Because, this kind of technology exists only in my imagination.  For now, at least there is a virtual reality game, Loop, which allows you to deconstruct the game itself with virtual things in motion.  Kind of how I have had imagined my future AI/programming system would be, but the sad thing is that Loop is only a game.  In the end, you cannot really use Loop to devise a real world application.  In my imaginative case, it’s a crystal ball.

Loop got one good thing going for it is that it’s more real than my imaginative AI slash programming system.  Anyway, before you check what on earth is Loop about in the video right after the break, I just want to emphasize that I hope the future programmers won’t speak of coding in programming languages, because programming languages would be so outdated.  Instead of speaking of programming languages, regular people of the future might just only have to interact with an AI and some holographic models for whipping up some futuristic software.  Enjoy the video right after the break!

Can Unreal Engine 4 “Infiltrator” Demo Inspire You To Make A Few Games With Unreal Development Kit?

I bet when you’re done watching Unreal Engine 4 “Infiltrator” Demo, your creative side might want to soak in the inspiration of making a video game.  Unreal Engine 4 “Infiltrator” Demo is just a demo of what Unreal Engine 4 game editor is capable of.  Basically, game developers can use the latest Unreal Engine game editor (i.e., Unreal Engine 4) to create similar games with artistic look such as the Unreal Engine 4 “Infiltrator” Demo.  Of course, I think if game developers — who rely on Unreal Engine 4 — do have really good artists on team, they might be able to churn out games that have even better art feel than the Unreal Engine 4 “Infiltrator” Demo.  Anyhow, if you are inspired to create a game right after you have seen Unreal Engine 4 “Infiltrator” Demo, you can totally download and install Unreal Development Kit onto your computer and make a game or two to scratch off that inspiration of yours.  Unreal Development Kit is free to download and play around with, but if you want to create a game for real so you can commercialize it, then I think you have to pay a license fee and subject to other sorts of agreements between you and Epic Games (the owner of Unreal Engine and Unreal Development Kit).  Oh, to be able to write code for Unreal Development Kit projects, you might need a good programming editor that can be configured to recognize Unreal Engine codes.  I think ConTEXT editor will be a good choice for this very purpose.  You can check out the Unreal Engine 4 “Infiltrator” Demo right after the break.

Make It Your New Year Resolution To Learn How To Code Each Email At A Time For 2012?

Some rights reserved by nigelhowe (Creative Commons License Attribution 2.0 Generic) through Flickr.com

New year celebration is already over, and you have made up your mind what new year resolutions you want to achieve for the year 2012, I presume.  Nonetheless, there is always time to squeeze in a late new year resolution.  How about learning how to code?

According to TechCrunch, around 100,000 members already sign up for Codecademy’s codeyear.com in roughly 48 hours.  By giving up your email address, each week folks at Codecademy will send you email which includes new programming lesson.  Following the programming lessons within Codecademy’s emails, I guess you might learn how to program.

Source:  http://techcrunch.com/2012/01/03/codecademys-codeyear-attracts-100000-aspiring-programmers-in-48-hours/?utm_source=feedburner&utm_medium=feed&utm_campaign