Recently, I had a reason to allow someone else to use a shell on a machine for which I'm the admin, but I wanted a way to track what they're doing. You might think the history command is just fine for this, but it's possible to clear the history, and I wouldn't want that. Screen to the rescue!
I ssh'd into the machine and created a new user for my visitor. Then I switched to that user. Once logged in, I ran screen -L, which logs the shell (both input and output) to ~user/screelog.0). Then I called up the user, gave them the IP address, username, and password. They logged in, and I told them to run screen -ls to see a list of open screen sessions. The output looks like this:
There is a screen on:
2119.pts-0.marlyn (09/01/2010 06:32:03 PM) (Attached)
1 Socket in /var/run/screen/S-maco.
The next step was for them to type screen -x 2119.pts-0.marlyn Once they did this, we could each see what the other saw in our SSH session, and it was all logged. Great! I could keep track of what they were doing as they were doing it and review the logs later for a double check.
It's not a VCS though. If you know what directory they'll be operating in, you might want to run bzr init ; bzr add ; bzr commit -m "starting point" first, so you can later run bzr diff | less to see what files changed and keep a record of what changed, since while it might all seem perfectly logical while it's happening, recalling the exact changes won't be easy. The point of watching can be to catch them in the act if they try to do something that violates your security policy or to be given a demonstration.
EDIT: After a question in comments about how you keep them from opening another non-screen'd connection, my friend Peter suggested adding screen -xR to the user's ~/.bash_profile, so it forcibly connects to the screen session. Thanks, Peter!
Some conference organisers will say "we didn't get any submissions from women" to explain the lack of women on their stages. As of two years ago, the Ohio LinuxFest was in that category. With a little outreach effort, and embracing diversity as a core value, the Ohio LinuxFest has successfully recruited more women to share their experience at OLF.
How'd we do? While last year only five of the speakers at Ohio LinuxFest were women, out of a total of 31, this year 14 of the 38 speakers are women. That's a third of the conference speaking slots! One of the two keynoters is a woman. There were 107 talk proposals for the 27 general speaking slots. Before anyone tries to suggest that we simply took them all, it should be noted that a full 48% of the proposals for talks categorised as not assuming high levels of prior knowledge (making them suitable for the most attendees) were from women.
We believe that much of this success is attributed to community outreach. This year, we contacted Ubuntu Women, Debian Women, LinuxChix, DevChix, and the FSF's Women's Caucus mailing list about the call for presentations, and did it have an effect!
Recognising the various concerns women speakers can face, we tried to specifically address potential issues in the email sent to women-focused mailing lists. Some of these known issues include lack of confidence in new speakers, not being clear what the intended audience is, or the "imposter syndrome," where someone doesn't recognize that they are qualified to speak on a topic. The woman to woman dialog made the difference.
We wanted to make sure people weren't refraining from submitting because they lack confidence in their technical abilities (an excuse we'd heard before), so we explained the attendees' demographics, hoping to get more proposals that would fill the gap we had for user-aimed talks. Ohio LinuxFest has everything from home desktop users who started using Ubuntu a week ago (or even that day!) to seasoned system administrators who love Slackware, Gentoo, or NetBSD. Nevertheless, beginner proposals have tended toward introduction to development topics, not leaving enough for people who want to be users, not developers. We also made sure to mention that it's a great crowd who is very welcoming of first-time speakers.
Women are involved with more than just speaking at the Ohio LinuxFest. Beth Lynn Eicher has been actively involved as a director for 6 years now, and the current staff, all volunteers, is about 35% female.
The Ohio LinuxFest takes pains to create a weekend conference friendly to all people, not just women. The diversity statement includes gender, ethnicity, disability, sexuality, and even operating system -- folks who don't use Linux are just as welcome as those who love it. There are regularly talks about or including BSDs, interoperability in heterogeneous environments, and cross platform free software.
Additionally, all speakers are instructed to keep the content of their presentations clean. The Ohio LinuxFest bills itself as a family friendly conference and aims to keep it that way. As an effort to make a positive effect with the community at large, the Ohio LinuxFest will host the second annual Diveristy in Open Source Workshop on September 12, 2010.
Looking at the growing trend of more female influence on the OhioLinuxFest we'd like to see it be the leader for more women to attend and become more involved with other free software interests.
While I’m not convinced that Sweden will actually win the world cup there’s lots to like about this “five minutes into the future” look at how we might share content and interact with devices in a few years time. I’m setting a reminder in my calendar. I’ll catch you in 5 years, see if we made it
Blacklisting stuff from being logged, has been a feature in Zeitgeist for a long time now. Yet we never came to develop a UI for it.
So upon popular demand we started to mockup this feature.
The UI is simple and straight forward. (I sketched it using Pencil)
It uses much from what Sezen has to offer, in this case we use the same categories and the searching functionality. So when you search the categories with results get highlighted to allow you to control the logging of the results.
You can go toggle Incognito mode by setting Logger Status to inactive. This will block everything from getting logged in Zeitgeist.
Under General you can choose which Applications you want to log. In this case I am allowing Firefox to be logged but disabling Cheese and Banshee. The application lists will be pulled from the what has been logged by Zeitgeist as well as the applications installed. The option to add new applications to be logged manually is also possible through the add and remove buttons. Same applies for Directories.
The Documents/Music/Videos/Websites/People/Notes and Other Categories all use the same widget layout. You can enable and disable logging for all items of types of each category. In this case by toggling the Allow Logging Documents and controlling single items from a list populated by manually adding items using the Add Button. Remove Button on the other hand will ask you to remove all instances for all time. We will think of a way to delete single instances but for now it can be done over the Activity Journal.
This is just some initial mockups. If you want to join the development please join #zeitgeist on irc.freenode.net and don’t hesitate to ask for guidance. If you have a better idea for mockups please don’t hesitate to present it to us.
Feel free to Flattr this post at flattr.com, if you like it.
Barry Smyth:
In early 2010 I sat in on a seminar on Open Source Software and the community in Ireland, organised as part of my masters course in DIT Kevin St. One of the speakers was Laura Czajkowski. It was during her
talk that I saw the commitment she had to the community and it begins a process of thought about what drives individuals to offer their time and effort to Open Source Communities.
The course that I was studying was Computing but specialising in Knowledge Management (KM). Knowledge Management is the realisation that knowledge is an organisations greatest asset. We constantly hear
the term Knowledge and Smart economy being touted by the Irish government at the moment. They like so many large organisations realise that it is what we know and don’t realise we already know can
be our greatest resource.
Within companies it is commonplace for individuals to hoard knowledge, we do this for various reasons.
We are not confident about what we know, and are afraid others may disregard our knowledge.
We fear giving our knowledge freely, as it may make us redundant.
We find it difficult to articulate our knowledge.
We do not have the tools available to record our knowledge.
We simple do not realise that we possess some knowledge.
KM is about accessing the knowledge within people, teams, departments, organisations, then storing that knowledge in an understandable or codified fashion, and finally making that knowledge available and
easily accessible to others. Some prime examples of where KM can work effectively is in the Pharmaceutical industry, where the process of getting new drugs to market can be as long as 12 years. Most of the large pharmaceutical companies have implemented large KM projects. One in particular cut the time for filling applications to the European and American drug boards in half. The KM systems they installed held the knowledge of previous employees and former workers of the American Federal drug Administration (FDA). Due to their expertise as to what information was required in an application, these applications could be filled out much faster. As you can imagine the saving of several years in getting a drug to market is worth a considerable amount of money to drug companies. This is can be the power of KM.
However what many organisations find when they implement KM initiatives, regardless of the money, time and expertise that they throw at it, is people seem unwilling to share their Knowledge. There are drivers that motivate and barriers that prevent people from sharing their knowledge.
Within Open Source communities, we have a group of people who come together to freely share knowledge. This makes it an ideal place to investigate positive motivations. If KM initiatives could replicate
the motivations within Open Source Communities then their initiatives could prove far more successful.
Back to my story, I began to realise that the Ubuntu community could offer me a perfect environment to investigate motivations to knowledge sharing. In May I contacted Laura and told her about my Idea. Within days we
were sitting down together in a lab in DIT and Laura was showing me around the Ubuntu community. Over the course of the next 3 months with Laura and several other members of Ubuntu’s community I had fashioned
a suitable experiment. The experiment would utilise the existing social networking pages (Launchpad) within the community and over a period of Two weeks would email an advertisement of one of those profiles to the mailing list of the Irish team. I would then survey the Irish team to ascertain the usefulness of the experiment. The idea of the experiment was to measure the levels of trust needed for knowledge sharing, and whether tools like Launchpad could assist in people getting curious about others in the community. This is the starting point of building relationships and trust. The experiment received great support from the community and I had a fantastic response to the survey. The experiment idea was even taken on board as a continuous feature by the UK and North Carolina teams. The results of the experiment did indeed indicate that, firstly trust
is important to knowledge sharing and secondly tools like launhpad if used in a proactive manner can initiate contact between members of the group.
Overall my experience dealing with Laura and the rest of the Ubuntu community was extremely pleasant. I could not of asked for any more help or enthusiasm. It was a privilege to get an insight into a remarkable community.
This is an extract of some of the projects findings:
The project's findings clearly suggested the varying forms of trust. That initial conversations between members in the Ubuntu community did lead to greater curiosity of others.
This can then lead to a process where two individuals will get to know more about each other and strengthen the bonds of trust between them.
The project also identified tools as being very important within online communities in building familiarity and trust.
Correspondence and direct communication was identified as being the most important tool in which people will get to know one another and build trust.
The project results suggested that the availability of social networking tools in this case Launchpad was utilised by members as a means to gain more knowledge about other users. However it also suggested that this was after initial correspondence with that individual. Curiosity of others increased after correspondence with them. This would suggest that tools are very useful in the process of building trust and friendships in virtual communities.
Communities where there is little correspondence however may not benefit from this trust building processes and utilisation of community tools. This is where the project findings are so useful. They clearly suggest that by advertising members profiles can initiate curiosity in them. Traffic to the profiles and results of the survey indicate that this is the case. This can be an important initiative in implementing the trust building processes in communities and subsequently the sharing of knowledge. It can help drive the initial stages of a KM system and could become an important part of the familarisation and trust building process.
The building of friendships was indicated as being one of the main motivators of membership in open source communities and thus the free sharing of knowledge. Trust is a vital element in any friendship and therefore any tools that can facilitate this are very valuable in creating a healthy dynamic knowledge-sharing environment.
The findings imply that a proactive approach is needed within a community to initiate the trust building process, that although members desire to build relationships of trust with others they may need a push to do so.
Thanks to Barry for the update, if anyone wants to drop him a line here is his email address.
I’m a satisfied owner of a Nexus One (loving Android Froyo 2.2) and today I decided to try a (volume based) 3G plan by CoopVoce.
There are 2 options available: either buy a 3G usb key or simply use 3G directly from your phone. In the former case (which I wasn’t interested in) the usb key works with Linux and you can even download a QT based dashboard which is supposed to set up the connection for you and it works on Ubuntu, Fedora, etc. While this definitely was a pleasant surprise, the lack of instructions to configure your phone wasn’t as pleasant. The website suggests to contact customer service so that they can provide you with the right configuration for your phone (but it seems that they’re not ready for Android phones). Long story short, I decided to download the dashboard instead and explore its contents hoping to find something useful to set up the APN myself. My research was successful and I thought I would share my findings with you.
Enter the “Settings” tool, then select “Wireless & network settings” -> “Mobile networks” -> “Access Point Names” and add a new profile with “New APN”.
Fill in the fields below as follows:
Name: CoopVoce APN: web.coopvoce.it MCC: 222 (set by default) MNC: 01 (set by default) Authentication type: PAP APN type: default,supl
Note: I’m not really sure if MCC and MNC are actually useful.
Leave the rest unset. Save and select your new profile, then go back to the Mobile networks settings screen and select “Data enabled” to turn on your 3G connection.
Since this is mostly aimed at people who live in Italy, here’s the Italian translation:
Per configurare una connessione 3G con CoopVoce (web 500 mega nel mio caso) su di un telefonino con Android, entrare nel pannello delle impostazioni e scegliere la schermata di configurazione delle reti (“Wireless e reti”), poi quella per le “Reti mobili” e in seguito quella dei punti d’accesso (“Nomi punti di accesso”). Aggiungere un nuovo APN e riempire i campi come segue:
Nome: CoopVoce APN: web.coopvoce.it MCC: 222 (impostato di default) MNC: 01 (impostato di default) Tipo di Autenticazione: PAP Tipo APN: default,supl
Nota: non sono sicuro dell’utilità di MCC e MNC.
Lasciare il resto non settato. Salvare e selezionare il nuovo profilo e infine tornare alla schermata di impostazione delle reti mobili e attivare la connessione 3G abilitando il traffico dati (opzione “Dati attivati”).
Launchpad code hosting will be offline Friday between 8.00 and 9.30 UTC for unexpected hardware maintenance. This means you won't be able to browse, push to, pull from or otherwise access code hosted on Launchpad.
Launchpad code hosting will be offline Friday between 8.00 and 9.30 UTC for unexpected hardware maintenance. This means you won’t be able to browse, push to, pull from or otherwise access code hosted on Launchpad.
We are looking forward to the release of the next version of Ubuntu, version 10.10 the Maverick Meerkat. In the UK we have a tradition of release day parties and there are several in the planning stages already. As this release will be on 10/10/10 it turns out that is a Sunday, and we should in theory have access to the final iso images slightly before the release date itself. This means we have an opportunity to run installfests during the day of release. I am not sure how many installfests there will be, or where they will be, but if you are in the UK or elsewhere and want to run a installfest in your local library or wherever you can find, then feel free to use this poster design based on an awesome Meerkat photo. The low resolution version was already CC licensed on flickr, I asked the photographer about the high res version and when he heard it was for an Ubuntu poster he gave us the high res version under the same terms!
So if you want to use this you can check out the svg source and the bitmap image on Ubuntu with:
bzr branch lp:~alanbell/+junk/installfest
Then feel free to edit it using Inkscape (it looks a mess in the image viewer, but don’t worry, it is fine in Inkscape), change the time, date, LoCo logo (would be great if other locos around the world get value from this) and print it. You will need the Ubuntu font to print it properly, I am hoping the font will turn up in Maverick soon, but there is some doubt about that at this stage. You may be thinking that the orange is too orangeish, that is because it is the correct CMYK colours for printing which are quite a long way from the RGB colour specification (I have another blog post on that I am working on).
If you are in the UK and want to run an installfest near you then get in touch because I have an even better offer for you. Give me the details you want for the venue and time and I will print out a bunch of them and post them to you courtesy of our company The Open Learning Centre and the shiny new printer we bought today.
Ubuntu App Developer Week is a week of sessions aimed at enabling and inspiring developers to write applications that scratch their itches. Our goal is to give all attendees a taste of the wide variety of tools on the Ubuntu platform that can be used to create awesome applications, and to showcase some applications that have been created and explain how they were put together.
"When is Ubuntu App Developer Week?"
Ubuntu App Developer Week is scheduled for Monday, September 27th through Friday, October 1st, 2010.
"Where will Ubuntu App Developer Week take place?"
Ubuntu App Developer Week will take place in #ubuntu-classroom and #ubuntu-classroom-chat on freenode.net.
We are now looking for Sessions and Session Leaders. Do you have suggestions for a session or would you or someone you know like to lead a session for Ubuntu App Developer Week?
We’re currently putting together the timetable for Ubuntu App Developer Week at:
If you’re interested in helping others write good code, showcase interesting tools you use, share advice and answer questions, please don’t hesitate to get in touch with Daniel Holbach (daniel.holbach AT ubuntu DOT com) or me (akgraner AT Ubuntu DOT com) and we’ll sort out a slot for you.
I was thinking about this issue a lot. Games have a hard time on Linux with multiple sound architectures, different package management systems and not many ways to deploy their app easily. So the answers to these are use pulse audio, make a few different packages for different distros (which is expensive) or just deploy it on Ubuntu (which would piss off other distros) and deploying it at the moment is hosting it on your own website as a download.
In maverick we are getting a marketplace in the software center to sort out the deploying part and i presume thats going to have a centralized payment system so thats good for the game developers. My idea is that we can take this further. My idea is make something like like battle.net or steam (kinda).
Ok for those who don’t know steam is the payment management and distribution system for games and battle.net is just a payment management system for blizzard’s games.
So we have an SSO and now a marketplace, distribution and centralized payment system for maverick. Why not expose some info to games developers? The info that is needed depends on the game but if its something like WoW you would need the account info and if they paid for the game to log you in.
The idea is kind of a win win situation, the user wins because there is no login and its a simple system to handle everything for them and the developer wins because he doesn’t have to code a complex login system and he gets the payments handled too.
Unzip 5.x has an option -O to specific the encoding of file names in an ZIP archive, but when 6.0 is arriving with unicode support, that option disappeared as well. CJK users need special cares on support and conversion of obsolete encoding while they are switching to utf-8.
Here is my workaround about this problem, install p7zip and convmv packages on your system first, then: $ env LC_ALL=C 7z x file.zip $ convmv -f gbk -t utf8 --notest *
File names extracted by unzip are not able to be converted to correct one whatever you do with it, but what is done by 7z can be converted by convmv.
Moving more on, we can automate this action to a script: #! /bin/sh
LANG=C /usr/bin/7z x -y "$1" | sed -n 's/^Extracting //p' | sed '1!G;h;$!d' | xargs convmv -f gbk -t utf8 --notest >/dev/null 2>/dev/null
Save it us unzip.sh, then try: $ sh unzip.sh file.zip
This will act as what unzip does, but with additional care about converting file name encoding from gbk to utf-8. Moreover, convmv can detect whether your file name is already utf-8 encoded and will skip it.
If your file names are encoded other encoding, please replace “gbk” with the appropriate name.
We say we are “in” traffic, dramatising ourselves as a lone vehicle of noble and rational intent, with a sea of malevolent, deadweight antagonists stretching endlessly fore and aft. It was in a bid to highlight the flaws in this position that a German transport campaign erected roadside boards reading: “You are not stuck in traffic – you are traffic.”
An otherwise quite ordinary Guardian Comment is Free column on the latest Chinese super-traffic-jam points out something I’ve bloggedbefore: the exceptionalism of insulated, protected, self-absorbed car drivers.
We’re all traffic. Traffic is never “them”, it’s “us”, and that bears repeating in the (faint) hope it might eventually stick.
It has been a while since I have reviewed a manga book. This is one of several atypical educational books that use graphic art to help teach difficult concepts or illustrate the action. This is another wonderful entry in the “Manga Guide to…” series that I have been reviewing.
The Manga Guide to Molecular Biology follows the actions of a two students who failed their molecular biology class and have to take a special summer course. The story line is enjoyable and eases the reader’s entry into the topic rather than being a distraction.
The book covers all the main questions and topics you would expect: what is a cell, what are the common parts of a cell, how do cells combine to make various organisms, what are proteins and how do they function within a cell, what is DNA and what are genes and how do they work to express the information coded in them? My favorite part was chapter 5 which focuses on potential applications for everything discussed earlier and theorizes what the future may hold in the field.
I work in a software project that is helping biologists do research, including helping process the vast amounts of data that comes from genetic sequencing. As a result, I have become familiar with most of the content this book presents. I believe the book is accurate and it is clear. The story created to assist with that presentation is enjoyable as well. I have a seven year old daughter that is reading the book with great interest. Some of the science is above her grade level, but her attention remains fixed on the art and the story and she is absorbing some of it as she reads.
Overall, I would say the book is a success and recommend it without reservation.
Disclosure: I was given my copy of this book by the publisher as a review copy.
Tuesday next week is my last working day and I’ll be gone for three weeks, without laptop. If you have anything really urgent, talk to any members of my team, Michael or Ara, they know how to get in touch with me.
I’m very much looking forward to this one and happy to meet Mehdi of the LoCo team there!
Wow – I’ve already been amazed at learning about some of the great things happening with Ubuntu in Education. At every level, Ubuntu in schools and learning just makes sense. Yesterday I was pointed to this great map showing school deployments in Finland: http://bit.ly/amFiOO . Greece is right behind them and lots of schools in the US are reporting success using Ubuntu as well. The work is being done by both volunteers and Solution Providers.
The Andalusia deployment of over 200,000 systems is well documented and Amtron deploying 28,000 in Assam in northern India and Oxford Archaeology and Johns Hopikins and Oakland University and the list continues to grow. Next week I’m visiting a local school in my backyard of Houston, TX that has migrated to Ubuntu using Moodle and other open source SIS (Student Information Systems). The project lead is also the volunteer coordinator of the Moodle Core Contrib team. I had to travel out of town to meet him and learn about this great project. I’m really glad I did!
Next up, the Edubuntu team is still being driven by the unstoppable Jonathan Carter (highvoltage) and everyone is welcome to stop into #edubuntu and join the weekly meetings on Tuesdays to add your voice.
Who am I? I’m Dinda! I came into the world of open source and Ubuntu some five years ago b/c of my interests in Education and all things learning. You might have seen me around various projects but now I’ve taken on the temporary role of looking at everything related to “Ubuntu in Education” and creating some materials to help anyone who wants to use Ubuntu for learning. Are you a student? parent? educator? Sys Admin or IT staff at a school/University? Voter? Decision maker or Service/Solution Provider? What do you need to make Ubuntu a success in your school? Email me or add your comments here.
As I show in the video, once you have a nice svg (manually edited of course) you can use the script to nudge elements in it. Comment here if you think this is cool.