duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/mvp-with-pyqt-with-a-model-layer
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. MVP with PyQt. With a Model layer. Some of the peer. Feedback I received on my MVP for Qt (PyQt and PySide). I think, actually, that I can resolve this. It is a Model. And it can contain as many classes as you want. Including one per tab. It has a handler for each message that the main window can send, and it knows about the entire main window. This makes it very easy to pass data from any part of the main window to any other part. Class Presente...
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/bootstrap-directory-index-skins-for-apache-and-ngnix
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. Bootstrap Directory Index Skins for Apache and Ngnix. This is how you can get nicer directory indexes in Apache and Nginx. First, have you ever used h5ai. Here are solutions for Apache and Nginx. In both cases, I assume that you have “user directories” turned on, using the default settings. For example, dugan/public html/blah.jpg will be served as http:/ SERVER/ dugan/blah.jpg. You have the following HTML file,. Div /div /div script (function () ...
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/a-pyqt-implementation-of-jquerys-promises-and-deferreds
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. A PyQt implementation of JQuery’s Promises and Deferreds. I tried to implement jQuery’s Promises and Deferreds in PyQt. I was moderately successful. The use case here is chaining QNetworkAccessManager. Calls When you have the name of an artist, it takes two calls to fetch the artist’s photo from last.fm. The first call fetches a reply that has the image URL. The second call fetches the image. In the above, getUrl and fetchArt are both callbacks.
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/writings/slackware/on-an-asus-a8js
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. Slackware 12.2 on an Asus A8JS. My Asus A8JS is my third Linux laptop. My first was a Toshiba Satellite 310CDS. My second was an IBM Thinkpad T23, and my experiences with it are documented elsewhere on this page. Here’s what you need to do to set up Linux (in this case, Slackware 12.2) on an Asus A8JS. Downloading the NVidia video driver and having it handy (on a USB flash drive, for example). Boot back into Vista. Install EasyBCD. Support for tr...
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/project/video-editing/lamppost-productions
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. Work I’ve Done With Lamppost Productions. Dog Training: A Guide To Lasting Relationships. For the first day of shooting. I did the compositing and motion graphics, including a 3D logo animation and a massive amount of greenscreen removal. That includes all of the following special effects shots:. The following sample, for example, I cut down from a fairly long paragraph. It contains about six splices. See if you can spot them.
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/writings/slackware/timidity-slackbuild
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. Getting MIDI working in Slackware isn’t as easy as it should be. Here’s a simple solution. I’ve tested it on a full install of Slackware 13 that had no installed packages other than what came with the CD. 1 Download the SlackBuild. TiMidity SlackBuild.tar.bz2. Untar it. You now have a directory called “TiMidity SlackBuild”. The following files go in the TiMidity SlackBuild directory:. TiMidity -2.13.2.tar.bz2. Eawpats12 full.tar.gz.
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/project
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. These pages documents projects that I’ve completed. Last revised on February 16, 2011 by Dugan Chen (thed .
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/writings/linux/on-a-t23-thinkpad
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. Linux on an IBM T23 Thinkpad. Yes, I still have my T23. It’s in a closet. I no longer use it for day-to-day computing and therefore have not updated this page in ages. The information is still true, though. That has got to be one of the worst help documents EVER, totally worthless. Also, I’m aware of an Ubuntu Forums thread. So you bought an IBM T23 Thinkpad. Notes on Sound Support. The official instructions for setting up ALSA with the T23’...
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/mvp-for-qt-pyqt-and-pyside
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. MVP for Qt (PyQt and PySide). I took my PyQt implementation. Of Michael Feather’s Humble Dialog box example, and I refactored it into a Model View Presenter implementation that fits PyQt and PySide better. I’ll show you the code first, and then I’ll discuss it:. The code, filter chain.py. The code itself is PyQt, but the discussion below also applies to PySide. First, I replaced the QListWidgets. Changes are as follows:. The View is more Passive.
duganchen.ca
Dugan Chen's Homepage
http://duganchen.ca/project/video-editing
Dugan Chen's Homepage. On a T23 Thinkpad. On an Asus A8Js. For a period of my life, I was into video editing. These are some of the things I’ve done. Last revised on February 18, 2011 by Dugan Chen (thed .
SOCIAL ENGAGEMENT