News for hackers. Stuff that matters.
Re:Redis: the AK-47 of databases by ErrantX on Friday January 28, 2011 @10:28AM (#2152135)
The title randomly reminded me of the AK-47 quote from Lord of War (an actually decent Cage film, and definitely a good bit of monologue):

Of all the weapons in the vast soviet arsenal, nothing was more profitable than Avtomat Kalashnikova model of 1947. More commonly known as the AK-47, or Kalashnikov. It's the world's most popular assault rifle. A weapon all fighters love. An elegantly simple 9 pound amalgamation of forged steel and plywood. It doesn't break, jam, or overheat. It'll shoot whether it's covered in mud or filled with sand. It's so easy, even a child can use it; and they do. The Soviets put the gun on a coin. Mozambique put it on their flag. Since the end of the Cold War, the Kalashnikov has become the Russian people's greatest export. After that comes vodka, caviar, and suicidal novelists. One thing is for sure, no one was lining up to buy their cars.

Only tangentially related :) but I thought worth sharing. Anyone care to write a redis version?

Re:Redis: the AK-47 of databases by nickpinkston on Friday January 28, 2011 @11:01AM (#2152284)
I'll only be pedantic about them rarely being forged (mostly stamped) and definitely still having problems of overheating. Try firing one on full auto for more than one clip - better have gloves...

They are great weapons though. I've never cleaned mine or had a jam. I hope this database is that good!

Re:Redis: the AK-47 of databases by leftnode on Friday January 28, 2011 @11:24AM (#2152383)
If we're being pedantic, they use magazines, not clips :)
Re:Redis: the AK-47 of databases by nickpinkston on Friday January 28, 2011 @05:01PM (#2153707)
Actually, the words are interchangeable. You've heard of "Banana Clip" I'm sure. Clip is just slang for magazines, but the short word is for some reason associated with small magazines. The manuals all call them magazines - rifles or pistols.
Re:Redis: the AK-47 of databases by GeZe on Friday January 28, 2011 @09:26PM (#2154428)
No, they are not interchangeable, and no, they do not mean the same thing.

Some nice illustrations I found: http://i.min.us/ie52d2.jpg http://i.min.us/icklUo.jpg

To any firearms enthusiast, hearing clip and magazine being confused is like hearing nails on a chalk board. Imagine someone at your work insisting that Java and Javascript are the same language.

Re:Redis: the AK-47 of databases by Pinckney on Friday January 28, 2011 @11:59PM (#2154693)
"Imagine someone at your work insisting that Java and Javascript are the same language."

This is a rather poor analogy. Someone confusing Java and Javascript might believe they can paste their Javascript code into a Java program and have it work. Nothing of this nature will result from confusing clips and magazines. A shooter isn't going to expect to be able to use their Mosin-Nagant clips with their PSL, any more than they would expect for the PSL magazines to be valid replacements for their Winchester 1895 magazines.

It is incorrect, but it's not all that bad. 95% of the time, it is clear from context; the remaining cases primarily concern weapons with a fixed magazine, for which the user probably does know the difference.

Re:Redis: the AK-47 of databases by nickpinkston on Saturday January 29, 2011 @12:14AM (#2154710)
No true Scotsman... Really - this is a matter of taste (what slang you prefer). As a former arms dealer / in a family of government weapons contractors and servicemen, we all use "clip" as slang.

It's like everyone calling car wheels "rims"

Re:Redis: the AK-47 of databases by GeZe on Saturday January 29, 2011 @03:05PM (#2156230)
Really? I am in the Canadian Forces infantry, and if anyone ever used the term "clip" in reference to a magazine, and was actually serious, I'm pretty sure they would get beat up. May I ask what country you are affiliated with and in what branch of the military those servicemen are? It is interesting to see such a basic difference in terminology.
Re:Redis: the AK-47 of databases by nickpinkston on Sunday January 30, 2011 @01:26AM (#2157539)
USAF and small weapons / ammo manufactures. You're right - military nomenclature (US) uses very precise (and verbose) terminology: "magazine" is always used strictly. Though the words "gun" and "rifle" are dropped in favor of "weapon" in some cases. What I find is that the longer you're out, the more the language becomes civilian - unless you're a hardcore / die-hard kind of person.
Re:Redis: the AK-47 of databases by burgerbrain on Friday January 28, 2011 @07:38PM (#2154117)
My understanding of it (and wikipedia seems to back me up) is that the term 'clip' when used properly refers to the device used to assist in loading a magazine.

For example, you use a clip to load ammunition into the (internal) magazine of an M1, and you could use a clip to load ammunition into a "banana clip", which actually refers to a style of magazine.

Re:Redis: the AK-47 of databases by nickpinkston on Friday January 28, 2011 @09:28PM (#2154434)
You're referring to "stripper clips" that were invented before guns had removable springed magazines. Those are a type of clip (and lead to the term), however the slang term clip doesn't refer to pistol magazines - it's merely slang for a magazine. It's a common misconception and what I was responding to.

In fact, the internal pistol magazine of a C96 pistol is still a magazine, but it loaded by a stripper clip, and some guns like the Japanese Type 3 are fed directly from stripper type clips - but those aren't "speedloaders" as the article suggests.(To juxtapose the concepts completely...)

http://en.wikipedia.org/wiki/Stripper_clip http://en.wikipedia.org/wiki/C96_pistol http://en.wikipedia.org/wiki/Type_3_Heavy_Machine_Gun

Re:Redis: the AK-47 of databases by burgerbrain on Friday January 28, 2011 @11:17PM (#2154599)
I'm refering to the wikipedia article on ammunition clips in general: "A clip is a device that is used to store multiple rounds of ammunition together as a unit, ready for insertion into the magazine or cylinder of a firearm. This speeds up the process of loading and reloading the firearm as several rounds can be loaded at once, rather than one round being loaded at a time."

https://secure.wikimedia.org/wikipedia/en/wiki/Clip_%28ammun...

Using the term "clip" to mean "magazine" is both slang, and incorrect.

Re:Redis: the AK-47 of databases by nickpinkston on Saturday January 29, 2011 @12:22AM (#2154735)
All I'm saying is "clip" doesn't mean "magazine for a pistol" - which is the misconception. Clip, as used commonly in slang, is for any magazine. Rarely would one refer to stripper clips as just "clips" - usually it's "stripper" or "strip" to avoid confusion.
Re:Redis: the AK-47 of databases by tsycho on Friday January 28, 2011 @04:05PM (#2153520)
You actually own a AK-47? Out of curiosity, why?
Re:Redis: the AK-47 of databases by nickpinkston on Friday January 28, 2011 @05:07PM (#2153725)
Well, few people own true AK47's, most own copies of the Russian AKM which is made from stamped parts (as opposed to machined on the true AK47 [1]. I own a semi-auto Romanian WASR 10 - which is very common in the US (PA). They go for ~$300 at a sporting goods store.

It's a lot of fun to shoot, the AK is cheap reliable, historical and can be used for fun, hunting (yes) and in survival situations. I actually do a "StartupGuns" [2] event in Pittsburgh where a bunch of us go shooting like OpenCoffee or similar.

[1] http://en.wikipedia.org/wiki/Akm ("Features") [2] http://www.facebook.com/group.php?gid=207534415228

Re:Redis: the AK-47 of databases by burgerbrain on Friday January 28, 2011 @05:02PM (#2153711)
Why do people own TVs?

They're fun.

Re:Redis: the AK-47 of databases by jtdowney on Friday January 28, 2011 @10:55AM (#2152245)
It reminded me of the AK-47 quote from Jackie Brown:

AK-47. The very best there is. When you absolutely, positively got to kill every motherf@#$%r in the room, accept no substitutes.

Re:Redis: the AK-47 of databases by keiferski on Friday January 28, 2011 @12:15PM (#2152611)
Supposedly the Ak 47s used in the film were real, as real Ak 47s are less expensive than fake ones. But I'm not sure where I heard this, or if it's even true.
Re:Redis: the AK-47 of databases by Luc on Friday January 28, 2011 @12:33PM (#2152671)
Well, have I got the definite resource for you! http://www.imfdb.org/index.php/Lord_of_War

"According to Director Andrew Niccol in the DVD commentary, the guns were real guns rented from a real arms dealer, as it was cheaper for the production to rent 3,000 real guns than to rent 3,000 blank converted props. "

Re:Redis: the AK-47 of databases by bioh42_2 on Friday January 28, 2011 @01:27PM (#2152919)
Didn't Brandon Lee die because someone mistook a real gun and bullets for prop ones?
Re:Redis: the AK-47 of databases by tvon on Friday January 28, 2011 @01:43PM (#2152974)
Not quite.

http://en.wikipedia.org/wiki/Brandon_Lee#Death

> (...) behind schedule (...) they decided to make dummy cartridges from real cartridges by pulling out the bullets, dumping out the propellant and reinserting the bullets. However, the team neglected to remove the primers, which, if fired, could still produce just enough force to push the bullet out of the cartridge and into the barrel. At some point prior to the fatal scene, the live primer in one of the improperly constructed dummy rounds was discharged by an unknown person while in the pistol, leaving the bullet stuck in the barrel.

> (...) the same gun was later reloaded with blank cartridges and used in the scene in which Lee was shot. When the first blank cartridge was fired, the stuck bullet was propelled out of the barrel and struck Lee in the abdomen, lodging in his spine.

Re:Redis: the AK-47 of databases by kprobst on Friday January 28, 2011 @01:02PM (#2152789)
I think most movies use the Chinese Type 56 assault rifle, which is a Kalashnikov knock-off and is far more common in the US than the real thing. Most people can't tell the difference between the two.

BTW, I highly recommend "The Gun" by C.J. Chivers. It's a fascinating historical treatise about this weapon.

Re:Redis: the AK-47 of databases by nickpinkston on Friday January 28, 2011 @05:11PM (#2153737)
Actually the Chinese copies are considered pretty good, but are pretty rare because the US embargoes "assault" weapons from there for civilian use with State Dept's permission (never).

Most of the cheap ones in the 90's were Maadi (Egyptian), and now they're usually Romanian.

Re:Redis: the AK-47 of databases by kprobst on Friday January 28, 2011 @05:30PM (#2153789)
Well, not all knock-offs are bad :) My experience with both the older (state-built) and newer (Norinco) Type 56's has been generally good.
Re:Redis: the AK-47 of databases by Legion on Friday January 28, 2011 @02:54PM (#2153268)
How do the Chinese rifles compare? Are they similarly simple & resilient?
Re:Redis: the AK-47 of databases by kprobst on Friday January 28, 2011 @03:52PM (#2153472)
Yeah, pretty much. It's an extremely simple (albeit clever) design so there's only so much you can get wrong when you're copying it. Note that the Type 56 like most other AK knock-offs are really copies of the later AKM "improved" model, which was cheaper to manufacture. So comparing it to the original AK-47 is probably not fair. Then again there aren't many copies of the original model around anymore.
Re:Redis: the AK-47 of databases by bane on Friday January 28, 2011 @10:37PM (#2154546)
If I recall, the AK-47 had an interesting role in a trilogy of time traveling books.

http://en.wikipedia.org/wiki/Weapons_of_choice

In the books, a near future (near our present) naval task force accidentally travels back in time to WWII. The U.S. eager to get a leg up in the war asks the chrononauts to give them future tech. The only problem is that WWII American doesn't have the manufacturing technology to produce any of the current equipment. So the chrononauts dig through their archives and find plans for the AK-47, which, as it turns out, is manufacturable in early 1940's U.S. thereby giving the Americans a weapon from the future, but still old enough that they could be produced in bulk.

Re:Redis: the AK-47 of databases by btipling on Saturday January 29, 2011 @12:13AM (#2154708)
This is somewhat related:

http://i.imgur.com/Tz0m3.png

Re:Redis: the AK-47 of databases by dennisgorelik on Friday January 28, 2011 @08:59PM (#2154356)
The largest chunk of export from Russia is oil and gas, not weapons.
Re:Redis: the AK-47 of databases by grinich on Saturday January 29, 2011 @05:47AM (#2155200)
Hollywood doesn't really care.
Re:Redis: the AK-47 of databases by Duff on Friday January 28, 2011 @12:34PM (#2152672)
I doubt the actual weapon was profitable. They literally made like 75 million of the things. The Soviets may have made a few bucks setting up factories in the 3rd world for licensed production.
Re:Redis: the AK-47 of databases by iujyhgftrgh on Friday January 28, 2011 @03:32PM (#2153408)
Colonel Kalashnikov was paid by a west german company that owned the marketing rights to the name - I think they made aftershave!