Slashdot Mirror


User: bendelo

bendelo's activity in the archive.

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

Comments · 76

  1. Re:My experiences with Gmail invitations on Gmail in the News · · Score: 3, Informative

    Cais, Pieroxy and tabacco where the first 3 to reply. They have all been sent GMail invitations (I even sent one to awkmayle the 4th poster).

    In return I hope you guys send me an invite or two back in good time.

    Have fun!

  2. Re:My experiences with Gmail invitations on Gmail in the News · · Score: 3, Interesting

    I'll give 3 GMail accounts to the first 3 people to reply to reply to this post (with an e-mail address to send the invite to).

    POST NOW!

  3. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 1
    What would be really fun to see is an assembly version of quicksort. It would probably finish in about 10ms for 24,000 items.

    Guess what? I've just coded an assembly quicksort. And yes.. it takes < 150ms for 24,000 items (and 140ms for 1,000 items). I could probably improve the swapping method for the 'split'.
    0100 MOV BX,0150
    0103 MOV CX,6000
    0106 PUSH BX
    0107 MOV AX,BX
    0109 INC AX
    010A CMP CX,AX
    010C JLE 013D
    010E PUSH BX
    010F PUSH CX
    0110 PUSH BX
    0111 MOV AH,[BX]
    0113 INC BX
    0114 MOV AL,[BX]
    0116 CMP AH,AL
    0118 JL 011D
    011A INC BX
    011B JMP 0128
    011D DEC CX
    011E XCHG BX,CX
    0120 MOV DL,[BX]
    0122 MOV [BX],AL
    0124 XCHG BX,CX
    0126 MOV [BX],DL
    0128 CMP BX,CX
    012A JNZ 0114
    012C DEC CX
    012D MOV DX,BX
    012F MOV BX,CX
    0131 MOV AL,[BX]
    0133 MOV [BX],AH
    0135 POP BX
    0136 MOV [BX],AL
    0138 MOV BX,DX
    013A POP CX
    013B JMP 0141
    013D MOV CX,BX
    013F DEC CX
    0140 POP BX
    0141 CMP SP,-02
    0144 JNZ 0107
    0146 INT 20
  4. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 1

    Looks like assembly Bubblesort beats javascript Qsort (under Opera/IE) for large (<24,000) datasets. Very interesting indeed.

    Now back to revising...

  5. Re:Bit of info on Microsoft's Magical 'Myth-Busting' Tour · · Score: 1

    US: But you did invade our property once. (Grenada)

    UK: And you invaded ours (Grenada)

  6. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 1
    Ok, I've improved my Bubblesort implementation. It just about matches the Javascript quicksort time for 3,000 bytes.
    0100 MOV CX,0130
    0103 MOV DX,3000
    0106 MOV BX,CX
    0108 MOV AX,[BX]
    010A CMP AL,AH
    010C JLE 0112
    010E XCHG AL,AH
    0110 MOV [BX],AX
    0112 ADD BX,+01
    0115 CMP BX,DX
    0117 JL 0108
    0119 SUB DX,+01
    011C CMP CX,DX
    011E JLE 0106
    0120 INT 20
    Datasize / Time
    3,000 - 0.6s
    12,000 - 2.5s
    24,000 - 7.4s
  7. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 1

    On a P4-M 1.4GHz notebook, it takes 581ms while running in Opera under Windows XP

    Not bad, you certainly owned the assembly Bubblesort. However your program only manages 40,000 comparisons (compared to my 16,000,000) per second.

  8. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 2, Interesting
    Okay, here's a quickly knocked up bit of assembler to Bubblesort byte-wise an the area of memory.

    0100 MOV BX,[0128]
    0104 MOV AH,[BX]
    0106 MOV DL,00
    0108 MOV AL,AH
    010A MOV AH,[BX+01]
    010D CMP AL,AH
    010F JLE 011A
    0111 MOV DL,01
    0113 XCHG AL,AH
    0115 MOV [BX],AL
    0117 MOV [BX+01],AH
    011A INC BX
    011B CMP BX,[012A]
    011F JL 0108
    0121 CMP DL,01
    0124 JZ 0100
    0126 INT 20
    To sort 3000 bytes of random data it takes 5.4 seconds on a P4 1.8Ghz while running in debug.exe under Win2K. That's 1.6 million comparisons (of AL to AH) per second. I wonder how long that would take on a Javascript quicksort implementation!
  9. Re:I disagree on Why Learning Assembly Language Is Still Good · · Score: 3, Interesting

    I'll put my crudely coded Javascript quicksort algorithm against your finely honed 100% assembly bubblesort algorithm any day. Not only will my algorithm beat the pants off of your algorithm, but I'll also code it in far less time and with way fewer debugging sessions than you would.

    You're on. After my exams are over, I'll code a bubblesort algorithm in assembly language. I wonder how large the dataset will have to be before you win? Mail me.

  10. Re:Overestimating his contributions on Marking 50 Years Since Alan Turing's Death · · Score: 1

    I think what they ment was without him, Hitler would be drinking tea at No.10, but he did have a pretty big impact.

    Hitler was intending to use Oxford as his capital if he conquered England which is why the city was not bombed and why all the buildings are so well preserved.

  11. Re:I hate to be a pushover... on New Largest Prime Found: Over 7 Million Digits · · Score: 1

    The sig is good, it just shouldn't be multi-line. Gotta love Red Dwarf :)

  12. Reg Free on NEC Admits To Ripping Off Schools Through E-Rate Program · · Score: 4, Informative

    Here's a registration free link thanks to Google.

  13. Hand behind the Hatchet? on More Responses to de Tocqueville Hatchet Job · · Score: 5, Insightful

    I think the main question that should be asked here, is who is behind the Hatchet Job? Best guesses are SCO and/or Microsoft.

    Any further ideas?

  14. W32/Shrug on First IA64 Windows Virus Released · · Score: 0

    The virus carries the following string within itself which is never displayed: "Shrug - roy g biv"

    This presumably refers to the colours of the rainbow: Red Orange Yellow Green Blue Indigo Violet.

  15. Reg Free on 13 Energy Drinks In 3 Sessions · · Score: 5, Informative

    Here's a registration free link thanks to Google.

  16. Re:Same old... on FBI Plans Spammer Smackdown · · Score: 3, Informative

    It was not intended as a troll, it was meant to be humourous. The usual response to a spam fighting technique.

  17. Same old... on FBI Plans Spammer Smackdown · · Score: 5, Funny
    Your post advocates a

    ( ) technical ( ) legislative ( ) market-based (*) vigilante

    approach to fighting spam. Your idea will not work. Here is why it won't work. (One or more of the following may apply to your particular idea, and it may have other flaws which used to vary from state to state before a bad federal law was passed.)

    ( ) Spammers can easily use it to harvest email addresses
    ( ) Mailing lists and other legitimate email uses would be affected
    (*) No one will be able to find the guy or collect the money
    (*) It is defenseless against brute force attacks
    (*) It will stop spam for two weeks and then we'll be stuck with it
    ( ) Users of email will not put up with it
    ( ) Microsoft will not put up with it
    ( ) The police will not put up with it
    (*) Requires too much cooperation from spammers
    ( ) Requires immediate total cooperation from everybody at once
    ( ) Many email users cannot afford to lose business or alienate potential employers
    ( ) Spammers don't care about invalid addresses in their lists
    ( ) Anyone could anonymously destroy anyone else's career or business

    Specifically, your plan fails to account for

    ( ) Laws expressly prohibiting it
    (*) Lack of centrally controlling authority for email
    (*) Open relays in foreign countries
    ( ) Ease of searching tiny alphanumeric address space of all email addresses
    (*) Asshats
    (*) Jurisdictional problems
    ( ) Unpopularity of weird new taxes
    ( ) Public reluctance to accept weird new forms of money
    ( ) Huge existing software investment in SMTP
    ( ) Susceptibility of protocols other than SMTP to attack
    ( ) Willingness of users to install OS patches received by email
    (*) Armies of worm riddled broadband-connected Windows boxes
    ( ) Eternal arms race involved in all filtering approaches
    (*) Extreme profitability of spam
    ( ) Joe jobs and/or identity theft
    ( ) Technically illiterate politicians
    (*) Extreme stupidity on the part of people who do business with spammers
    (*) Dishonesty on the part of spammers themselves
    ( ) Bandwidth costs that are unaffected by client filtering
    ( ) Outlook

    and the following philosophical objections may also apply:

    (*) Ideas similar to yours are easy to come up with, yet none have ever
    been shown practical
    ( ) Any scheme based on opt-out is unacceptable
    ( ) SMTP headers should not be the subject of legislation
    ( ) Blacklists suck
    ( ) Whitelists suck
    (*) We should be able to talk about Viagra without being censored
    ( ) Countermeasures should not involve wire fraud or credit card fraud
    (*) Countermeasures should not involve sabotage of public networks
    ( ) Countermeasures must work if phased in gradually
    ( ) Sending email should be free
    ( ) Why should we have to trust you and your servers?
    ( ) Incompatiblity with open source or open source licenses
    (*) Feel-good measures do nothing to solve the problem
    ( ) Temporary/one-time email addresses are cumbersome
    ( ) I don't want the government reading my email
    (*) Killing them that way is not slow and painful enough

    Furthermore, this is what I think about you:

    (*) Sorry dude, but I don't think it would work.
    ( ) This is a stupid idea, and you're a stupid person for suggesting it.
    ( ) Nice try, assh0le! I'm going to find out where you live and burn your
    house down!
  18. Opt-Out Real Quick on Accused Spammer to Debate SpamCop Founder · · Score: 4, Informative

    For those who wish to opt out...

    OptInRealBig.com, LLC.
    (303) 464-8164
    info@optinbig.com

    1333 W 120th AVE
    Suite 101
    Westminster, CO 80234
    US

  19. Chernobyl on Slashback: Fairness, Radioactivity, Recovery · · Score: 5, Funny

    Shame to hear that the Chernobyl story is probably fake, even more so that Elena has a husband!

    Website was featured in The Mail on Sunday - so much for background research.

  20. Need we say it? on FTC Porn Spam Regulation Now in Effect · · Score: 4, Insightful

    Spammers lie, cheat and break the law. I can't see this being enforced succesfully.

  21. Re:MOD PARENT UP Re:Starts with "ad",ends with "me on GGF and Grid Security · · Score: 1

    Don't worry - I meta-moderated appropriately.

  22. Mods on China's New Craze: E-bikes · · Score: 1

    170 posts at the time of posting this, 7 at +4 but none at +5. Seems a bit strange?

  23. Social Networks on New Wave Of File-Sharing Embraces Secrecy · · Score: 5, Interesting

    I think the best way to keep the RIAA out would be to have filesharing networks based upon social networks (like orkut). You trade with your 'trusted' friends and their 'trusted' friends. You could set how many hops you were willing to spread.

  24. Re:Oi, reminds me... on SCO Caught Copying · · Score: 1

    Feel free to use it however you like - I've added my e-mail address to the image.

    I took pic of Ayres rock and overlayed the SCOX graph. Then in PSP4 (old school) I used the clone brush to modify the ridges.

    I have no respect at all for SCO, or any company whose business model is litigation. Let's just hope their stock follows to the (excuse the pun) rock bottom - I didn't modify the image for the last two months.

  25. Re:Oi, reminds me... on SCO Caught Copying · · Score: 5, Funny

    I like the one year graph better. It looks like Ayers Rock.

    It looks a perfect fit