Mario Fux
About Fellow No 1's life
KDE work day 2 – git and lugo
So good morning dear readers. It took a long time for this new and next entry of mine about my kde work days. But I’ve an excuse. I moved – and the new and better internet connection starts to work from the 19th of August. Till then I’m online only when I’m in the office and on some swiss train stations occasionally. It’s now more than two or three weeks since the last entry and I want to start right on about some stuff I did or tried.
Last Friday I started a serie of programming courses at my local LUG (the LUGO – Linux User Group Oberwallis). I’m not yet good in developing with Qt and KDE but I tought that I could give and share my new knowledge with some other LUG mates as I go on. And we already were a group of four people increasing in the next course. There are some spare notes and nine slides of a short presentation. Probably I still write some text of what I told them. But the course shall and will be quite interactive as we are all on different knowledge. So if and when you’re in Switzerland and speak German visit us. The next course is on Friday, the 10th of September 2010. Oh and btw. This Friday, the 13th of August, we have another general meeting at our LUG with some presentations about Linux on different devices (and of course a short presentation by me about KDE mobile) and somehow an integrated release party for KDE SC 4.5.0.
Then I read and tried some of the git stuff in the last weeks. As the projects grow (more than one file) and version control system begins to make sense and which could be better suited than git (no flame war about vcs please – I’ve choosen git because Qt already switched to it and KDE will finally switch to it in the next months). So here is a short summary and listing of some git commands:
- "man git-log" or "git help log" to get information about the git log command
- "git init" in a directory to create and initialize a new git respository
- "git add ." to add the current directory to the cache (index) and
- "git commit" to finally commit it
- "git commit -a" to commit all new changes without explicitely adding them
- "git diff –cached" to see the changes and
- "git log", "git log -p" or "git log –stat –summary" to view the history
- "git branch <newBranch>" creates a new branch and
- "git merge <newBranch>" merges it with the master branch (what a surprise 😉
- "git clone <localOrRemoteUrl> <newName>" clones another repository
- "git pull <otherRepo> master" merges the changes of the otherRepo with your master and
- "git fetch <otherRepo> master" does the same without merging
- "gitk" is a graphical history and diff browser for git
All the stuff I read or learned is from the gittutorial and git documentation (aptitude install git-doc on a Debian system ;-).
As you probably already noticed I’m somehow interested in semantic and natural language stuff. Some months ago I asked some friends of mine to send me five to ten (5-10) sentences in natural (human) language about searches they want to do on their computers. Something like: "show me all the text documents I worked on last week and tagged with ‘project X’". So here is a wish to you or job for you: Send me some such natural language query (english or german, probably some french once, that’s all I speak and understand ;-), preferably from collegues or friends who are not power users but normal computer users. I want to analyse them and try something out.
As this blog entry is already longer than expected I want to add some information about myself. You should now my name and that I like (or love?;-) free software and thus KDE. I’m 31 years old, life in Switzerland (grew up in the south of it and life now somewhere in the middle (who knows where and read the last entry?;-). Eleven years ago I finished my schooling as a primary school teacher but decided to study which I hope to finish in the spring of 2012. My major at the university is education and social education and the minors are computer sciences (with a special interest in AI and semantic web engineering) and computational linguistics.
And to end this entry. There is a new Qt technology coming up about the semantic web and desktop: QtSparql… (but Soprano is worth a look as well to say the least) and soon you’ll find here more information about Konqi the dragon…