just for making sure every field gets loaded is this fine
LotR: thanks
VxJasonxV
I need to learn -D forwarding
Muzzz
"learn"?
VxJasonxV
I have Local and Remote forwarding down, but -D escapes me
learn and actually use
Muzzz
It's simply ssh -D <port> user [at host]
VxJasonxV
well, I know how to enter it
Muzzz
Then in whatever application whack in your SOCKS proxy as localhost:<port>
Simple \o/
VxJasonxV
figured.
Ok, so now I understand, thank you.
Now I just need to figure out if I have a need :P.
Muzzz
I find it useful for bypassing rapidshite IP download limiting
VxJasonxV
heh
Muzzz
Just keep tunnelling via a different host to get multipart RARs or whatever heh
VxJasonxV sighs @ usenet for the web
I torrented the best thing ever the other day
VxJasonxV
I'm thankful that I don't deal with that nonsense (Rapidshare, MegaUpload, etc.) anymore.
I have my own webserver/server and do whatever I Want with it \o/
Define: The Best Thing Ever
Muzzz
40 folders or so, each containing 1-5 ZIP files. Each ZIP file containined a RAR part, which contained the actual VST software
VxJasonxV
O_O
FFS
Muzzz
This was a torrent, why you have multipart RARs in a torrent is stupid, why you have each RAR part zipped is stupid too
VxJasonxV
they really needed to compress those rar's 10K more didn't they?
actually, multipart (split files in general) are better for torrenting than one huge file
ok that's not true
they /can/ be better
luks
hm, why?
Muzzz
Not always when you consider the files the archives contained
VxJasonxV
because there's a greater chance of chunks being identical
maybe, I could be talking out of my ass
Muzzz
And even then I'm not convinced, torrenting is downloading in parts as it is so huge files are fine
O.o
luks
I don't think a hude compressed file will have identical chunks
LotR
how can it be better to uselessly stick the files into another file?
luks
huge
VxJasonxV
I don't mean the Zipped rars are a good idea
my train of thought is always that if you could torrent one iso, or a 30 rar part span of the iso, it's better to go with the rar parts
LotR
I think you *are* talking out of your arse
VxJasonxV
again, because of chunking and all that
Muzzz
VxJasonxV: woo, so you potentially save downloaded a tiny part, but then spend an age unarchiving it all
VxJasonxV
I probably am :D
Muzzz
People should man the fuck up and not multipart RAR files intended for torrens
luks
well, iso is a special case as it's completely uncompressed
what most people download on torrent are heavily compressed files :)
Muzzz
luks, in which case a single archive would be fine
luks
right
VxJasonxV shrugs
VxJasonxV
k, I'm just crazy
Muzzz
Yes, yes you are :P
LotR
so how much does an iso compress when you zip/rar it?
luks
depends on the contents
LotR
1% 5% 10%?
luks
an iso of zeroed files compresses pretty well :)
LotR
well, I would hope there'd be useful content in my ISO
FauxFaux
LotR: A full iso is basically a concatenation of the files, so, basically, not at all, assuming the contents are already compressed.
LotR
FauxFaux: right, and the usual content on an iso isn't *that* compressable, right?
FauxFaux
YOUR QUESTION MAKES NO SENSE
Ahem.
LotR
what, like there isn't a most common type of content for torrented ISOs?
I mean linux distributions of course :)
Muzzz shakes his head
FauxFaux
Well, software occasionally has hillariously poor ocmpression, unless it's a game or a linux distro.
Having said that, NFSMW has about 900mb of 24bit 9billionhz wav on that compresses quite well, 'cos they're retards.
LotR
NFSMW?
luks
24bit audio in a game?
FauxFaux
It's a game.
For the music, no less.
Muzzz
Need for Speed Most Wanted
FauxFaux
I'm pretty sure I mean that one, not at my machine right now.
Muzzz
Wiggatastic
hawke_ joined the channel
aCiD2
"TODO This should be a trigger if we ever get a real DB" lol? I wonder how old that comment is
FauxFaux
Hee hee.
svn praise it!
aCiD2
:P
Muzzz
*svn blame
Blaaaame
LotR
you mean git blame. aCiD2 wisely shuns svn :)
MClemo
svn is totally unusable!!!!!!11
Muzzz has cravigns for HOT BEEF
aCiD2
:P
you can hot my beef
Muzzz
omnomnomnom
But if I log out of WoW to go cook beef I'll lose my Voidwalker :(
luks
aCiD2: I bet it's from the MB-on-MySQL time :)
aCiD2
:)
didn't even there was that!
Tykling joined the channel
ruaok joined the channel
snarlydwarf joined the channel
Sargun has quit
luks, ruaok: Is MB::S::Artist->Insert not meant to be called directly or something? It keeps throwing "Do called without BeginTransaction or AutoCommit" for me
ruaok
you need to open a transaction before calling it.
FauxFaux
Maybe you should begintransactionfirst. ¬_¬
ruaok
the idea is that you never mod the DB without being in a transaction.
aCiD2
ruaok: right, but why should I have to open the transaction before calling Insert, shouldn't Insert handle that?
Same with SearchEngine->AddRefs
FauxFaux: well duh, but I'm just wondering why Insert doesn't do that itself
ruaok
no. even insert has the same assumption.
the modbot opens transactions and commits them if the insert/artist-insert go well.
warp
because the transaction might consist of multiple inserts or updates?
aCiD2
ok, I see
warp is just guessing :)
FauxFaux
I expect insert simply doesn't error check for you?
aCiD2
so the client is responsible for beginning the transaction, gotcha
FauxFaux
Oh, or, maybe.
aCiD2
FauxFaux: error checking what? It checks it has enough info to do the commit, but doesn't check it actually commited
ruaok
insert is nothing but error checkls. :)
warp
haha
ruaok
but it assumes that a transaction is open
aCiD2
ruaok, I think I found a way to do testing as well with DBD::Mock
had a play with it while I was waiting for a lecture :)
looks quite similar to what we do atm, what are the major differences?
luks
there is no artist->insert
aCiD2
my changes atm have taken stuff like "Insert" "SelectArtistsByName" out of the object level and into the package level
luks
the code for handling DB and for model are separate
aCiD2
ie, $artist->Insert becomes MB::S::Artist->Insert, in my branch
is that what you mean?
luks
yes
aCiD2
yea, that's def needed, only just started getting round to doing the changes
luks
well, except that I'd prefer it to be in a separate package
aCiD2
Like MB::S::Model::Artist? :P
luks
and $artist should not know about $dbh
aCiD2
right
well what I'm doing atm (only started this today, though it's been on my mind a while) is making all DB calls package level, and they accept $dbh... should I go the route of introducing a context?
or could we not just use MusicBrainz.pm for that
luks
they need more than $dbh
aCiD2
(doing $dbh atm because it lets me switch between DBD::Mock and DBD::Pg)
mmm? like what?
luks
they might need $dbh to the raw DB
aCiD2
ah, true
luks
cache shouldn't be a global variable, so alsosomething liek $cache
which would also help testing a lot
aCiD2
ok
glad I'm thinking in the same direction as you (for once :P)
luks
btw, what is the roadmap for the TT branch you have set with ruaok?