• Subscribe to the RSS feed! RSS icon
  • Subscribe by Email
  • home
  • blog
  • dev
  • Recent Posts

    • Automatically upload screenshots in XFCE4
    • Zend Framework full page cache tips
    • No more Wordpress
    • Xdebug is full of awesome
    • Creating a chat bot with PHP and Dbus
    • A year in review: 2011
    • Notes on shell scripting
    • Listening to Dbus signals with PHP
    • Configuring 2 monitors with xrandr
    • A quick note on Dojo's data grids and dojox.data.HtmlStore
  • Recent Comments

    • Robert on Zend Framework full page cache tips
    • Stephen S. Musoke on Zend Framework full page cache tips
    • David on Zend Framework full page cache tips
    • Anon on A quick note on Dojo's data grids and dojox.data.HtmlStore
    • James on Communicating with Pidgin from PHP via D-Bus
    • Robert on A Zend Framework 2 EventManager use case
    • Jowee on A Zend Framework 2 EventManager use case
    • Jurian Sluiman on A Zend Framework 2 EventManager use case
    • Jurian Sluiman on A Zend Framework 2 EventManager use case
    • djozsef on Webkonf 2011 recap
  • Tags

    php, about, random, framework, zend, example, ubuntu, blog, site, zend framework, book, conference, me, python, wordpress, apache, introduction, lamp, linux, open source, review, script, setup, signals, ape, community, contributing, dbus, dojo, events, hack, mysql, netbeans, pidgin, plugin, pyqt, security, shell, svn, talk
  • Categories

    • Blablabla
    • Development
    • Free time
    • Places on the web
    • Programming
    • Software
    • Uncategorized
  • Archives

    • February, 2012
    • January, 2012
    • December, 2011
    • November, 2011
    • October, 2011
    • September, 2011
    • August, 2011
    • July, 2011
    • May, 2011
    • April, 2011
    • March, 2011
    • January, 2011
    • December, 2010
    • November, 2010
    • October, 2010
    • July, 2010
    • June, 2010
    • April, 2010
    • February, 2010
    • January, 2010
    • December, 2009
    • November, 2009
    • October, 2009
    • August, 2009
    • May, 2009
    • March, 2009
    • February, 2009
    • January, 2009
    • December, 2008
    • November, 2008
    • October, 2008
    • September, 2008

Posts Tagged 'about'

Ubuntu Administrator

by Robert Basic on January 6th, 2009

I just found this site, Ubuntu Administrator, a nice place full of articles, how-tos, tips & tricks about Ubuntu in general, and things like networking or security on Ubuntu systems. A great place for all geeks 8)

Now, if you'll excuse me, my console is waiting! Happy hacking!

Tags: about, administrator, linux, site, ubuntu.
Categories: Places on the web, Software.
Comments: 2 comments.

2008: Moments worth a note

by Robert Basic on December 26th, 2008

Here I am, Friday night, trying to remember what happened with me in 2008. I spent a couple of days just trying to figure out a nice title for this post. In the end I shouted out for help on Twitter; thanks Martin :). So here it goes, moments in 2008 that are worth a note — I'll try to keep it as short as possible :)

The most important: I passed all my exams at the College, only the graduate work left to do and I'll get my BSC degree. Hurray!

Served military service which is obligatory in my country; 9 months of volontary work at the local Red Cross office.

Worked for 5 months in a local development company — learned a lot of new things and got to know some really good guys and gals; thanks all ;)

All visuals done by Livia Radvanski

All visuals done by Livia Radvanski

In, I think, August bought this domain, to finally create my online playground. My girlfriend did a real good job on creating the visual look and feel of my site and blog — all that you see here are results of her work. Thanks Livi :)

This place was up and runnin' in early September, the first blog post was written on 4th September. Since then there are 23 posts, 99 comments, 1100+ spams, around 60 feed subscribers and 3000 monthly page views.

Started using Twitter somewhere in September heavily; so heavily that I needed to cool out from it for a while, the bloody thing was going out of control.

Bought a shiny new 22" LG monitor; probably not a big news to most of you, but it is for me, took me a couple of months to spare teh money for it.

Started learning Python in December.

Hmm... Can't think of nothing else... Told you it's gonna be short. Moments that are not mentioned here are those great moments that I spent with me lady during weekends or interesting moments that I spent somewhere deep in the code during weekdays.

Plans for 2009

Not many at the moment. To move in with Livia (we planned moving in for 2008, but that got postponed :() To learn some new stuff. To graduate. To work. To start and finish 2 non-profit projects (sites, actually) that I'm planning for a while. To contribute to an open source project(s). Go to Greece for 2 weeks during the summer. Go to the AC/DC concert in Belgrade.

So yes, I had a great year, and hopefully gonna have an even better one :)

Happy Holidays everyone, merry Chritsmas and have a blast for New Year's Eve! I'll be back next year :)

Cheers!

Tags: about, me, moments, plans, random.
Categories: Blablabla, Free time.
Comments: 5 comments.

TickTweet WordPress plug-in

by Robert Basic on November 21st, 2008

Few weeks ago @imjustcreative mentioned on Twitter that he would like a WordPress plug-in that would scroll (tick) tweets where “soultweet” is mentioned. As I wanted to do a plug-in for some time, but never had any good ideas, I told him that I'll take up the job. So I started to work on this in my free time.

Before I even started looking at anything, I decided that I want this plug-in to be fast, to work with smallest possible data to save bandwidth and to keep the number of calls towards Twitter low.

First I looked into the Twitter Search API documentation, to see how data can be retrieved from Twitter — in Atom or in JSON.

The first idea...

As a JSON document is smaller than an XML document, I decided to retrieve data in JSON. Of course, once retrieved it would be cached locally in a file for some time (5 minutes is my default).

I also wanted to avoid the possibility of the page waiting to retrieve the data from Twitter, so I figured that it would be the best to call it up with Ajax. That way, when the plug-in is called up, it sends an Ajax request to himself, the page continues loading normally and in the background runs the Ajax request.

The draft was there, I looked at the WordPress writing a plug-in page and in a week or so the first version of the plug-in was ready to go out.

I tested it locally on my Windows machine (a basic WAMP setup) and on my Ubuntu machine (a basic LAMP setup), on this server and on another one which has a ton of security limitations (server of my College). I was glad to see that it worked like a charm on all 4 servers. I put up a TickTweet page, and let it out in the wild through Twitter.

The retweet madness started immediately. @imjustcreative, @jonimueller and @bishop1073 downloaded it right away. Soon as they enabled the plug-in, the short and exciting life of TickTweet started to end. Errors, bugs... Joni's server is running on PHP 4, and I had a few PHP 5 only functions. My bad. On Graham's and Bishop's server who knows what went wrong. Graham helped me a lot tracing down the bugs, a few of them were found and squashed, but that was not enough. So I decided to pull back TickTweet, rethink it and possibly rewrite it.

The second idea...

OK, this JSON — Ajax thingy won't work. Back to the paper. I started looking at the WordPress core to see what functions and/or classes are available in it for this kind of task... Didn't took me long to find the fetch_rss() function. Man I was happy to find that! It's using the MagpieRSS and the Snoopy classes to retrieve the data. I figured, those are included in WP's core, they're gonna do the job just fine. So I've rewritten it.

Testing again. The College's server was dropped out right away, no way around that security. On others it worked fine. I tested for a couple of days just to make sure. When I thought it was OK, I've let it go once again. I contacted Joni, Graham and Bishop to tell them that the new rewritten version is out. On Joni's site it worked. Awesome. On Bishop's site worked. Kinda. On Graham's site didn't work. He tried it on another site. Worked. Cool. Finally it works. I was happy.

But not for long. The next day I saw that on my site it's ticking some ol' tweets. What?! Then started the bug hunting again. I looked at each line of code, var_dumped every variable. No luck. Somehow, all of a sudden, my server is not getting the data from Twitter. No changes on the server configuration, no change in the code, but it just won't work.

The third idea...

The third idea is to leave this “plug-in” as—is, and to stop working on it. It just doesn't pay off. Sure, I could trace down where it hangs on my server, going backwards through the code, but it's just not worth it. Those who are interested in this plug-in, you can find it at the TickTweet page, use it, rewrite it, change it, trash it.

Cheers!

Tags: about, blog, php, plugin, site, wordpress.
Categories: Blablabla, Development, Programming, Software.
Comments: 3 comments.

Look, Ma...

by Robert Basic on September 4th, 2008

... I have a Blog too! Well, it was damn time to get yourself one of those.

Actually, this is my third blog. The first lasted about a day or two. The second went alright for a time, but then the hosting company started to play around with settings, so the whole thing fell apart. This time, I'm serious. Kinda.

Until now I was foolin' around a lot. Tried this and that, experimenting. Heck, I even got a job. A real one. For real money. It lasted about 5 months, but then I quit, 'cause I still have some bloody exams @school, and I commuted every day to work, so it was pretty hard to concentrate on both. Now, I'm back to freelancing. Studying hard to get these exams off my back, and working on some projects; nothing big.

Sooo... What to expect from me and my blog? Tutorials, screencasts, reviews, freebies, random writings... Anything that is connected with the Internet, it's development and me. I'll try to show up with some quality and creative stuff, hopefully, on a regular basis.

Ramble on!

Tags: about, introduction, random.
Categories: Blablabla.
Comments: 2 comments.
« ‹ 1 2 3 4
Robert Basic © 2008 — 2012
Design & graphics by: Livia Radvanski
Coded by: Robert Basic
Home page last updated on November 30th, 2009.
Frameworks used: Zend Framework, Dojo, 960 Grid System