robbat2: (Default)

So a while ago, I signed up for last.fm, finding it amusing that an idea I had during the first year of university, and couldn't figure a way to capitalize on, has come alive on it's own. I guess this should count as prior art against last.fm. Started 28th January 2002 and finished writing it 7th Febuary 2002 according to the original timestamps on the files - and I used it until August 2004 on my own systems :-)

For our art class (New Media Images [NMI]), we were required to create a piece of unique art, in Flash, that utilized some form of live data via the internet. Most of the class were using webcams or stock market data. I wasn't happy with this, and wanted to do something else. Using the OnSongChange plugins for WinAmp and XMMS, I rigged up a little webapp that recorded songs as called by the URL. Then on top of that data a little XML/CSV provider for the data.

Here's where I blogged about it originally: http://robbat2.livejournal.com/2002/01/30/
The main web interface is broken, but the raw data feeds are still available, as are the flash interface.
Raw data XML interface - seems that Firefox doesn't like a DTD at the top of the document, but view source shows it fine.
Live flash display applet - Works fine, shows the last entry from 2004
Art project data consumer - Doesn't connect properly anymore (URL changes and I can't open the flash master file to update it), but everything else works

Anyway, bringing this full circle, now that I'm using last.fm, I rigged up a new display on my webpage for the XML data from last.fm. Last.fm Statistics. The sources to it (one shell file, 2 XSLT files) are on the bottom of the page.

Oh, and LiveJournal needs a larger music field, I'm now listening to: Perfect Remixes Vol. 2 - 2004/Joe T. Vannelli ft.Csilla - Voices in Harmony (PVD Csilla In Wonderland Remix).
Which horridbly doesn't fit at all.

robbat2: (Default)
One of the other Linux folk linked to this, and I thought some others on my list might enjoy it as well.
http://orbis-terrarum.net/~robbat2/edf4.jpg
robbat2: (Default)

I meant to get back to doing more statistics on Bugzilla, but it fell by the wayside. The following is mainly for completeness, and the interest of those as to why Bugzilla has been so bog slow for Gentoo in the past.

First of all, I had some questions as to why I focused on specific actions in Bugzilla. The truth of this is, that we can break down Bugzilla's usage of the database into three specifics:

  1. Changes to bugs (INSERT, UPDATE)
  2. Loads of specific bugs and attachments (SELECT with a primary key)
  3. Searches for bugs (Complex SELECT)

Unfortunetly, the usage patterns are heavily against Bugzilla here. Searches for bugs using some string plus a variety of conditions are the most common action. Benchmarking slow queries? That's pretty much any of the complex SELECTS. "Add more indexes" I hear some people shouting. The indexes are already nearly the same size as the actual dataset they index (400mb of index for 500mb of data)! There is an index on every field that is used for searching! One of the problems is that mysql trashes it's caches on UPDATEs and INSERTs in many cases, so spends a lot of time reloading them.

Bugzilla could massively benefit from an external text indexing system like Apache's Lucene, that can handle live modifications to the index without wasting anything. Changes are fed realtime to the index, and searches for text are performed against the dedicated index (which can also be parallized easily).

More numbers

Stuart asked for some more actual numbers, so I've put them together.

Breakdown by Request Type
TypeMeanMaxMin
Total GET53809 60409 45094
—Static GET 35401 39774 28797
—Dynamic GET 18407 20635 16223
Total POST 1394 1569 1106

Graphs below the cut, hidden to avoid spamming the page )

robbat2: (Default)

I have returned from my brief honeymoon. I'll write about it in more detail soon, but for now, a point outline only:

  • Fri Dec 1st - Travel and the Taxi driver who didn't know where the hotel was.
  • Sat Dec 2nd - In which we acquire bicycles.
  • Sun Dec 3rd - Waterfalls, lava tubes, and a close encounter of the paved kind.
  • Mon Dec 4th - Recuperation - ouch! everything hurts
  • Tue Dec 5th - Replacement bicycle, and exploring Hilo.
  • Wed Dec 6th - The finding and snorkelling of a mismanaged reef.
  • Thu Dec 7th - Boarding pass SSSS's & social engineering.

Email statistics
Here are statistics on new email that I recieved while I was away. This excludes all mailing-list email, which is not subject to spam filtering as the lists are extremely clear of spam, and my procmail rules shuffle the email into seperate folders quite fine. That would add another ~3000 non-spam emails into the count, but are not really relevant to spam categorization success rates.
I have my spam settings reasonably conservative, as I don't mind deleting spam that makes it through the filters, but false positives are a much larger concern.
total new messages: 2191
total spam: 1771
false positives: 1 (0.045% of total)
false negatives: 446 (20.3% of total, 25.2% of spam)
The false negatives are getting very interesting now. Random chunks of online documents, incl sentances from the document used as subjects, with an attached image as the actual spam, or cleverly merged HTML+CSS that would render the spam text over the other text. Two of them appeared to be chunks of the MySQL documentation.
The gentoo mail aliases like mysql-bugs@g.o appear to be very badly hit with spam, accounting for nearly 70% of the false negatives - this is also possibly because I have to trust the relaying of the Gentoo email servers, and cannot check the machine that the email came from.

robbat2: (Default)
Bye folks, I'm leaving on my honeymoon. Back late on Dec 7th.
Flight details
Dec 1st: HQ0876 YVR to HNL; HQ2262 HNL to ITO
Dec 7th: HQ2121 ITO to HNL; HQ0879 HNL to YVR

Stay out of trouble while we're gone!
robbat2: (Default)
I filed a support request here
http://www.livejournal.com/support/see_request.bml?id=667981

However I'm interested to hear if anybody else has seen the same issue.

In short, are you reciving email for comments on posts in your livejournal?
I'm recieving all the email EXCEPT for comments on my posts :-(.
robbat2: (Default)

I needed a replacement power supply for an eSATA enclosure I purchased (the original one had a nasty transformer whine, I accidently got one that hadn't been replaced by the manufacter already).
The manufacter has done a sterling job, however FedEx seems to be screwing up all over the place.

The short version:

  1. Package left Irvine, CA, on 16/Nov, 15h37.
  2. Went to depot, and on to Los Angeles, CA.
  3. Sat in LA from 16/Nov 21h55 until 18/Nov 03h16 - just over 29 hours.
  4. Arrived in Oakland, CA, 18/Nov 11h24. (No notation as to when it left Oakland)
  5. Arrived in Anchorage, AK, 20/Nov 11h50 (48 hours after it arrived in Oakland). Left Anchorage 20/Nov. 16h25
  6. Arrived in Memphis, TN, 21/Nov 00h53. Left Memphis 02h23.
  7. Arrived in Vancouver, BC, 21/Nov 07h20.
  8. Then they attempted to deliver it, and I was out, and saw their note.
  9. Now the fun bit. At some point they sent it BACK to Anchorage, AK, and it left Anchorage at 16h49 again.
  10. Then it arrived in Memphis, TN again at 22/Nov 01h34.
  11. Suddenly it's in Vancouver (no notation of left Memphis). And they try to deliver it again, with my upstairs neighbour ending up signing for it.
FedEx tracking data )

robbat2: (Default)
I'm going to be taking my honeymoon finally. I was too busy with work back in August when I got married to take it then, but now I'm free. So from Decemeber 1st thru the 7th, I _will_ be offline. Marissa and I will be in Hilo, Hawaii 8-) during that time.

For anybody wanting a postcard (as a post card, or as your christmas card from me), please leave your snail mail address in the comments (they are screened for privacy), or email it to me.
robbat2: (Default)

As a few folks are aware, I've been working on the new Gentoo Bugzilla. While I have got it up now (bugstest.gentoo.org), I'm uncertain as to how the new system would cope under the load, having never done any management of a Bugzilla installation previously, nor handled anything about the existing Gentoo Bugzilla instance.

This of course nessicates a performance analysis of the existing Bugzilla 8-). Read on for statistics on the matter, including the top 3 most active users in the Gentoo Bugzilla.

Read more... )
robbat2: (Default)
Here's a wonderfuly messed up news article. Have the US courts not forgotten their previously proved cases regarding nakedness on private property? I forget the names, but the previous case of an Illinois man mowing his lawn in the nude is at least one of the relevant cases. Secondly, why is the 14-year-old male complaining about a full-frontal view of a woman? Either he's gay, or exceedingly sexually repressed.

Judge Rules Indecent Exposure Is for Men Only

From Associated Press
1:26 PM PDT, October 20, 2006

A Riverside judge dismissed an indecent exposure charge against a woman accused of disrobing in front of a 14-year-old boy, saying the law only applies to men.

Superior Court Judge Robert W. Armstrong said earlier in the week that the law only mentions someone who "exposes his person."

"It's gender specific," Armstrong said.

He dismissed a misdemeanor charge against Alexis Luz Garcia, 40, of Corona, who was cited in May after parents of a neighbor boy said she showed him full-frontal nudity as he played basketball.

Prosecutor Alison N. Norton said the decision to throw out the case will be appealed because another section of state law says that "words used in the masculine gender include the feminine and neuter."

Norton said Garcia had complained that the 14-year-old was making too much noise while playing basketball. She went out on her sundeck.

"He looked up at her, she looked down at him, and she disrobed," Norton contended.

The boy ran inside and told his parents, who complained to Garcia.

"She threatened to do it every time he played basketball," and the parents called police, Norton said.

Original sources (both California papers):
http://www.latimes.com/news/local/la-102006expose,0,7817008.story?coll=la-story-footer
http://www.mercurynews.com/mld/mercurynews/news/breaking_news/15809376.htm
robbat2: (Default)
Testing posting via LJ Talk (on Gaim 1.5)
robbat2: (Default)

I meant to blog these a while back, but it slipped by.

Here are the main ones:

Still to come:
Photo sets taken by:

  • Judy,
  • Johannes,
  • Robin's Camera (it was loaned out),
  • Marissa's Camera (it was loaned out),
  • Richard,
  • Jon Kwan,
  • Ullrich,
  • Laura?
  • Anybody else that took photos at my wedding, I'd appreciate a copy of them as well, to host from my system.

P.S. These have been scaled way down for web viewing, but I will still kick anybodies ass if they hit my bandwidth too hard.

P.P.S. If you'd like a large version of one of them to make a print or whatever, drop me an email.

robbat2: (Default)
Attention all past TechBC and present SFU Surrey students!

There's a possibility that we can get the techbc.ca domain back, and use it to our own ends (like having our student email addresses back, hosting our portfolios, and more).

I've posted further details in this posting on the TekBC Underground.
robbat2: (Default)

Recently I've been digging around in the annuls of Gentoo history, working on what will hopefully be the final tree-signing proposal before it actually becomes a full reality. During the midst of this, Stuart came up to me in #gentoo-dev:

<Stuart> robbat2: btw, did you see this week's LWN?
<Stuart> robbat2: the one of using Google Code to find PHP apps that are vulnerable to allow_url_fopen attacks
<Stuart> robbat2: you were right, all those years ago. just wanted to tell you that.

I wasn't the first to come up with the idea, the BSD ports folk were talking about it around the same time we were in mid-July 2003, and I was aware of their discussion, but I believe that Gentoo was the first Linux distribution to make this jump in turning it off. I took a lot of flak at the time for breaking many PHP applications in the name of security, but history has now shown that allow_url_fopen is a very common PHP exploit, and with the advent of Google Code, many sites may now considerably more vulnerable - and all of this could have been mostly avoided a long time ago if PHP had just included a taint mode from the start...

I hadn't read LWN yet, it's only been out a few hours, yet here the article is: "Remote file inclusion vulnerabilities". Stuart also posted a link back into the murky depths of the Gentoo CVS, with a commit I made in July 2003, that turned off allow_url_fopen by default in Gentoo.

robbat2: (Default)
Firstly, the Sun StorEdge A5000 FibreChannel array that I put on the market in March is still available. The price is now $300CAD (offers below that welcome).

I'd like to get rid of it, as well as the following stuff, because I'm really running out space in my office.

The second batch is a much larger set.
I'm asking for $3000CAD presently, but I'm willing to listen to all offers.

I'd like to be able to get rid of most of it as one bit lot.
It all works 100% - I've personally tested it under Linux, and I've had it demonstrated to me under Solaris. If you're set on buying this still, I can see about arranging a demonstration.

If you were to buy the switch, both arrays and the interconnect cable, with at least 2 controllers, you've have a fully redundant setup for your systems, with 650Gb of raw space.

If you want to leave out some of the controllers, I'm willing to make a deal as well.

Alternatively, if you are interested in an individual item here, I've included some prices.

- Fibre-Channel Switch
Compaq StorageWorks SAN Switch 8-EL
8x 1Gbit FC ports
Compaq P/N #177615-001
Includes license keys for Base, Web, Zoning and Entry Fabric.
[$600 seperately]

- Sun StorEdge T3 (2 units)
9x 36Gb 10000RPM drives.
Includes Media Converter for SC fibre ($100-$150 value).
[$1100 each seperately]

- Sun StorEdge T3 Interlink cable pair (for redundancy)
[$100 seperately]

- Sun FC Hub
(Rebranded Vixel Intralink 1000)
Fully loaded with 7x 1Gbit GBIC, SC connectors.
[$300 seperately]

- Emulex LP7000 FC controller (2 units)
[$75 each seperately]
- Qlogic QLA2200F FC controller
[$75 seperately]
- Qlogic QLA2100F FC controller
[$75 seperately]

- Fibre-Optic Cable. 10 ft. Duplex SC connector. (5 units).
[$10 each seperately]

Pickup only - I can't arrange delivery! This stuff is heavy!

Either comment here, or look at my livejournal profile for one of my email addresses.
robbat2: (Default)
Why is it that so few manufacters deal with digital optical sound in reasonable units? From the average manufacter that does computer speakers, you can only get digital optical if you go with a 5.1 or 7.1 surround system :-(.

This of course excludes anybody looking for a 2.0 sound system with optical :-(. I was pointed to using a seperate optical decoder for some cases, but means twice the number of power cables, and almost all of the optical decoders are bulky units.

However, thanks to somebody that posted on my previous query, I have now found at least one manufacter that does make what I'm after. Behold! http://www.roland.com/products/en/MA-10DBK/specs.html

Now just to figure out somewhere locally that carries them, and see if I like the sound that comes out them.
robbat2: (Default)
I've decided to start keeping a track of every cycling trip I do, including distance, start time, and end time.
Being a MySQL DB guy, I threw together a quick table for the moment, and just populated it with data from yesterday and today.

Total so far, 14.9km in 125 minutes of cycling (time estimate might be a bit high).
robbat2: (Default)
I'm on the lookout for some speakers - with optical audio in.
I presently have a 5.1 set, with analog inputs, and I want to move to a much smaller optical set mainly for reasons of space and cabling.

However, it would seem that there is no such thing as a 2.[01] speaker system with optical input. You get it in 5.1 only :-(.

I'm hoping my reader-base can point me to a solution.
Requirements
- Ideally similar to the Logitech designs, with a decoder in a seperate box that all input sources are connected to, and speakers connected to decoder - this is not a hard requirement - but I will not stand for having the decoder in the sub.
- 2.[01] sound. The sub is really optional for me.
- Optical (TOSLink) input is required.
- Having analog input as well would be handy, as would a headphones connector on the front.
robbat2: (Default)
I saw the best minds of my generation destroyed by Google - Short story by Bruce Sterling.

This is an interesting view of a potential future place - and some parts of this future have already come to pass unfortuntely.
robbat2: (Default)

While I do follow a number of other blogs and RSS feeds, I very seldom consider many of the items worth writing about, or linking to. However a new-comer to the posts I read, is the 'Language Log' - a compendium of linguistic differences and other faux pas.

A sample of recent worthwhile entries:
"Lurid language differences by the press"
"Chinglish: The Shrimp Fucks the Cabbage"
"Racy CIA investigators?"

May 2017

S M T W T F S
 123456
78910111213
141516171819 20
21222324252627
28293031   

Syndicate

RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags