The QEMU Advent Calendar website 2016 features a QEMU disk image each day from 01-DEC to 24 DEC. Each day a new package becomes available for download (of format tar.xz) which contains a file describing the image (readme.txt or similar), and a little
runshell script that starts QEMU with the recommended command-line parameters for the disk image.
The disk images contain interesting operating systems and software that run under the QEMU emulator. Some of them are well-known or not-so-well-known operating systems, old and new, others are custom demos and neat algorithms.” [From the About section.]
Explore the last five days of images from the 2016 edition here! [Extract the download with, e.g. for Day 05:
PS: We still have a few open slots, so please don’t hesitate to contact if you have any fun disk image(s) to contribute.
December 06, 2016 03:10 PM
It's that time of the year again.Just kidding. If there is one thing about this blog's schedule that is consistent, that is it's inconsistency of schedule.There has been this irregular tradition of looking at what kind of people (read "computers") chance upon my little corner.In its latest iteration, we see a surprise surge in visits from the Cult of Mac! Also, Chrome has finally dethroned Firefox at the browser helm, over two years after it did so in the world's wider web.Well, how have the interwebz shifted over the years then. We see quite a few interesting trends as time passed by. This is the 4th such post, so let's see how the balance has shifted over the years.Since its early days, Chrome users had held their own in terms of traffic. In the last couple of years, however, it has grown from lingering in Firefox's shadow to claim its place under the sun, while IE, almost always on the verge of a comeback, will likely never quite catch on in these parts.Also of note is the "other" section, fuelled almost entirely by esoteric KHTML and Dilo-like renderers in the early days, but replaced by more simplistic, yet consistently growing mobile-based alternatives.Speaking of mobile alternatives, the practical absence of mobile visits can be better visualised by the OS share variance with time, with "other" accounting for a humongous 0 percentage points during the earlier years, while growing to a healthy 10% in recent times.Given it's FOSSy leanings, Linux-based user-strings have always been over-represented for this blog that for the web-at-large, but the sudden spurt in Mac visits is an unexplained surprise, which may or may not be explicable by the proliferation of "cheaper" Macs like the Air, the Mini and the Pro non-retina.Note 1: All of these number are cumulative(since early 2009), so the trends would be more pronounced if we take each period in isolation. A year by year comparison might be in order, especially if compared to overall trends in marketDecember 05, 2016 07:00 PM
Disclaimer – This is an attempt at humor and hence entirely fictional in nature. While some incidents depicted are true, the context and the story woven around them are by yours truly. None of the Mascots of Debian were hurt during the blog post. I also disavow any responsibility for any hurt (real or imagined) to any past, current and future mascots. The attempt should not be looked upon as demeaning people who are accused of false crimes, tortured and confessions eked out of them as this happens quite a lot (In India for sure, but guess it’s the same world over in various degrees). The idea is loosely inspired by Chocolate:Deep Dark Secrets. (2005)
On a more positive note, let’s start –
Being a Sunday morning woke up late to find incessant knocking on the door, incidentally mum was not at home. Opening the door, found two official looking gentleman. They asked my name, asked my credentials, tortured and arrested me for “Group conspiracy of Malicious Mischief in second and third degrees” .
The torture was done by means of making me forcefully watch endless reruns of ‘Norbit‘ . While I do love Eddie Murphy, this was one of his movies he could have done without. I guess for many people watching it once was torture enough. I *think* they were nominated for razzie awards dunno if they won it or not, but this is beside the point.
Unlike the 20 years it takes for a typical case to reach to its conclusion even in the smallest court in India, due to the torture, I was made to confess (due to endless torture) and was given summary judgement. The judgement was/is as follows –
a. Do 100 hours of Community service in Debian in 2017. This could be done via blog posts, raising tickets in the Debian BTS or in whichever way I could be helpful to Debian.
b. Write a confessional with some photographic evidence sharing/detailing some of the other members who were part of the conspiracy in view of the reduced sentence.
So now, have been forced to write this confession –
As you all know, I won a bursary this year for debconf16. What is not known by most people is that I also got an innocuous looking e-mail titled ‘ Pollito for DPL ‘. While I can’t name all the names as investigation is still ongoing about how far-reaching the conspiracy is . The email was purportedly written by members of ‘cabal within cabal’ which are in Debian. I looked at the email header to see if this was genuine and I could trace the origin but was left none the wiser, as obviously these people are far more technically advanced than to fall in simple tricks like this –
Anyways, secretly happy that I have been invited to be part of these elites, I did the visa thing, packed my bags and came to Debconf16.
At this point in juncture, I had no idea whether it was real or I had imagined the whole thing. Then to my surprise saw this –
Just like the Illuminati the conspiracy was for all to see those who knew about it. Most people were thinking of it as a joke, but those like me who had got e-mails knew better. I knew that the thing is real, now I only needed to bide my time and knew that the opportunity would present itself.
And few days later, sure enough, there was a trip planned for ‘Table Mountain, Cape Town’ . Few people planned to hike to the mountain, while few chose to take the cable car till up the mountain.
Quite a few people came along with us and bought tickets for the to and fro to the mountain and back.
Incidentally, I was thinking if the South African Govt. were getting the tax or not. If you look at the ticket, there is just a bar-code. In India as well as the U.S. there is TIN – Tax Identification Number –
Few links to share what it is all about . While these should be on all invoices, need to specially check when taking high-value items. In India as shared in the article the awareness, knowledge leaves a bit to be desired. While I’m drifting from the incident, it would be nice if somebody from SA could share how things work there.
Moving on, we boarded the cable car. It was quite spacious cable car with I guess around 30-40 people or some more who were able to see everything along with the controller.
It was a pleasant cacophony of almost two dozen or more nationalities on this 360 degrees moving chamber. I was a little worried though as it essentially is a bucket and there is always a possibility that a severe wind could damage it. Later somebody did share that some frightful incidents had occurred not too long ago on the cable car.
It took about 20-25 odd minutes to get to the top of table mountain and we were presented with views such as below –
The picture I am sharing is actually when we were going down as all the pictures of going up via the cable car were over-exposed. Also, it was pretty crowded on the way up then on the way down so handling the mobile camera was not so comfortable.
Once we reached up, the wind was blowing at incredible speeds. Even with my jacket and everything I was feeling cold. Most of the group around 10-12 people looked around if we could find a place to have some refreshments and get some of the energy in the body. So we all ventured to a place and placed our orders –
I was introduced to Irish Coffee few years back and have had some incredible Irish Coffees in Pune and elsewhere. I do hope to be able to make Irish Coffee at home if and when I have my own house. This is hotter than brandy and is perfect if you are suffering from cold etc if done right, really needs some skills. This is the only drink which I wanted in SA which I never got right . As South Africa was freezing for me, this would have been the perfect antidote but the one there as well as elsewhere were all …bleh.
What was interesting though, was the coffee caller besides it. It looked like a simple circuit mounted on a PCB board with lights, vibrations and RFID and it worked exactly like that. I am guessing as and when the order is ready, there is an interrupt signal sent via radio waves which causes the buzzer to light and vibrate. Here’s the back panel if somebody wants to take inspiration and try it as a fun project –
Once we were somewhat strengthened by the snacks, chai, coffee etc. we made our move to seeing the mountain. The only way to describe it is that it’s similar to Raigad Fort but the plateau seemed to be bigger. The wikipedia page of Table Mountain attempts to share but I guess it’s more clearly envisioned by one of the pictures shared therein.
I have to say while Table Mountain is beautiful and haunting as it has scenes like these –
There is something there which pulls you, which reminds you of a long lost past. I could have simply sat there for hours together but as was part of the group had to keep with them. Not that I minded.
The moment I was watching this, I was transported to some memories of the Himalayas about 20 odd years or so. In that previous life, I had the opportunity to be with some of the most beautiful women and also been in the most happening places, the Himalayas. I had shared years before some of my experiences I had in the Himalayas. I discontinued it as I didn’t have a decent camera at that point in time. While I don’t wanna digress, I would challenge anybody to experience the Himalayas and then compare. It is just something inexplicable. The beauty and the rawness that Himalayas shows makes you feel insignificant and yet part of the whole cosmos. What Paulo Cohello expressed in The Valkyries is something that could be felt in the Himalayas. Leh, Ladakh, Himachal , Garwhal, Kumaon. The list will go on forever as there are so many places, each more beautiful than the other. Most places are also extremely backpacker-friendly so if you ask around you can get some awesome deals if you want to spend more than a few days in one place.
Moving on, while making small talk @olasd or Nicolas Dandrimont , the headmaster of our trip made small talk to each of us and eked out from all of us that we wanted to have Pollito as our DPL (Debian Project Leader) for 2017. Few pictures being shared below as supporting evidence as well –
While I do not know who further up than Nicolas was on the coup which would take place. The idea was this –
If the current DPL steps down, we would take all and any necessary actions to make Pollito our DPL.
This has been taken from Pollito’s adventure
Being a responsible journalist, I also enquired about Pollito’s true history as it would not have been complete without one. This is the e-mail I got from Gunnar Wolf, a friend and DD from Mexico
Turns out, Valessio has just spent a week staying at my house And
in any case, if somebody in Debian knows about Pollito’s
childhood… That is me.
Pollito came to our lives when we went to Congreso Internacional de
Software Libre (CISOL) in Zacatecas city. I was strolling around the
very beautiful city with my wife Regina and our friend Alejandro
Miranda, and at a shop at either Ramón López Velarde or Vicente
Guerrero, we found a flock of pollitos.
Even if this was comparable to a slave market, we bought one from
them, and adopted it as our own.
Back then, we were a young couple… Well, we were not that young
anymore. I mean, we didn’t have children. Anyway, we took Pollito with
us on several road trips, such as the only time I have crossed an
international border driving: We went to Encuentro Centroamericano de
Software Libre at Guatemala city in 2012 (again with Alejandro), and
you can see several Pollito pics at:
Pollito likes travelling. Of course, when we were to Nicaragua for
DebConf, Pollito tagged along. It was his first flight as a passenger
(we never asked about his previous life in slavery; remember, Pollito
trust no one).
Pollito felt much welcome with the DebConf crowd. Of course, as
Pollito is a free spirit, we never even thought about forcing him to
come back with us. Pollito went to Switzerland, and we agreed to meet
again every year or two. It’s always nice to have a chat with him.
So with that backdrop I would urge fellow Debianities to take up the slogans –
LONG LIVE THE DPL !
LONG LIVE POLLITO !
LONG LIVE POLLITO THE DPL !
The first step to make Pollito the DPL is to ensure he has a @debian.org (email@example.com)
We also need him to be made a DD because only then can he become a DPL.
In solidarity and in peace
Filed under: Miscellenous Tagged: #caller, #confession, #Debconf16, #debian, #Fiction, #history, #Pollito, #Pollito as DPL, #Table Mountain, Cabal, memories, south africaDecember 05, 2016 05:01 PM
* ડિસેમ્બર મહિનો આવી ગયો પણ ઠંડી હજુ આવી નથી. હવે જોઇએ ડિસેમ્બરમાં દોડતી વખતે કેટલી ઠંડી લાગે છે, ખાસ કરીને આપણા ફેવરિટ અમદાવાદ, પાલનપુર અને આબુમાં. હા, માઉન્ટ આબુમાં ઠંડી લાગવાનો સમય થાય એ પહેલાં હું પાછો આવી જઇશ એવો પ્લાન છે! ના. બીજો કોઇ પ્લાન એટલે કે પ્લાન બી નથી!
* ગયા અઠવાડિયે બ્લોગ મિત્ર પ્રિમાએ અમારા ઘરની મુલાકાત લીધી અને ઘણાં વખતે ગપ્પાં મારવાની મજા આવી. સ્વાભાવિક રીતે વાતોનો વિષય પુસ્તકો અને પ્રવાસ જ હતો. એ જ દિવસે બીજા મિત્ર ભાવેશને મળવા બી.કે.સી. ગયો અને ત્યાં પણ વાતોના વડાં ખાધાં અને મજાની જૂની યાદો તાજી કરી દીધી.
* ખરાબ સમાચારમાં, મારા વર્ડપ્રેસના ખાતામાં કંઇક ગરબડ થઇ છે, જેથી કોઇના વર્ડપ્રેસના બ્લોગ પર લાઇક થઇ શકતું નથી. હજુ તે ઉકેલવાનો સમય મળ્યો નથી, પરંતુ બ્લોગ મિત્રો! અમને તમારા પોસ્ટ્સ ગમે જ છે!
* ઘરમાં છુટ્ટા પૈસાની કોઇજ રામાયણ નથી. હજુ હમણાં સવારે જ દૂઘ વાળાએ નવી ૨૦૦૦ની સામે છૂટા આપતાં નવી ૫૦૦ રુપિયાની નોટ આપીને અમને ધન્ય કરી દીધા. હવે એક કામવાળી બાઇને પૈસા કેવીરીતે આપવા એ તકલીફ બાકી રહી છે. બાકી ઉબેર કે ઉબર, પેટીએમ, ઓનલાઇન શોપિંગ, ક્રેડિટ કાર્ડ વગેરેથી જીવન સુખમય છે. હજુ સુધી બેંકમાં ગયો નથી, પણ આજ-કાલમાં જવું પડશે એવું લાગે છે.
* કવિન આજે પિકનિક ગયો છે. ઘરમાં સંપૂર્ણ શાંતિ છે.
December 05, 2016 03:21 PM
I spent last weekend at the Core Apps Hackfest in Berlin. The agenda was to work on GNOME’s core applications: Documents, Files, Music, Photos, Videos, Usage, etc.; to raise their overall standard and to make them push beyond the limits of the framework. There were 19 of us and among us we covered a wide range of modules and areas of expertise.
I spent most of my time on the plumbing necessary for Documents and Photos to use GtkFlowBox and GtkListBox. The innards of Photos had already been overhauled to reduce its dependency on GtkTreeModel. Going into the hackfest we were sorely lacking a widget that had all the bells and whistles we need — the idiomatic GNOME 3 selection mode, and seamlessly switching between a list and grid view. So, this is where I decided to focus my energy. As a result, we now have a work-in-progress GdMainBox widget in libgd to replace the old GtkIconView/GtkTreeView-based GdMainView.
In fact, GtkListBox and GtkFlowBox was a recurring theme at the hackfest. Carlos Soriano and Georges were working on using them in Files, and whenever anybody uses them in a non-trivial manner there is the inevitable discussion about performance. Good thing that Benjamin was around. He spent the better part of a tram ride and more than an hour at the whiteboard, sketching out a strategy to make GtkListBox more efficient than it is today.
Like last year, Øyvind joined us. We talked about GEGL, and I finally saw the new GIMP in action. I rarely use GIMP, and I am not sure I have ever built it from source, but I have been reading its sources on a semi-regular basis for almost a year now. It was good to finally address this aberration. Øyvind had with him a cheap hand-held DLNA media renderer that was getting stuck when trying to render more than one image with dleyna-render and Photos. Zeeshan helped me poke at it, but unfortunately we didn’t get anywhere.
Other than that, Petr Stetka impressed everyone with his progress on the new Usage application. Georges refreshed his patches to implement the new Online Accounts Settings panel, Carlos Garnacho helped me with GtkGesture, and I reviewed various patches and branches that had been on my list for a while.
December 03, 2016 06:02 PM
I work for Fedora Engineering team. There are around 17 people in my team, and we cover Australia to USA geographically. Most of us are remote, only a hand few members go to the local offices. I did a blog post around 3 years back just after I started working remotely. In this post, I am trying to write down my thoughts about our communication styles.
IRC is our primary communication medium. I am in around 42 channels dedicated to various sub-projects inside Fedora. We have a few dedicated meeting channels. As all meetings involve community members, the meeting timings are based on the availability of many other people. This is the only thing which is difficult as I have many meetings which go after midnight. Any other discussion where we need more participation and also to keep a record, we use our mailing lists.
A few of us also use various video chat systems regularly. It is always nice to see the faces. As a team, we mostly meet once during Flock, and some get a chance to meet each other during devconf.
All of our team members send weekly work status updates to the internal mailing list. Sometimes I lag behind in this particular task. I tried various different approaches. I do maintain a text file on my laptop where I write down all the tasks I do. A Python script converts it into a proper email (with dates etc.) and sends it to the mailing list. The problem of using just a plain text file is that if I miss one day, I generally miss the next day too. The saga continues in the same way. Many of my teammates use taskwarrior as TODO application. I used it for around 6 months. As a TODO tool it is amazing, I have a script written by Ralph, which creates a very detailed weekly report. I was filling in my text file by copy/pasting from the taskwarrior report. Annotations were my main problem with taskwarrior. I like updating any TODO note on a GUI (web/desktop) much more, than any command line tool. In taskwarrior, I was adding, and ending tasks nicely, but was not doing any updates to the tasks.
I used Wunderlist few years back. It has very a nice WEB UI, and also a handy mobile application. The missing part is the power of creating reports. I found they have nice open source libraries to interact with the API services, both in Python and also in golang. I have forked wunderpy2, which has a patch for getting comments for any given task (I will submit a PR later). Yesterday I started writing a small tool using this library. It prints the report on STDOUT in Markdown format. There is no code for customization of the report yet, I will be adding them slowly. My idea is to run this tool, pipe the output to my report text file. Edit manually if I want to. Finally, I execute my Python script to send out the report. In the coming weeks I will be able to say how good is this method.December 03, 2016 04:47 PM
Confession time first – I am not a frequent flyer at all. My first flight was in early late 2006. It was a 2 hour flight from Bombay (BOM) to Bengaluru (formerly Bangalore, BLG) . I still remember the trepidation, the nervousness and excitement the first time I took to air. I still remember the flight very vividly,
It was a typical humid day for Bombay/Mumbai and we (me and a friend) had gone to Sahar (the domestic airport) to take the flight in the evening. Before starting the sky had turned golden-orange and I was wondering how I would feel once I would be in air.We started at around 20:00 hours in the evening and as it was a clear night were able to see the Queen’s necklace (Marine Drive) in all her glory.
The photographs on the wikipedia page don’t really do justice to how beautiful the whole boulevard looks at night, especially how it looks from up there. While we were seeing, it seemed the pilot had actually banked at 45 degrees angle so we can have the best view of the necklace OR maybe the pilot wanted to take a photo OR ME being in overdrive (like Robin Williams, the Russian immigrant in Moscow on the Hudson experiences the first time he goes to the mall ;))
In either way, this would be an experience I would never forget till the rest of my life. I remember I didn’t move an inch (even to go the loo) as I didn’t want to let go of the whole experience. While I came back after 3-4 days, I still remember re-experiencing/re-imagining the flights for a whole month each time I went to sleep.
While I can’t say it has become routinised, but have been lucky to have the opportunity to fly domestic around the country primarily for work. After the initial romanticism wears off, you try and understand the various aspects of the flight which are happening around you.
These experiences are what lead to file/share today’s blog post. Yesterday, Ms. Mamata Banerjee, one of the leaders of the Opposition cried wolf because the Aircraft was circling the Airport. Because she is the Chief Minister she feels she should have got precedent or at least that seems to be the way the story unfolded on TV.
I have been about 15-20 times on flight in the last decade for work or leisure. Almost all the flights I have been, it has been routine that the flights fly around the Airport for 15-20 minutes before landing. This is ‘routine’. I have seen Airlines being stacked (remember the scene from Die Hard 2 where Holly Mclane, John Mclane’s wife looks at different aircraft at different altitudes from her window seat) this is what an Airport has to do when it doesn’t have enough runaways. In fact just read few days back MIAL is going for an emergency expansion as they weren’t expecting as many passengers as they did this year as well as last. In fact the same day there was a near-miss between two aircraft in Mumbai airport itself. Because of Ms. Mamata’s belligerence, this story didn’t even get a mention in the TV mainstream media.
The point I wanna underscore is that this is a fact of life and not just in India, world-over it seems hubs are being busier than ever, for instance Heathrow has been also a busy bee and they will to rework air operations as per a recent article .
In India, Kolkata is also one of the busier airports . If anything, I hope it teaches her the issues that plague most Indian airports and she works with the Government in Center so the Airport can expand more. They just got a new terminal three years back.
It is for these issues that the Indian Government has come with the ‘Regional Connectivity Scheme‘ .
Lastly, a bit of welcome news to people thinking to visit India, the Govt. of the day is facilitating easier visa norms to increase tourism and trade to India. Hope this is beneficial to all and any Debian Developers who wanna come visit India I do hope that we also do get reciprocity from those countries as well.
Filed under: Miscellenous Tagged: # Domestic Flights, #Air Congestion, #Airport Expansion, #Kolkata, #near-miss, #Visa for touristsDecember 02, 2016 03:20 PM
Today I completed one year of being on my own.
In 2004, after graduating from college and doing brief experiment with a startup I came to Pune, looking for a job. I failed clearing the interviews of many MNCs. In the last two and a half years of my college I spent most of my time learning Linux and Computer networks. So, I decided to narrow down my search where there is requirement of some Linux Admin work and after giving my first interview, I got the job. Anyways coming forward, I do had some plans after leaving my full time job but didn’t know what coming next. As last time Linux helped again but this time in the form of The Linux Foundation. I got an assignment from The Linux Foundation to build a self paced course on “Cloud Infrastructure Technologies”, which got launched in June’16.
Between Dec’15 – March’16 months I also gave free containers(Docker) workshops in Bangalore, Pune, Chennai, Hyderabad and Kolkatta. At the same time I gave some paid workshops as well.
Within a month after leaving my job I realised how easy it be an employee than your own boss. One has to manage his/her time, next month’s pay check, family, health and so on without loosing the cool. After going through on my own I started to respect entrepreneurs, self employed, my local vendors, auto rickshaw drivers etc more.
Less sleep, lot of work took a toll on my body and I got struck with Bell’s Palsy in Jan’16. It was very scary to go under MRI in the middle of nigh for the checkup. It took me few months to recover. This definitely effected my work and I had to re-organise myself. As everyone I thought of getting some interns and employees but that did not work either. I spent my time, energy and money to make them upto speed but did not succeed either. It was difficult to part ways with some of them but I am happy that we did that in good terms. It was a good experience which I think can come only with few mistake. I learnt one very important lesson “Never hire a full-time until I am 100% satisfied”.
The formal registration of the company did not happen until May 2016. It is one marathon task as well. Working with Charted Account to get all documentation is not fun but it has to be done anyway. For registration I had to also give a company name. I spent good amount of time think about it. I was looking for some inspiration/help which I got from Ranga Shankara, a theatre in Bangalore and very near to my office. On my way to back from daily visit to a coffee shop I saw the board for theatre festival “Youth Yuga”. In hindi “Yuga” means “Era”, which made me think that is an era of cloud computing. So why not name my company “CloudYuga”. I took the “.guru” domain as in next year or two I would focusing on trainings.
Till Dec’15 to July’16 we worked from Bangalore Alpha Lab and then moved to our own office. It was fun to see the our own office taking shape.
Throughout the year I was engaged with Docker Community, which helped me both professionally and psychologically. I became part of Docker Captain’s program, which was a good confidence booster. In Bangalore I organised Docker meetups, which kept me well connected with local community. On my own I attended different international conferences DevConf’16, DockerCon’16 and LinuxCon/ContainerCon’16 & spoke in two of them .
When I started last year I told my family that lets see for 6 months and if things does not work out then I can go back to full time again. Its been year and I have things in pipeline for next 6 months, which is good. My family supported me very well, specially my wife Kanika who also joined to work with me part time since last few months.
Till now my focus has been training than consulting, which I believe would continue for some time. I see good amount skill gap in adopting container technologies.. good for me !!. Over the year I got some corporate clients for trainings which I think would continue to grow. Here is the group photo of the container (Docker) training I delivered today in Pune.
Some of learning from last year’s experience are:-
- There are more good people in the world than we think. They are willing to help you.
- Reach out to people with helping hand.
- Give priority to health.
- Be true to yourself and things would fall in place.
Its been a fun ride with lots of new experienced. Lets see how far we can go !!December 02, 2016 12:48 PM
Two days back we had a very productive meeting in the Fedora Atomic Working Group. This post is a summary of the meeting. You can find all the open issues of the working group in this Pagure repo. There were 14 people present at the meeting, which happens on every Wednesday 5PM UTC at the #fedora-meeting-1 channel on Freenode IRC server.
Fedora 26 change proposal ideas discussion
This topic was the first point of discussion in the meeting. Walters informed that he will continue working on the Openshift related items, mostly the installer, system containers etc, and also the rpm-ostree. I have started a thread on the mailing list about the change idea, we also decided to create a wiki page to capture all the ideas.
During the Fedora 25 release cycle, we marked couple of Autocloud tests as non-gating as they were present in the system for some time (we added the actual tests after we found the real issue). Now with Fedora 25 out, we decided to reopen the ticket and mark those tests back as gating tests. Means in future if they fail, Fedora 25 Atomic release will be blocked.
The suggestion of creating the rkt base image as release artifact in Fedora 26 cycle, brought out some interesting discussion about the working group. Dusty Mabe mentioned to fix the current issues first, and then only jump into the new world. If this means we will support rkt in the Atomic Host or not, was the other concern. My reaction was maybe not, as to decide that we need to first coordinate between many other teams. rkt is packaged in Fedora, you can just install it in a normal system by the following command.
$ sudo dnf install rkt -y
But this does not mean we will be able to add support for rkt building into OSBS, and Adam Miller reminded us that will take a major development effort. It is also not in the road map of the release-infrastructure team. My proposal is to have only the base image build officially for rkt, and then let our users consume that image. I will be digging more on this as suggested by Dusty, and report back to the working group.
Next, the discussion moved towards a number of technical debts the working group is carrying. One of the major issue (just before F25 release) was about missing Atomic builds, but we managed to fix the issue on time. Jason Brooks commented that this release went much more promptly, and we are making a progress in that :) Few other points from the discussion were
- Whether the Server working group agreed to maintain the Cloud Base image?
- Having ancient k8s is a problem.
- We will start having official Fedora containers very soon.
Then the discussion moved to documentation, the biggest pain point of the working group in my mind. For any project, documentation can define if it will become a success or not. Users will move on unless we can provide clearly written instructions (which actually works). For the Atomic Working Group, the major problem is not enough writers. After the discussion in the last Cloud FAD in June, we managed to dig through old wiki pages. Trishna Guha is helping us to move them under this repo. The docs are staying live on https://fedoracloud.rtfd.io. I have sent out another reminder about this effort to the mailing list. If you think of any example which can help others, please write it down, and send in a pull request. It is perfectly okay if you publish it in any other document format. We will help you out to convert it into the correct format.
You can read the full meeting log here.December 02, 2016 06:09 AM
This would be a bit long on my stay in Cape Town, South Africa after Debconf16.
Before I start, let me share the gallery works, you can see some photos that I have been able to upload to my gallery . It seems we are using gallery 2 while upstream had made gallery 3 and then it sort of died. I actually asked in softwarerecs stackexchange site if somebody knows of a drop-in replacement for gallery and was told/shared about Pwigo . I am sure the admin knows about it. There would be costs to probably migrate from gallery to Pwigo with the only benefit that it would be something which would perhaps be more maintainable.
The issues I face with the current gallery system are few things –
a. There is no way to know how much your progress your upload has taken.
b. After it has submit, it gives a fake error message saying some error has occurred. This has happened on every occasion/attempt. Now I don’t know whether it is because I have slow upload speeds or something else altogether. I had shared the error page last time in the blog post hence not sharing again.
Although, all the pictures which would be shared in this blog post would be from the same gallery
Another thing I would like to share is a small beginner article I wrote about why I like Debian.
Another interesting/tit-bit of news I came to know few days back that both Singapore and Qatar have given 96 hours visa free stopovers for Indians for select destinations.
Now to start with the story/experience due to some unknown miracle/angel looking upon me I got the chance to go to Debconf16, South Africa. I’m sure there was lot of backend discussions but in the end I was given the opportunity to be part of Debcamp and Debconf. While I hope to recount my Debcamp and Debconf experience in another or two blog posts, this would be exclusively the Post-Debconf Experiences I had.
As such opportunities to visit another country are rare, I wanted to make the most of it. Before starting from Pune, I had talked with Amey about Visas, about Debconf as he had just been to Debconf15 the year before and various things related to travel. He was instrumental in me having a bit more knowledge about how to approach things. I was also lucky to have both Graham and Bernelle who also suggested, advised and made it possible to have a pleasant stay both during Debcamp and Debconf. The only quibble is I didn’t know heaters were being made available to us without any cost.
Moving on, a day or two before Debconf was about to conclude, I asked Bernelle’s help even though she was battling a burn-out I believe as I was totally clueless about Cape Town. She accepted my request and asked me to look at hostels near Longmarket Street. I had two conditions –
a. It should not be very far from the airport
b. It should be near to all or most cultural experiences the city has to offer.
We looked at hostelworld and from the options listed, it looked like Homebasecapetown looked to be a perfect fit. It was one of the cheaper options and they also had breakfast included in the pricing. I booked through hostelworld for a mixed dorm for 2 days as I was unsure how it would be (the first night effect I have shared about previously) .
When I reached there, I found it to be as good as the pictures shared were, the dorm was clean (most important), people were friendly (also important) as well as toilets and shower were also clean while the water was hot, so all in all it was a win-win situation for me.
While I’m not much of an adrenaline-junkie it was nice to know the activities that could be done/taken.
This was again interesting. While apologies for the poor shaky quality of the picture, I believe it is easy to figure out. There were Brochures of the city attractions as well as condoms that people could discreetly use if need be. I had seen such condoms in few toilets during and around Debconf and it felt good that the public were aware and prioritizing safety for their guests and students instead of having fake holier than thou attitudes that many places have.
For instance, you wouldn’t find something like this in toilets of most colleges in India or anywhere else for that matter. There are few vending machines in what are termed as ‘red light areas’ or where prostitution is known/infamous to happen and even then most times it is empty. I have 2-3 social workers as friends and they are a source of news on such things.
While I went to few places and each had an attraction to it, the one which had my literally eyes out of socket was the ‘Iziko South African Museum‘ . I have been lucky to been quite a few museums in India, the best rated science museum in India in my limited experience has been the ‘Visvesvaraya Industrial & Technological Museum, Bengaluru – India‘. A beer from me if a European can get it right.
Don’t worry if you mispronounce it, I mispronounce it couple of times till I get it right .
Looking up the word ‘Iziko’ the meaning of the word seems to be ‘the hearth’ and if you look at the range of collections in the museum, you would think it fits.
I was lucky to find couple of friends, one of whom was living at homebase and we decided to go to the museum together.
So Eduardo, my friend on the left and his friend, we went to the museum. While viewing the museum, there were no adjectives to describe it other than ‘Wow’ and ‘Endless’ .
While I have more than a few pictures, the point is easily made. It seems almost inconceivable that creatures of such masses actually were on earth. While I played with the model of the jaws of a whale/shark in reality if something like that happened, I would have been fighting for my life.
The only thing I missed or could have been better if they had some interactive installations to showcase the now universally accepted Charles Darwin’s ‘On the Origin of Species‘ I had never seen anything like this. Sadly, there was nobody around to help us figure out things as I had read that most species of fish don’t leave a skeleton behind so how were these models made? It just boggles the mind.
Apart from the Science Museum I was also introduced to the bloody history that South Africa had. I saw –
I had been under the impression that India had got a raw deal when it was under British rule but looking at South African history I don’t know. While we got our freedom in 1947 they got rid of apartheid about 20 years+ . I talked to lot of young African males and there was lot of naked hostility for the Europeans even today. It was a bit depressing but could relate to their point of view as similar sentiments were echoed by our forefathers. I read in the newspapers and it seemed to be a pretty mixed picture.
I can’t comment as only South Africans can figure out the way forward. For me, it was enough to know and see that we both had similar political histories as nations. It seemed the racial divide and anger was much more highly pronounced towards Europeans and divisive then the caste divisions here between Indians. I also shared with them my limited knowledge and understanding of the Indian history (as history is re-written all the time) and it was clear to them that we had common/similar pasts.
As a result, what was surprising (actually not) is that many South Africans have no knowledge of Indian history. as well otherwise the political differences that South Africa and India has in the current scenario wouldn’t have been.
In the end, the trip proved to be fun, stimulating, educative, thought-provoking as questions about self-identity , national identity, our place in the Universe kinda questions which should be asked all the time.
Thank you Bremmer and the team for letting me experience Cape Town, South Africa, I would have been poorer if I hadn’t had the experience.
Filed under: Miscellenous Tagged: #Debconf16, #Dinosaur Fishes, #gallery, #Identity, #Iziko South African Museum, #Nation-state Identity, #pwigoNovember 29, 2016 08:49 PM
From The Intercept's article "Donald Trump Will Be President. This is What We Do Next.", this section captures the most dominant thought I have:
Be not downhearted.
Don't give up. As bone-chilling as this moment is, it also proves that no one's in charge and just about everything in America's up for grabs. After all, Bernie Sanders looks like he's appearing in a role where the casting notice read: "Male, 70s, white, must look exactly like the caricature of a socialist from 1980s right-wing agitprop." Yet from a standing start he almost beat Hillary Clinton.
Young Americans are extremely progressive, so much so that Frank Luntz, the GOP's top pollster, says it should "frighten every business and political leader." To some degree we just need to engage in a holding action until they're running things.
Despite having no resources other than lots of cell phones with the Twitter app, Black Lives Matter has done more to blunt police brutality than anyone in the past 40 years. There should be classes taught around the world about how they're doing it.
However, there is a section of people who might be harmed by the administration. There is no easy way to predict what the targets would be and how they will be targeted.November 29, 2016 03:19 PM
We have Fedora 25 released a few days back. Along with various editions, we also have the Atomic edition out. This release is special for few points, one of them is being the first release from the Atomic Working Group. The another major point is a release where Cloud Base image, and the Atomic image + Vagrant boxes were fully tested by Autocloud project in the whole release cycle.
Sayan did a tremendous work in redoing the Autocloud front-end, which many of us use to keep an eye on the builds. Yes, we do test our nightly builds on Autocloud. You can also keep an eye on this by using Fedora Notifications system. This automated testing was the major reason behind finding no surprises during Cloud/Atomic test day in the F25 cycle. Through the development cycle of Fedora 25 Autocloud kept finding the network related issues, or whenever the image refused to boot cleanly. Dusty Mabe, and our excellent QA team helped us to mark those issues into right bugs, and then with help from the developers, we managed to get them fixed on time. Adam Williamson also has an OpenQA setup where the ISO image gets automatically tested.
The test cases for the same are written as Python 3 unit tests. You can find them here. Feel free to come to the #fedora-cloud channel, and suggest any changes, or you can directly submit Pull Requests.
Another on-going work is related to documentation. We are trying to get all the docs here for our users. But we need more eyes on this. If you have any use case in mind, feel free to send us a patch/PR. Trishna Guha (IRC: trishnag) is another person whom you may want to talk about any queries you have.November 29, 2016 10:04 AM
Entrepreneurship is filled with challenges. And I’ve had a large share of challenges over last 17 years of building tech businesses.
What 17 years of EntrepreneurShit survival episodes taught me about business and life in general is what I shared with Unpluggd attendees last Saturday. If you are building a business, you may find solace here!
Here’s the end-slide listing my lessons.
I’m not putting up the entire slide deck, because the rest was all stories! You have to be there to get them! No slides can capture those failure stories!
I’ll leave you with a couple of quotes from my talk to get you thinking:
There is always a pot at the end of your entrepreneurship rainbow. You just don’t know what’s inside the pot. Don’t just expect gold coins. Your pot may be filled with a lot of smiles, a big heart, lot of lessons and bliss. But there will be a pot!
When to give up?
Do you love what you’re doing? Is there big business potential in it?
If yes, do not give up.
My reactions to Unpluggd 2016 speaker sessions
My Unpluggd experience was a success! The conference session content was good, the organizing team is obviously super passionate, and the attendees were serious about building and growing awesome businesses.
Here are my takeaways / reactions to the speaker sessions.
- The Citruspay Story by Jitendra Gupta – Take on big problems, but only if your core competence matches.
- Postman fame Ankit Sobti‘s How we build a global geeky product from India showed the importance of creating a product for mass use and how to execute freemium model successfully. Ankit’s note about converting critics to admirers and then advocates was superb. My team uses Postman all the time btw!
- Kranti of Furlenco spoke about Building truly user centered products based on insights. Pick insights from conversations, they are not in the answers. Then add business context and a pinch of your own magic to create success.
- Lalit Bhise from Mobisy shared his stories of selling SaaS to Indian customers. Relationships, influencers, budgets, payments and the occasional idea that becomes the cornerstone of your success. Always good to hear these..
- The Future of Payments by Guru Bhat of PayPal elaborated on new age, all pervasive payments ecosystem – something that I believe in too. PayPal is a big part of our e-commerce analytics and marketing assistance tool Putler. I was thrilled to meet not only Guru, but also Prasanna (who created most of the PayPal APIs), Pradeep and the rest of PayPal team in person.
- Design Strategy for startups by Sunit Sharma of Exploride was another practical and useful session. Sunit talked about using metaphors for products in a conversation I had with him earlier. For example, Vespa means bee, and all their designs – even the sound of their scooter – are inspired from a bee.
- Building a Desi OS by Rakesh Deshmukh of Indus OS was enlightening. We built Utkarsh as Gujarati OS many years ago and failed. So it was heartening to see Rakesh’s outstanding success. The combination of technology, market dynamics and user focus are key.
- Anuradha Sridharan‘s How to increase free trial conversions of SaaS products was a goldmine of wisdom for anyone who was paying attention. She spoke from experience and my reaction at the end of the talk was – OMG, there is so much I need to do in our products
- Thinking on First Principles by Soham Chokshi of Shipsy might have been a little offbeat for some. Soham was one of the first people I met at the event and he is really sharp. I wish I do more of first principle thinking like Elon Musk!
- Lalitesh Katragadda (Google Map Maker fame) shook me in my seat. His clarity of thinking makes you believe whatever he says, and his future predictions were disruptive. He said there will be no job for most people in future – as machines will do most of the work. It’s better to train your children in entrepreneurship – than in academics! I certainly want to follow Lalitesh more closely. His lessons learned building Google Maps for India were fascinating and I’m sure he is onto something big now.
- Startup lessons learned building ClearTax by Archit Gupta narrated his early year experiences and the YCombinator journey. I love reading Paul Graham too – Archit
- When Sanjay Sethi of ShopClues started his talk with the valentine’s day order delivery failure story, I thought “hey, that’s my style of presenting”.. I liked how they are focused on their customer segment – Bharat and India Two, rather than the Californian Indian, India One!!
- I didn’t attend most of Ajith Karimpana‘s talk on creating a new market category & becoming a leader in it, but I like the guts of doing it. Furlenco is the first furniture rental company of its kind and their strategy of building exclusive furniture from customer insight and then renting them is awesome.
- When Tanaz Buhariwalla of IDA Ireland came up to talk about setting up business in Ireland, I knew she won’t describe Double Irish arrangement (something that really made Ireland a popular investment destination, and is now getting a lot of heat). Ireland sounds interesting, but for now I’m happy with HongKong!
- I was going to be the last speaker for the event but Aswin Ram stole the limelight! His story reminds me of mine and his observations on how excessive funding can kill your startup were spot on. Focus on solving the problem and breaking even first. Then consider funding! Good luck with your HyperCITY stint Aswin!
Some food for thought, uhh?November 28, 2016 09:24 AM
Other than fighting with dust allergies, Rust took some of my time in the past few weeks. I kept it in the to learn list for a long time, and finally thought of looking at it due to a blog post by Armin. I do follow his personal blog, and my previous notions about the language came from his blog posts. But in this blog post on official Sentry site, Armin talked about how they fixed a Python performance issue with Rust (rather than writing in C).
I started with reading The book, which is also the official rust-lang documentation. One may also want to look at the screencasts at intro_rust(). The videos explained the idea behind ownership, and borrowing in a very simple manner. There is also a github project containing various resources related to Rust. I jumped into the Programming Rust book, which is in Early Release state. This book has great in-depth explanations of various features of the language. But always remember the #rust-beginners channel in IRC, there are people who can help you to understand things.
I try to learn any new thing by practicing. Learning a new programming language is not different. I prefer to write small, but usable code, which in turn can solve one of my issue. This is something I had trouble to keep doing in Rust, as most of the book is about explaining a lot of things in details, but not enough examples of code doing things. The nearest thing I found is Rust by Example. Maybe we can add more examples of code which does something useful for the user, or it is just in my mind.
First working code
One of the missing tool for me is an email address search tool for mutt. There are various scripts to search mail addresses from official LDAP server, or sometimes I used goobook for searching mail addresses from my gmail account. I wanted to have a command, which can find an address from any of my mail mail accounts. I have downloaded the google contacts in a CSV file. I also wrote another Python script using regex to find different mail address from my maildirs. But it was slow to print out from all the thousands of mails I have. So, I just tried to have the same in Rust, it was of course faster. Now I have all the unique mail addresses (a few with names too) in a plain text file.
My search tool just reads the whole file every time, and finds the matches. It prints one address in each line, that way I could just plug it in my mutt configuration.
set query_command="searchemailid %s"
Now if you look at the source code, you will find it is a mixture of copy-paste from various examples + a lot of lets change this, and see what happens next. I also thank Icefoz to help me out over IRC.
To end the post, you can install Rust in Fedora 25 using DNF.
# dnf install rust -yNovember 28, 2016 05:06 AM
This will be the first year for PyCon Pune. This will give us a chance to meet our friends, discuss, and work on the language we all love :)
Event date: 16-19th February, 2017.
Location: Pune, India
Format: 2 days of main conference, 2 days of devsprints.
All Keynote speakers have been announced
We finally managed to announce all of our keynote speakers. I am putting up the names below. But you can learn more about them from the speakers page.
CFP is still open for two more days
We have our CFP still open for 2 more days, till 30th November, 2016. Feel free to submit any talk you think you want to present. The event is a single track event, means everyone will get a chance to see all the talks. This also means we have a tougher job in selecting talks :)
Registration is also open
The registration for the conference is also now open. As expected, the 4 days tickets (including devsprints) were sold out super fast. We still have main conference tickets left. Currently the only way to register for devsprints is through supporter ticket, which is also very limited in number. So remember to register fast :)November 28, 2016 01:50 AM
After arriving early on the day of the workshop, I checked-in to my hotel accommodation. A view of the Kanteerva stadium from the hotel.
I had registered for the “Deep Dive into Erlang Ecosystem” workshop by Robert Virding, one of the creators of the Erlang programming language. He started the day’s proceedings with an introduction to Erlang basics and covered both sequential and concurrent programming. He also gave an overview of the Open Telecom Platform (OTP) and answered a number of questions from the participants. He, along with Joe Armstrong and Mike Williams, designed the Erlang programming language for telecommunication, keeping the system in mind and all the way from the ground-up.
He also mentioned how WhatsApp was able to handle two million concurrent connections on a single box, and they would peak at three million at times. As another Emacs and Lisp user, he wrote Lisp Flavoured Erlang (LFE). He did not have much time to talk about it during the workshop, but, he did share differences between Erlang, Elixir and other languages that are being built around the Erlang ecosystem.
The keynote of the day was from Robert Virding on “The Erlang Ecosystem”. He gave a good overview and history of the Erlang programming language, and the rationale for designing the same. He elaborated on the challenges they faced in the early days of computing, and the first principles that they had to adhere to. They did not intend the language to be functional, but, it turned out to be so, and greatly helped their use case. One of the beautiful expressions in Erlang to represent bit-level protocol formats in an expressive format is shown below:
<<?IP_VERSION:4, HLen:4, SrvcType:8, TotLen:16, ID:16, Flgs:3, FragOff:13, TTL:8, Proto:8, HdrChkSum:16, SrcIP:32, DestIP:32, RestDgram/binary>>
Robert’s keynote was followed by another keynote by Brian McKenna on “No Silver Bullets in Functional Programming”. He gave the pros and cons of using Functional and other programming paradigms, and discussed the trade-offs. A number of code examples were shown to illustrate the concepts.
The next talk that I attended was by Aloïs Cochard on “Welcome to the Machines”. He gave an overview on the history of various Haskell libraries for data stream processing (pipes, conduit) and finally provided a tutorial on machines.
Abdulsattar Mohammed introduced the need for dependent types using Idris with simple examples in his “Dependently Typed Programming with Idris” talk. The concepts were well narrated with numerous code snippets.
The next talk by Debasish Ghosh on “An algebraic approach to functional domain modeling” was a modelling exercise on how to map business logic into functional algebra. He demonstrated a real world step-by-step process on the transformation from a problem domain to the solution domain consisting of algebraic data types, functions that operate on them, and business rules.
Ravi Mohan started his talk titled, “Equational Reasoning - From Code To Math and Back Again”, with his learning in the Functional Programming (FP) world, and an overview of how to go about reasoning from code to math. His laptop had ran out of battery power, and he did not have his laptop charger. Before his scheduled talk, he had re-created plain text notes of his slides and walked us through the content.
“Implementing Spark like system in Haskell” was an interesting session by Yogesh Sajanikar on his attempt to create a DSL for map-reduce jobs. He did cover much of the internals in his implementation and the challenges faced. The hspark code is available at https://github.com/yogeshsajanikar/hspark.
The second day began with the keynote by John Hughes on “Why Functional Programming Matters”. This was the best keynote of the conference, where John gave a very good historical perspective of FP and the experiences learnt in the process. His slide deck was excellent and covered all the necessary points that were part of his famous paper with the same title.
This was followed by a series of demos on cool features in Functional Programming languages - Erlang, Idris, APL, F# and Julia.
“Using F# in production: A retrospective” was a talk by Ankit Solanki on the lessons learned in using a functional language in implementing a tax e-filing application. They heavily use F# Type Providers to handle the variation in input CSV files.
“Real world functional programming in Ads serving” was a talk by Sathish Kumar from Flipkart on how they used functional programming in Java 8 for their product. They initially prototyped with Haskell, and used the constructs in Java.
I skipped the next talks, and spent time with Robert Virding in the Erlang booth.
I attended John Hughes workshop on Property-based Testing. Initially, I thought he would be using Haskell QuickCheck, but, in the workshop he used the Erlang implementation. John mentioned that the Haskell and Erlang implementations are different, and their interests have diverged.
He started the workshop by taking an example of writing property tests for encoded SMS messages using Erlang. He also demonstrated on how a minimal test example is produced when a test fails. The choice of deciding on what properties to test is still an active research problem. He also demonstrated how to collect statistics from the test results to analyse and improve them.
The property-based testing has been used by his company, QuviQ, to test C protocols for the automobile industry. They were able to generate tests to detect bugs in the CAN bus implementation. Here is a summary of the statistics for a project:
3,000 pages of specification 20,000 lines of QuickCheck 1,000,000 LoC, 6 suppliers 200 problems 100 problems in the standard
He also shared his experience in generating tests for Klarna - an invoicing service web shop that uses Mnesia - the distributed Erlang database. He concluded by saying that we should not write tests, but, they shoud be generated.
Overall, the workshops were quite useful. It was good to have met both Robert Virding and John Hughes.November 26, 2016 04:45 PM
Generally I used to upgrade after the Alpha releases, but this time I decided to wait till the final release. Reason: just being lazy. The other point is of course the nightly cloud images, which I am using for a long time.
Before I upgraded my laptop, the first step was to sync the gold release of Everything repo, and then the updates repo for x86_84. The Everything repo is around 55GB, and the updates was 14GB+ when I synced. After I managed to get the local mirror at home fully synced, I upgraded using dnf system-upgrade.
There were a few small hickups due to random rpms I had on my F24 box. After removing those packages, the upgrade followed the standard path. Everything looks normal with the reboot. As I use i3wm, there is not much change for me visually other than the nice new wallpaper.November 26, 2016 03:54 PM
૧. કાકીએ કાકાને કહ્યું કે કાચના કબાટ માંથી કાચી કેરીનું કચુંબર કાઢો.
ભાષાંતર: Raw mango salad from the glass out of the closet uncle aunt said.
૨. કાકી એ કાકાને કહ્યું કે કાચના કબાટમાંથી કાચી કેરીનું કચુંબર કાઢો.
ભાષાંતર: Aunt and uncle said that out of the glass raw mango salad kabatamanthi.
૩. કાકી એ કાકાને કહ્યું કે કાચના કબાટ માંથી કાચી કેરીનું કચુંબર કાઢો.
ભાષાંતર: Aunt and uncle said that out of the closet raw mango salad from the glass.
૪. કાકી એ કાકાને કહ્યું કે કાચના કબાટ માંથી કાચી કેરીનું કચુંબર કાઢો
ભાષાંતર: Aunt and uncle said that out of the closet raw mango salad from glass
૫. કાકી એ કાકા ને કહ્યું કે કેરીનું કચુંબર કાચના કબાટ માંથી કાઢો
ભાષાંતર: Extract from mango salad in a glass closet aunt said the uncle
ટૂંકમાં, સુધારો થયો છે!
અને હવે યાન્ડેક્સ પર પણ ગુજરાતી ભાષાંતર પ્રાપ્ત છે (જે વિકિપીડિયાના અમારા કન્ટેન્ટ ટ્રાન્સલેશન સાધનમાં વપરાય છે), જે હજુ અત્યંત નબળું છે. દા.ત. #૫નું ભાષાંતર,
Aunt is aunt nanny said that mangoes salad glass of the closet from deleted
November 23, 2016 05:47 AM
There are many ways in which we can setup networking for LXC containers - simple to highly complex. In this blog post I will get the simple steps required in order to have networking work for LXC containers using libvirt. It is hard to create bridges on WiFi interfaces unless your network foo is high (YMMV), but libvirt makes things simple irrespective of the interface. When your dev box is a laptop and want to use LXC on it, then instead of spending hours to get the networking work with the WiFi or avoid getting stranded to cable when using LXC on the laptop, libvirt comes handy. The steps below are tested on Debian Stretch / Testing / Unstable / Sid - give it a shot on other distros with equivalent packages.
Install the required packages and start the virtual bridge
# apt-get install libvirt-clients libvirt-daemon-system ebtables dnsmasq
# virsh net-start default
# /sbin/ifconfig -a
There should be a new virtual bridge seen as follows:
virbr0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Link all your containers to the new virtual bridge by editing /etc/lxc/default.conf as seen below:
# cat /etc/lxc/default.conf
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = virbr0
Make the default virtual network bridge interface start when host boots:
# virsh net-autostart default
# virsh net-info default
Bridge: virbr0November 22, 2016 10:14 AM
Docker organised Global Mentor Week around the world between 14-19th Nov’16. In Bangalore we scheduled it on 19th Nov at Microsoft office. We divided the group into two groups Beginner and Intermediate of 125 each. Out of which ~60 turned up for each session.
The content for the mentor week was shared by the Docker, which had hands-on exercises for basic and intermediate level. Microsoft provided Azure pass for every participant so that we all can have same working environment. But during the workshop we faced some internet issue, so everyone could not hands-on on that day. But with Azure pass and labs, participants can try out the hands-on later.
For the beginner level we had four mentors Sreenivas Makam, Bathrinath Raveendran, Ratheesh T M and myself. Sreenivas did the heavy lifting by walking through the Docker basics and labs. He also shared the notes to try out Docker Mentor Week’s lab on Azure. We had the beginner session between ~9:40 AM to 12:145 PM.
— Neependra Khare (@neependra) November 19, 2016
After the lunch we did the intermediate training. As the internet was not working, we decided to share the concept of Container Orchestration in general and then with Docker Swarm we showcased a sample application. I used the content from my LinuxCon/ContainerCon workshop which I did last month in Berlin.
— Ajeet Singh Raina (@ajeetsraina) November 19, 2016
— Neependra Khare (@neependra) November 19, 2016
Both sessions were very interactive. I hope more people would have joined from the confirmed list. I had to say no to few group members as they could not get the confirmed ticket.November 21, 2016 06:31 AM
My notes on simple Causal Probability – moebiuscurve http://moebiuscurve.com/my-notes-on-simple-causal-probability/
November 19, 2016 11:49 AM
This is an extension of part 1 which I shared few days ago. This would be a longish one so please bear.
First of all somebody emailed me this link so in the future a layover at Doha Airport will be a bit expensive from before, approx INR 700/- added to the ticket costs
Moving on, Let me share an experience I shared one of the last few days I had while I was in Cape Town –
I had booked a place near Long Street, Cape Town using Bernelle’s help. What I had not known at that time that near Long Street there are free walking tours every couple of hours. I took part in all the tours and those were nice experiences. Where they start the walk, there was the gentleman pictured above. I was amazed by this gentleman’s rich voice. He strummed lot of classics from the 60’s, 70’s till the 90’s . I had two coffees and thought I was at a premium rock concert. It was a bitter-sweet experience for me because I could see that he has such prodigious talent and still he had to struggle to survive to make ends meet. I did my 2 bit but wish I could have done something more.
Side note – Before I forget there is one trick of feh which I use to view images without it getting very high-resolution (especially on my low-end systems) –
┌─[shirish@debian] - [/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C006%5D/Card/DCIM/Camera] - 
└─[$] feh -g 1350x1000 .
This actually makes it far far easier to traverse through the 1000 odd photos of the trip that I have in my personal archive without doing any sort of conversion methodology. Btw, it took me time but finally was able to create an album at gallery.debconf.org . Haven’t been able to upload photos as came across an error which I have shared at https://lists.debconf.org/lurker/message/20161113.215659.fce58823.en.html
Moving on, here’s the funny story/experience I wanted to share –
What happened was this. This is from the Doha Airport. I had seen big buggies (ones similar to golf carts) which was ferrying people from end of the concourse to the other. I had been walking the whole day and even with the horizontal escalators and everything, it takes a toll. I was half-tired, half-sleepy and saw a buggy stationed. From behind it looked like the buggies I had seen. As there was no place to park my behind there, I entered into the buggy and sat there. Around 15-20 minutes later a Doha cop in another buggy came to me and asked me if something had happened ?
I had no clue what he was talking about. He told/shared/asked me in friendly tone whether I had committed a crime or wanted to report a crime. When I replied in negative to both, he asked then why I was sitting there. I replied it was for stretching my legs and it was the buggy which was being used to transport people from A. to B. He gently told me I had entered into the wrong one and it was actually a cop buggy. I couldn’t believe it. He did go his own way as he saw I was dead-tired. After 10-15 minutes, half-believingly I came out of the buggy and to my shock the gentleman was right. There was nothing to do but solder on to find a spot in this big airport. I shared this with few friends and family and managed to elicit few laughs hence sharing.
The somewhat sad one was I had met a couple with a baby. Now as shared before, Most Airports including the Doha Airport is Air-Conditioned/Climate-Controlled and is probably in mid-20’s so it was more than cold for me. The couples with the baby were from Asian sub-continent. From their clothes and the way they were, they were not very well off. I do remember them sharing that they had a death in the family and hence were going. I didn’t know at that point in time that there was something called bereavement fares and if they were able to take opportunity of those tickets. But this is besides the point . The issue was that their baby had been running a high-fever and the A/C was making matters worse. I had seen a pharmacy but no clinic in the airport. It was much later I came across http://dohahamadairport.com/airport-guide/facilities-services/medical-emergencies but as can be seen on the web-page it doesn’t tell whether the services are chargeable or not. I assume it would be paid, although in some of the ‘developed/industrialized’ countries it is rumoured not to be for simple ailments such as the baby was going through. Have no idea if that’s true or not. I also don’t know how it equates with travel insurance as well as most travel insurance is also supposed to help you in situations like these. I was concerned as it was a baby and babies as all know are very very fragile. If anybody has an idea or had similar experience would like to know specifically related to International Airport environment as it has ‘transit’ issues unlike in domestic airports where I don’t think it would be a bit more easy.
Now coming to my own inadequacies/lack of foresight which I had mentioned I will share, I had asked/queried and got to lead a Debian-installation workshop on the Open Debian Day. I had done a few earlier and had installed it a few times on my system and for my friends, relatives and some clients. The only bad experiences I had were to do with UEFI but even those in the jessie releases had got resolved quite a bit, so was pretty confident. The day before the Installfest was to happen, ‘Mensah Nyarko Yaa Dufie’ (one full name) of Ghana approached me to install Debian on her system. I had some older version of the Debian DVD either 8.1 or 8.3 and had known that 8.5 had been released just a few days back. Had seen pretty fast internet (as far as downloading Debian DVD) is concerned hence asked her to wait a bit while I downloaded the newest image. I sha256summed it to make sure that the image was bit-to-bit perfect.
Now I hadn’t bought a pen drive/disk from India as I was under the impression that in such conferences, pen drives should not be an issue. I had asked Bernelle privately before via e-mail as well and she had assured me that some pen-drives would be available. She gave me a handful of HP pen drives. The pen drives as we came know during our usage were somewhat flaky. It would pop out/lose connection even with the slightest nudge to the lappy.
Somehow I was able to transfer the image to the usb disk. As people say hindsight is 50:50 maybe it was not such a smart move on my part to download the big DVD image and maybe I should have got the netinstall iso . Be careful, the link I have just shared is of the old version, if you have good web link and want to try the newest stable netinstall head to cdimage.debian.org . Apart from that goof-up I dunno (still) of anyway to know if a copy from an .iso image to usb was successful or not and did it do correctly –
I did the following command –
sudo dd if=/path_to/debian-dvd.iso of=/dev/usb-mount-point
which is usually
/dev/sdbon all of my systems . Her system was a brand new HP (don’t remember the model details) which she had bought just a few weeks/months before debconf. We tried a few times but it failed at installing the boot-loader stage. I asked Ritesh Raj Saraff (a friend and DD) and while he had some ideas, none of them worked. Ritesh later pointed out Steve McIntyre and shared he is part of the Debian-Installer team. At that point in time, I had no clue who Steve McIntyre was otherwise I probably would not have approached him. He quickly acquiesced to my request and shared that he would be there for the workshop. With load of my mind little bit, I apologized to mensah and asked her to be at the workshop the following day. I had no clue what was wrong at this point in time, whether it was the iso image in the usb disk or a UEFI issue. This also wasn’t good for my confidence but as somebody from the Debian-Installer team was there, I was somewhat relaxed.
Next day, some more people came for the Installfest. While I had made 2-3 copies, clearly it was not enough as more people came. I was in a frenzy and asked Deven Bansod, Keerthana Krishnan, Prabaharan Jaminy (the whole GSOC and Outreachy attendees) to volunteer to help out in making more iso images on usb disks. I introduced mensah to Steve McIntyre and we tried 2-3 times to get debian installed on the system but it didn’t move from the same place. Ritesh shared that
ddhad a memory leak and hence
catwas a better way to do it. So we did –
and soon other machines had debian sporting on their desktops.
$ cat debian.iso > /dev/sdb
But mensa’s lappy wouldn’t get move from the boot-loader stage. Suddenly Steve had the bright idea (light bulb moment) that maybe the .iso is corrupted/usb disk is bad or something is incomplete. We started on another usb disk.
Now this is where I have a query – While I don’t want to compare, in Ubuntu there was an image self-checking mechanism where probably behind the scenes (backend) the checksums published in a file are compared with checksums generated by apps. which are on the .iso image. While it does extend your time, the end result is you know if there is some issue on the decompressed image on the usb disk. AFAIK we don’t have anything similar. The only two things I know is the wiki page and of course the various checksums of the image as shared at http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-cd/ or http://cdimage.debian.org/debian-cd/8.6.0/amd64/iso-dvd/
If anybody knows of any movement or a bug in the BTS which I can follow for the above issue please let me know.
This time Steve was able to install it without any issues. I asked him whether he had to make some specific FAT/Ex-FAT/NTFS partitions as some new UEFI-based lappies need one or more but he replied in the negative. While mensa did get her debian install, the GUI didn’t come while command-prompt was available. Then Steve added backports to the sources.list, got the new kernel, new Intel/Nvidia drivers (think it was one of those hybrid models IIRC) and she was able to boot into GNOME-Debian.
I didn’t saw any bug-reports about checksumming state of the applications before installation but did couple of reports about badblocks support and memory checking and from action on both bug-reports it is also need of the hour (although the earlier one has been marked as won’t fix :().
In this whole thing, I liked/appreciated the way Steve handled things, I intuitively understood/knew that he wasn’t just part of the Debian-installer team but someone better. I can’t explain it but it was there. A little investigation in the evening and it turned out that he had been Debian Project Leader for two consecutive years (2008 and 2009) . In hindsight it probably was a good thing I didn’t know that before otherwise I probably wouldn’t have interacted with him and it would have been my loss. To have been the DPL and still being so humble while technically being so proficient, I was amazed and didn’t know what to make of it.
Here i.e. in India, if somebody wins even the mohalla elections (neighbourhood elections) the person carries a big chip on her/is shoulder not just till he is on the seat but even beyond, and here was an example of a previous DPL asking time from one of the developers in a video if it’s possible in the next couple of days.
Lastly,last week have able to report 2 bugs upstream. The first one is of youtube-dl . It’s somewhat complicated hence will not go there atm. The second and more surprising one was from ‘nano’ our esteemed text-editor- Hopefully the bug will be fixed once a new version comes.
Filed under: Miscellenous Tagged: #buggy, #cop, #Debconf16, #doha airport, #Installfest, #nano, #singer, #youtube-dl, travelNovember 16, 2016 08:10 PM
VLC Media Player has the ability to convert video/audio files into various formats it supports, since a long time. There is a dedicated “Convert/Save” menu for converting single or multiple files at once into a different format, with limited ‘editing’ features such as specifying a start time, caching options etc. It is quite useful for basic editing/cropping of multimedia files.
As an example, one of the easiest ways to create a custom iPhone ringtone is to create a “.m4r” (AAC format) file exactly 40 seconds long. It is a matter of selecting your favourite music file and doing a “Convert/Save” with appropriate “Profile”. A “Profile” specifies the video/audio encoding to be used, which can be easily customized by selecting different audio and video codecs.
The options “Caching time”, “Play another media synchronously” (think adding different sound track to a video clipping) and a “Start time” etc can be specified under “Show more options” button and even more advanced functionality is available by making use of the “Edit Options” line. Internally, all the options specified at this line are passed to the converter.
There was one thing lacking in this “Convert/Save” dialog though – there was no possibility to specify a “Stop Time” akin to the “Start Time”, in the GUI (although it can be manually specified in the “Edit Options”, but you need to calculate the time in milliseconds). VLC 2.x series convert looks like as follows – notice the lack of “Stop time”:
Being bugged by this minor annoyance, I set out to add the missing “Stop-time” functionality. Going through the codebase of VLC, it was relieving to see that the converter backend already supports “
:stop-time=” option (akin to “
:start-time=”). It was then a matter of adding “Stop Time” to the GUI and properly updating the “Edit Options” when user changes the value.
A working patch was then sent to
vlc-develmailing list for review and feedback. After 5 rounds of review and constructive feedback from Filip Roséen the code was cleaned up (including existing code) which is now committed to the master branch. This functionality should be available to users in the upcoming 3.0 release. Screenshot below:
Tagged: hacking, vlcNovember 15, 2016 06:05 PM
As a part of MozActivate initiative from Mozilla, we, from Kolkata community, organized an event at NITDGP campus on Web Compatibility on 5 Nov, 2016.
Participants were from 1st year, 2nd year, 3rd year and 4th year engineering students.
Our event agenda was
We started our event as per agenda.
After our brief introduction, we asked students to download latest Firefox Beta in laptop or in mobile.
After Web Compatibility hands-on session, students were really excited. Then they started hunting bugs in India’s top local websites.
At the end of the event, we showed them how they can more involved here.
Then we invited them to join our Mozilla Kolkata community.
We got great success at this event!
Filed under: mozilla event Tagged: #mozactivate, #nitdgp, #webcompat, biraj, birajkarmakar, mozillaNovember 15, 2016 03:23 PM
November 13, 2016 05:22 AM
* કાલે ભારતીય નૌકાદળ (નેવી) દ્વારા આયોજીત હાફ મેરેથોન છે, પણ ત્યાં જવાના છુટ્ટા પૈસા નથી એટલે જોઇએ કેવી રીતે પહોંચીશું. દોડીને જઇ શકાય (૨૧ કિમી માટે ૨૧ કિમી દોડવું પડે). હા, બીબ નંબર લેવા માટે પણ કુલ ૨ કિમી રીક્ષા + ૫૦ કિમી ટ્રેન + ૩ કિમી ચાલીને જવું પડ્યું. બોલો, ગાંડિયા લોકો તો રનર્સ જ છેને?
* કવિન જોડે રનિંગ-સાયકલિંગ શરુ કર્યું છે. પહેલી રાઇડ અને રનિંગ સારુ રહ્યું, હવે સોમવારે લાંબુ સાયકલિંગ કરાશે. કવિનને હજુ ટ્રાફિકના બીજા મહત્વના નિયમો શીખવાડવાના બાકી છે. પહેલી રાઇડમાં જ એક ગાડીવાળાએ અચાનક જમણી બાજુનો દરવાજો ખોલ્યો પણ અમે બચી ગયા. આવા તો કેટલાય ઉદાહરણ અમને એક જ રાઇડમાં જોવા મળ્યા છે. જોઇએ બીજી રાઇડ શું લઇને આવે છે.
* આપ-કોંગ્રેસ દ્વારા પ્રેરિત અને પોષિત બ્લોગ-સમાચારપત્રો-સમાચારો-ફેસબુકિયા લેખકો હવે અર્થશાસ્ત્રીઓ બની ગયા છે, એટલે આ દેશનું ભવિષ્ય ઉજળું છે. હજુ મારે લાઇનમાં ઉભા રહેવાનો મોકો નથી આવ્યો પણ આવતીકાલે હાફ મેરેથોન દોડ્યા પછી આવવાની શક્યતા છે અેટલે ટાંટિયા ટાઇટ થવાના છે.
* બાકી શાંતિ છે. વલસાડની હાફ મેરેથોન દોડવાનું શંકાસ્પદ છે, કારણ કે આગલા દિવસે આ સીઝનની પહેલી બી.આર.એમ. છે!
November 12, 2016 12:43 PM
I implemented a bunch of APIs in Go. Took about a few hours in the night. Let me add a web client to these. May be I will learn to build a SPA. Which poison to choose from ? React, Angular 1.x, Angular 2.x, Vue ?
> Go with react. That is what all the cool kids are using. Also, something to do with: Angular 2 continues to put “JS” into HTML. React puts “HTML” into JS. sounds geeky and logical.
Okay. Let me start with this react. Where do I even begin ? Seems very complex.
> Alright. There is this create-react-app which is introduced by Facebook to make it easy to begin, so that you do not have to break your head about gulp, grunt, node, etc. and their magical version incompatibilities
I started with this create-react-app and went a little further. I can create various components and render them, but how do I get various views/components to interact, to form a workflow (say such as sharing a session string or so) ?
> This is where state management comes in. You need to maintain state in a nice way centrally. You need to use the Flux architecture, introduced by Facebook.
Cool. So I just use the flux library from Facebook and things will all fall in place ?
> Actually flux is a standard, but everyone uses Redux which is an implementation of this standard. Oh, btw there are lot of other implementations such as alt. The creator of the redux seem to be an active guy and helps in the community often, writes long stackoverflow posts, etc. How can someone who write long posts be wrong ?
Hm. Okay. Let me start with this redux. What should I understand ?
> It is simple. If you understand: Global store, Reducers, Actions, Dispatch, Containers, you have understood redux. Just follow these egghead tutorials.
Okay. I tried following these. They are really beginner unfriendly. Actually this series on youtube is better, though a bit out-dated and non-standard. I have now done a simple redux toy app.
> Try a complex app, with multiple pages and talk to that API that you implemented.
Good idea. I will start with it. Oh, wait. My component has a lot of buttons, text boxes, etc. I need a way to get something rudimentary, like: getting the value from the username and password input boxes, when a "Login" button is clicked. Do I need to make a mess of global states and private-component-specific states ? That is like so contrary to what we learnt so far.
> Think again. Is there any alternative for this ?
May be I can have Actions, ActionCreators and State variables for each field in each component, centrally maintained in the global store ? That will be a looooot of boilerplate.
> Ahem. May be you should start using redux-form library. It will minimize your workload and optimizes the boilerplate.
Is it well maintained ? It has plenty of github stars but what if the bus factor is high and the primary author loses interest when he gets a dayjob somewhere else ? Also, it is already in version 6. Isn't react itself announced just three years ago ? Why is there so 6 major versions of this library already ? Will this change again if I depend on it ?
> Hrm. How long has it been since you began the exercise ?
> Now that you have learnt React and Redux, and experienced first-hand how much it takes time to identify the quintessential combination of libraries, you should not attempt to build anything in your free time, you should be careful in choosing these technologies, for a proper dayjob.
PS: A lot of things where I had to take a detour and wasted a lot of time is trimmed from the post, as they are anyway not directly related to ReactJSNovember 11, 2016 08:59 AM
The third semester B.Tech Electronics and Communication Engineering programme of Kerala Technological University (KTU) has a lab course on electronic design and automation. The course aims to introduce the students to various electronic design and simulation tools like SPICE, MATLAB and HDL.
I had proposed the migration of the MATLAB section of this lab course to SCILAB, a popular open source alternative to MATLAB. The migration is now complete with support from FOSSEE . The source code of the experiments are now available here. A detailed lab manual will be made available soon.November 09, 2016 02:30 PM
You didn't possibly think my streak of serious posts could last did you?November 09, 2016 07:33 AM
Created SFF Meetup, #Patna – https://www.meetup.com/Science-Fiction-Fantasy-Meetup/ All Genuine SciFi/Fantasy Enthusiasts are welcome #SciFi
November 08, 2016 07:43 PM