[os@livejournal:/home/os]$
finger orangesquid
[ tail ]
[ ls ~os/ ]
[ ls /home/ ]
Viewing 0:-25 recorded in
orangesquid's LiveJournal:
[ << item -= 25 ]
|
(Friday)
17 February 2012
|
|
[201202171232]
|
|
|
(Monday)
27 December 2010
|
|
[201012272309]
|
web-scraping script for cacti (or anything, really) modified for motorola surfboard 5120 (since comcast "helpfully" disables snmp)... ( surfboard5120.pl )
|
|
(Saturday)
27 November 2010
|
|
[201011270717]
|
So I have this bottle of Kraft Original Barbecue Sauce. A label on the neck says "Better Tasting!" Better tasting than what? It doesn't say "other brands", "other sauces", nor anything at all, for that matter. When "better" is used without an explicit referent, it typically implies something is better than before; e.g., if you've been sick, afterward you'd say, "I'm better." So, if this is Kraft's *ORIGINAL* barbecue sauce, but it's "Better Tasting," . . . I guess before an "original" of some sort, there is nothing of that sort. I guess they mean that it tastes better than when Kraft didn't sell barbecue sauce, so people squirted out absolutely nothing all over their steaks?
|
|
(Monday)
8 November 2010
|
|
[201011080339]
|
pseudobase-prime and the squid operator, revisited
required readinggnu-bc implementation for the squid() operator follows: ( Read more... )Yes, it really does construct a sieve of eratosthenes each time, and you do have to manually have to track the upper bound of how many primes to use in the table (returned from num2p, passed into p2num). It's just a quick hack, but I think it's still faster than the shell script version (see "required reading" link).
|
|
(Wednesday)
20 October 2010
|
|
[201010200124]
|
wireless status display in pork aim client
pork (a console AIM client) has no built-in support for displaying whether a user is on a mobile device or not. This can get rather frustrating. I wrote a patch against pork 0.99.6 (the version I was using.. I don't have a patch that works against 0.99.8.1, the latest version, yet) that will display a "flags:" line in the /whois (which shows the symbol []' to represent a box with an antenna) and will convert the first asterisk found in the TEXT_BUDDY_{ACTIVE,AWAY,IDLE} strings (used in displaying the buddy list) to a dash. It's crude and needs improvement, but it's very useful. (It was a quick hack!) Unified diff follows... ( sed 's/&/&/g;s/</\</g;s/>/\>/g;s/"/\"/g' < /usr/src/pork-wireless.patch )
|
|
(Saturday)
2 October 2010
|
|
[201010021136]
|
rc.fsck2
it's handy to have a slackware rc.d file to fsck+mount xfs and jfs partitions referred to by LABEL= in fstab, esp. loopback. ( rc.fsck2 )
|
|
(Saturday)
4 September 2010
|
|
[201009040049]
|
need gnome-panel on slackware13.1?
since slackware is now kde-centered, if you need the basic gnome libs, you'll have to know which ones are roughly the latest that can be compiled with the included libgobject etc. well, here's the list! for slackware64, unless otherwise noted, everything is built with: LDFLAGS="-L/usr/local/lib64 -L/usr/lib64" ./configure --libdir=/usr/local/lib64 && make not strictly necessary, but i needed it: imlib2 1.4.4 you also probably won't need this: ORBit 0.5.17ORBit 2.14.18GConf 2.31.1probably wasn't needed: gnome-mime-data 2.18.0gnome-mime-data 2.0.1gnome-vfs 2.24.3libbonobo 2.24.3libcanberra 0.25 additional ./configure option: --with-builtin=alsa libgnome 2.31.0libtasn1 2.7maybe not needed: gnome-keyring 2.29.92libgnomecanvas 2.30.1libbonoboui 2.24.3almost surely unneeded: gnome-keyring 2.30.0gnome-keyring 0.8.1 additional configure options: CPPFLAGS=-D_GNU_SOURCE libgnomeui 2.24.3scrollkeeper 0.3.9 (a later version of this is needed, actually; see below)gnome-desktop 2.31gnome-menus 2.30.2libproxy 0.4.6 build on slackware64-13.1 with: cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DLIB_SUFFIX=64 -DCMAKE_EXE_LINKER_FLAGS:STRING=-L/usr/l ib64/firefox-3.6.3 -DCMAKE_C_FLAGS=-L/usr/lib64/firefox-3.6.3 -DCMAKE_CXX_FLAGS=-L/usr/lib64/firefox-3.6.3 && make build on slackware-13.0 with (probably): cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_EXE_LINKER_FLAGS:STRING=-L/usr/l ib/firefox-3.5.2 -DCMAKE_C_FLAGS=-L/usr/lib/firefox-3.5.2 -DCMAKE_CXX_FLAGS=-L/usr/lib/firefox-3.5.2 && make libsoup 2.31.6libgweather 2.30.2scrollkeeper 0.3.14gnome-panel 2.28.0 additional configure flags: CPPFLAGS=-I/usr/local/gnome-desktop-2.0 The acid test for this was building xnee-3.06, which has a gnome-panel--based component, gnee, that built and ran successfully, on slackware64-13.1.
|
|
(Thursday)
2 September 2010
|
|
[201009022001]
|
the joys of x2x
I now have x2x extending the desktop on anisotropy to sheripc (key+mouse now off of the desk, saving space!). It's really neat. x2x compiled cleanly with xmkmf -a && make. I have a few helper scripts... ( stuff on anisotropy )
|
|
(Monday)
19 July 2010
|
|
[201007190316]
|
xa_primary, xa_clipboard, and xa_cut_buffer0
If you haven't read about selections and cut-buffers, at least take a look at the overview on wikipedia. I've been wondering why some apps do the things they do for quite some time, and I think I'm beginning to understand a little better why now, after a few observations:
gtk+1 hilite primary+clipboard
gtk+1 getclip removed from primary,clipboard
gtk+1 getprim still on primary+clipboard
gtk+1 unsel still on primary+clipboard
gtk+1 midclk paste from primary
gtk+2 hilite primary+clipboard
gtk+2 getclip removed from primary,clipboard
gtk+2 getprim still on primary+clipboard
gtk+2 unsel removed from primary+clipboard
gtk+2 midclk paste from primary
xterm hilite primary+clipbard+cb0
xterm getclip removed from primary,clipboard, auto-unsel
xterm getprim still on primary+clipboard+cb0
xterm unsel removed from primary+clipboard
xterm midclk paste from primary
motif hilite primary+clipboard+cbrotate+cb0
motif getprim still on primary+clipboard+cb0
motif getclip removed from primary+clipboard, auto-unsel
motif unsel removed from primary+clipboard
motif midclk paste from primary if avail, else cb0
More observations to come... fltk, Qt, etc, whenever I get the time. For now, this is all I need to cut+paste code snippets without headaches... You'll need xsel to read XA_{PRIMARY,SECONDARY,CLIPBOARD} and xcb to read XA_CUT_BUFFER[0-7]. Be careful when reading XA_CLIPBOARD! If you want to write to XA_{PRIMARY,SECONDARY,CLIPBOARD,CUT_BUFF ER0}, get xclip. Don't forget three useful tools are xcutsel, xclipboard, and xcb (in GUI mode). The first two are in about every distro (or at least easy to find).
|
|
(Sunday)
11 July 2010
|
|
[201007110922]
|
doxygen+dot
Some of doxygen's integration with graphviz [dot] requires the epstopdf package from CTAN. I made a quick little script to install it: ( Read more... )
|
|
[201007110922]
|
500gb drive on ali15x3
I have a 500gb drive on an old machine (BIOS doesn't like drives more than a few gigs... 8.5gb limit maybe?), and linux kernel 2.6.10 has issues reading it... ( Read more... )
|
|
(Thursday)
3 June 2010
|
|
[201006030206]
|
5 things i love about my sheri
1) she always tries to help people 2) she's a good listener 3) she has a pretty smile 4) she always wants to make me happy 5) she has a way with animals
|
|
(Sunday)
30 May 2010
|
|
[201005301543]
|
|
|
(Saturday)
29 May 2010
|
|
[201005292021]
|
lilystcyr has had an emotional week.. everyone go give her hugs! =)
|
|
(Wednesday)
5 May 2010
|
|
[201005051826]
|
quick obligatory hack
the color survey results from the author of xkcd are in, and since the most common 954 colors have been made available in a line-by-line text format, X11's rgb.txt was just *begging* to be replaced. since this was a quick, obligatory hack, i had to do it... this script requires bash3 for array parameter expansion. (unfortunately, i did not have a recent enough bash for ${VAR[@]^?}, else i could have combined that with ${VAR[@]#?} and maybe have avoided awk, staying entirely within a bash script--oh well). fortunately, you don't have to worry about running it yourself, if you don't want to, as i've included the output. step 1: wget http://xkcd.com/color/rgb.txtstep 2: create rgb2rgb, then chmod 755 rgb2rgb ; ./rgb2rgb < rgb.txt > X11-rgb.txt( rgb2rgb )step 3: cp /usr/share/X11/rgb.txt X11-rgb-old.txt ; sort X11-rgb-old.txt X11-rgb.txt|uniq -f3 > X11-rgb2.txtstep 4: sudo cp X11-rgb2.txt /usr/share/X11/rgb.txthaha, no, do not actually do step 4. zero bugtesting has gone into this. for reference, here is the output of rgb2rgb, pre-sort-uniq, for combining with your local X11's rgb.txt: ( X11-rgb.txt )[anyway, back to the project at hand...]
|
|
(Tuesday)
20 April 2010
|
|
[201004201053]
|
Test post from ScribeFire!
|
|
(Saturday)
10 April 2010
|
|
[201004101922]
|
DEPRECATION NOTICE
ATTN: This journal is now deprecated. If you see posts made in it, please let me know via email or cell, tell me I am a selfish bitch and that I need to get off my lazy ass, stop being a self-indulgent crybaby and get a fucking job. $mood = "blank";
|
|
(Saturday)
13 February 2010
|
|
[201002131056]
|
Request for Comment
Updated Internet acronyms (two):
- LOL to stand for `laughter ostensibly likely.'
- ROFL to stand for `reputed offline full-bellied laughter.'
[edit: 2010-02-20] Furthermore, "LAWL" to stand for `laughing at worthy lulz,' or `luxurious amounts [of] wild lulziness.' ( urbandictionary.com submission details )
|
|
[201002130227]
|
unlicensed mipspro on irix6.5 nag screen hack
If you have IRIX6.5, you have a usable MIPSpro C compiler, though without a license, you have an annoying "nag screen" every time you invoke the compiler. Don't tell SGI, but here's a script to hide the nag screen. ( shhh! ) $mood = "hyper";
|
|
(Saturday)
23 January 2010
|
|
[201001231825]
|
|
|
(Friday)
6 February 2009
|
|
[200902061415]
|
times of crisis
I'm a little proud of the fact that I make it a goal not to hate anyone. I try to absolve myself of all grudges. I push myself to let things go. Not to say that I won't lash out from time to time when I feel that I'm being taking advantage of, but I try not to linger on negativity. I think that, ultimately, there are much more important things in life than keeping enemies. This is why I think that, in times of crisis, matters of importance (life and death or anything else critical) must trump personal resolves. I don't know if others agree, but it only seems rational that personal day-to-day matters are less significant than any situation that necessitates immediate action from any and all relevant parties; in other words, I think it's silly to be petty during emergencies by failing to set aside normal trivialities. Does anyone have any thoughts on this? Should a grudge take priority over a crisis? Is it immature to hope other people would set aside their grudges during emergencies? $mood = "worried";
|
|
(Friday)
28 November 2008
|
|
[200811280738]
|
|
|
(Monday)
17 November 2008
|
|
[200811171753]
|
|
|
(Tuesday)
4 November 2008
|
|
[200811041753]
|
voting 'strategy'
I read an interesting idea the other day for people who hate the idea of voting for the lesser of two evils (for President, anyway) and think some of the third-party candidates are better suited. If I find where I read it, I'll add a link later. In States with a near-certain outcome (non-swing States), vote for the best third-party candidates, to draw attention to them. If the outcome is effectively pre-determined, your particular vote does not matter much, so you might as well represent your interests, since a certain major-party candidate will very likely win in your State anyway. This way, the major parties might start to take notice of your State, and the role of your State could become more pivotal down the road. If you're in a swing State, vote for the lesser of two evils (whichever of the two major party candidates is probably best for the health of the country in the long run, regardless of his/her personality and style of rhetoric). Since electoral college votes for a third party could result in an arguably harmful split of interest (e.g., in 2000, GWB would probably not have gotten to the White House if most of the votes for Nader had instead gone to Gore), and it does not seem feasible for anyone running outside of the two major parties to win an election for President at this time, you should always pick the lesser of two evils in a swing State, even if you feel it does not represent your true interests. Of course, this only applies for electoral positions (e.g., the President) that have a negligible chance of having a third-party candidate win. For positions in national and State Congresses and other State Office positions, vote for who you think is best, as history (within the last century, anyhow) indicates that third-party candidates are not outright doomed from the start to lose. Feel free to critique this idea; I love feedback. Oh, and: STOP BITCHING* AND VOTE, JERKWADS** (for politically correct / printable substitutions, use whining* and chumps**) $mood = "intrigued";
|
|
(Friday)
26 September 2008
|
|
[200809261643]
|
|
[ << item -= 25 ]
|