Skip to main content

Posts

Go round.. but which way?

It all started with Kushal's query about python's strange behavior regarding % operator. But my own digging went on so much that I got tempted to write an entire post than just a reply. Kushal, you might find the answer for your query somewhere at the end. Integer division is far more interesting than one could imagine. Especially when it comes to negative numbers. Even more interesting are the topics of remainder, modulo and truncation. In general, for given two integers N and D, you would simply divide the absolute values |N| by |D| and if only one of them carries negative sign you would mark the quotient negative otherwise positive, the remainder would carry the sign of N. Now take an example, -2/3. Your quotient would be 0 and remainder would be -2. Now try the same thing on Python. You will get -2/3 = -1 and -2%3 = 1. Now lets rethink of both manual and python's results. Your manual quotient is zero because the absolute value of N is less than that of D. But thinking ...

I am freed..

This is a second day in freed.in and I can say it was worth being here so far. Most of the people were seen faces at foss.in but its always good to meet old friends again and again. Additionally the lower density of people here is a good thing in a way that you get to interact more with the people you want. Something not possible when there is a lot of crowd around. First day was all spent attending the talks. I spend good time with KK, talking passionately about free software and philosophy. I see the influence of Nagarjuna in him. But he has his won way of saying things. He is a lot aggressive while Nagajuna is a lot humble. Something he admits himself. Anyway there were conclaves going on parallel but so far i.e. the last session of day two, I have not been there. Today was much special. Gora made sure that I get introduced with Andreas Vox, the scribus developer. It was really nice talk to him about various tech savvy issues related to page layout, text layout and lot more. I did n...

The Indic Mashup

This weekend got contributed for the first Indic Mashup workshop. The idea initiated by Karunakar finally took shape inside Red Hat premises at Pune. The participants were expected to come from various language communities. So most of the Red Hat's Localization team appeared on a Sunday morning. It would have been great if more linguists and i18n contributors around Pune and Mumbai would have participated. But except Karunakar and Localization team, the only linguist present was Ravi Pandey who is a font designer and Marathi, Sanskrit expert. Still the crowd of 13 and the issues were good enough to discuss and work upon for 10 to 5 schedule. Various issues from keyboard layout to collation tables, a lot got discussed. I thought related bug reports could also have been filed at appropriate places, but that might need more focussed workshops in near future. Now we are clear what issues are there and what can be done for them. I think this is a very good achievement for now. So far,...

Samyak is in..

The long awaited Samyak fonts are finally in Fedora . Being one of the major initial projects in my career, Samyak will always remain close to the heart. Thanks to Pravin for packaging them very well in accordance to the font SIG's guidelines and thanks to Parag for reviewing it. Thanks to Sandeep Shedmake as well for driving this in. His contributions for licensing/copyright text correction and few other bug fixes really made it happen. I had plans to put them in fedora's last two releases as well, but something else always kept it away from priority. Somebody must have said, 'never forget to thank yourself'. So here I am, patting my own shoulder for being the initiator of the design for these fonts. One more reason to fall in love for this, the name ' Samyak ', given by me, still remains a source of inspiration and attachment. Finally how can I forget Dr. Nagarjuna G., who has been the initiator and the guiding force behind the entire project. A special tha...

I, the chief chef

It wont be easy for many people to believe that I could cook, but last night I tried this adventure once again. The story started out with some heavy snacks in the evening that made me and Sandy very full. So we both were not interested in having a proper dinner. I planned to make something like omelet to carry on the night and avoid going out to a regular hotel. Later on it came out that even Sreedhar Anna was not willing to go out and Pyadu had also came to our place. So plan for my personal omelet got canceled and Anna suggested rice and egg-curry. Since it was Tuesday Pyadu could not have egg due to his own rule to do so. So rice could not be made plain. It had to be something that can go alone. So the Khichadi/Masala Rice was the only option. Since Anna cannot even make a tea(he can at least boil the water which my some other friend cannot), it had to be me to take the charge of kitchen. It wasn't my first attempt to Khichadi. I had learned a bit about Indian style cooking by...

Weekend networking

Finally I got a dedicated line internet connection installed back home after what felt like extremely tedious and very long three weeks of application, call center talks, complaints and repairs. I had discontinued the same service(You Telecom) some time back due to same problems. But when I felt an urge for it on weekend trips to home, there was no other option available even after a year. I really wanted to give a try to Airtel connection this time. But anyways, the 'broadband' connection is up and giving a 15kbps download speed (out of expected 192kbps). The cable modem I got with has two ports, one for ethernet cable and other for usb. When I asked their engineer if I can use these two lines to connect two machines at a time, he denied and said it would need a router. That didn't answer my curiosity about two lines and I gave it a try. My Fedora 8 machine picked up an IP which is strangely not belonging to the modem's network. But after setting up the pppoe connecti...