- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Well, an armed society is a polite society.
Admin
Glad to get back to CS again.
Admin
Admin
CONGRATUATIONS!@! you win the pedantic ass of the day award. Pick up your free nose clippers at reception.
Admin
The easy way is to use TCP which will automatically disassemble the weapon into pieces, attach a note to each piece describing its arrangement within the original weapon, and send duplicates of any piece that gets lost in transit.
Also, http://www.snopes.com/politics/military/clippers.asp
Admin
In terms of the OSI model, yes, in terms of programming no.
UDP you have to worry about path MTU, packet sequencing, dropped packets, etc.
TCP just gives you a pipe you can read from or write to, and it handles the nitty gritty like re-ordering packets, requesting retries, etc.
Admin
.... all you need is a 3d printer and you're away.
Sure we're not far off the technology that will automatically machine a piece of metal into whatever form you want -- you just need a moderately-well equipped workshop such as can be found in e.g. educational institutions. Can't see where the barriers are.
Admin
And of course if you look closely at the history of the Internet (and of internets in general - I know the difference, thanks), you discover that they invented TCP (and IP as we know it) after inventing the first internets, but "The" Internet was a result of what followed.
Or maybe the whole thing was an elaborate hoax that caused major cognitive dissonance - you know, that thing they call a joke...
Admin
If I want to shove 40KB into a single UDP packet, I can, and if the path has a bigger MTU, it will be delivered in one IP packet just like a 400-byte UDP packet would be. More likely, my 40KB packet will be fragmented by the IP layer, and reassembled on delivery, but that's not my problem.
UDP is just fine for transporting real-time media packets like VoIP and streaming-video, where losing, duplicating, or misordering a packet is unfortunate but recoverable, but delaying a packet while we recover from the loss of an earlier packet is a major no-no. The key is in that word "transporting". UDP is a transport protocol just like TCP is.
No, of course it isn't valid to use UDP when doing a reliable-transport job. But it isn't valid to use TCP when you are transporting delay-sensitive loss-tolerant data. Because we have both sorts of data flows to accommodate, it is awesome that we have both transport protocols available.
EDIT: And the programming effort in using these protocols fortheirintendedjob* is more or less equal.
Admin
That's why he had to invent his own equivalent.
Admin
Stefan should have appreciated the immediate performance gain that resulted from the coding decision...
Admin
I just carried my M4 with a chamber guard when we were flying to Kuwait en route to Iraq. We put our rifles under the seats in front of us. It was a flight specifically chartered for troop movements; it might be a bit more involved if you're flying commercially.
Admin
I tried to Google for an old joke but can't find it. In the days when Xerox machines only copied paper documents, someone made a joke press release where Xerox announced a machine that would copy solid objects. A questioner asked what would happen to Xerox after someone buys two of them and uses one to make copies of the other. The Xerox employee called off the press conference.
Well, it used to be a joke.
Now all we have to do is figure out which 3D printer company is going to be most successful, and short its shares.
Admin
Ahh, I didn't say one was any better or worse than the other, just agreed with the author's statement that UDP was lower level from a programming standpoint.
UDP has fewer overheads than TCP, which is why it gets used for streaming real-time data. If a packet in an audio stream gets lost you don't have time to re-send the data, so forget about it and move on.
TCP will try to re-send that missed piece of data, thus cause your station to slip behind. UDP: if it's a problem you implement forward erasure coding or a packet re-send request system to deal with it. It's up to you to deal with it.
Admin
Admin
"An armed society is a polite society."
Admin
"An armed society is a polite society."
Admin
It would be more useful to look at the real history of the American West rather than the Hollywood version. I've seen several studies that found that the murder rate in the "old West" was lower than that in most American cities today.
Sure, if you watch Hollywood Westerns you might get the idea that bandit gangs would terrorize towns all the time and people were regularly shooting each other in the streets. But if you watch Hollywood crime shows, you'd think the same thing happens in Detroit or Washington DC today. Well, okay, bad example ...
Admin
Number of terrorist attacks stopped to date by the TSA: zero.
Number of terrorist attacks stopped to date by unarmed people on a plane wrestling the terrorists into submission: At least four.
Thus, here's my idea of how to improve airplane security: As each passenger goes through screening, check if he or she is carrying a weapon. If not, give him one. If everyone on the plane is armed to the teeth, how could any terrorist hope to pull off a hijacking? Instead, our security system guarantees that the ONLY people on an airplane who are armed will be the terrorists, and so they can be 100% confidant that no one will be in a position to fight them.
Admin
+1
Gun violence is the worst in the American cities with strictest gun laws, like Chicago and DC.
Admin
They won't even let you take AR-15s on a plane, and assault rifles are much better weapons than the AR-15.
Admin
True - it's hard to have a high murder rate when there's nobody around, and IMO, large populations are one major difference between then and now.
They had MORE gun control laws back then. The famous gunfight at the OK Corral was Tombstone's town marshall and posse trying to enforce the local gun laws. Everyone survived except Billy Clanton, and three of the lawmen were tried for his murder. They were released, but the shooting of a criminal was taken more seriously than many people think.
Admin
Admin
Admin
True. The research shows that it's the type of gun laws that affect crime numbers. Trying to limit who owns guns fails. It doesn't increase crime, but doesn't decrease it.
However, making the penalty for possessing a gun illegally or misusing it so severe that it's not worth it has been shown to reduce gun crime.
Source: Freakonomics (Why do drugs dealers still live with their moms? chapter)
Admin
Admin
Seriously? Spending Million$$$ porting to different languages as opposed to writing primary code in C with autogenerated FFI wrappers?