tag:blogger.com,1999:blog-80591849473861426442024-03-21T13:25:46.149-06:00Furthest ShoresMy contribution to the general writhing mass of complaints and whining in the universe with my own unintelligible bile. I've got sleep deprivation on my side, and I'm unafraid to wield it!.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.comBlogger37125tag:blogger.com,1999:blog-8059184947386142644.post-34278723358900417522022-05-11T04:05:00.025-06:002022-12-11T04:25:40.072-07:00Remove Opaque Overlay and Label Button in Gmail.Gmail now has an ugly overlay which obscuress any custom inbox image; this is a quick and dirty kludge for dealing with this $current_month Google UX mandatory decision (via developer console):document.querySelector('.bkK>.nH').style.backgroundColor = "rgba(0,0,0,0)";document.querySelector('.aAw.FgKVne').remove();"transparent !important"; works for the backgroundColor, but not, for some reason.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-8887673693463434332015-01-15T14:15:00.000-07:002020-11-05T15:54:46.734-07:00Thinking about how many poisoned mushrooms are red.Question: In a forest 20% of mushrooms are red, 50% brown and 30% white. A red mushroom is poisonous with a probability of 20%. A mushroom that is not red is poisonous with a probability of 5%. What is the probability that a poisonous mushroom in the forest is red? ¹Answer: 50%.Which is well and good, but I wanted to understand why, and my ability at math is somewhere between 0 and taking off my .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-22750983396163801102014-12-07T03:33:00.000-07:002014-12-07T05:36:19.701-07:00Notes to Self: FreeNAS 9.3-Beta SMBD mDNS log spamsmbd[28586]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 2
smbd[28586]: dnssd_clientstub ConnectToServer: connect()-> No of tries: 3
smbd[28586]: dnssd_clientstub ConnectToServer: connect() failed Socket:32 Err:-1 Errno:2 No such file or directory
Despite having mDNS turned off, smbd seems to want to talk to it. (Looking for avahi?). Seems unchecking "zeroconf share .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-5130664872826351802014-07-28T00:30:00.000-06:002014-07-29T00:42:32.218-06:00Ugly Windows Batch Kludge - ffmpeg / tr / Dealing with certain Youtube files (ie, from Rhino Entertainment) requires trimming off the 15 or so 'also recommended' seconds at the end of every video. The number of seconds and starting position varies, so it'd be tricky to script (perhaps with -af silencedetect), so I'm doing it manually. And on Windows, for some reason. (Obviously, this is all trivial on 'nix, without requiring.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-51513495363368671942014-04-20T04:20:00.000-06:002014-04-29T02:19:52.135-06:00Uniform Server Zero + mod_wsgi + Falcon Framework on Windows 7Setting up a local test environment before deployment on shared hosting (Dreamhost / Phusion Passenger) (assumes python already properly installed):
Install UniServerZ: Uniform Server - A lightweight mobile WAMP Server Solution.
Download1: mod_wsgi library, extract, and copy .so to UniserverZ\core\apache2\modules
Install Falcon: python -m pip install falcon
Edit httpd.conf:.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-75794063158087956952014-04-01T04:20:00.000-06:002014-04-02T06:29:26.608-06:00Boar on Freenas
mount -uw /
cd /mnt/dataset
Method one (get valid token from 'Download')1:
wget "http://boar.googlecode.com/issues/attachment?aid=920000000&name=install_boar.sh&token=XXXXXXXX" -O install_boar.sh
Method two:
cat >> install_boar.sh
#!/usr/local/bin/bash
#
# Install boar on FreeBSD
# Writen by: Kellen Fox
#
if [ "$(whoami)" != "root" ]; then
echo "You need to be root for this.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-11346617001098347192014-01-10T21:50:00.001-07:002014-01-10T21:54:21.870-07:00Using pre-formated text in a MediaWiki Template.I needed to use <pre> tags in a MediaWiki template, which turned out to be non-trivial. Using <code> and <poem> both fail to wrap single lines, as did the custom <div> styling. It was easier to figure it out than add a bunch of <br>s to the source text. For those looking for an ugly kludge, here you go. Enjoy. (Non-salient bits removed: I do .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-47513056751670638792013-06-12T02:13:00.000-06:002013-06-14T15:57:34.144-06:00Building a 14 Bay DISKLESS (Max 56TB) NAS For $480. (Reality &/|| Market Forces may apply.)Like most people, I often find my high definition pornographic films - usually starring Scarlett Johansson in full Black Widow costume and Hayley Williams (in full clown costume) penetrating each other1 and simultaneously being explored by an assorted collection of ibices, Macrauchenia, and guitarists - take up a bewildering amount of hard disk space.2
As I post this in .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-45190728360315378132013-05-13T13:02:00.000-06:002013-06-18T18:10:01.606-06:00Notes To Self: Attempting CIFS Performance TuningProblem: Abysmal SMB peformance when using W7 as intermediate between EON and FreeNAS: 19.6MB/s.
After Tuning: 25.8MB/s.
(After Turning Direct W7 -> FreeNAS = 42.1MB/s)
Wireshark Capture Filter:
host x.x.x.x and (port 139 or port 445)
Windows Registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters\TreatHostAsStableStorage = 1
HKEY_LOCAL_MACHINE\SYSTEM\.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-68853774432702465392013-04-20T04:20:00.000-06:002013-06-09T03:48:32.112-06:00Notes To Self: FreeNAS / ZFS Settings / BSD CommandsCommands and output...
/# camcontrol devlist
<ATA SAMSUNG HD502HJ 00E4> at scbus0 target 0 lun 0 (pass0,da0)
<ATA SAMSUNG HD502HJ 00E4> at scbus0 target 1 lun 0 (pass1,da1)
<ATA SAMSUNG HD502HJ 00E4> at scbus0 target 2 lun 0 (pass2,da2)
<KINGSTON SH103S3120G 502ABBF0> at.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-78667891771224984082013-03-21T02:13:00.000-06:002013-05-16T05:28:42.420-06:00Sledgehammer Kludge: Make nfs-common install.Disclaimer: I'm clueless. I'm also tired. Having gotten to the point of downloading the nfs-utils-1.2.6 tarball and making it (and installing it. and having it not work), I'm no longer concerned about The Right Thing(™) so much as "Just Fucking Work Already".
Background: try googling up nfs-common FAIL. It's a good fun time, with bug reports years and years old, most mentioning portmap or .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-165622570052992092013-03-12T20:13:00.000-06:002013-06-06T22:25:53.528-06:00Notes To Self: NFS / ReadyNAS 600 / Windows 7Microsoft's done the usual outstanding job of quality work with their NFS client.
ReadyNAS end settings:
Frontview: Share Listings->Share Name NFS
Default Access: Read-Only
Write Enabled Hosts: Self explanatory.
Root privilege-enabled hosts: Blank (unneeded)
Advanced Options: nobody/nogroup
Set ownership and permissions ... -> Apply
Squashing isn't needed on the ReadyNAS...
Via ssh to.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-54425743680665820322013-02-13T02:13:00.000-07:002013-04-30T16:39:13.570-06:00Engineer's Bench Gives Pleasant Trembling Tingles: Work At Intel (INTC) Still Wish I Do!!!!
Sex Toys & Circuit Design!
I <3 Intel!
Well, it's been a duration of time which has passed and Intel hasn't yet hired me, despite my strenuous efforts to convince the hiring managers (who I'm absolutely certain are reading my blog with breathless anticipation) that I'm destined to be a valuable asset.
I sought out further material to help my understanding evolve on this matter, and I .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-90470848030757150732013-01-23T01:23:00.000-07:002013-04-14T01:35:30.277-06:00PDE Malaise: How I wish I worked for Intel!!!
Stalwart and Dignified.
Managers are attentive and give
personalized attention to every employee!
Like any literate computer user, I've always been in awe of Intel.
I've sometimes wondered, what if?
What if I could work there?
What if I could be a part of the company that brought us modern computing?
Naturally, these fantasies are quick to dissipate, as Intel's such an established, big .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-49828020476748613252012-08-30T04:28:00.000-06:002012-08-30T05:32:49.670-06:00Attenuating Linux dmesg USB SpamFor some reason, my usb mouse and keyboard, hooked up to a kvm, freeze intermittently when switching back and forth to the system. After wasting way too much time trying to figure out why, my workaround is to switch to a console before switching off system.
However, the console becomes flooded with the USB modules noisy spam, as does dmesg, of course.
Here are my naive, uninformed, lazy .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-26261948026107755812012-05-23T04:20:00.000-06:002012-05-23T05:58:12.147-06:00A Sledgehammer For ChromeI upgraded Chrome in my VM, to version 19.0.1084.46.
Which, apparently, forces use of the GPU Process task.
And, in a nice lovely screw you from the kind folks at Google, there's no way to disable this.
The end result is having the VM slow to a crawl (2 second pause between mouse movements, ignored clicks, etc...). Fixable by the agony of getting to the task manager and killing the.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-68444162008255071112012-05-15T04:20:00.000-06:002012-05-16T05:18:36.307-06:00Using Conky's Template[x]Conky's neat, but doesn't appear to allow user variables, and the documentation leaves a lot to be desired when it comes to templates. I found myself desperate for some way to clean up a .conkyrc when using Teo's weather scripts. (They work well, but are insane to edit by hand --- and the gui program (conky companion) appears to require using a mouse to drag. every. single. element. to .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-83375098779506236162012-04-20T16:20:00.004-06:002012-04-22T17:04:55.305-06:00Notes to self: ICH7 - i975x - BIOS
<!--
.terms dl
{
font-size: .9em;
padding: .2em;
margin: 1em 0;
}
.terms dt
{
background-color: #E6E2E8;
color: #000066;
padding: .5em;
font-weight: bold;
border: 1px groove #C6C2C8;
}
.terms dd
{
padding: .2em .5em .2em 1em;
border-left: 1px groove #C6C2C8;
border-right: 1px groove #C6C2C8;
border-bottom: 1px groove #C6C2C8;
margin-bottom: 1em;
}
.terms dd dd {border: none; }
..greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-25963657817258292782012-04-16T04:20:00.195-06:002012-04-16T04:31:25.658-06:00Using Python to Extract Data From a Smereka Created SQLite DatabaseI've been migrating my snippets of stuff to thinkery.me, but for more private/personal data, I've been using Smereka: It's open source, with a (for me) intuitive GUI, fast --- and uses sqlite for its backend database.
Unfortunately, its export absolutely sucks, and it looks like Smereka's author is trying to direct folks to his commercial version, and probably won't be adding many features/.greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-13335537605231291852012-03-21T04:20:00.030-06:002012-03-24T02:24:19.698-06:00Batch Straightening/Deskewing and Autocropping Scanned ImagesRecently, I had the need to scan over 300 hand drawn "line art" pictures.
Vuescan's 'autocrop' is beyond worthless: it lacks the capability to properly crop where it should, resulting in me just scanning at 'maximum' and ending up with a mass of images flanked by black on all sides... and many of them, just slightly off center (some, more so than others, very noticeably skewed.)
For such a .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com1tag:blogger.com,1999:blog-8059184947386142644.post-28182579858618479152012-02-06T04:20:00.017-07:002012-02-10T05:05:13.790-07:00Virtual Peeping Tomery For Tomorrow's SkynetThe BBC News Article about the Trendnet camera security flaw, and presumably the blog it references engaged my curiosity enough for me to play with it a bit. Of course, having a large list of IPs to go through by hand is a bit lame. This blog has a nice method of aggregating, but is a bit heavier than what I wanted, which was just to see a single thumbnail for .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-19251810888283030552012-02-01T04:20:00.010-07:002012-02-02T04:11:18.931-07:00Making WMP Keep Its Hooks Off My DiscWindows 7, x64: For some reason with my settings, Windows Media Player insists on handling a double click on the DVD drive. The behavior I want, is to be able to manually manipulate files under VIDEO_TS. What I definitely don't want is WMP taking its sweet time loading and trying to play the DVD. (And I don't want to have to remember to right-click each time and go to Open... especially since .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-51948234469505381042012-01-30T23:58:00.020-07:002012-02-02T03:34:51.793-07:00Generating PDF Bookmarks Automatically When Combining PDFsA quick script to generate a proper bookmark file for jpdfbookmarks from a list of PDFs. I find myself needing this enough, the "evince on one monitor, vim on the other" method became tedious.
autobookmark.sh:
#!/bin/sh
p=1;
for f in *.pdf
do
fn=`printf "$f" | sed 's/\.pdf$//i'`
printf "%02d - %s/%d,FitPage\n" $p "$fn" $p
p=$(($p+`pdfinfo "$f" | awk .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-26203035949006805642011-05-15T04:20:00.079-06:002011-05-15T16:53:14.501-06:00ZFS On Linux - Notes to Self / (aka forget mdadm, this is easier!)Set up repositories:
deb http://ppa.launchpad.net/dajhorn/zfs/ubuntu natty main
deb-src http://ppa.launchpad.net/dajhorn/zfs/ubuntu natty main
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1EE8660B
Fix "Samba sharing is not supported.":
apt-get install nfs-kernel-server
Create pool:
# zpool create chasm raidz /dev/sda /dev/sdb /dev/sdc /dev/sdd
# zpool list
NAME .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com0tag:blogger.com,1999:blog-8059184947386142644.post-86597203679546422452011-03-07T04:20:00.015-07:002012-01-31T17:02:08.181-07:00VIM: Press ENTER or type command to continueAfter searching much longer than reasonable for such a stupid thing, my solution for dealing with the less than ideal vim behavior of prompting me like a slobbering dog to press enter or type a command to continue is:
:ab maker make<CR>
The <CR> should be typed exactly like that. Now I can use :maker to make, and while the shell out window is less than ideal, it flicks by .greyprochttp://www.blogger.com/profile/16682022387846836820noreply@blogger.com2