Have you ever faced the need to rename a file and do a search and replace to adjust all places where it is referenced? For example if you are a C++ developer you may want to rename foo.h and foo.cpp to bar.h and bar.cpp, but you must also replace all lines which says #include "foo.h" with #include "bar.h" in other source files… and don’t forget updating the build system files as well!
This is not really difficult, but it’s tedious and error-prone.
Enter msrp, Meta Search and Replace Program, a handy command-line utility designed to do search and replaces in both file contents and file names. In my example, renaming foo.h and foo.cpp to bar.h and bar.cpp can be done with this single command:
msrp foo. bar. src/dir/
Note that I escaped the ‘.’ in “foo.”, because msrp supports Perl 5 regular expressions.
What makes msrp even more useful is that it is VCS aware: If I replace the previous command with:
After a few years of silence around MCNLive, here we are again with a brand new MCNLive release, based on Mandriva 2010.0. It won't have all the nice features you might remember from MCNLive, but the most important things are there.
So, it's been a pretty crappy year so far hardware wise. My Vaio's headphone jack and 'a' key are broken, so it's been in for repair (and Sony, you're taking an awfully long time to repair relatively minor damage. It's been in since the 22nd of Febuary now...), and as of this weekend we just had, one of the hard drives in my desktop RAID died. All this is kind of inconveniencing my development efforts, which is annoying, but I'll survive.
I'm going to be buying another two to replace both of them, of course, as I don't want to put all my trust in the remaining drive not falling over.
On the subject of hardware, anyone got any recommendations laptopwise? I'm probably going to be replacing this Vaio soon, as it's just over a year old now and keeping it much longer will lead to depreciation - not a good thing.
I'm after a fair bit of power, seeing as I like compiling things like Qt every once in a while (not to mention KDE), and ...read more...
This weekend, I went with bokunenjin to the 100.tea.bowls exhibit hosted by The Art League which lives in Old Town Alexandria’s (VA) Torpedo Factory. The quality of tea bowl styles, purposes, and quality varied, but we were both impressed with some of the available pieces. Most of them were also very affordable! There were several I would have loved to purchase and bring home with me, but I settled on one particular piece. This bowl was done by artist Jennifer Dinkelmeyer.
Although the piece was unnamed, I will call it Koi Pond. The colors and bumps around the outside of the bowl remind me of koi gliding under the water and occasionally breaking the surface in search of food. The black base color of the outside and inside of the bowl reminds me of cold, dark, and muddy water. Perhaps this bowl could be a metaphor for that first walk after winter through the garden to see and feed the koi.
Hello dear KDE community. It's pretty much you do not hear from me. I finally finished my exams and now I'm working at my thesis project. You'll hear about it as soon as I graduate since I'd like it to be useful to us. But I'll talk about it later on, in a dedicated post.
The "call for devs" I'd like to talk about is about two projects. The first one is about the Media Center project for the Plasma Shell. Unfortunately I couldn't manage to write code anymore for it and it is still there hanging on svn. I placed a README file in order to clarify what the current status of the project is. Nice features got implemented but many need to be tested and written still. That's why we have two GSoC ideas (and other in my mind might probably be added to the list) that should interest you (or some of you :).
Being an Arch Linux user, I know how helpful a good wiki can be. Userbase, however, has never felt like the wiki for KDE software users to me. Don’t get me wrong – I very much appreciate the work of the Userbase contributors – but being part of both communities, I see a clear difference in how both wikis are used.
In the Arch community, it’s common praxis to check the wiki before asking a question. Many users also contribute to the ArchWiki by adding content, translating pages and whatnot.
The number of Userbase contributors are growing, but getting on the top list is still very easy – a few edits will do. The wiki is still unknown to a large part of the user base; it doesn’t feel like the natural place to seek and add information about KDE.
Now I’m not going to just sit here and complain. It’s time to do something about this, and I’ve decided to put some time and effort into Userbase once I’ve ...read more...
Yeah, finally, this marks the end of a rather long line of beta’s. The first one is more than a year old! But it also means we’re finally getting closer to a 4.0 release. Now its time to go through the open bugreports for KDevelop and KDevPlatform.
Packages are available as usual on the KDE mirrors. Make sure to get the latest one as I had to do a silent update on sunday evening (forgot to increase the version numbers, really sorry), the md5sums are: 4b0b9bb343da46ead3ae9632a0bd9ce9 kdevelop-3.9.99.tar.bz2 180ee3573bd3d5ba805acc17d44fcbab kdevplatform-0.9.99.tar.bz2
/me loves constructive criticism and nice ideas. I think I have several times guided some development through my blog in order to try to accomplish the maximum number of people ideas and suggestions.
This time is not an exception. Eike put onto the table something I was already aware, and something I wanted to fix, so his comment just pushed me what needed.
However I feel the need to explain why I won’t make headers clickable as before (unless you have a very good reason that will convince me .
1. On the rewriting of KCategorizedView now the “header” is “everything”. Have a look at System Settings. You will notice the “header” is covering the whole area of elements in that block. In case we have such a “category drawer” (as it is called in the code itself), how can we “draw” it to say “hey you are going to select the whole group”. Imagine you could select several items in System Settings (you shouldn’t, despite in 4.4 SC it is possible), how could you ...read more...
On Feburary 18th, Tehran Linux Users Group gathered in Cafe Prague (a nice cafe in Tehran) to celebrate KDE SC 4.4's release.
We had so little time to arrange everything and there were shortcomings, but it wasnt bad after all.
We gave a piece of [KDE] cake to everyone present at cafe, with a paper describing what FOSS is. Too bad we hadnt time to burn live discs so they can really try it immediately.
Also, at the end, we created a very little KDE domino. Not that we are good at it or something, it was just fun. It was our first time and it didnt collapse as beautiful as what we saw on TV. Maybe a bigger and better one next time ;)
I would thank Behnam, for helping me out with all stuff and Abbas, who was my partner on domino project ;)
I recently realised that much of the code I find interesting is about interoperability. That is, I'm interested in making sure we can get at data in a range of formats. Work on libtiff, poppler, okular generators and openchange are all examples of that. I also like Qt as a very nice cross-platform API. The convergence of those interests is having Qt-style libraries and tools that can get access to data, especially data in widely used proprietary formats (e.g. those produced by Microsoft products).
Since Google Summer of Code is coming up again very soon Sven, Phil and I will be doing a short info session at the University of Karlsruhe on Thursday at 4pm in room HS -101 in building 50.34 (Infobau). We’ll be giving a short intro to GSoC and tell a bit about how GSoC works in KDE and Debian and of course answer lots of questions. If you’re planning to apply this year you should definitely show up Please drop me a short email if you want to attend at lydia at kde org.
If you’re not in Karlsruhe or anywhere near there are info sessions in other cities around the world listed in the GSoC calendar.
hi guys , im Roozbeh Shafiee (ROSHA) and one of chakra project developers , finally today with helping Jos Poortvliet my blog has been added to planet kde , after this you can find my graphic stuffs and also topics about gnu/linux , kde and archlinux in this blog
If you’re reading this via Google Buzz then this post was brought to you by Wordpress, Identi.ca, Twitter and Google. That’s either impressive or horrifying…
Social Media confusion, by Damien Basile under CC-by-sa
Social Media tools suck
On the one hand, it’s kind of nice that interoperation is possible at all, but on the other it’s a silly chain with many unnecessary points of fail. I can use Wordpress to blog and that plays quite nicely with Identi.ca – I can syndicate the posts to Identi.ca and likewise list my dents here – things talk to each other. I can also syndicate from Identi.ca to Twitter, but Identi.ca (and therefore I) know nothing about replies at Twitter. From Twitter posts get passed to Google Buzz, but I know nothing about what happens there unless I happen to log in to the GMail web ...read more...
Last time I blogged about open positions in the SUSE Studio team we were just preparing the first public alpha of SUSE Studio. We were excited about our application, but we didn't know what users would say. Now we are running SUSE Studio Online with more than 50.000 registered users. We have released an onsite version as part of the SUSE Appliance Toolkit, have won awards, and we get a lot of fantastic feedback. We have achieved a lot. To sustain this growth and success we are looking for some smart people to join our team. This could be you.
We love to learn, we like challenges, and we are passionate about great user experience. We are a tightly knit team of a diverse set of people spanning the whole range of development, from user interface design ...read more...
I am very happy to blog again about KDE. Here I come with an old feature with a new face. I will hopefully come soon also with some Bluetooth updates, since I am working on a KCM for it, but it deserves another post entry when it is in shape and happy with it.
In KDE SC 4.3 I did some work for KCategorizedView to select several items by clicking on the header of the group. You could also unselect items, but that wasn’t so easy to discover. I later rewrote KCategorizedView internally to have a much better and clear structure. It was missing one feature: this kind of “grouping” selection. Todd wrote a patch for not losing this feature for KDE SC 4.4, which got into the review board and got into trunk. Nowadays KDE SC 4.4 has this patch.
I really had no time to review this patch, and I am the only guilty for this patch not being ’so good’. And I say this because of two main reasons:
Speaking with maelcum on #kde-devel we found out that KDE web shortcuts are a bit out of date since for example they don't have yahoo nor bing so we thought updating the list of KDE web shortcuts would be a good entry project for someone that wanted to start contributing to KDE.
You can find the current list of KDE web shortcuts at http://websvn.kde.org/trunk/KDE/kdebase/runtime/kurifilter-plugins/ikws/searchproviders/
Once you have a proposal come to #kde-devel in irc.freenode.net and hunt for maelcum or me (tsdgeos).
Some of you might remember that I graduated in october 2007. I finally managed to get the paper version of my diploma yesterday… Yes, more than two years after the facts. The best part is they managed to insert a typo in the title of my thesis on the diploma, so it seems I worked on "mulit-agent systems" and not "multi-agent systems", why not after all.
Let’s talk about some more interesting information now. I remember when I graduated that some people out there would have loved to get an english version of my thesis. If you’re one of those people, I have a good news for you. Just after graduating I worked on a long paper which covers the most core parts of my thesis, and adds some more information about a potential use in information search. This paper got accepted and published in the Journal of Logic and Computation issue of October 2009 (yes the review process is kind of slow).
If you’re interested in it, you can find more information about it in the ...read more...
I’ve read through a lengthy thread in the official Meamo forum (it’s so long, I even forgot how I even got there *g*).
Basically it says: The Symbian Foundation and Nokia with Maemo (now MeeGo) are building two widget sets on top of QGraphicsView – while both are called Direct UI, they are entirely different (I’ll refer to them as SDUI and MDUI from now on).
Symbian Foundation employee Mark Wilcox is the one who seems to see the seriousness the most that it’s totally braindead to have incompatibe widget sets. Ironically MDUI seems to be the portable one. Hopefully the Foundation understands the problem now and throws away SDUI and adopts the MDUI library for Symbian.
Too bad neither project adopted the already shipping QGraphicsView widget set KDE Plasma, but since Plasma was never written with Symbian compatibility in mind, it may be not ideal anyway. If I didn’t miss anything, MDUI already runs natively on desktop Linux (because it’s mostly developed on it) and uses the DE’s theme. If true that’s good ...read more...
You really don’t want me to tell you where to put them, as you might not like the answer. However, with KDE, you can put the buttons wherever you would like Daviey, Mike, and everyone else.
No need for some confusing application or editor, simply configure the location of the buttons as you would like them to be. You can drag stuff where you want, click apply and test the results. Tweak until you are happy.
Over the last few weeks I’ve been working on getting Grantlee finally into a releasable state for a 0.1 release.
Part of that has been to change the Granltee::Engine to not be a singleton anymore. Engine was a singleton because it managed plugin libraries which may be accessed my multiple Template objects at the same time. When the Engine was deleted it in turn deleted all plugins it had loaded. That worked fine when Engine was a singleton, but after this change I was getting multiple deletions when using multiple Engines.
It turns out that QPluginLoader maintains its own cache of plugins and only loads them once. Great! The only problem is deleting the plugin. My first thought was to put the plugin in a QSharedPointer. As that is reference counted, it would delete the plugin when nothing refers to it anymore.
If you're running lucid with the latest updates be sure to try click n' drag the window from anywhere in the top dark area. In other words, the windeco and menubar are both dragable now. Thanks go to Cody Russell!
Those that were at either CampKDE or FOSDEM might already know, so for those this is a status update, for the rest: I've been working on a tool that makes it quite easy to create packages in the openSUSE build service, which despite the name can create binary packages also for other distributions than openSUSE.
Those that were at either CampKDE or FOSDEM might already know, so for those this is a status update, for the rest: I've been working on a tool that makes it quite easy to create packages in the openSUSE build service, which despite the name can create binary packages also for other distributions than openSUSE. If you've ever gotten a mail asking for a binary package of your application or help with a compile problem, this could make your life easier.
For example, imagine Joe Developer, who has written his KFoo application, uploaded it to http://kde-apps.org and is now watching what happens. But, alas, instead of thanks and praise, what often happens is that the first comment is something like "I get this compile error, can you help?" or "Are there packages for Kubuntu?".
It may be quite easy for Joe to see that the compile error is caused by libbar-devel not being installed, but how is he to know what the package is called in other distributions? The same way, how is he to provide binary ...read more...
During this week, Boudewijn is hosting Sven, Lukas and me for a Krita hackfest, dedicated to bug fixing, performance, UI improvement. Among the major improvements brought by that week are improvement in the memory consumption, thanks to a collaboration between Dmitry and me, where I did some tracking and experimentation, and he found the actual problem. This fixed has allowed us to go from 2 minutes of drawing to exhaust my 2GB of memory, to make it possible to paint for more than 30 minutes, there are still some issues that need to be found and fixed. In the area of performance, Lukas have improve the performance of the flood fill by 60%, and I have reduced the time needed for some gradients by six (the other types did not seem to have the problem), unfortunately those improvements are not really visible, for some reason Krita currently spend a lot of time recompositing the image. While Boudewijn and Sven have been working on a scratchpad, as a new way to test new brushes settings, and working on ...read more...
There is a bunch of code out there (which can be copied and pasted) to grab the acceleration values from Nokia N900. Here I contribute one more, it's Qt-based and using the QtDBus module. The values in x, y, z will have the unit of G.
As usual, error checking is omitted (left as an exercise for the reader). Like Star Wars, there is also a reason I skip the first 3 QStrings. Debug it yourself to see what you would get. In addition, I found out that at most it would take 25 ms to grab all three values. It means, if you run your application at > 40 fps, then better put this function is a separate thread. Actually, consider that you don't want QDBusPendingReply::waitForFinished() to block your entire GUI, this is likely a good idea ...read more...
For the last 10 years, I’ve used zx2c4.com for my e-mail, and have had it forwarded to whichever provider I was using, which most recently happens to be gmail. Ten years ago, it seemed like a good idea to have “catch-all” e-mail, whereby anything you put at zx2c4.com would be sent to me. This was great for a while, and on every site I would visit that required an e-mail, I’d give them a new one. JasonHatesWhenNikeDotComSpamsHim [at] zx2c4.com I would use for nike.com, and then I’d know for certain if they ever sold my e-mail address. For more serious sites, I would just use their site name or something easy to remember about their site. For personal communications, all my friends knew this quality of zx2c4.com, and would send things to anything they wanted — YouAreAGoofBall [at] zx2c4.com, for example.
This was all fun and games and helped filter out some spam throughout the years, but it seems like it’s time I settle down on one e-mail address. I would also like to find a different domain than zx2c4.com ...read more...
My wife as well as my sister are looking for a small notebook or a netbook. I did a quick research to find a proper gadget to run KDE on it. I made good experiences with Lenovo, so I started there. One thing was clear to us all: We don't ever gonna pay for a Windows whatever version.
It seems that Lenovo has a "close relationship" with MS. No refund for MS operating systems possible. :-(
Same situation with some bigger vendors and reseller. Lenovo UK wrote in their mail about an agreement with MS only to ship windows with their machines.I have to admit: I'm shocked. Windows only systems where ever you look.
I didn't knew if I should laugh or cry as I read the Lenovo slogan "New World. New Thinking."
Hey European Commission! Wake up! After your success against Microsoft in the browser war here is your next goal: Every computer (esp. notebooks) should be available WITHOUT operating system. The price should be reduced by the cost of the OS.