Tuesday, November 22, 2011

Find all Hard Links to a File

While writing a wrapper to submit files for batch processing I found a need to find all the hard links to a file. Like so many things in Linux, the solution turns out to be simple -- once I found it.

Use the find command

$ find <dir to start search in> -xdev -samefile <path to file>

For example, to find all the hard link to the file /home/buser/chosen.one.txt on the home partition, use:

$ find /home -xdev -samefile /home/buser/chosen.one.txt

The switch -xdev means to only search on the original volume. It can be omitted but, because a hard link cannot cross volume boundaries, the switch will save time by not searching where a linked file cannot be anyways.

Friday, November 18, 2011

Water Is Not Wet

At least not in Europe.

According to The Telegraph, water does not prevent dehydration and drink manufacturers cannot legally claim it does.

EU officials concluded that, following a three-year investigation, there was no evidence to prove the previously undisputed fact.

Producers of bottled water are now forbidden by law from making the claim and will face a two-year jail sentence if they defy the edict, which comes into force in the UK next month.

Just when I think that the nanny states have collectively plumbed the depths of human stupidity (or maybe human evil), one will bounce back and astound me once again. Maybe it is time to just toss the whole idea of the state on the dust heap of human history. I can only hope my descendants will look back on this time and see the obsession with the state as protector as just a silly an idea. Like a flat Earth or a geocentric universe.

Oh yeah. Drink Brawndo. Its got electrolytes!

Wednesday, November 16, 2011

Downed Spitfire's Guns meet an Ignominious End

BBC News Magazine reports on a salvaged Spitfire that crashed into a peat bog in the early years of World War 2. The anaerobic environment left it is a remarkable state of preservation. Amazingly, with some work, six of the plane's guns were in good enough condition that specialists in the Irish Army were able to assemble a working model. In the test, the gun spit a belt of ammunition (the article doesn't specify how many rounds were fired but the Spitfire had 300 rounds per gun) without a hitch.

The WWII guns firing after 70 years buried in peat

The article concludes with this observation:

The machine guns will now be made safe and join the rest of the aircraft on permanent display in Londonderry, where Wolfe was based, a city on the edge of Europe that played a pivotal role in the war.

When I got the to part about rendering the guns "safe" I asked myself, what the hell happened to the English? Seventy years ago brave men and women kicked Nazi butt at the Battle of Britian and turned the tide of WW2 in Europe. Today, their grandchildren live in dread of pointed kitchen knives.

I swear, if the modern British were to locate Arthur's tomb and unearth Excalibur, they would grind the edges flat in name of "safety".

H/T to Grant Cunningham among other.

Monday, October 31, 2011

Alliant's new 300MP powder in a carbine

About four weeks ago one of the local suppliers had some Alliant 300MP powder in stock so I bought a pound to try it out. Alliant lists 18.6 gr as the maximum charge for a 158 gr GDHP which I reduced by 10% to 16.7 gr for a starting load and 17.7 as an intermediate load if the lower load did not indicate any excessive pressure.

I finally got the range on Sunday to test them.

  • Gun = Marlin 1894C 18.5" barrel
  • Bullet = Magtech 158 gr JSP
  • Case = Federal 357 magnum
  • Primer = Winchester Small Pistol
  • Powder = Alliant 300 MP
  • Ambient temperature = 90F (prox)

Results from five measurements (feet/second):

Charge in grains Average Velocity Standard Deviation Maximum Velocity Minumum Velocity
16.7 1675 23 1684 1635
17.7 1765 24 1792 1736

None of the primers or cases showed any more indication of pressure than normal for a 357 magnum. In fact the Amercan Eagle 158 gr JSP (which clocked at almost exactly 1800 fps) had much flatter primers than the 300MP reloads.

All in all I am pretty impressed with the potential of this powder in a carbine.

No accuracy reports yet. About the time I was getting ready to try some guy started banging away with a neutered version of an M1919 and kicked up so much dust I just packed up and went home.

Monday, October 24, 2011

Twenty Five Years Ago


From Billy Beck

On this day, twenty-five years ago, Ronald Reagan signed the Income Tax Reform Act of 1986. Three months later and for the first time ever, my social security number was demanded by a prospective employer.

Do you understand?

For the first time in American history, it was illegal to work for a dollar without accounting for it to the United States Government.

I will never forgive Reagan for this atrocity, and it is why I do not tolerate anyone in my presence lauding his stand for "freedom".

To hell with him.

He also supported and signed the Mulford Act which was the beginning of the assault on the Second Amendment in California. Even if you can forgive his support for that POS (Oh no! Black peeples haz guns!) he supported the Brady Bill and even had the chutzpah to write an editorial for it in The New York Times.

Tuesday, October 18, 2011

Million Dollar Gun

Not quite a million but getting close.

1836 Colt Revolver Sets World Record Price For A Single Firearm, Bringing $977,500 At Greg Martin Auctions/Heritage Auctions In Dallas
DALLAS, TX – An exceptional, rare and fine ivory-gripped Texas, or Holster Model No. 5, Paterson Revolver from the Al Cali Collection realized $977,500 as part of Greg Martin Auctions/Heritage Auctions Sept. 18 Signature® Arms & Armor Auction in Dallas, setting a world record price realized for a single Firearm sold at auction.

I've never been a collector of much of anything, much less firearms. If I have a gun I don't want to shoot, I'll sell or trade it to someone who does. Nevertheless, looking at this revolver I can understand, even if I don't share, the desire. This gun is really one beautiful piece of workmanship.

I wonder if a first generation Glock 17 will ever sell to a collector for whatever the equivalent of a million bucks will be in 175 years.

Saturday, October 15, 2011

Would You Like an Ass-whoopin' with Your Big Mac?

None of the parties in this incident are poster boys and girls for civilized behavior. The women were way out of line and they agressively invaded the employees' space. The male did appear to overreact and continue to use his weapon after the threat was -- maybe -- neutralized. However, even if this was self defense -- and it could be interpreted that way -- this happened in New York City where self defense is defacto outlawed. Add to that the male's felony conviction and I figure the guy is pretty well screwed.

Nevertheless, there is a lesson to take away from this: The animals are out there and they are walking your city streets.

Stunning Violence Inside Manhattan McDonald’s
(retrieved 10/15/2011 08:20 PT).

NEW YORK (CBSNewYork) — A fight over an order at a Manhattan McDonald’s leads to complete chaos and it was all caught on tape.

The video contains images and audio of a graphic nature.

Sources tell CBS 2’s Chris Wragge the stunning incident featured a cashier with a criminal past violently beating two female customers after they appear to provoke him by slapping him and then hopping the counter.

It was a horrific scene to watch. The cashier disappears into the back of the fast-food restaurant on West Fourth Street in Greenwich Village before returning with a metal rod he then used viciously on the two customers.

The gruesome act of violence early Thursday morning escalated after the customers argued and yelled obscenities at the cashier when he questioned a $50 bill they gave him.

One of the female customers then slapped the cashier. A woman is then seen jumping over the counter, while the other woman goes behind the register. They are then savagely attacked.

Other customers watched in horror as other McDonald’s workers tried unsuccessfully to stop the violence.

One female customer had a fractured skull that required surgery and a broken arm. The other has a deep laceration.

Rayon McIntosh, 31, was arrested and charged with two counts of felony assault and criminal possession of a weapon. McIntosh served more than a decade in prison after shooting and killing a high school classmate in 2000. He was being held on $40,000 bail.

The female customers were reportedly charged with menacing, disorderly conduct and trespassing.

Wednesday, October 5, 2011

The derringer re-imagined.

Hey, it's black (OK, dark grey), it's light and it is nice and slim so it conceals well. If the manufacturer can get it into a video game every mall ninja in America will want one.

For the time being I think I'll stick with my hokey, archaic 442.

H/T to the Mad Ogre

Monday, October 3, 2011

See? It's not just Hairy Palms.

Porn-Induced Sexual Dysfunction Is a Growing Problem

It used to be that articles on the "dangers" from pornography and the inevitable masturbation were mostly parodies of old wives tales: acne, blindness, infertility, and, of course, hair growing on the palms of the hands. All of those have been tested and found wanting by real science but the never ending quest to control human sexuality marches on. If hairy palms and blindness are not enough then lets scare you all with threats of elevated dopamine levels in the brain.

On the bright side, this offers a solution to the "problem" of Western Civilization being swept away by faster breeding cultures. Give them all free Internet access and lifetime accounts on roughsex.com.

Thursday, September 29, 2011

Context and Torture Tests

Something I've noticed lately is a tendency to evaluate firearms based on so-called "torture tests". If a gun can survive an arbitrary test like a fall of a hundred feet it is somehow more "reliable" than a gun that can only fall 20 feet.

But what does it really prove? If, in the middle of a fight, I drop my gun over a 100 foot cliff will my attackers stop while I climb down to retrieve it then wait for me climb back up to resume the fight? Hello! Disarmed guy! Unless those thugs are in a class of stupid beyond all other classes, they will take advantage of my butter fingers to kick my clumsy ass over the cliff after it.

Similarly, a guy who calls himself "ZombieTactics" on Calguns.net linked to a video where some guy reportedly buried his gun for two years, dug it up and then proceeded to fire 500 rounds through it with only a few failures.

OK, admit it: A guy calling himself "Zombie" anything getting excited over stuff that's been buried for two years really is kind of funny.

Nevertheless, what does it prove? If my gun gets buried in a pile of dirt am I going to wait for two years to dig it up? Not likely unless I am dead in which case I won't care. So what is the context of this "test"? Does it prove that, after the Apocalypse, I happen to to find a Glock with 500 rounds of ammunition buried in someones backyard it will mostly work? The possibility exists I suppose but I don't see why I should even care.

Reliability only exists in a context. A gun is one component of a system and the suitability -- of which reliability is a part -- of any particular gun can only be evaluated relative to its function within that system and the environment it is expected to operate in.

One of the important factors that separates engineering and the sciences from wishful thinking and fantasy is a grounding in observable reality. The, often unstated, assumption is that reality exists and it is knowable. Context is not everything but without it, separating any bits of truth from You Tube fantasies becomes an order of magnitude harder.