Forgot your password?

typodupeerror

Comment: Re:Downloading Ubuntu (Score 1) 354

by Anaerin (#40023603) Attached to: Wil Wheaton: BitTorrent Isn't Only For Piracy
Interesting, especially considering the biggest MMO in history *WoW, if you didn't guess) uses BitTorrent to distribute it's content, patches and updates, and most Free to Play MMOs (at the least) use a BitTorrent downloader (BT DNA-based, usually) to download the initial setup and content files, there's two huge legitimate uses.

Comment: Re:then why didn't they write it (Score 3, Interesting) 478

by Anaerin (#40018627) Attached to: Judge to Oracle: A High Schooler Could Write rangeCheck

It's such a short and simple function that you could conceivably get two different people to write it and they'd end up with exactly the same code. The code reads:

private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex + ") > toIndex(" + toIndex+")");

if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);

if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}

There's nothing you could really remove or change about it. Sure, you could put the checks in a different order, but it wouldn't fundamentally alter the code.

Comment: Re:Why So Many Problems? (Score 1) 378

by Anaerin (#39950275) Attached to: Overheated Voting Machine Cast Its Own Votes
The problems are because the software on these voting machine is cobbled together in a "make do" fashion (I mean, using MS ACCESS for a storage medium in a critical, widespread system?) to produce minimum functionality, with no security and no oversight, along with little-to-no hardware security. Paper ballots are easy to lose, difficult to handle in large number, and incredibly time-consuming to count.

Comment: The perfect voting machine should be open. (Score 1) 378

by Anaerin (#39950211) Attached to: Overheated Voting Machine Cast Its Own Votes

Here's how you do it.

  • A public monolithic and government-controlled repository for the code, so everyone can see it.
  • Patches to the tree accepted only after review by government-appointed programmer/team. So, rather like Firefox, for example, or the Linux kernel.
  • Voting machines then use the government-approved code only.
  • Voting machines are sealed boxes, with all external ports secured with lock and key.
  • Machines are connected to the central tallying machine at each location by hard-wired ethernet (behind said lock-and-key port).
  • A single "monitoring station" is with the adjudicator, which shows votes being cast successfully (but anonymously, so it shows "a vote has been placed in this booth", but not what that vote was), to ensure that people's votes are accepted successfully, that only one vote per person is accepted, and no votes are cast when there is nobody in the booth.
  • Every voter gets a printed record of their vote, each machine keeps a printed receipt for itself, as well as a digital copy of all the votes it has received, as well as submitting those votes to the central tallying machine in real-time, which also keeps a paper record, along with passing it's results to the central system in real-time over a secured link (SSL or something similar).
  • Each update is sent with a cryptographic signature, which is accepted if the signature matches correctly (and re-requested if they do not). The response is a count of all the votes received through that link thus far - If the amounts differ, there's fraud somewhere, and the system creates an alert.
  • Vote counts are displayed in real-time on a/several government-run public website(s) with feeds publicly available for news networks and the like.

Of course, it'll never happen, but one can dream.

Comment: Not the first (Score 4, Informative) 40

by Anaerin (#39861901) Attached to: MIT <em>Tetris</em> Hack: Source Code Released
Blinkenlights did it first, and at higher resolution, and once they'd finished doing it in black and white, they went to Paris and did it again, in colour. Both systems had Tetris that was playable by phone, and would also display messages sent via SMS to the display. Oh, and both those projects were also open-source. The only interesting part of this is the wireless connectivity in the MIT system.

Comment: Re:The big fix... (Score 1) 75

by Anaerin (#39827905) Attached to: Engineers Ponder Easier Fix To Internet Problem
Yes, they could. But adding in those extra hops would delay packets sent through, making connections via the malicious route slower and thus less preferable. If the router in question is your only option then you're screwed, but if you're multi-homed, this will give you some way of verifying that differing available routes lead to the same range. If it's a malicious spoofing then you won't be able to get a response from the real site from the malicious router.

Comment: Re:The big fix... (Score 2) 75

by Anaerin (#39827825) Attached to: Engineers Ponder Easier Fix To Internet Problem

Okay, so you run dumbfucktown.net, and you have connections through comcast and vzw.

vzw starts advertising that they can get to thisnet.com faster with an announcement.

Your router:

  • Sends a traceroute to thisnet.com through vzw
  • Sends a traceroute to thisnet.com through comcast
  • Compares the two results, to see which completes, and which is faster.
  • Pings thisnet.com through vzw, with a comcast return route
  • Pings thisnet.com through comcast, with a vzw return route

If any of these fail, the new route is rejected completely. If they succeed, the route is classified and entered into the preference list based on it's performance.

If a route starts failing/returning errors, the requests are retried on the next available route in the list, continuing down the list until it is exhausted.

All dumbfucktown.net cares about is if the packets get there, and how fast. It doesn't care who owns the route, how new or old it is, or anything else.

This isn't foolproof, but it would work, I believe.

Disclaimer: IANANE

So this it it. We're going to die.

Working...