Slashdot Mirror


User: SlightOverdose

SlightOverdose's activity in the archive.

Stories
0
Comments
221
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 221

  1. Zope on Perl Haiku Poetry Contest · · Score: 0, Flamebait

    perl is getting old the ZODB has you python and zope own

  2. Dont they have to? on Microsoft to sue Mike Rowe for Copyrights · · Score: 1

    IANAL, but don't microsoft *have* to enforce this to keep there trademark? If they don't, a competitor could potentially challange microsofts ownership of the name.

    While it might not be very nice of them, I think politely asking him to hand over the domain was a reasonable request. With some companies *cough*RIAA*cough* the first thing you know about it is a $500,000 lawsuit.

  3. Re:Replacement for air travel on Chinese MagLev Train Opens Next Week · · Score: 1

    you could build 30-100 miles of track for the cost of a single jumbo jet. After that, operating costs are relatively low compared with aircraft.

  4. Re:Replacement for air travel on Chinese MagLev Train Opens Next Week · · Score: 1

    I believe the average boeing 747 can cost well over $30million. I'd imagine operating costs for each aircraft would be at least a few million $, not including fuel etc.

    Billions are spent each year on new aircraft designs.

    The MagLev train is expensive, but I doubt it would approach anything near an aircraft. the MagLev puts virtually no wear on the tracks and has very little friction. The amount of energy required to travel across the US would be significantly lower than that of an aircraft, and it would be cleaner.

  5. Replacement for air travel on Chinese MagLev Train Opens Next Week · · Score: 3, Insightful

    Wouldn't such a system be better as a replacement for air travel? at speeds exceeding 400km/h, it is in the same ballpark as commercial passenger jets, while being much cheaper and more convenient to run. It almost seems a waste to use it for a half-hour trip.

    Imaging a trans-continental one of these.

  6. Re:Lucky country?? on Linus Sighted At LCA2004 · · Score: 1

    Thats a common myth. There arn't any topless sheila's on the beaches- they are all in my bedroom. of course they are all fat, but hey, a vagina is a vagina.

  7. Python Benchmark on Performance Benchmarks of Nine Languages · · Score: 4, Informative

    The windows version of Python is much slower. Testing with Python2.3 + psyco on a 2.4ghz p4 running Linux 2.4.20 yeilds impressive results

    $ python -O Benchmark.py
    Int arithmetic elapsed time: 13700.0 ms with
    Trig elapsed time: 8160.0 ms

    $ java Benchmark
    Int arithmetic elapsed time: 13775 ms

    $ java -server Benchmark
    Int arithmetic elapsed time: 9807 ms

    (n.b. this is only a small subset of the tests- I didn't feel like waiting. Trig was not run for java because it took forever.)

    To dismiss a few common myths...
    1) Python IS compiled to bytecode on it's first run. The bytecode is stored on the filesystem in $PROGNAME.pyc.

    2) the -O flag enables runtime optimization, not just faster loading time. On average you get a 10-20% speed boost.

    3) Python is a string and list manipulation language, not a math language. It does so significantly faster than your average C coder could do so, with a hell of a lot less effort.

  8. Re:Portable.net vs MONO on Performance Benchmarks of Nine Languages · · Score: 1

    For comparison purposes...

    $ java -server Benchmark
    Int arithmetic elapsed time: 9806

    $ java Benchmark
    Int arithmetic elapsed time: 14404 ms

    $ ./c.benchmark
    Int arithmetic elapsed time: 6950 ms

  9. Portable.net vs MONO on Performance Benchmarks of Nine Languages · · Score: 2, Interesting

    I ran four tests using Portable.net and mono. For lazyness reasons I only ran Int and Trig benchmarks. All tests were performed on a 2.4ghz p4.

    First, I compiled Benchmark.cs using cscc (portable.net) and mcs (mono).

    I then ran each binary with mono and ilrun (portable.net). Results are interesting.

    Portable.net compiler: cscc -O3 Benchmark.cs

    $ ilrun Benchmark.portable.exe
    Int arithmetic elapsed time: 12996 ms
    Trig elapsed time: 28700 ms

    $ mono Benchmark.portable.exe
    Int arithmetic elapsed time: 16235 ms
    Trig elapsed time: 4534 ms

    Mono Compiler: mcs Benchmark.cs

    $ ilrun Benchmark.exe
    Int arithmetic elapsed time: 13784ms
    Trig elapsed time: 27939 ms

    $ mono Benchmark.exe
    Int arithmetic elapsed time: 15994 ms
    Trig elapsed time: 4596 ms

    As you can see, Portable.net has slightly faster Int math, but crumbles under the trig functions. There is no significant difference between the compilers.

    the Portable.net runtime had a serious bug where the time calculated was an order of magnitute out. I used the unix time command to get a more accurate result.

    It would be interesting to do this comparison using Microsoft.NET as well. I would assume Microsoft.net would absolutely rape these results.

    n.b. Please note this was not a comprehensive benchmark. I disabled some of the tests because I didn't feel like waiting (So sue me), while X, xmms, xchat, etc were running.

  10. Re:How long... on DVD-Jon Breaks iTunes Encryption For Linux Users · · Score: 2, Informative

    ffmpeg.sourceforge.net

  11. Re:How long... on DVD-Jon Breaks iTunes Encryption For Linux Users · · Score: 1

    Xvid is still very good- but it still has trouble encoding complex scenes even when given over 2mbit, especially at full frame (720x576 for PAL). It's not that Xvid is lacking, it's just that there are new codecs coming out that are technically superier to anythig mpeg4 can produce.

    VP6 and WM9 are better than VHS quality at 500kbit. If in doubt, get Winamp5 and have a look at some of the vp6 streams. at 300kbit, they are crisp and clean even when viewed full screen.

    At 1mbit, vp6 and wm9 have no trouble matching DVD quality video.

  12. Re:How long... on DVD-Jon Breaks iTunes Encryption For Linux Users · · Score: 1

    True- But all good media players (Including XMMS and Winamp) support AAC either natively or with a plugin. The only limitation at the moment is there are no high quality open source encoders (Faac sounds like shit. No offense to the authors, but it can't match Quicktime AAC).

    I had this argument with someonce over Vorbis. He was of the opinion that Mp3 is the only format you should ever use because others may not always be supported bla bla bla. It's the same reason why idiots still use Mpeg1 when Vp6 or Wma9 are better quality at a quarter the bitrate.

    (No, I didn't forget DivX/Xvid- Vp6 and Wm9 can hit DVD quality at 1000kbit, something Xvid could never do. Once Theora is complete it should be about as good. And before you start with the Microsoft bashing, There are open source Wm9 Encoders and Decoders.)

  13. Re:How long... on DVD-Jon Breaks iTunes Encryption For Linux Users · · Score: 1

    Or just stick with AAC, which is arguably better quality than Vorbis as 128k.

  14. Re:Problem with images on Spirit's First Mars Images · · Score: 3, Insightful

    the average broadband connection is (probably) 1.5mbit/s. I think 24mbps is a lot fast than that.

  15. An age old saying... on Nigerian Scammers Claim Another Victim · · Score: 1

    "A Fool and his money are soon parted". What I want to know, is how does someone stupid enough to fall for such an obvious scam manage to make so much money in the first place?

  16. Re:Been there done that... on Spamholes Fighting Spammers · · Score: 1

    It wasnt the SMTP server doing it, it was formail.pl, which noone has any reason to be using. All the connections were from a single subnet known to be a spammer (that entire B class is now in my hosts.deny) Besides- if you get infected with a mail relay trojan its not my fault. I'll do whatever it takes to make life difficult for whoever tries to spam through me.

  17. Re:Been there done that... on Spamholes Fighting Spammers · · Score: 1

    ... It's not possible to spoof an ip address in a full tcp connection.

  18. Been there done that... on Spamholes Fighting Spammers · · Score: 5, Interesting

    We had a spammer exploiting an incorrectly configured formmail.pl on one of our servers. We didnt actually use it, so I replaced it with a fake version that accepted pretended to accept the mail and return 100mb of data as a reply.

    Our provider gives us unlimited upstream bandwidth, so it had no real effect on us- however here would have been at least 50gb worth of data used by the time the spammer caught on, so hopefully that cost them some cash. (Although in all likelyhood it was only a minor inconvenience).

  19. Re:Plone on How to Set Up a Gift Website? · · Score: 1

    The 2 Gig limit has nothing to do with Zope. It's a filesystem limitation, and can affect any database. That said, it would be nice to span the DB over multiple files.

  20. Re:Zope on How to Set Up a Gift Website? · · Score: 4, Informative

    (woops hit submit by mistake)

    > First of all its interface is terrible, and extremely hard to customize

    Plone, CMF, CE ..... along with thousands of others. Need I say more?

    > For instance you can't really just write an HTML page and upload it and hope it will work

    Uh... yes you can. And when using a CMF based solution, it automaticall renders it using the default template and stylesheet.

    > I've never seen a photo-album plug in, and I expect one would be terriblely difficult

    A quick google search turned up quite a few. And if their wasn't, it would be trivial to whip one up in an hour or two.

    > Simple scripting is difficult. I wanted to add a simple Python script to a zope site, and there was almost no way to do it

    Python scripting is pathetically simple- My Mom could do it. To add a python script, just... add a python script from the content type menu. I dont see how that could be considered hard.

    Overall, I think your post is just a big Troll. IMHO Zope is, by far, the most powerfull solution for, well, anything to do with a website. ZPT Leaves ASP and JSP in the dust, and is trivially easy to use. I've trained several people how to use it in a matter of hours.

  21. Re:Zope on How to Set Up a Gift Website? · · Score: 1

    > First of all its interface is terrible, and extremely hard to customize

    Plone, CMF, CE ..... along with thousands of others. Need I say more?

  22. Re:Performance acceleration, indeed on Slashback: Diebold, Cluster, Radiation · · Score: 2

    I have an ATM Machine that uses Dynamic DLL's. It's currently running at about 350 degrees kelvin and uses 500 watts per second at a processing power of half a Teraflop per second. It's currently sitting in my boat travelling at 5 knots per second displacing around 1000 cubic litres. I once ran into a peir and experienced a deceleration of 200 jerks per second squared.

    *ducks*

  23. Re:Mnyeh on Lindows Announces Nvu - Frontpage For Linux? · · Score: 1

    If you have a group of people editing content, you need a CMS (Content Management System) such as Plone or Community Enabler. It makes life so much simpler.

    (have a look at www.plone.org and www.communitye.net)

  24. Re:Would you mind writing a HOWTO on how you did t on Review of Mac OS X 10.3 · · Score: 1

    Woops. Serves me right for not previewing.

    # dd if=/dev/zero of=~/e.fs bs=1M count=512
    # losetup -e blowfish /dev/loop0 ~/e.fs
    # mkfs.ext3 /dev/loop0

    Then, in your bashrc

    losetup -d /dev/loop0 # Delete any old loops losetup -d /dev/loop0 ~/e.fs
    mount /dev/loop0 ~

    voila Of course you'll need an fstab entry for /dev/loop0, and losetup has to be suid root, but you get the picture. Your home directory now appears to contain everything in the encrypted file.

    I don't ever recall setting up the Crypto API, but that works for me.

  25. Re:Would you mind writing a HOWTO on how you did t on Review of Mac OS X 10.3 · · Score: 1

    # dd if=/dev/zero of=~/e.fs bs=1M count=512 # losetup -e blowfish /dev/loop0 ~/e.fs # mkfs.ext3 /dev/loop0 Then, in your bashrc losetup -d /dev/loop0 # Delete any old loops losetup -d /dev/loop0 ~/e.fs mount /dev/loop0 ~ voila Of course you'll need an fstab entry for /dev/loop0, and losetup has to be suid root, but you get the picture. Your home directory now appears to contain everything in the encrypted file. I don't ever recall setting up the Crypto API, but that works for me.