• Hanzito (unregistered)

    It's probably easier for the submitter than for us to understand these comments, but some seem to be humoristic. The final one might be some kind of prank on newbies: senior tells junior to turn that flag on, junior sees comments, hilarity ensues.

  • 516052 (unregistered)

    Sounds like my kind of commenting style. Trying to figure out convoluted things, be they code, config files or a textbook can be made a lot less dreary and thus a lot more efficient (your attention lapses when you are bored) with a sprinkling of humor.

    Like, if you are adding some test code to your branch just to see what happens you could comment it as "Do not commit. Test code." or you could say "Test code. If you commit this you go strait to hell, no trial." One is more fun.

  • (nodebb)

    probably unnecessary to have UDP checksums, but you can if you want for some reason

    The obvious reason is that you'll eventually have to migrate to IPv6, where UDP checksums are mandatory. And there's mostly no point in turning it off, since these days network cards are almost all capable of doing it for you.

    Oh, and it's worth remembering that for "endianness" reasons, "Internet" checksums are the last volume-use bastion of the abomination called "one's complement". If the "true" calculated checksum is 0x0000, we send "negative zero" (0xFFFF) instead, reserving a "true" value of 0x0000 to mean "no checksum provided". Which is banned in UDP-over-IPv6 packets.

  • (nodebb)

    I enjoy the warning here: don't be a dick. You can set your max message size to any power of 2, but don't be a dick about it.

    To be fair, if you increase the package size too much, it will result getting split up and that can have a number of issues since most providers world-wide still operate on 1.5-4k packages. Most likely you are going to DoS yourself at a point, best case is that tons of packages lost or out of order will make your latency go up with no other benefit.

  • Hmmmm (unregistered)

    Gallons and gallons of the 'Dew!

  • Duke of New York (unregistered)

    He had never sent on a faster thread, Işıtan decided.

  • Time Nut (unregistered)

    Not a good idea to turn off UDP checksums. Yes the checksums in the standards are not speedy to compute, that is why a lot of NICs nowadays have checksum offload in the hardware.

    People thought, it's OK to turn off UDP checksum because we want things fast, fast, real fast, and the lower level has a packet/frame checksums so it should all be good. Ask Sun how that worked out for them with NFS. NFS wanted to be fast so they designed NFS with UDP and turned off the checksums in the OS by default. This was in the days of Thick ethernet and AUI cables. People with no business touching networking gear just put taps on the backbone cable at any spot, push the limits of distance and many other bad things.

    Call up a file in an editor, and wow, it has all kinds of trash in it, so you get out and it now writes that junk back to the real file on the server and you have now lost stuff.

  • (nodebb)

    ignore_asimovs_laws_of_robotics = false; // probably best to leave this one as is

  • Kotarak (unregistered) in reply to Hanzito

    Electronics related company.

    Senior: "To calibrate this we need frequency water. Go get some from the warehouse." Junior goes to the warehouse. Junior: "We need some frequency water." Warehouse guy, quick in the head, goes to the back, picks a random canister with water and writes "50 Hz" on it with a sharpie. Junior goes back. Senior, also quick in the head: "Aah. That's the wrong one. We need the high-frequency one." Off to the warehouse the junior goes. Junior:" We need the high-frequency water." Warehoiuse guy: "Why haven't you told me that from the start. geez." He goes to the back and writes a "k" in front of the "Hz". Warehouse guy: "There you go."

  • Tinkle (unregistered)

    When I saw that the net_udp_packet_size was 64k I though the WTF was that every packet was being dropped.

    The standard size is 1500 bytes and even configuring for Jumbo Packets only expands that to 9000.

    Setting the default to 1472 (1500 minus 28 bytes overhead) would make the most sense to me.

    Hmm, I just googled it and the maximum safe size across older IPv4 networks on the internet without fragmentation is 508. That is worth me remembering, as I tend to work across a LAN.

  • (nodebb) in reply to Kotarak

    This is a real conversation I once had.

    Me: Hi, I need an A4 pad please.

    Stores Guy: Portrait or landscape?

    Me: errr... portrait I guess.

    Stores Guy: Sorry but we only have landscape. Not only that, for some reason they printed the lines vertically.

Leave a comment on “The Most Dangerous Game”

Log In or post as a guest

Replying to comment #701882:

« Return to Article