robbat2: (Default)

Not sure who out there can help, but I'm looking for a number of old Gentoo distfiles, that were located on the Gentoo mirrors directly, and not copied from some other location. I do have every other version of the mysql-extras, so I am only looking for those listed here.

mysql-extras-20050904.tar.bz2
mysql-extras-20050919.tar.bz2
mysql-extras-20051205.tar.bz2
mysql-extras-20060114.tar.bz2
mysql-extras-20070104.tar.bz2

I have every other version of that distfile, those are the only ones I'm missing, and I'm after making a nice Git repo to trace the history. The SVN tree that was used for a short while doesn't contain some of the details from these either, hence the need for the tarballs.

Beyond those tarballs, it would be interesting to try and build an archive of every distfile ever used in Gentoo. I've got the diskspace (and tape backup) to do it. I already have an LTO3 tape that is getting every bit of release media/stages from Gentoo, so distfiles would be the next logical step.

Edit: Thanks to Lisa for 20050904.

robbat2: (Default)
This is a weird request. But if anybody sees these as Region 1 DVDs, I'd love to have them. They are South African movies written by or involving Leon Schuster. IMDB doesn't even list all of them, but I'm strongly certain they exist.

Wanted:
"Mama Jack"
"Mr Bones"
"Sweet and Short"
"Panic Mechanic"
"You must be joking 1"
"You must be joking 2"
"Oh Schucks it’s Schuster"
"Oh Schucks here comes Untag" (Also known as "Kwagga Strikes Back")
"Oh Schucks I’m gatvol"

I already have
"There’s a Zulu on my Stoep" (North American title "Yankee Zulu")

I think I might be SOL, as it seems a bunch of them have not been produced as Region 1 DVDs at all.

Update 2008/07/16:
I bought a region2 box set on my 2008 trip back to South Africa. UPC 600416062939. It just doesn't have the most recent movies.
robbat2: (Default)
Just got pair of spam posts to my LiveJournal, the string in itself is not interesting, but the fact that the identical string shows up via Google is.

"very interesting, but I don't agree with you Idetrorce"

Search for it as an exact string, and also search the unique word on the end - both get some unique Google hits.
All I can surmise is that it's a system that the spammers use to find new spammable spots - submit to web forms, and then use google in a week to find URLs that have the magic string.

I've deleted the original ones now, both from 91.163.196.209 - I'd be interested to hear what other IPs this magic string is seen from.
robbat2: (Default)

If you use 'PermitRootLogin no' in your sshd_config and a locked-down sudo (requiring a password to upgrade powers), logging in to a machine as root is not allowed. This can be a pain when you want to rsync files between two machines, as root on both sides to preserve permissions and ownership. There is a fun little hack that you can use to get around this, that I'll document here.

  1. Ensure your SSH agent is running and has a key present.
  2. Open two shells, we will call them A and B (instructions prefixed with either or 'Both' below)
  3. We will use A to connect to the source, and B to connect to the destination.
  4. Both: SSH to the relevant machines, forwarding your agent, using 'ssh -A hostname'
  5. Both: Run 'sudo su', authenticating to sudo. Do not use 'sudo su -', as we need to preserve our SSH agent information.
  6. B: Run your rsync command as normal, but include the following option: --rsync-path='sudo rsync'

You should not get a password prompt! If you do get one, your sudo authentication did not propagate on the source machine properly. You cannot enter a password at this prompt either, it will never reach sudo, as rsync does not pass your input to it.

Alternatively, if your rsync version does not have a usable 'rsync-path' option (non-existant or wants a full path to a single program), you can use the -e option as: -e 'ssh user@source sudo /usr/local/bin/ignorefirst'. /usr/local/bin/ignorefirst is the following tiny script:

#!/bin/sh
shift
exec "$@"

The '-e' method is a lot more flexible, you can chain SSHs in it for example. You only need the 'ignorefirst' script because rsync puts the the hostname as the immediate next argument to the contents of '-e' commands.

Nerd Test

Sep. 6th, 2007 01:32 am
robbat2: (Default)

NerdTests.com says I'm a Nerd God.  What are you?  Click here!
robbat2: (Default)
Tired of the slow TransLink web forms?
One of my co-workers made a nice Firefox plugin to TransLink's site.


Give it a search like "5100 fraser st to 200 burrard st at 9pm" and it takes you immediately to the results. If a search would take you to the TransLink location confirmation page, you still end up there unfortunately.

Get it here: http://tomsmyth.ca/translink/

It's fully cross-platform as well, that's his Windows screenshot, but I'm using it on Linux-firefox.
robbat2: (Default)

On one of my machines with a PCI-express Intel e1000 network controller, I get some weird behavior during startup. The driver loads, but the link lights are not lit until such time as I cycle the administrative link status. I did complain to the e1000 upstream folk about it months ago, but I still haven't seen a solution, as they seemed to bicker about it with Linus, in the name of power-saving.

The following is a snipped for /etc/conf.d/net that combines the solution with this problem with the more common check for link status check before trying to get a DHCP address.

check_link() {
  ethtool "${1}" | grep -q 'Link detected: yes'
}

preup() {
  # Try to force link up first, for e1000 special case
  i=0 
  while [ "${IFACE}" != "lo" ] && [ $i -lt 3 ] && ! check_link "${IFACE}"; do
    [ $i -gt 0 ] && sleep 1
    ip link set "${IFACE}" up  
    i=$(($i+1))
  done
  # Then check for actual link
  if ! check_link "${IFACE}"; then
    ewarn "No link on ${IFACE}, aborting configuration"
    ip link set "${IFACE}" down
    return 1
  fi  
}
robbat2: (Default)

So lately I've doing a variety of development that uses PostgreSQL. It's come a long way since I last used it a couple of years ago, esp. in the realm of performance. The auto-complete in the psql tool is also a very nice touch, I can get it confused occasionally, but the auto-complete in the similar mysql tool is far less advanced.

There is however one thing that still bugs me, and it's turned up in plenty of other places. This is the issue of INSERT IGNORE/REPLACE that MySQL supports, but PostgreSQL doesn't. The widely documented way to handle these is to used a stored procedure instead, but that has a major shortcoming: it can only insert a single value at a time. This is a major performance limitation, and also suffers concurrency issues. INSERT IGNORE and REPLACE handle multi-valued inserted much more gracefully.

INSERT IGNORE is defined as inserting a data tuple, and if the primary key already exists, that singular tuple is not applied to the table. REPLACE is defined as insert a data tuple, and if the primary key already exists, using the remaining data in the tuple to perform an UPDATE statement.

If anybody has got other ideas that make handling REPLACE and INSERT IGNORE in PostgreSQL easier, I'd love to hear them.

Cut for the length of this post )
robbat2: (Default)
Earlier in the week, I had a weird dream. "So what?" you ask! I seldom remember dreams, and even if I do they are even less worth writing about.

The core portion of the dream had Brittney Brokenshire (neé Bogyo, a former classmate of mine at TechBC) and her father, Terry, kidnapped by a BC union organization that had gone militant (in the style of the Shi'te militias of Iraq, as portrayed by western media). The dream ended with me talking to David Brokenshire about how he was handling it (the dream contained no conclusion to the kidnapping), and Paul (David's brother) arranging all the flowers that were being sent to the home from well-wishers.

Anyway, while I thought the dream was strange at the time, it a random occurrence later this week that made me wonder. Yesterday I went to the FedEx depot at the airport, to collect package that I had missed the delivery of. It turns out that the FedEx depot is a MAJOR pita to get to via public transit. The best you can do is get to the Airport transfer station, and then walk the next 1.5km, because the 424 bus loops around the wrong way (you can use it on the way back, but not effectively on the way there). After collecting my package and returning to the Airport transfer station to continue back to Vancouver proper, a fellow walked up to the stop, and I was certain I knew him, but could remember his name. I said "Hi" anyway, and he recognized me.

For the TechBC lurkers on my journal, Micheal Cox is back in town! He moved back to Vancouver 3 weeks ago, after his 2.5 years in London. He's still doing Oracle stuff, still for the same company. He's engaged to be married, sometime in the last quarter of 2007. He doesn't really drive much anymore - Living in London has converted him to public transit (the Tube did it he says).

Of the random bits gleaned from Micheal, David and Brittney are relocating to New Zealand, to follow Vive Kumar for David's doctorate.
robbat2: (Default)

2007/10/23: anon comments locked due to spam

For all those Gentoo developers and readers out there, I'd like the answer to a perception question. Without looking at any data source, do you know roughly how many active (non-retired) developers there are? Do you know where they are distributed around the world?

We presently have 319 developers that are not marked as retired. I hear that Developer Relations have a pile of folks to mark as slackers, so this number will appear lower soon, but more accurately reflect how many developers in the distribution.

Here's the summary of the breakdown:

103.13%South and Central America
113.45%Unknown
268.15%Africa, Asia, Australia
309.40%United Kingdom
10031.35%North America
14244.51%Europe
319100.0%Total
I have more detailed results online here. Surprising bits include the number of developers in Germany (more than the combined total of the 2nd and 3rd entries), as well as the bug concentration in California.

Here is a breakdown by group groups of timezones, but it's made moot by the point that some people are normally early-morning people, while others are night-owls:

113.45%Unknown
257.84%Asia, Australia
11034.48%North, South and Central America
17354.23%Europe, United Kingdom, Africa
319100.0%Total

Source data that I based this data was originally LDAP, partially processed and made available here.

robbat2: (Default)
Dear Lazy-Web,

I haven't needed to use the lazy-web before, there something I saw in the past, and can't find again. Several years ago, I read about a survey (taken of programmer's partner's), that correlated the programmer's programming language with their Libido. I seem to be recall that Java came out tops, and there were remarks about "it just leaves you wanting to conquer more".

Links appreciated.

Quiz time

Feb. 28th, 2007 03:24 am
robbat2: (Default)

I should be writing the book I'm working on, but M bugged with an eviliness quiz...


How evil are you?
robbat2: (Default)
I meant to blog this a while back, but things slipped by me, so I only (remembered to do it && had time when I remembered) now. Quick thanks to Flameeyes and a UK-based user for the "Finding Nemo" and "Ferengi Rules of Aquisition" from my wishlist.
robbat2: (Default)
From an email, I realized that I have a fair history of computer gear that I have had over the years. I finally went and finished putting dates on my gallery of computer hardware, and have a fun partial timeline below.

I didn't have a digital camera before this point, so these are the earliest images.
April 2001: http://tinyurl.com/2hpmw6
That is indeed xeyes. Using a Win32 X server, as my linux box was primarily a server, with an exceedingly junky 1Mb graphics card.

March 2002: http://tinyurl.com/2hf8r3
Webserver/router (left), along with machine that was being worked on for TechBC Teknights (it was sloth.games.techbc.ca after that).

March 2004: http://tinyurl.com/29avrp
IMG_7705: SGI Visual Workstation (VisWS) 320, SGI O2
IMG_7706: Pentium 233MMX desktop, VIA C3-1, Athlon fileserver

May 2005: http://tinyurl.com/24p9fh
The desk seen previously has moved into my bedroom, and the entire wall area is now a workspace.

July 2005: http://tinyurl.com/22yxzh
After returning from LinuxTag 2005, I cleaned up the mess!

August 2005: http://tinyurl.com/ysrpda
Going vertical now, due to lack of space.

January 2007: http://tinyurl.com/2cntcq
This is my home office. I do need to clean off the left side of the desk, so that Marissa can sit there, but there is also a lot of stuff that I need to finish off and sell, including the Sun FibreChannel gear, and 3 ATX machines.
robbat2: (Default)
In regards to my previous post, I should clarify that I was looking at patterns in spam, and wondering about taking advantage of the spammers.

Here's another one that turned up in my spam folder since I went to bed. Obviously this stock is well past it's prime, but it rocketed 480% from $0.012 to $0.058 between the opening of business Thursday, and the opening of business Friday: MHII.OB.

Corey Shields pointed out the markets are closed today, as it's Martin Luther King day, but I will stick to my prediction about VTSS anyway.

I'm wondering, from an IT point of view, if we noticed enough of the spam, esp. early during the spam runs, could we profit from the actions of spammers?
robbat2: (Default)
What do all of these have in common?
COHG EPRT FCCN GLOW GTEM HWYI HXPN LYJN MENV NWOG PRTH RRLB SFWJ UTVG VTSS

They are all stock symbols, that were promoted via pump-and-dump scams in the last 4 days.

Let's look at one the that I saw last week for a moment:
Starting Monday Jan 8th, the RRLB went up nearly 120% overnight (from $0.04 to $0.10). Then around midday Tuesday there was a big sell, followed by another big sell wednesday.
http://finance.yahoo.com/q/bc?s=RRLB.PK&t=5d&l=on&z=m&q=l&c=

Now if we look at the others (these are all the ones that really stand out, the others don't have enough data available for me to make a conclusion).
MENV - 40% growth
NWOG - 20% growth
PRTH - 80% growth
SFWJ - 50% growth
UTVG - 80% growth in less than 12 hours.
VTSS - 10% growth since yesterday, but this spam run only appears to be starting.

I want to make a prediction here, to test a theory. VTSS will gain at least another 20% before Wednesday.
robbat2: (Default)
I had a few things I wanted to post about, but for a moment, a list, so I don't forget about them.
  • Noisy upstairs neighbours
  • On being a IT generalist
  • Tales of ISPs past
  • Giving Gentoo development a good kick in the ass
  • Writing testsuites for my own open-source applications
robbat2: (Default)

For those Gentoo developers and users listening here, the Bugzilla migration is now completed.
For more details (incl how to report problems), see the post to the -dev mailing list.
Some nice users asked if I had wishlists, so here they are.

  1. Gentoo Adopt-A-Dev (see my entry for PCI-E SCSI OR an iSCSI to SCSI converter)
  2. ThinkGeek Wishlist
  3. Amazon WishList (Actually my wedding registry list, but still suitable for this purpose)

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