0:05 AM
Rondom has quit
0:06 AM
cooperaa has quit
0:23 AM
demonhunter has quit
0:32 AM
rpedro has quit
0:33 AM
rpedro joined the channel
1:03 AM
Kerensky97 has quit
1:26 AM
lampneon has quit
1:30 AM
hawke_ joined the channel
1:50 AM
Knio has quit
1:51 AM
trollomat has quit
1:51 AM
Knio joined the channel
2:08 AM
aCiD2 has quit
2:24 AM
stochasticism joined the channel
2:26 AM
Jormangeud joined the channel
2:31 AM
Jormangeud^ has quit
3:37 AM
Amblin- joined the channel
3:49 AM
Amblin has quit
4:11 AM
cooperaa joined the channel
4:25 AM
cooperaa has quit
4:43 AM
shawn__ has quit
4:47 AM
chillware
any ideas how I can scan a folder full of subfolders and return a list of folders with 3 or less files?
4:50 AM
dholmes
...write a program to do it. I can't think of any other way
4:50 AM
Erm
4:51 AM
Actually, are you using Windows?
4:52 AM
At least in Vista, you could add a "File count" column, sort by that column, and select the entries in question
4:52 AM
chillware
xp
4:52 AM
dholmes
I dunno if you can do that in XP or not
4:52 AM
chillware
yea i am starting a vb script as we speak.. cant think of any other way
6:39 AM
Apollozeus joined the channel
6:45 AM
yllona has quit
6:46 AM
rpedro_ joined the channel
7:02 AM
rpedro has quit
7:06 AM
Aankhen`` joined the channel
7:09 AM
shawn__ joined the channel
8:30 AM
aCiD2 joined the channel
8:38 AM
Muz_ mooses in with a head of wet hair
8:47 AM
MrQwerty` joined the channel
9:05 AM
MrQwerty has quit
9:27 AM
MrQwerty joined the channel
9:27 AM
BrianFreud has quit
9:28 AM
yllona joined the channel
9:29 AM
_Tykling joined the channel
9:40 AM
Tykling has quit
9:40 AM
_Tykling
_Tykling is now known as Tykling
9:46 AM
MrQwerty` has quit
10:07 AM
MrQwerty` joined the channel
10:25 AM
BrianFreud joined the channel
10:25 AM
MrQwerty has quit
10:27 AM
trollomat joined the channel
10:47 AM
MrQwerty joined the channel
11:05 AM
MrQwerty` has quit
11:14 AM
Jormangeud has quit
11:14 AM
Jormangeud joined the channel
11:25 AM
demonhunter joined the channel
11:27 AM
MrQwerty` joined the channel
11:39 AM
Jormangeud^ joined the channel
11:45 AM
yllona has quit
11:46 AM
MrQwerty has quit
11:46 AM
Rondom joined the channel
11:52 AM
Jormangeud has quit
11:55 AM
Rondom
quick question. If I cancel one edit of a set of three edits the other edits aren't cancelled, right?
12:08 PM
Jormangeud^ has quit
12:08 PM
fragged has quit
12:09 PM
Jormangeud joined the channel
12:18 PM
MrQwerty joined the channel
12:27 PM
aCiD2
Correct
12:29 PM
Rondom
thanks
12:37 PM
MrQwerty` has quit
13:13 PM
luks joined the channel
13:15 PM
MrQwerty` joined the channel
13:17 PM
trollomat has quit
13:34 PM
MrQwerty has quit
13:35 PM
FauxFaux
Huhu, migration from postgres8.1 to 8.2 time. How long could this possibly take? ¬_¬
13:35 PM
Rondom has quit
13:38 PM
trollomat joined the channel
13:39 PM
Muz
FauxFaux, at least it's not MySQL.
14:07 PM
canidae
FauxFaux: debian/ubuntu got some tools for that which is significantly faster than the oneliner you get from pg docs
14:08 PM
heard some rumours that pg might add those tool to their project
15:03 PM
hawke_ has quit
15:10 PM
aCiD2
Why Why WHY did I go 18 years without listening to any Aphex Twin?!
15:10 PM
aCiD2 is finally listening to Selected Ambient Works, Vol 2
15:11 PM
copper joined the channel
15:11 PM
copper
Good afternoon
15:11 PM
aCiD2
allo you
15:12 PM
copper
15:12 PM
aCiD2
What don't you understand?
15:12 PM
copper
I don't understand how the SHA1 sum is computed exactly
15:12 PM
hawke_ joined the channel
15:13 PM
that, and the fact that the C code doesn't mention the leadout track, contrary to the explanation above
15:13 PM
aCiD2
Are you trying to calculate DiscIDs, or just curious?
15:13 PM
copper
trying to calculate it, yes
15:14 PM
aCiD2
Why not use libdiscid then?
15:14 PM
copper
I only know PHP and I have already implemented a FLAC library that handles metadata (not just vorbis comments)
15:14 PM
I already compute FreeDB discids
15:15 PM
aCiD2
I see
15:15 PM
I haven't done anything with Disc ID's, so I'm afraid I'm pretty useless :(
15:15 PM
copper
the thing about the SHA1 computation is that with PHP I only have one function that takes a string as input
15:15 PM
but here, they use sha_update() and sha_final() - I don't understand what those do
15:16 PM
aCiD2
15:16 PM
ojnkpjg
they're used to compute the hash piecemeal
15:16 PM
you could just pass it all as one big string
15:16 PM
probably faster to do it that way, really
15:16 PM
no idea why the 100 sha_updates
15:16 PM
Gilgad joined the channel
15:16 PM
copper
ojnkpjg: I did that, but I must be doing something wrong, because I don't get the same results
15:17 PM
what about the leadout track?
15:18 PM
the page says it feeds, among other things, the leadout track (I assume its *offset* is implied)
15:18 PM
but the C code doesn't reflect that - what's the deal?
15:18 PM
luks
the lead-track is in FrameOffset[0]
15:18 PM
er, lead-out track
15:19 PM
copper
luks: ah, do you know that for a fact?
15:19 PM
luks
yes
15:19 PM
copper
thank you
15:20 PM
aCiD2
copper: It's sort of implied in the source code
15:20 PM
luks
"Note that the leadout track is stored in pCDInfo->FrameOffset[0] ." - from that page :)
15:20 PM
aCiD2
or that :P
15:20 PM
copper
luks: damn it, I missed that :P
15:21 PM
tired eyes
15:21 PM
luks
reading ftw :)
15:21 PM
copper
ok let's try this again
15:21 PM
copper goes back to his values
15:22 PM
wait, just to make it clear
15:22 PM
ojnkpjg
shouldn't it read ->Frame[0]
15:23 PM
copper
basically I concatenate the first tracknumber, the last tracknumber, the leadout offset, then the offset of each track, pad it with zeros until I reach 99 tracks
15:23 PM
luks
yes
15:23 PM
ojnkpjg
as hex
15:23 PM
luks
uppercase
15:23 PM
ojnkpjg
padded to two chars
15:23 PM
copper
ojnkpjg: as raw hex, or as ASCII hex?
15:23 PM
ojnkpjg
ascii
15:24 PM
it's doing a printf %02X
15:24 PM
sprintf
15:24 PM
copper
"b3" and not "\xb3" then?
15:24 PM
luks
B3
15:24 PM
copper
sorry yes
15:27 PM
ojnkpjg
oh, that doc page is out of sync with the wiki page
15:27 PM
which has the Frame vs. FrameOffset thing fixed
15:28 PM
srotta
What thing?-)
15:29 PM
ojnkpjg
on the doc page it says the leadout offset is stored in pCDInfo->FrameOffset[0]
15:29 PM
but the for loop is iterating through pCDInfo->Frame[i]
15:29 PM
instead of FrameOffset
15:29 PM
shawn__ has quit
15:29 PM
srotta
Um, no it's not, it's FrameOffset in the loop as well.
15:30 PM
ojnkpjg
15:30 PM
}
15:30 PM
sha_final(digest, &sha);
15:30 PM
it's correct on the wiki page
15:31 PM
srotta
ojnkpjg: I'm reading the same page, and it has FrameOffset :D
15:31 PM
ojnkpjg
did someone just push an update, or something?
15:31 PM
i'm still seeing Frame[