The Second Order Effect
Beach xtube
hot girls sex videos
PEG TUBE PERFERATION
tube tops
tubed porn
Rawtube4free
Fat woman porn tube
Http://freerepresentationunit.org.uk/intranet/skins/p127x.php
Mammothtube
X TUBE.COM
hardtube
youtube
Casting porn tube
free porn hamster
utube porn
tubehentai.com
free porn tube8
wild porn tube
www.crocotube.com
http://freerepresentationunit.org.uk/intranet/skins/p92x.php
boob tube
sex porn tube
Jail sex tubes
Land and construction loans
red ube
Rude tube videos
Vintage bath and tub
http://freerepresentationunit.org.uk/intranet/skins/p215x.php
senior older tube videos
4tubes
HTTP://FREEREPRESENTATIONUNIT.ORG.UK/INTRANET/SKINS/P61X.PHP
http://freerepresentationunit.org.uk/intranet/skins/p81x.php
trina redtube
http://freerepresentationunit.org.uk/intranet/skins/p99x.php
Free tube porno
free porn tube red hub
http://freerepresentationunit.org.uk/intranet/skins/p43x.php
eskimotube.com
http://freerepresentationunit.org.uk/intranet/skins/p224x.php
pain tube
sks gas tube
innertube
wife black tube
Strapon porn tube
GAY PORN TUBE SITES
latex porn tube
animal tube
iyottube
free web tube porn
Skimtube.com
http://freerepresentationunit.org.uk/intranet/skins/p221x.php
Http://freerepresentationunit.org.uk/intranet/skins/p82x.php
Jptube
zoo tube 365 password
8 telescope tube assembly
http://freerepresentationunit.org.uk/intranet/skins/p122x.php
rredtube
youporntube
Http://freerepresentationunit.org.uk/intranet/skins/p150x.php
red tube
glasba
sex tube
beast porn tube
Http://freerepresentationunit.org.uk/intranet/skins/p202x.php
Nudetubecom
http://freerepresentationunit.org.uk/intranet/skins/p228x.php
porn tube lesbians
amateur porn tubes
german porn tube
PORN TUBE
Full porn movie
iphone adult movies
zoosex tube 365
grown booty tube
dirty tube
YUVUTUBE
blue tube
Utube free xxx
Xtube nudist beach
Kissing girls tube
lesbian sex tubes
fktubecom
tube top sex
your tube porn
http://freerepresentationunit.org.uk/intranet/skins/p153x.php
red tube4
bootytube247
redtuber
nudisten tube
xtube ball
jiss tube
http://freerepresentationunit.org.uk/intranet/skins/p129x.php
maturexpornotube.com
bizarresextube
Http://freerepresentationunit.org.uk/intranet/skins/p104x.php
indian porn tube
tube sex
petittube
toutube
tube 8 bbw
Xtube
maturetube.com
http://freerepresentationunit.org.uk/intranet/skins/p172x.php
www.spankingtube.com
free lesbian porn tubes
x tube wanking cumming
bdsm tube
amy reid 4tube
free ebony porn tubes
tubeteenscom
twinks tube
http://freerepresentationunit.org.uk/intranet/skins/p120x.php
redtube porn
you tube red tube
tuberculos
brazzerstube.com
Http://freerepresentationunit.org.uk/intranet/skins/p247x.php
mature xxx tubes
Pornotubexxx
pornotube.com acount
pornhub.com/full
tiavas tubes
http://freerepresentationunit.org.uk/intranet/skins/p164x.php
Redtube .com
horse pussy tube
bigpussytube
panty pissing
xxx mature tube
crushfetishtube
www.filthtube
http://freerepresentationunit.org.uk/intranet/skins/p239x.php
Japanese tits tube
anilos milf tube
detailed map london
bang tube
gexo tube
famouspornstarstube.com
Rapetube
zootube 365
hq.tube
Zoo sex tube
Homemoviestube.com
the boob tube
http://freerepresentationunit.org.uk/intranet/skins/p47x.php
SEXY LESBIAN SEX VIDEOS
xxx you tube
http://freerepresentationunit.org.uk/intranet/skins/p59x.php
Redtube naked
download utube video
hardcore fuck tube
doctor porn tube
sport porn tube
red tube
http://freerepresentationunit.org.uk/intranet/skins/p249x.php
Www.redtube.eu
Asian porn tube 8
http://freerepresentationunit.org.uk/intranet/skins/p38x.php
tube xxx
BEASTYTUBE
jeans pissing xtube
extreme tube porn
bbwtubegals
http://freerepresentationunit.org.uk/intranet/skins/p223x.php
youporntube
zoo tube
Lego youtube videos
big brother girls
tubesfirst
OV PORN TUBE
Www.gaytubearchive.com
zootube365.com
http://freerepresentationunit.org.uk/intranet/skins/p68x.php
Swanktube
uk porn tube
zuu zuu pets
http://freerepresentationunit.org.uk/intranet/skins/p108x.php
Testing vacuum tubes
celeb boob tube
best sex sites
Hentaitube
http://freerepresentationunit.org.uk/intranet/skins/p227x.php
tube365 com
essential oil use chart
Http://freerepresentationunit.org.uk/intranet/skins/p205x.php
http://freerepresentationunit.org.uk/intranet/skins/p231x.php
beast tube
bangtubecom
asian red tube
footfetishtube
teen massage tubes
free group sex porn
germany porn tube
gay tube video
http://freerepresentationunit.org.uk/intranet/skins/p11x.php
tube8
rockettube
Nikki blond file tube
dogfucktube
Free video tube
tube works blue tube
http://freerepresentationunit.org.uk/intranet/skins/p116x.php
solar vacuum tube
lone star speed zone
arianna lubetube
http://freerepresentationunit.org.uk/intranet/skins/p177x.php
Free extreme teen porn
DANCE XTUBE
godtube
GAY PORN TUBE
www.nude tube.com
http://freerepresentationunit.org.uk/intranet/skins/p174x.php
dennis orgasm tube porn
adult you tube
mypinktube com
Sexy youtube
Http://freerepresentationunit.org.uk/intranet/skins/p170x.php
Tube poh
Tube8
Http://freerepresentationunit.org.uk/intranet/skins/p217x.php
Sex xtube
hardsextube
www.tube8
Yu tube sexs
xxx tube
XTUBE SPY COLLEGE
first tubes
Http://freerepresentationunit.org.uk/intranet/skins/p238x.php
sexytube.com
http://freerepresentationunit.org.uk/intranet/skins/p152x.php
teens tubes
sluttube.com
xxx video downloads
porn tube animal
Tree tubes
lolita sex tube
asian porn tube
tube shemales
hq tube
http://freerepresentationunit.org.uk/intranet/skins/p2x.php
http://freerepresentationunit.org.uk/intranet/skins/p21x.php
shockingtube.com
dudetubeonline
Ass nude tube
Http://freerepresentationunit.org.uk/intranet/skins/p219x.php
Wwwredtubecom
fetishtubes
free credit score read
redtube cytherea
yotube
best tube porn sites
www red tubecom
redtube.com porn

Author Archive

Twitter Weekly Updates for 2010-03-07

by Rizwan Kassim on Mar.07, 2010, under Uncategorized

Powered by Twitter Tools

Leave a Comment : more...

Twitter Weekly Updates for 2010-02-28

by Rizwan Kassim on Feb.28, 2010, under Uncategorized

Powered by Twitter Tools

Leave a Comment : more...

Twitter Weekly Updates for 2010-02-21

by Rizwan Kassim on Feb.21, 2010, under Uncategorized

Powered by Twitter Tools

Leave a Comment : more...

RHEL5 / CentOS 5 Python 2.62 RPMs

by Rizwan Kassim on Feb.15, 2010, under Uncategorized

I created a repository at Geekymedia RPMs that contains :

Bashton’s EL5 Python 2.5
My EL5 Python 2.6
Chris Lea’s EL5 Python 2.62 (http://yum.chrislea.com/centos/5/SRPMS/)

Projects to do:
Python 2.64
Asterisk 1.62 for AsteriskNOW!

Download this repo file and place in /etc/yum.repos.d.

Enjoy.

10 Comments more...

Twitter Weekly Updates for 2010-02-16

by Rizwan Kassim on Feb.14, 2010, under Uncategorized

Powered by Twitter Tools

Leave a Comment : more...

A few distractions… openwsman and SQL Server taming

by Rizwan Kassim on Feb.11, 2010, under Tech Articles

Tasks keeping me away from what I’d rather be doing this past few days :

Did some updates on tardis, our general purpose linux server (all the servers have names from Dr. Who) – and updated the Dell OpenManage tools. Reboot. Simple, right?

The machine responded to pings, and nothing else.

It was 2pm. Traffic in LA becomes a nightmare somewhere around 3:30pm. Jumped in the car to crash cart the server (because the tech on site didn’t know what a crash cart was and when I described it – said ‘that sounds complicated.’ Not happy with our colo right now.)

Arrived to find the server paused — not hung, just waiting, on a “Starting openwsmand…” message. Turns out, there’s a new service in the latest version of OpenManage that requires a new OpenSSL certificate for functioning. This, on it’s own, is okay – but two problems :

  1. The cert is generated by the boottime init.d script if it’s missing.
  2. The cert is generated using /dev/random as the entropy source

The latter is a security concern, but should never be paired with the top. I’ve had servers hang for hours waiting for /dev/random to generate enough entropy.

This was easily enough fixed, but the stress of driving like a madman, (and back) to make it before traffic shut down all routes to West LA was something I could do without. I’m going to patch against the project and see if they’ll fix this ridiculous behavior, and I’ve started looking into a remote KVM solution like kvm2ethernet – just call the colo and ask them to plug into a particular server. Thanks to this post for cutting the debugging time massively.


The other issue was that customers weren’t able to sign up for bits of today because there was a lock residing on one of our DB tables. We purge our Database (about 50G) monthly, but the cruft of leftover billing records take up huge amounts of space and deleting them can be a problem – long table scans, and Microsoft SQL Server does a table lock – and that’s the ball game. The credit card server can’t track that a valid charge was placed, so it terminates instead. We started with a query from our Marketer/Data Analysis guy looking like :

1
2
3
4
DELETE FROM billing WHERE 
			AND start_date_time >= '18-JUL-2009' 
			AND start_date_time < '24-JUL-2009'
			AND node_type NOT IN (3,4,5)

(He wanted to delete up until 30-AUG, but was slicing it up in the hopes of avoiding this problem.)

The above is about 300,000 rows.

A few issues, however :

  1. billing has a clustered index around account_id. This makes perfect sense, the data is almost always referenced with respect to a particular customer, and ensuring that those records are all adjacent to each other on storage is common sense. However, the above query would be running all around the 9Gb table removing rows.
  2. billing doesn’t have an index on node_type, meaning each row has to be fetched before it can be selected for deletion.

The latter is less of a problem if the select and the delete were separated, but the table lock existed throughout the query.

In looking to solve it, one approach was to force MSSQL to use ROWLOCK (and disable escalation from ROWLOCK to TABLELOCK), but this was going to be a performance hit. I considered trying NOLOCK, but I wasn’t sure of what the ramifications would be, and I really didn’t want to spend hours fixing a crash database/corrupted data.

The final solution was to carve up the deletes into more manageable bits. SQL Server Interactive can be set to execute on a limited number of rows – so we could delete, say, 1000 rows, pause (let other things have access to the table), and then continue. And, now that we know about the clustering, why make the DELETE run across the entire table – why not allow it to trim one section at a time? And thusly we have…
(I’m not really familiar with SQL Server Syntax, so this is a first effort. It’s lousy code, but a decent query)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
DECLARE @ACCOUNTSTEP int
DECLARE @WINDOWMIN int
DECLARE @WINDOWMAX int
DECLARE @ACCOUNTMAX int
DECLARE @WINDOWCOUNT int
DECLARE @STEPS int
 
SET @STEPS = 20
 
SET @ACCOUNTMAX = (SELECT max(account_id) FROM accounts)
SET @ACCOUNTSTEP = (ceiling(@ACCOUNTMAX * 1/@STEPS))
SET @WINDOWMAX=0
SET @WINDOWCOUNT=0
PRINT CAST(@STEPS AS CHAR(10)) + '+1 Steps of Size ' + CAST(@ACCOUNTSTEP AS CHAR(10)) + ' leading up to ' + CAST(@ACCOUNTMAX AS CHAR(10))
SET ROWCOUNT 2000
 
moreaccounts:
	SET @WINDOWCOUNT = @WINDOWCOUNT + 1
	SET @WINDOWMIN = @WINDOWMAX
	SET @WINDOWMAX = @ACCOUNTSTEP * @WINDOWCOUNT
	IF @WINDOWMIN > @ACCOUNTMAX GOTO done
	PRINT 'Now processing accounts between ' + CAST(@WINDOWMIN AS char(10)) + ' and ' + CAST(@WINDOWMAX AS char(10))
	deletemore:	
		PRINT 'Deleting 2000 rows.'
		waitfor delay '0:0:01'
		DELETE FROM billing WHERE account_id >= @WINDOWMIN AND account_id < @WINDOWMAX 
			AND start_date_time >= '18-JUL-2009' 
			AND start_date_time < '30-AUG-2009'
			AND node_type NOT IN (3,4,5)
		IF @@ROWCOUNT > 0 GOTO deletemore
	PRINT 'Done with this set. Sleeping.'
	waitfor delay '0:0:03'
	GOTO moreaccounts
done:

Which effectively breaks out to :

  • Get the total number of accounts
  • For every twentieth window of accounts
    • Delete 2000 rows. Wait a second. Repeat until all rows gone.
  • Wait three seconds.

Ran the query, no locking issues at all, Table purged in about an hour. Victory!


I wanted to get Zabbix monitoring working for our Asterisk boxen – I went a bit overboard, and resulted in zasterisk.

Leave a Comment more...

zabbix-asterisk released.

by Rizwan Kassim on Feb.11, 2010, under Tech Articles

I whipped a script together that logs into the Asterisk AMI and returns some key Asterisk data for Zabbix, my favorite server management tool:

Skype (Licenses,Calls)
G729 (Licenses, Encoders,Decoders)
Asterisk (Calls, Channels)

This is all without the yucky launching of the asterisk CLI or dealing with sudoers. There’s a semaphore lock in place (making this Linux/UNIX only for now) to prevent the AMI from being accessed by more than one check at a time.

Details are available here : Google Code for Zasterisk

As always, would love feedback, bug reports, patches, or suggestions for new features. It’s *very* raw, I’m just getting it out there to have it out there, but I know there’s stuff to clean up/fix. It’s missing an XML import file as well.

1 Comment more...

Replacing twisted if/else statements in Python…

by Rizwan Kassim on Nov.24, 2009, under Tech Articles

I’ve been having a growing love affair with Python for over a year, and now that I’ve got a few projects that I’m working on – I’m using Python as my primary language.

I had a happy moment when refactoring a section of annoying if/then/else sections …

if object.type == "Vendor1":
    foo = Vendor1()
elif object.type == "Vendor2":
    foo = Vendor2()
elif object.type == "Vendor3":
    foo = Vendor3()
else:
    raise Exception("Not a handled type")

Python is a functional language, and this means (among other things) that functions, classes, and all sorts of stuff can exist in dictionaries. So, instead, I can do

lookup = { "Vendor1" => Vendor1, "Vendor2" => Vendor2, "Vendor3" => Vendor3}
try:
    foo = lookup[object.type]()
except KeyError:
    raise Exception("Not a handled type")

It’s not a big thing, but it made me happy — and the example can be extended …

lookup = { 
    "Vendor1" => { "url" => blah, "threads" =>"blah", "obj" => Vendor1() }
}
 
lookup["Vendor1"]["url"]
#equals blah

Today, it’s all about the little things.

5 Comments more...

Fixing the front headphone jack on the Dell Dimension

by Rizwan Kassim on Nov.18, 2009, under Tech Articles

So, I’ve got a Dell Dimension 8400. One nice tidbit that they included was a front headphone plug that actually interrupts the speaker output; not a difficult thing to do, granted, but its nice. One thing that surprised me was that the Windows Startup sound WOULD be played out the main speakers no matter what — making me realize that the interrupt was a software function, not a hardware switch.

Until it stopped working last week. Hours of time w/ Dell Support (which, by the way, seems to be outsourced to New Delhi and not a single person fully understood my problem), Dell forums and Google gave me little. The deal is, is that the Audigys normally come with a front panel with plugs; which isn’t available in the Dell world. And yet, it still uses that internal routing to handle the headphone plug.

So, has your headphone switch in stopped working? Reinstalling the Dell drivers does nothing. Google suggests that you turn on the setting in the AudioHQ control panel — but it isn’t there.
dell_audigy

Installing Creative’s stock drivers over your Dell drivers just gives me the shivers. Oh, and it doesn’t work. All I ended up doing was finding a driver package, say, for instance,SBA2_PCWDRV_LB_1_84_55-R1. Extract the archive (run it and look in your temp directory while its running; or even better, just use WinRAR to extract it), and go to Drivers\WDM\Common\ and run CTPanel.exe. (Or just download my copy).

Run it, go to device settings, and voila! “Mute speakers upon Headphone Jack Detection.”

creative_audigy

That’s it!

Leave a Comment : more...

This American Life

by Rizwan Kassim on Nov.18, 2009, under Tech Articles

I used to host a large archive of ‘This American Life’ in MP3 format before they had it available on their website as a podcast.

I was contacted, quite politely, and asked to remove the files from access, and I complied.

Go to TAL and stream down the eps or use the podcast.

2 Comments more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...