I recently found myself writing a REST web service, which, in my opinion, is the easiest way to create a web service, for a project at work. Using XML.com’s How to Create a REST protocol as my Guide, I went to work. However, when I tried to create a service to update some data, I wasn’t sure how to send my data in a POST request using PHP. After some stumbling around, I found what I was looking for on Wez Furlong’s blog which led me to PHP’s documentation on HTTP and HTTPS wrappers.

The following is a code snippet from the HTTP and HTTPS documentation that shows how to easily send data using HTTP POST:
Continue reading

Wordpress has really come a long way since I first started using it back when it was version 1.0. It now has a nice clean admin interface (although I am currently using the tiger style admin), a clean and simple installation script, and my new favorites, dynamic sidebars and widgets. However, I noticed that the default links widget creates invalid XHTML markup. After a few minutes of looking through the XHTML and widgets.php file, I realized that the culprit was in fact a core wordpress bug. Currently, wordpress creates widgets with the following code:

1
'before_widget' => '<li id="%1$s" class="widget %2$s">',
Continue reading

As defined by wikipedia,

Web standards is a general term for the formal standards and other technical specifications that define and describe aspects of the World Wide Web. In recent years, the term has been more frequently associated with the trend of endorsing a set of standardized best practices for building web sites, and a philosophy of web design and development that includes those methods.

I have been a proponent of Web standards ever since I created my first web site back in early 2000. Back then, I was only following what I thought was the correct way to do things, and having the word ‘standards’ seemed to make this movement official for me. As I learned more about these web standards, the importance of the best practices set forth along with the concept and goals of creating markup that would display the same across browsers, the more it all seemed to make sense.

However, seven years later, I am still creating web sites/applications using PHP, XHTML and CSS, but I am getting ever so frustrated with these so called “web standards,” mainly due to the quirks and lack of support in IE6 and to some degree IE7. I am not an XHTML or CSS guru, but I think I know enough to write decent markup and styles to be effective (please don’t judge me using this site, after all, this theme was found on a wordpress theme site and I haven’t had the time to clean it up). Just the other day, I was working on a site that required a three column layout, with columns of equal height, so I decided to use alistapart’s Holy Grail.
Continue reading

Ext3 Data Recovery

in Linux

I recently found myself in a tough situation when I accidentally typed rm * <dir_name>/ as opposed to rm <dir_name>/* , deleting the current project I was working on. Having instantly realized my mistake, I quickly unmounted my drive and powered down the machine I was working on. As I frantically searched the net for some way to undo what I had just done, it seemed as though my month’s hard work was slipping further and further down the drain. Almost every post and response I found seemed to point towards the horrible truth that I might have to rebuild my entire project from scratch. This, of course, was not a suitable solution.
Continue reading

[Starcraft 2 Logo]
As of May 19, 2007, Starcraft 2 is no longer a rumor, nor are the details of the game. Starcraft 2, as announced, will be the much anticipated RTS sequel to Starcraft. The cinematic trailer and gameplay videos can be found on Blizzard’s Starcraft 2 homepage. The trailer shows Starcraft 2’s stunning new graphics engine along with hints of a physics engine that might add some extra dynamics to the gameplay.
Continue reading

[Ubuntu]
About two months ago, I decided it was time to revisit Linux in general after sitting down and reading through some of the new features offered by XGL with Compiz or Beryl. I installed Ubuntu 6.10 on a spare laptop late in march upgrading to 7.04 shortly after that, and I have been using it as one of my primary workstations since. In case some of you may not know, I recently found out myself, the decimal number following the Ubuntu version, denotes the month it was released: 7.04 refers to version 7 released in April. Linux has definitely come a long way since I last used it in 2004, at least in terms of being a feasible desktop operating system for the masses.
Continue reading

Starcraft 2

in Gaming

[Starcraft 2 Logo]
Apparently, I am behind the curve on this one, but having been a fervent fan of Starcraft since the first day it came out, I find it necessary to write my thoughts on this. First, I will start with a little background; As previously stated, I began playing Starcraft the first day it was released, I was a freshman in high school at the time and having played too much Warcraft II in middle school, I was well acquainted with the general game mechanics and had an easy time learning the strategies for success in multi player competition. By the end of sophomore year, I had an official (non ladder) record of over 1300 wins and about 180 losses. I was a Big Game Hunters (BGH) junkie at the time and loved playing 2v2’s or 3v3’s.
Continue reading

It has honestly been ages since I set my mind to creating this blog, but for several reasons, I could never get the motivation to complete it or at least keep it up to date. This time around, things will be different for sure; I have finally found a template that suits my personality, and I finally have something to talk about (I hope).

As the description alludes to, I will be writing about my recent, post-undergraduate experiences as a Developer, and Gamer. The Thinker part is a little abstract, but should be an interesting outlet, as I have always wanted a place to vent and write down some random thoughts.

In any case, I hope to keep the posts coming regularly, so please enjoy the site!

Comment and share

Author's picture

Andrew Vayanis

I am a Software Engineer, Technologist, Gamer, but most importantly, I am a student of life.


Engineering Lead


California, USA