Bloggy

Posts - Page 28 of 37

Multiline QLabels + Layouts == b0rkage

I was wondering if anyone reading this happened to know why having a multiline QLabel in a layout causes the layout to completely break? For example, let’s say you’re creating a widget in Designer. Add a label, make the text nice and long, and make sure the format is set to RichText so that it actually takes up multiple lines. Then add something else, like a text edit widget, and lay them out however. When you preview the form, you’ll be able to resize it much, much smaller than should be possible. Change the text in the label to something short, and you won’t have that problem.

Read More

Fun in operating systems class

I haven’t blogged in awhile due to extreme business (such as midterm exams in school), but I thought it would be funny to demonstrate how important security coding is in some schools.

Read More

Gimme a free ride.

My wife and I went to the mall today with my sister. We saw one of my wife’s friends, who was wearing this kick-ass Legend of Zelda jacket. I asked him where he got it, and he said, “Hot Topic.”

Read More

Testing XML-RPC

Well here I am testing whether changing PyBlosxom to use the XML-RPC plugin is working or not. Now that it should be working, I can update my simple blog tool one of these days to allow me to blog without having to su to my stable KDE account.

Read More

Multiple (incompatible) C++ standard libraries.

JuK is one of the few KDE programs that relies on C++ libraries other than Qt and KDE. These libraries include MusicBrainz and libOggFLAC among others, and we seem to get users every so often (especially Gentoo users sadly. I use Gentoo myself, so I know their pain =D) that have managed to install two different standard C++ libraries, so that JuK uses the new ones but JuK’s C++ library dependencies use the old one.

Read More

Someone had to do it.

Well, I’m not dead. In fact, I’ve been quite busy the past 2 days trying to implement Roberto Alsina’s simple calculator idea in C++ for speed. It was complicated by the fact that I couldn’t simply call ‘eval str’ like Roberto and Zack, but I have my first version up at my website.

Read More