If you are one of those that plugs his iPhone or iPod Touch to the Ubuntu box and experiencing an overall slow down, try disabling the gvfs-afc-volume-monitor volume monitor. It will not affect the charging but definitely help keeping your nerve
sudo chmod -x /lib/udev/iphone-set-info /usr/lib/gvfs/gvfs-afc-volume-monitor
Linux cpu usage, gvfs-afc-volume-monitor, iPhone, ubuntu
Recently I realized that Bing also has started to offer Sitemap functionality to let webmasters easily give a heads up to the search engine. Apparently Yahoo also has started to redirect webmasters to Bing Webmaster Tools after the transition to use Bing services. I got excited and submitted the whole list of my sitemaps via Bing Webmaster Tools, but.. After a week the statuses of all files were still “Pending”. Thinking that it should not take that long and googling around a while, this forum page says it all. There is a problem with Bing sitemap functionality and there is still no ETA for a fix. Come on Microsoft guys, it should not be that hard to overcome such a problem. Put the files in a queue, download’em, parse’em and use that valuable data. Is it that hard to implement a fix in the next release? Does anybody know what is the average release cycle duration at Microsoft?
Programming bing, bing bug, microsoft, sitemaps
Recently I have my hands on Play Framework and I am quite happy with all the features such as change the code and refresh the page attitude, stateless model for REST applications and easy method for unit and functional testing. In one of the projects I needed to access one of ActiveMQ instances I have, to this end I have included the required Java libraries (activemq-all-5.5.0.jar and javax.jms.jar), deployed the code to my test environment, clicked refresh.. and saw that pretty error page of Play Framework.
Oops: NoSuchMethodError
An unexpected error occured caused by exception NoSuchMethodError:
org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple;
Checking the Play console output below, apparently the problem was that Play Framework is using slf4j library for logging and ActiveMQ 5.5.0 jar file includes a newer version of it as well.
SLF4J: The requested version 1.6 by your slf4j binding is not compatible with [1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11]
SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details.
The solution here is to step back and use one of ActiveMQ 5.4.x libraries that do not include the SLF4J library in it. I have used activemq-all-5.4.1.jar in this case successfully. It would be great if ActiveMQ guys could strip SLF4J from the package and let the developers add the library externally.
Java ActiveMQ, class clashes, Java, Play Framework
My article about Sencha Touch usage within Viewbeat is published at Sencha Touch Spotlight blog. Thanks to the Sencha folks for creating such a powerful framework. You can read the article here.
Uncategorized
Today is a very sad day for all those who had the opportunity to use inventions of one of the most brilliant inventors, Steve Jobs. Slapped in the face while checking the news on my morning train ride, it is so heartbreaking to know that we won’t be able to see that man with turtleneck and a smile on his face on the stage again. You have made our lives easier by thinking ahead of most of the people, happier by creating thousands of new jobs and showed us that one can change the way people live by just hanging on and never giving up, even without so many resources.
I wish you find peace whereever you have gone, we all miss you.
Tech apple, death, steve jobs
This is my personal project which is meant to let people have a community where they can ask questions and get useful answers.
It is the result of an idea I had a few months ago after struggling to find a way to ask all my friends about something that I was planning to buy. But in the end I have given up because there was no medium that I can easily ask and get answers fast that has most basic privacy options and notification abilities. Although that cost me many sleepless nights, I believe that this will be useful to people having the same problems.
Here is the very first version, which may include some obscure bugs. In a few weeks I’ll be pushing a more robust release. It can be downloaded from AppStore, just search for “Viewbeat”. Enjoy!
Viewbeat – Simple way to ask questions and get useful answers
iPhone appstore, iPhone, likeminded people, social questions, viewbeat
For those that installed Cassandra from the tar package found at Cassandra website, here is a very basic script to start it at boot time and stop it later if needed.
Create cassandra boot script in /etc/init.d and make it executable.
sudo nano /etc/init.d/cassandra
#!/bin/sh
#
# chkconfig: - 80 45
# description: Starts and stops Cassandra
# update deamon path to point to the cassandra executable
DEAMON=/opt/cassandra/bin/cassandra
start() {
echo -n "Starting Cassandra... "
$DEAMON -p /var/run/cassandra.pid
echo "OK"
return 0
}
stop() {
echo -n "Stopping Cassandra... "
kill $(cat /var/run/cassandra.pid)
echo "OK"
return 0
}
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
start
;;
*)
echo $"Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
sudo chmod +x /etc/init.d/cassandra
For Ubuntu, add it to the startup by executing
sudo update-rc.d cassandra defaults
That’s it! Next time you bootup, it will be automatically and you can stop it by:
sudo /etc/init.d/cassandra stop
Cassandra bootup, Cassandra, nosql, script
Just switched to new Mac OS X Lion and adjusting to the reverse scrolling feature, I have started to have problems with the Ubuntu I am using at work. Although it is kind of a mind exercise, I realized that having 2 different scrolling directions at home and at work is not for me. So here is the thing that you should do to have Mac OS X Lion style scrolling at Ubuntu as well.
Just add this command to your startup (System -> Preferences -> Startup Apps):
xmodmap -e "pointer = 1 2 3 5 4"
Linux, MacOS lion, MacOS, reverse scrolling, ubuntu
Now Google has strengthened his hand with Google+ and switching the looks of all products it offers to new slick design, it also affected how Gmail looks. There are 2 new themes that make your Gmail be in conform with other Google products, but whether you use these new themes or not, there is a change in the interface which will make Adwords advertiser’s money go down the hole, at least for some time. The old classic “Back to inbox’ link is replaced with a back button with an arrow on it. It looks cool and it suits the whole other button set but there is a problem with it. After years of clicking on a link to go back to inbox, now it will take some time to adjust to the new back button, as I keep clicking on the Adwords ad above the back button at least twice a day. Here I send my apologies to that Tango studio in Amsterdam, Forbes, VectoneMobile, and many others…
Internet adwords, back button, gmail
Some of you may already know Sencha Touch but for those who are in mobile application development and haven’t heard of it yet, it is a mobile application development framework designed especially for devices with touch screens. It provides all the basic touch screen events and a whole bunch of components to use to create interactive applications. You can even convert your mobile apps into native apps via the magical PhoneGap and submit them to AppStore or Android Store. (Blackberry is also supported but… who cares?)
Even though lots of components are provided out-of-box, you still need to tweak a little bit to create the exact components you need. As documentation lacks some really useful information and even with all the tutorials provided it is not an easy task to put every bit together and create an application with Sencha Touch. After weeks of suffering, I managed to develop an application completely based on this framework and here I share some of the outcome.
This library is meant to be an example to extend provided Sencha Touch components to create more complex behaviors. Components found in this library are generally based on or inspired by components in Sencha Touch library and are meant to be a guide to people learning how to put things to work with Sencha Touch. I hope it may save someone’s life
DidiTouch Javascript extensions library for Sencha Touch
And to the guys working on this framework at Sencha,
Keep up the good work, and please, more and better documentation!..
Javascript Javascript, mobile development, sencha touch