Slashdot Mirror


User: Kragg

Kragg's activity in the archive.

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

Comments · 184

  1. Re:Language doesn't matter, language CLASS matters on ICFP 2002 Contest Winners Announced · · Score: 2

    SQL is as imperative as you get. Lisp... I dunno...

  2. Re:Language doesn't matter, language CLASS matters on ICFP 2002 Contest Winners Announced · · Score: 1

    C++ and/or Java and some other languages to C
    They're *all* imperative!

  3. Language doesn't matter, language CLASS matters on ICFP 2002 Contest Winners Announced · · Score: 2

    There's always been a big divide between functional and imperatie languages.
    C is imperative, you have to tell the computer exactly what to do. OCaml is functional, you give the computer rules and then point it in the right direction. I don't believe alma will convert from one group to the other.
    People who rate functional languages always site impressive examples like the guy who wrote a submarine control program in 40 lines of ML, where previously it was 40,000 lines of C.
    The trouble is, that functional languages, while they may be more powerful, are much harder to write well in, generally taking you far longer to get to the finished state you want.
    In this time-boxed challenge, I'm not surprised to see C come in as one of the winning entries. I think that if the time constraints were relaxed, though, you'd see nothing but OCaml, Gofer, ML etc etc.

  4. Re:Still wrong on Howard Berman Talks About P2P Piracy Prevention Act · · Score: 3, Interesting

    You can shoot people who break into your house. Fix that first, then this.

  5. Re:Just exploit the IE SSL bug on Cheap SSL Certificates for Small Websites? · · Score: 2

    I'd love you to explain this one. Who sells key pairs and how do you make the certificate show that it was verified with the intention of accting as a CA?
    I have a horrible feeling this is a +5 troll... anyone got a link to prove me wrong?

  6. Re:No Real Options, Sorry on Cheap SSL Certificates for Small Websites? · · Score: 3, Informative

    Fool. that very article says that VeriSign was spun out of RSA.

  7. Re:This approach is nothing new on Charles Simonyi leaves Microsoft · · Score: 2
    int[] b= new int[] {1, 2, 8, 13, 19};
    enumerator e = b.elements();
    while (e.hasMore())
    foo.bar.whatever(a, e.nextElement());


    Maybe you have to cast if the interface ain't right. That's java (or maybe c#... it's been a while...) but every other language has ways too.

  8. Re:Groan on Why Software Piracy is Good for Microsoft · · Score: 2

    I think the point is that even if all illegal downloads stopped dead, however that might happen, you'd still want to download trailers or whatever via p2p.
    Anyway, on the somewhat broader topic at hand, what the *fuck* has this got to do with the morally questionable activities of microsoft except that they both appear on slashdot?

  9. Re:200K writes is still too few on Tiny Boxen · · Score: 2

    I freely admit I pulled my answer right out of my arse, but I have a feeling you did too.
    Clearing to 1s then blanking 0s would be more writes than just basic overwriting.
    And Huffman encoding is about repeating patterns, not frequency of 1s and 0s without order taken into account. You take a long but frequent pattern and replace it with a shorter one, but then have to remap the shorter one etc.
    mpeg tends to contain more 0s than ones, but not in repeatable patterns so there's no advantage to compressing it further in that manner.

  10. Re:Flash wears out on Tiny Boxen · · Score: 2

    The special logic involves checking to see if the flash bit contains the value (1/0) you want before writing to it. With a 50% hit-rate 100k writes becomes 200k.
    And you can probably outdo that if it's segmented and portions are dedicated to a particular use - data of a particular type (eg html or mpeg) tend to bias towards 1s or 0s. But I don't think the controller would do that, you as the operator would have to do so.

  11. Re:Webcollage on Open Source Art? · · Score: 2

    Cool app. It's fairly obvious why it doesn't generate pr0n tho -

    It finds the images by feeding random words into various search engines, and pulling images (or sections of images) out of the pages returned.

    The 'random' words are presumably sourced from a list that doesn't include 'lesbian', 'teenage', or 'pussy'. So it's not exactly a representational sample of the pics that are out there.
    Hardly a representational assessment of the frequency of those words on the net either... Anyone want to get the source and generate some real art?

  12. Re:Good on USC To Students: No Sharing Files · · Score: 1

    Crims know how to use them better too. You're better off in the situation where anybody with a gun is automatically a crim and gets arrested. Have you checked out the per-capita guncrimes / gundeaths in the US vs anywhere in Europe?
    Oh, and also, if guns were illegal presumably:
    - less crims would have them
    - there'd be less crims.

    This is OT, but hey, karma was made for burning...

  13. Re:Good on USC To Students: No Sharing Files · · Score: 1, Troll

    Kind of like banning guns, really.

    Which of course the entire civilised world outside of America agrees with...

  14. Re:The actual email on USC To Students: No Sharing Files · · Score: 2

    USC prohibits any infringement of intellectual property rights by any member of the USC community.

    That's big of them. I wonder if they prohibit rape and murder too?

  15. MP Up (except its too late) on Can Poisoning Peer to Peer Networks Work? · · Score: 1

    Karma deserved... Thanks for the references.

  16. Re:Obvious technical solution take 2 on Can Poisoning Peer to Peer Networks Work? · · Score: 2

    Checksum plus filesize is pretty damn good.
    I'm not saying this is perfect, but it would help.

    Incidentally, in answer to another point raised somewhere round here, it's true that the p2p system is the one providing you with the checksum, but there's still 2 Good Things.
    - After you download, you won't run it... you can do the checksum test yourself
    - If it was built into the p2p system then it would be indisputable... unless the server was lying, in which case you know not to trust that server.

  17. Obvious technical solution take 2 on Can Poisoning Peer to Peer Networks Work? · · Score: 3, Interesting

    Although this idea [checksums] works for newsgroups and some other centralized services, it does not with P2P. Basically, it comes down to the fact that you must trust whomever is actually doing the checksumming, or else they can just lie and publish false checksums. In the case of P2P networks, the checksumming is done by the same person you want to figure out if you can trust! As far as I know, this is an unresolvable problem.


    So, um... how about this... If it's a standard file, such as, say, the deviance rip of neverwinter nights, or the new MPEG of Two Towers, then it should always have the same checksum.

    Somebody somewhere needs to maintain a website with these checksums on. Then there's no dependence on the person who you're pulling the file from.

    Obviously doesn't work for random porn videos (although it would for more popular ones... which might also tell you whether they're any good).

    And there's nothing illegal about it.

    Problems?

  18. Shurely you can tell... on Britain's CAA Considers Laptop Ban on Commercial Aircraft · · Score: 2

    When your collision system bluescreens??

  19. Wow! Useful AS! on Convert Unneeded VRAM Into A Storage Device · · Score: 5, Funny

    Cool! Finally I have somewhere to store my Quake 3 savegames - on the spare memory of my laptop's 16meg graphics card!

    Or maybe not...

  20. Re:Neverwhere on Gaiman's American Gods Wins Hugo · · Score: 2

    Fair point. It's been a while since I read American Gods... I just remember it meandering and, as far as I could tell, making up legends etc to suit the story. It didn't live up to anything else Gaiman did... which has almost all been based on legend and folklore: sandman, that angel-and-devil one with terry pratchett (which amazingly was pretty good, and terry pratchett is a grade A twat).

    As an aside, has anyone read Coraline? I'm tempted to buy it even though it's meant to be a kid's book :)

  21. Re:Contradictory on 802.11 vs. 3G For Mobile Access · · Score: 2

    SMS was doomed in the UK a year and a half ago. Now it's the most popular messaging format in Europe.

    802.11b is used by the people. I have a card. It rocks. It won't die until my card breaks, hopefully not for a few years yet... and I'll probably buy another one when it does.
    It's great being able to sit in the garden and surf :)

  22. Fundamental difference is... on 802.11 vs. 3G For Mobile Access · · Score: 5, Interesting

    Power.

    Think about it. You plug a wifi card into your laptop and start surfing. Battery life cuts from 4 hours to 2.

    This study examines current 802.11a solutions... chances are there will be some improvements, but it averages 100 microwatts/sec regardless of whether it's in use or not.

    OTOH, 3G phones (with their tiny ickle bodies and tiny ickle batteries) consume power at 25 microwatts in TX/RX, and only 1 in idle mode.

    This article talks about how 3G power is a challenge for handset manufacturers even now, designing for 3G. You think your phone is gonna be able to cope with 802.11a? You're wrong.

    3G and WiFi are both cool. But they are different.

  23. Re:Neverwhere on Gaiman's American Gods Wins Hugo · · Score: 2

    I completely agree.

    Personally I think it's because London (with its 3000 years of history) provides a much more interesting canvas on which to paint...

    American gods? Cable TV and Fords. (Sorry, that was unnecessary, but you get the point)

  24. Re:implement this in slashcode. on A Borg-like Artificial Intelligence For Lionhead's New Game · · Score: 2

    And poor commenting.

  25. Re:Sometimes it is... on Do Long Work Hours Affect Code Quality? · · Score: 1
    I guess it ultimately depends on do you enjoy / believe in what you do? Has the company treated you well up to this point? How will the hours affect the rest of your life, assuming you have one?


    Yes, yes, and... well, 2 out of 3.


    I've worked for some of the big boys in the industry, and all I can say about long hours is that once it starts, it doesn't stop. Management gets used to this "new" amazing level of productivity and it is then expected to get anywhere up to a point where you can spend enormous amounts of time at work to maybe get that 1% extra on your bonus, and a potential decrease should you decide to take normal hours again.


    This is true, and certainly something to watch out for. Perhaps I'm naive, but I enjoy work (most of the time), and my company definitely gets the picture - the staff won't do it all the time.


    And yes, I've tought about my hourly rate. If you do these kind of hours (and I actually rarely do more than 12) one month in 3 or 4, and you get a decent salary, it's alright.


    I think that, basically, this style of working doesn't suit everybody. That's why it's important to recruit people with that expectation set.

    At my company, some people leave - most don't.