Separate names with a comma.
Discussion in 'Mac Programming' started by MrVegas, Jun 4, 2005.
I've decided to go another route. Thanks.
I'm not actually sure what you're asking. When bands release free MP3s on their sites, surely they check them before uploading! So what's the use of that app? (I haven't looked at the site yet).
I could see a use for it with illegal downloads...
It seems to be written in Ruby (which is a bit non-standard on the Mac to say the least). On the upside Ruby is a scripting language (a bit like Perl) so just downloading Ruby for OSX and the source should be pretty much all there is to it. Whilst it will probably compile the code it will be done at runtime so you don't need anyone to compile it for you. If I have time later (i.e. tomorrow) I'll have a look at this and post some step-by-step instructions.
It cannot be! Our members would never do a thing like that!
That would be great! Thanks.
This all assumes you are on 10.4 (as that's what I'm running).
Ruby is already installed by default (which is nice). You can confirm this by opening the Terminal and typing:
All being well you should get
If you don't get this back then try installing the developer tools as ruby might just be installed with them.
Download the source rar file (and if your Safari is like mine remove the .txt extension it adds). Use Stufit to extract the code.
Then try and run the code. At this point I cannot get going. I don't know much about ruby but it seems to be trying to load a shared library (digest/crc32_in_c) included in the "source" and can't, probably because the library is compiled for Windows/x86. Source should be just that, the source code, not source code and binary files mixed.
Anyone else got any ideas?
yup the files in the digest folder are .so, which means they have already been compiled. An idea would be to ask the programmer for the source of these files.
And the previous poster is right, sourcecode should be sourcecode and nothing else.
I doubt if I can get ahold of the programmer for the source of the .so files.
Can't do anything wrong with trying. If he's prepared to put the source online of his application, he wouldn't mind sharing the source for digest files which are CRC32, MD5 and SHA1 checksum algorithms. He surely didn't write that himself, as they are very common.
Okay, I know this is a little late coming I have been interested for some time with the idea of porting AQScript to the Mac and Linux. I have begun workj on a port, the first step of which was stripping out any code that was pulled from the ruby standard lib (which is distributed with ruby itself) and identifying any 3rd-party code that was integrated ... The CRC32 extension is one such piece of code - it was not written as part of AQScript itself (which I suppose is why the c source was not included) - and I have sent the original CRC32 author an email requesting the source.
In any case, my plan is to generalize AQScript by removing the stuff that is overly specific to Ubernet (their standard is a bit too draconian for my taste, although they mean well) to where it would be useful as a general purpose mp3 verification tool. If I cannot get the CRC32 source I'll simply replace it with another lib... I intend to do some code cleanup as well - the AQScript code is a bit crufty in places and although some may not mind just throwing code like that into public view I am a bit more conscientious
I plan to release version for Windows, Mac, and Linux once it is complete. If you have any questions or suggestions feel free to contact me...
s0nspark <at> gmail <dot> com