Slashdot Mirror


User: AmishSlayer

AmishSlayer's activity in the archive.

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

Comments · 61

  1. Re:Cool code no longer means fast on Java Urban Performance Legends · · Score: 1
    This argument is as flimsy as your point:

    Both code blocks require the math (two subtracts, two multiplies, an add, and a square root) but the original block (unoptimized) also requires the allocation of the Point object and the two memory copies to store the (x,y) location.

    Unless you clone the object it is a shallow copy.... that is to say it is a reference variable pointing to the same Point object, not a refernce variable pointing to a whole new Point object.

    Furthermore the compiler will optimize your code.... compile the class both ways and compare the byte code instruction with javap -c Point

    the method is the same for both idioms:

    public Point(Point);
    Code:
    0: aload_0
    1: aload_1
    2: getfield #2; //Field x:I
    5: aload_1
    6: getfield #3; //Field y:I
    9: invokespecial #4; //Method "<init>":(II)V
    12: return


    I suspect that most of you "performance" issues do not really exist, but rather, they stem from a lack of knowledge and poor perception on your part.
  2. Shoutcast dying too? on Winamp Down for the Count · · Score: 1

    I figure their open source programs like NSIS will stay open, but what about programs like shoutcast?
    And please tell me that someone will be maintaining BEEP

  3. Re:Null routes? on DDoS Extortion Attempts On the Rise · · Score: 1

    Exactly why is letting a DDoS crush your service to everyone when they attack on of your sites better than blocking customers in one group?

    It would be a nice idea, but the DDoS attackers would simply have their programs assign random fake IP addresses to each phony request. They do not need to have the junk responses returned to them.

    They could also spoof IPs of other servers vital to the one they are attacking so if they mistakenly blocked them they would be in a world of hurt.

  4. Re:Not the first time... on How 8 Pixels Cost Microsoft Millions · · Score: 1

    You are dead on with this one, but a better anology is:

    people are not afraid of a "therapist" because it too close to "the rapist".

  5. Re:snort setup on Network Security Hacks · · Score: 1

    If you use snort then you've upped the stakes a bit in that the spoofed traffic is quite a lot harder to create but its not impossible. You only need to lose DNS access and the system will be knackered.

    Fortunately, I have whitelisted important services like DNS. But I am still very cautious about this, because it is actually much easier than you might think to trigger a positive (or even a false positive) for snort. A false positive for example would be, IIRC, sending an email (accepted or not) that does not have a newline character within 100 characters of the Content-Type header. This would be trivial to manufacture and is part of the default set of snort rules. I am sure there are other ones out there with smaller payloads for a more efficient attack. Thanks for the input, it has been very helpful :)

    Are you familiar with snort2pf [gnu.org]?
    What do you think of it? How does it compare with what you've done?


    Actually, no. I tried to find tools that did this for me, but instead I ended up making my own. Reading the description for snort2pf, it appears as though it just checks the alert for dangerous entries... it looks like a nice all in one package.

    What my setup is able to do is to handle different log files and I can handle nuisance traffic too. Like http_access referrer spam (you know those damn entries for surfcorp.com/s.php?uid=1234&key=value&key= etc ) I get hundreds of bad requests from Austrailia computers so I use this to ban the IPs....

    Cool, do you have this blogged somewhere? I am interested in reading more if you have written anything on the setup.

    sorry no blog, but this has motivated me to get one going. However, my setup does need some work before it would be worth making public.

  6. snort setup on Network Security Hacks · · Score: 5, Interesting

    I've just finished a setup with snort, apf, logsurfer and a custom program to create a live repsone firewall.

    snort will detect the offensive network traffic and put it into the alert log file. Logsurfer will then trigger and email me with a notice, it will run a program I wrote to blacklist the attacking IP (my program checks to make sure the IP is not already banned and makes sure the IP is not my own so I do not get locked out). Finally, my program updates the firewall to block the bastard.

    The only hole I see in this setup is a DoS by attacking with different spoofed "from IPs" until the firewall rules are too big, or too many legit servers are banned.

  7. Re:Psychedelics on Lysergically Yours · · Score: 1, Offtopic

    You forgot 5MEO-DMT and 2C-T-7

    5MEOwid.org/chemicals/5meo_dmt is a 15 minute mind blowing trip trip (great for lunch hours ;)... honestly though, I never did the lunch hour thing.

    2C-T-7, well it's just great.

    Also you can get LSA (an LSD derivitive) from Hawiian Baby Woodrose seeds or from morning glory seeds.

    And let us not forget good old san pedro cactus which is another mescaline source

  8. Re:This may be knit picking... on First IA64 Windows Virus Released · · Score: 1

    You've got me there, the whole kitten kaboodle ;)
    doooly noted :)

    I'll use the correct phrase from now on... it funny how many phrases are understood verbally, but people (myself included) do not know how to actually write them.

  9. This may be knit picking... on First IA64 Windows Virus Released · · Score: 5, Insightful

    W64.Rugrat is a fairly simple proof-of-concept virus. However, it is the first known virus to attack 64-bit Windows executables on IA64 systems intentionally, and it does so successfully. The virus uses a handful of Win64 API-s from 3 different libraries, NTDLL.DLL, SFC_OS.DLL and KERNEL32 respectively.

    From NTDLL.DLL the viruses uses the following 3 functions LdrGetDllHandle(), RtlAddVectoredExceptionHandler() and RtlRemoveVectoredExceptionHandler(). The virus supports vectored exception handling to avoid crashing during infections.


    Yes, the virus uses three DLLs. It also uses a routine to avoid crashing itself while infecting the machine... it does not look like the virus cares about crashing other applications.

    The thing to pay attention to here is that this is a fault tolerant virus. I have seen more and more effort lately (Sasser for example avoids shutdowns to help it propagate) from authors trying to make their creation survive.

  10. Re:Aristoteles on Alan Turing, the Inventor of Software · · Score: 1

    That is like saying Newton can't take any credit for calculus because he built off of the math that other before him created (or better yet "discovered"). Newton made claculus from the rules of math, and more specifically the rules of trigonometry.

    Alan made a generic universal computer from the rules of logic. Logic itself is not computation, and cannot solve a problem, however, the application of logic can. Hence Alan is gets the credit.

  11. Re:Downloading copyrighted material is theft. on Hollywood's Foundations Rest on Piracy · · Score: 3, Informative

    from dictionary.com:

    stealing
    1. To take (the property of another) without right or permission.

    property
    [...]
    c. Something tangible or intangible to which its owner has legal title: properties such as copyrights and trademarks.

    Stealing, in short, is depriving someone goods or a service. When someone copies and album it is not stealing (but is copyright infringment) because they may not have purchased it in the first place, you cannot argue absolute property loss directly or indirectly from a situation that may never have occured (the purchase of the copyrighted work).

    "You bring your car to the garage. It gets fixed and the bill comes to some amount of money. You are expected to pay the mechanic this amount."

    In this case you DID get your car serviced so you DO owe money.

    "Did you just steal from the city or not? You didn't take anything "physical" from them."

    Again, you are misunderstanding the meaning (or perhaps citing people who have worded the point poorly). You are taking a measurable amount of electricty from the city that will directly effect their pocket book. You owe the money.

  12. Nice on Microsoft Word Forms Passwords Hacked · · Score: 1

    > IIRC .ZIP files were stored in plaintext, so you could easily unlock it with viewing it in a hex editor

    YDNRC (you do not recall correctly)... zip files use XOR or some other simple encryption measure with the password as the key, it is not stored. The best Zip crackers take hours to crack a zip with a password length over 6 characters.

    PKzip has a patent on and is using real encryption on their zip files which offers much greater protection than a zip file.

  13. Re:Wire-fu doesn't count as "realism" on The Best and Worst Movies of 2003? · · Score: 1

    Four words to enjoy a movie by:

    temporary suspension of belief

  14. Re:$1.40 cheaper on Dr. Tatiana's Sex Advice to All Creation · · Score: 1

    ooooooooooooooooooooooooooooooooohhhhhh the stinging sarcasm... I will need some therapy and meds to recover from that blow.

    post like a man, not anon like a chump.

  15. Re:$1.40 cheaper on Dr. Tatiana's Sex Advice to All Creation · · Score: 1

    Indeed!

    Half of his posts are about how Amazon is cheaper than bn.com and spend X more to get free shipping. I've seen a lot of trolling spamming scum like this lately.

    Same text everytime too... like it is a script making the post or something.

  16. Re:We can't have 2.0 yet! on Branding Mozilla: Towards Mozilla 2.0 · · Score: 5, Funny

    based on past history
    as opposed to future history ;)

    sorry I couldn't resist.

  17. Yes we are getting the point on Supreme Court Will Hear Pledge of Allegiance Case · · Score: 1

    If your are forced to say it in grade school regardless of your religion, or forced to "so help me god" in court, and when congress and judges start their sessions they are to start with a pledge clearing favoring one religions and money states "in god we trust" and ten commandments are displayed but not the tenents of every other religion (not even the tenants of any other religion for that matter)....

    then the government is establishing one religion over another.

    So with the current pledge of allegiance we are actually saying... athiest, polytheists, and all other non Jewish/Christian religions need not pledge their allegiance to America at all.

    Is that what we want to do do? Marginalize other religions so we can someday enjoy the strife of the middle east? You are missing the point.

  18. Re:Give it up, MS! on Company Files Motion to Stop IE Distribution · · Score: 0, Troll
    I'm sorry but this will not effect open source and geeks.

    All mozilla needs to do is have code like the following:
    bool obeyEolaPatent = true;

    ....

    if(obeyEolaPatent)
    {
    ...
    }
    else
    {
    ...
    }
    and any geek can recompile it and run it... I am sure most of us have a friend who can do it for us if we are not able to.
  19. Re:Here is the text... on Interview with Linus Torvalds from NYT Magazine · · Score: 1

    I've notified NYT that you've posted their copyrighted works illegally. I'm sure ./ will have to remove your post after they receive a cease and desist order. The registration is in place to protect the NYT's property, not for you to smile at while you circumvent it.

    lol... I haven't laughed that hard in a very long time

  20. Re:Uh oh - no funny on New ssh Exploit in the Wild · · Score: -1, Troll

    ANd the NO CARRIER joke wasn't funny the first million times I've heard it. The MODS are stupid if they think this is "funny"

  21. MS memo is an advertisment on WindowsUpdate.com Secured, Permanently · · Score: 1

    That "memo" looks more like an advertisment to me. Read it and see how much Bill gabs on and on about all the good things that Windows, .NET, et al provides.
    Even when security is there number one priority advertising is still their other number one priority.

  22. Re:Be careful about unproven herbal treatments. on Creatine Found to Boost Brainpower · · Score: 2, Insightful

    FUD... there is creatine in your body every moment of everyday. Escpecially if you eat fish or seafood. Two worrisome cases? Two? Sh!t the sky is falling.

  23. Re:Wrong. Wrong wrong wrong... on IBM Clinches Security Certification for Linux · · Score: 3, Insightful

    No it didn't. FUD. According to

    FUD = Fear, Uncertainty, and Doubt

    Overexageration is not FUD. It may be inaccurate or perhaps just plain wrong, but it is not FUD.

  24. Re:Dismissal of piracy is astounding on The Effect of Pirated CDs · · Score: 1

    Irregardless, this is no excuse for hosting 40GB of this tripe

    if only that was actually a word I might respect your opinion.

  25. Re:What a terrible voting record on Inquiry Into RIAA's Piracy Crackdown Tactics · · Score: 1

    " You probably helped put that Pawlenty drone in power. Good job."

    Thanks! It kept the kook who ran against him out.


    lol, you are stupid and funny

    "By the way Wellstone voted against Arctic drilling"

    I guess he wants the oil to come from Iran instead.


    Specious reasoning... like antartica had enough oil for us anyways.

    "voted YES on keeping CAFE fuel efficiency standards"

    Get government out of this. Thanks for the tiny unsafe cars, Paul!


    feul efficiency != tiny unsafe cars
    "safe" SUV == dependancies on foriegn oil

    "voted NO on defunding renewable and solar energy"

    So he voted no on stopping wasting money on corporate welfare for energy corporations?


    Lessens our dependencies on foriegn oil (kinda shoots doown your inane Iran allusion

    "voted YES on prohibiting job discrimination by sexual orientation"

    Yet, he favors companies firing people who do not join political organizations.


    how?

    ooooh and what about term limits, you skirted around that one.

    What a bastard, indeed.
    much less so than you