archive-org.com » ORG » I » INCISE.ORG

Total: 182

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • siding and window restoration of our 1950 house
    wasn t lead paint you can t scrape these grooved shingles maybe you could use a wire brush or something I don t know But the lead makes that moot We did not scrape or wire brush or anything In accordance with the Peel Stop Triple Thick directions we just painted right over the cracking peeling old paint This primer is like pudding It dries into a glue like substance that locks everything down The difference in smoothness and uniformity is pretty incredible even before paint is put on After one coat of Peel Stop Triple Thick thinned with 10 water This layer is actually the wrong color Ignore that After a second coat of primer unthinned window flashing 2015 style When the vinyl windows were put in few provisions were made for potential water leaks The J channel was caulked to the windows and that was it The windows were shoved into the wood rough openings some with the old rock lath plaster returns still in place and nailed screwed in If you spend a little time reading about proper window flashing you will realize that this is really unwise What if water gets behind the siding What happens when the caulk eventually cracks or separates What if the window itself cracks and leaks All of these things happen and you should be prepared for them to happen The window needs a diaper which is the sill pan flashing I flashed the sill and jambs with flashing membrane At first I was using Henry Blue Skin and some random Pella foil faced flashing tape which were fine but then I found some DuPont FlexWrap for cheap on craigslist and that was so much better for the sill It makes the corners of the sill both easier and more robust it just stretches around the corner in one continuous piece I made sure to fold up the back of the sill flashing to the interior stool trim making a backdam I did the best I could to integrate new pieces of roofing felt with the existing sliding it sideways behind the shingles and old felt Vertical seams are hard to seal in an ideal way without tearing off a bunch more shingles so I did the best I could within reason The felt goes on after the window flashing and laps over it Everything goes on from bottom to top overlapping shingle style Window flashing complete this is a different part of the house window trim 1950 style With the windows now properly protected they needed trim We don t have any of the original trim to study but there are a lot of similar houses around the neighborhood so we made a very safe guess that the trim was originally a sloped 2 by sill with brickmould around the sides and top mitered at the corners We decided to steal a feature that only some of these houses have window trim that wraps around the corners of the house

    Original URL path: http://incise.org/siding-window-restoration.html (2016-04-30)
    Open archived version from archive


  • mpris-remote
    varies wildly between these different players but mpris remote tries to work around that as much as possible Some players don t report status information some don t support metadata etc Code is at github It s a Python script and doesn t require any building or installation Just put it somewhere in your PATH It does depend on the Python D BUS module git clone git github com mackstann

    Original URL path: http://incise.org/mpris-remote.html (2016-04-30)
    Open archived version from archive

  • tinywm
    screen most people only have one screen but not everyone if you run multi head without xinerama then you quite possibly have multiple screens i m not sure about vendor specific implementations like nvidia s many probably most window managers only handle one screen so in reality this isn t really that naive if you wanted to get the root window of a specific screen you d use RootWindow but the user can also control which screen is our default if they set DISPLAY to 0 foo then our default screen number is whatever they specify foo as root DefaultRootWindow dpy you could also include keysym h and use the XK F1 constant instead of the call to XStringToKeysym but this method is more dynamic imagine you have config files which specify key bindings instead of parsing the key names and having a huge table or whatever to map strings to XK constants you can just take the user specified string and hand it off to XStringToKeysym XStringToKeysym will give you back the appropriate keysym or tell you if it s an invalid key name a keysym is basically a platform independent numeric representation of a key like F1 a b L 5 Shift etc a keycode is a numeric representation of a key on the keyboard sent by the keyboard driver or something along those lines i m no hardware driver expert to X so we never want to hard code keycodes because they can and will differ between systems XGrabKey dpy XKeysymToKeycode dpy XStringToKeysym F1 Mod1Mask root True GrabModeAsync GrabModeAsync XGrabKey and XGrabButton are basically ways of saying when this combination of modifiers and key button is pressed send me the events so we can safely assume that we ll receive Alt F1 events Alt Button1 events and Alt Button3 events but no others You can either do individual grabs like these for key mouse combinations or you can use XSelectInput with KeyPressMask ButtonPressMask etc to catch all events of those types and filter them as you receive them XGrabButton dpy 1 Mod1Mask root True ButtonPressMask GrabModeAsync GrabModeAsync None None XGrabButton dpy 3 Mod1Mask root True ButtonPressMask GrabModeAsync GrabModeAsync None None for this is the most basic way of looping through X events you can be more flexible by using XPending or ConnectionNumber along with select or poll or whatever floats your boat XNextEvent dpy ev this is our keybinding for raising windows as i saw someone mention on the ratpoison wiki it is pretty stupid however i wanted to fit some sort of keyboard binding in here somewhere and this was the best fit for it i was a little confused about window vs subwindow for a while but a little RTFMing took care of that our passive grabs above grabbed on the root window so since we re only interested in events for its child windows we look at subwindow when subwindow None that means that the window the event happened in was the same window

    Original URL path: http://incise.org/tinywm.html (2016-04-30)
    Open archived version from archive

  • whimsy
    someone to implement tiling in whimsy but it seems that that niche has been filled pretty well so I doubt it would be worth it screenshot Well there s really no point Whimsy doesn t draw any window borders or anything else usage Quick start wget http incise org files dev whimsy 0 1a1 tgz tar zxvf whimsy 0 1a1 tgz sh whimsy 0 1a1 fetch python xlib sh mv Xlib whimsy 0 1a1 export PYTHONPATH PWD whimsy 0 1a1 PYTHONPATH python whimsy 0 1a1 config py If you have a window manager running then you ll get an exception saying so You will need to kill your window manager and or start up a new X server and or edit your xinitrc or xsession file Due to its early stage of development I do not recommend using whimsy as the final blocking command in your xinitrc or xsession as this will cause your whole X session to die if whimsy does What I would do is put this in its place export PYTHONPATH path to whimsy 0 1a1 PYTHONPATH xterm while true do sleep 1000000 done That way when X starts up you ll be greeted with a terminal with which to start whimsy python path to whimsy 0 1a1 config py and your X session will run forever As you can see you actually run your config file In that sense whimsy is almost a library or toolkit and your config file is a little script that uses it As long as you keep the top level whimsy directory in your PYTHONPATH you can put your config script anywhere and call it anything It will just need to import whimsy base config You can also check out my personal config script example config py and run it like this python whimsy example config py Running it inside of screen is a decent idea so if it crashes you can switch to a virtual console and re attach and see what went wrong and start it up again You could also install python xlib via your package manager although Whimsy is developed against python xlib s svn trunk so you could potentially have compatability problems with older versions of python xlib default interface The most important things you will need to know are Alt left click will move a window Alt right click will resize a window Ctrl Alt X will open an xterm Beyond that you can view the default key mouse bindings in config py My own personal config file is example config py There are no window borders decorations There is support for viewports large desktops which are basically like virtual desktops but are physically linked in that a window hanging off of one will show up partially in the next instead of each desktop being its own isolated little world Desktops are implemented by hiding showing windows Viewports are implemented by moving all windows over by one screen s width or screen s height There

    Original URL path: http://incise.org/whimsy.html (2016-04-30)
    Open archived version from archive

  • corn
    but scans it lazily so importing music and beginning playback is fast Is fairly small and simple especially for a program in C around 2000 lines of code useful links download build install instructions compatible programs utilities libraries API reference bug tracker discussion mailing list Corn is a fork of Quark never asked but anticipated questions don t have a dbus session bus running If you use startx with a smaller window manager instead of a full blown desktop environment you may not have a dbus session bus running The system bus dbus daemon system in your ps output will not do it is not for communication between user apps To get a session bus running put this in your xinitrc if test z DBUS SESSION BUS ADDRESS then eval dbus launch sh syntax exit with session fi selecting an audio driver For me libxine by default tries to connect to a pulse audio daemon with a timeout which caused a startup delay for corn But corn has its own xine config file which is at config corn xine config You can just symlink it to xine config if you want corn to use the same libxine settings as the

    Original URL path: http://incise.org/corn.html (2016-04-30)
    Open archived version from archive

  • py-libmpdclient2
    Python library to make it easier to write XMMS2 and MPD clients pbmpcd Bemused MPD bridge Kanola An MPD client for KDE Pygmy GTK MPD player pympd A frontend for MPD in the style of Rhythmbox and iTunes lastfmsubmitd A replacement for the traditional Last fm plugin model Sonata A lightweight GTK MPD client Babik A simple MPD client built on Django Openbox3 MPD pipemenu script This script which does

    Original URL path: http://incise.org/py-libmpdclient2.html (2016-04-30)
    Open archived version from archive

  • searching for a good grep
    10 20 Filtering files and general usability grep grep did not have the exclude dir option until version 2 5 3 That was released in 2007 or 2008 it s surprisingly hard to track down the date but Ubuntu 10 04 is still using grep 2 5 1 In light of this and to be fair to grep with regard to any recent performance enhancements I installed the newest 2 6 3 package from Launchpad Now that I had the exclude dir option available to me I had a lot of trouble with it If you tell it to ignore any dot directories and you then pass as the directory to search it will immediately exit without having done anything It might seem obvious why when I state it that way but I was truly baffled for a little while One solution is to pass pwd instead of But now all of the filenames in your search results will have their full absolute path shown and that s usually quite long and ridiculous to sift through Another solution is to never ignore but rather ignore specific names like git and svn You can even ignore almost every dot dir you ll encounter in the real world by using exclude dir a zA Z0 9 This will fail if a dot dir starts with anything other than an ascii alphanumeric character but it should be good for the vast majority of cases By the way and mysteriously do not work For me they prevent grep from recursing I don t understand that at all It may be some weird artifact of the options grep is passing to fnmatch grep also fails to exclude a directory glob that looks like this I m not sure why this happens either Beyond those issues grep unlike ack and grin has a pretty complete set of options for excluding files and directories There are some other issues with grep You probably know about these They all mostly have solutions now Regex syntax is limited Solution use E or P No coloring Solution use color auto Annoying error messages on broken symlinks and other filesystem oddities Solution use s grin I ve had a couple issues with grin over time The first is a lack of a w word option You can simulate it by doing bpattern b but that s pretty tedious The author did not seem very interested in implementing this feature when I asked ack and grep have it My other issue with grin is well known by the author setuptools installs scripts indirectly the scripts installed to prefix bin or Python2xScripts use setuptools pkg resources module to load the exact version of grin egg that installed the script then runs the script s main function This can add substantial startup overhead If you want the response of grin to be snappier I recommend installing custom scripts that just import the grin module and run the appropriate main function From the grin PyPI

    Original URL path: http://incise.org/searching-for-a-good-grep.html (2016-04-30)
    Open archived version from archive

  • Android Development on the Command Line
    android update project Before running android update project you need to find out the ID of the target you want to use for your project Run android list targets and find the ID for your target Now run android update project target your target id name your project name path path to your project It will populate your project with build xml and local properties It ll also say that it s updating default properties but it left it unchanged for me Bonus tip If you want to avoid Eclipse completely and start your project from scratch on the command line you can simply run android create project with the target name path activity and package options populated appropriately This is the more direct route instead of starting a project in Eclipse and then later running android update project like I did Building and Installing This part is simple See ant help for more details ant compile will compile your code and re generate R java ant debug will do the above plus build and sign a package apk file ant install will do all of the above plus install it to the emulator phone Automated App Launching I don t like Eclipse but I do like that it automatically launches my app on the emulator when I build it It took some asking in IRC to figure out how to do this but here it is adb shell am start n your package name YourActivityName So a full build run command might look something like ant install adb shell am start n your package name YourActivityName Watching Logs See what your app is saying with adb logcat Ctags for Autocompletion Install exhuberant ctags and run ctags R src gen in the root of your project to generate a tags

    Original URL path: http://incise.org/android-development-on-the-command-line.html (2016-04-30)
    Open archived version from archive



  •