On recommendation of a colleague, I watched this movie ‘The man from earth‘ yesterday. The movie is based on a conversation between some people. The protagonist, John Oldman(who is a professor), was packing stuff to move on to a new place, when suddenly some of his colleagues from the university dropped by to say good bye.…
I recently changed my router’s password and even changed the authentication type. Now after that Network Manager started crashing. And thanks to the new GNOME 3 network manager, I was not able to manually change the password, I was not even getting where they had hidden the previous Network Connections window which used to list…
I installed cygwin on windows today. Its really incredible, gives the same feeling of a linux terminal on windows, though you may need a little tweaking. I have installed an additional shell called mintty which gives a putty like interface, as in the default terminal you cant copy/paste things. You will need to create a…
Few days back when I was writing some PHP, I found out that header( ‘location: xyz.php’ ); was not working on my hosting. The problem was headers were being sent by the server before processing the entire php. So I added this function at the top of the php file to buffer the output stream,…
I have moved my blog to http://roshansingh.dev/blog/. Please update your bookmarks. Feed: http://feeds.feedburner.com/roshansingh?format=xml 1. Why did I move my blog? I wanted some web space for random stuff that I do. So I thought it would be better if I bought a domain and webspace for me. 2. What was the cost for hosting and…
After a long time, today I finished packaging the newer versions of artha and gscribble for Fedora. The updates have been pushed to update-testing. The new versions will be available in the updates repositories soon. Posted from GScribble.
I had missed FOSS.in again due to some reasons, so I had planned to go to Nonameconf. I went with vignesh. While I was trying to find the building where it was supposed to be, I saw a bike tripping over. I had never seen an accident like this before. I immediately rushed towards them,…
Some very good discussion here on stack vs heap. Read it entirely. Though it sounds theoretical they are very important when you get to real world problem solving http://stackoverflow.com/questions/79923/what-and-where-are-the-stack-and-heap And some more over here for stack overflow: http://stackoverflow.com/questions/26158/how-does-a-stack-overflow-occur-and-how-do-you-prevent-it
The title seemed to bug me a lot, until today when i found a really good explanation. If you google for the difference between Mutex and Semaphore you will see in most of the places it is mentioned that mutex is a binary semaphore. But mutex is not actually a binary semaphore. See these links…
Its been quite sometime that I have blogged. To begin with I have joined a job at Huawei Technologies in Aug this year. I really dont get much time for doing anything cool after a hectic 9-10 hours(9:30 ~ 7) a day schedule. And weekends pass by sleeping. I have spent three months at Bangalore,…