Slashback: Rocketry, Pythonation, Scoffing
Besides which, it's the hidden cameras that matter. An anonymous reader adds this followup to the story posted last month about Wired reporter Noah Shachtman's account of sneaking into classified areas at Los Alamos national Laboratory.
"In an email message to all Los Alamos National Laboratory employees, Pete Nanos, the current Director of LANL, responded with information suggesting that the Wired reporter who thought he had broken in to a 'top secret area' had in fact just crossed a cattle fence:
'The Wired reporter clearly did not enter a Laboratory security area. The Laboratory encompasses more than 40 square miles. The security force protects important assets within those boundaries but cannot -- and does not -- protect every square foot of property. Based on the article, it appears the reporter crossed a barbed-wire cattle fence, not a fence that protects a Los Alamos security area.
There is a small security area with several buildings (roughly 400 feet by 400 feet) near the driveway entrance to TA-33. That area is surrounded by a seven-foot-high chain-link fence topped with three strands of barbed wire. A security guard is stationed inside that area seven days a week and 24 hours a day. Clearly, the reporter did not climb that fence.
There are several other buildings outside the security area that are locked for property protection interests. They have no security interests. There are several gates and fenced areas on the TA-33 site, which are there for safety access control, not security.
It's unlikely the reporter would be prosecuted for trespassing; the Laboratory does not have law enforcement authority to prosecute, and none of the proper authorities witnessed the trespass.'"
Perhaps we can have a celebrity deathmatch. hfastedge writes "Ok, now that 2 perl conferences have been mentioned, I've been brought over the edge. Python is a language that is just as old, and arguably better from: most importantly a uniform standard of readability (enforced by using whitespace to delimit blocks (instead of {}), by avoiding overuse of cryptic symbols, and by a culture that strives to keep innovations as "pythonic"), and a rich development community. Anyway, normally, there are Python events in Europe, and a trail at O'Reilly's OSCON. But now, there is a far cheaper event taking place on March 24-28 in Washington DC: http://python.org/pycon/.
Examples of Python in action: 0, 1, 2, 3, 4, 5, 6, 7"
Fly up go phhhhhwwwtttpffffff .... MyNameIsFred writes "Slashdot recently discussed whether anti-terrorism laws would destroy model rocketry. The government has ruled, and the message is clear, "When it comes to the hobby of model rocketry, size does matter. And in this case, the magic number is 62.5 grams. That's the largest amount of propellant a single model rocket engine can have in it and still be exempt from a new set of federal rules that will go into effect May 24." What does this mean for the the big guys in model rocketry, who use engines larger than this?"
The space.com article cited was posted March 6; this posting from the National Association of Rocketry points out the BATF hasn't made it clear whether the regulations will apply to materials already on hand.
Also, this is part of a dispute that's been going on for years then be BATF decided to designate Ammonium Perchlorate Composite Propellant (the same fuel used in the Space Shuttle's SRBs) as an "explosive". The 62.5 gram limit was proposed as a compromise measure by the NAR to a flat-out banning of all APCP engines. This way, people could still enter into the higher-power forms of rocketry without dealing with the BATF's arcane regulations and uneven enforcement.
Then came the Homeland Security act and black powder (gunpowder, a/k/a "BP") engines were added to that list of "explosives", causing FedEx and UPS to ultimately refuse to carry them. There's still a bill pending in Congress to make a "technical correction" to remove black powder motors from that list. It's the subject of a phone and FAX compaign to garner support.
Would removing black powder from the 62.5 gram limit mean we see huge BP motors? Not likely, as the thrust/weight efficiency of BP is low enough not to make that a viable trade-off.
1. Don't break into gov't installations. Tresspassing onto a cattle rancher's property may get you shot. Tresspassing onto gov't property will get you shot.
2. Python. Not as old as Perl.
3. Rockets. It's a problem of shipping the propellant. If you carry the boosters yourself, you're okay. You just can't ship them.
I have been pwned because my
the linked article also mentions lisp/scheme - why haven't us schemers gotten together yet to celebrate its sweetness???
What about Tcl?
What does this mean for the the big guys in model rocketry, who use engines larger than this?
Umm.. IANAL, but I would interpret this to mean that they won't use engines larger than that without complying to the new set of laws.
Besides, it's not like you can't use more than one engine per rocket.
Work sucked, until it became unemployment, when it became slightly more tolerable. -Tet
Test: a Python story is a troll if it mentions Perl. Likewise, a Perl story is a troll if it mentions Python.
Substitute "vi" and "emacs" for "python" and "perl" and rerun.
I can see the headline now:
"Model Rocketry Enthusiasts' Hobby Goes Up in Smoke...."
I'll bet that pun goes over some people's heads.....
-- Horse_Pheathers
Because now it is impossible for a Terrorist or Open Source contributor to make any weapons! I mean shit, to get 125 grams of powder you would have to cut open two tubes, and that's like, harder than hell to do. Thank you, my precious Government, I will sleep soundly tonight.
I was the impression (probably because of one of those feverish Discovery marathons I tend to engage in when I get tired of coding) that the nice folks who guard US installations that contain either nuclear weapons of nuclear materials are allowed under federal mandate to shoot to kill. In fact that's what the warning messages posted along the fences of those facilities read - "lethal force authorized" or some such.
If that's the case Mr. Wired there (let's uncover the government's stupidity, for liberals everywhere!) was lucky he just stepped on some cow dung, as opposed to getting a 5.56 round in the chest.
Me? I use bash for one-liners, Perl for ten-liners, and Python for thousand-liners.
Welcome to Perlandia. Didja bring your toothbrush, toilet paper and asbestos suit?
But seriously, we go back to the whole whitespace thing... I think Python is essentially a "cleaner" language but that just kills it for me. It's not more readable if you're used to block-oriented languages to begin with. Possibly for newbies.
Dunno. I get turned off to think that if I miss a tab somewhere I'll get a compiler error. A brace, sure. But whitespace??
I think part of the reason Python is so popular is that it is extremely easy to embed it in a C language application. It really changes your view of coding an application: organize everything into low-level highly optimized C code and high-level Python code. Your C language application becomes a toolbox of functionality available from Python. This approach makes your application totally scriptable by default. I usually take this architecture one step further and create an even higher level, eaiser to use interface purely in Python.
std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
I'll bite, troll!
We will perhaps eventually be writing only small modules which are identified by name as they are used to build larger ones, so that devices like indentation, rather than delimiters, might become feasible for expressing local structure in the source language.
--Donald E. Knuth, "Structured Programming with goto Statements", Computing Surveys, Vol 6 No 4, Dec. 1974
Or put more simply: Free your mind, and your code will follow.
Placing restrictions upon any technology hobby in the name of "combating terrorism" is folly of the highest order and constitutes blindingly stupid public policy.
We face a future where people who hate us because of our freedoms can and will attack us at will with amazingly ordinary implements used in novel ways. Without marching out into the world and killing all of these people "pre-emptively", our only realistic option is to improve our remote sensing (intelligence) technologies to find them before they become real, active threats. But developing these technologies is real hard work, involving cutting edge sciences and technologies... and having the largest possible national crop of young people exited about science is absolutely essential to our future national security.
I am a software engineer today BECAUSE of my early experiences with model rocketry and model airplanes and because they taught me how things worked and fired my imagination about what could be possible in the future.
We've heard NASA lament lately about how hard it is becoming to find qualified graduates to staff even entry level engineering and science positions. Public policies that throttle modeling technology hobbies will only exacerbate this problem into the future and good people will die needlessly as a result.
"A microprocessor... is a terrible thing to waste." --
GeneralEmergency
I shouldn't feed the troll, but RTFA anyway. Unless your backyard is on the order of a square mile in size, the model rockets you're most probably launching from it aren't covered by the new regulations. Engine sizes A through D are well under the 62.5 gm limit. You need to be using size G engines before you run into a problem, but you need a considerably larger field than the average backyard to launch anything that would require them.
And the brethren went away edified.
Maybe they'll work on making rockets that go higher and straighter on 62.5 g of propellant.
or question its purpose...
.NET, mozilla, and what have you. IMHO the write-once-run-anywhere quest might currently be best served with python (contrary to popular believe).
Have a look at Zope or ROX desktop to get an idea of how versatile and easy python can be to get Real Stuff done!
Not to mention bindings for java,
From procedural scripting to high level OO, python has it all.
62.5 grams of hydrogen can probably send your rocket a LONG way
They put a limit on propellant. Does the oxydizer get counted in with this weight, or do I get to put all of the liquid O2 that I want?
What about multi-staging rocket engines together? Is that considered one engine?
I wonder if there's a way to re-classify stuff as something other than "propellant". "Well, you see... the payload is a water-vapor dispersal device which creates the vapor by combining hydrogen and oxygen...."
I find it very interesting that so many Python users are so bitter about Perl, and so antagonistic. In fact, it was one of the things that kept me from even bothering to look at Python for a long time -- all of the Python advocates come across like a bunch of jerks. When I did get around to looking, I found that it's a nice, interesting, and useful language -- that doesn't really compare to or compete with Perl in a meaningful way at all.
Two of Perl's main strengths are 1) CPAN and 2) regular expressions integrated naturally into the language. Python's libraries are pretty good, and there's a lot of good stuff out there, but with Perl, I can pretty much count on 99% of anything I want to do having been done already. And sure, Python can "do" regular expressions -- in approximately the same way that one can do them in C or Java, by making a series of function calls.
At least on the second of these points, Python isn't even in the same *business* as Perl. There's just flat out no meaningful comparision. Python has *a lot* of strengths, but they're totally different from Perl's. So why do Python advocates get so worked up about something their preferred language fundamentally isn't designed to do? Why don't they raise a big stink every time someone mentions Java? That seems like a more usefully-comparible application space. Or C++, for that matter.
code-writing code is a special case not worth optimizing for. by far most of the code that actually matters (including, most especially, any and all code-writing code) is written by humans, so naturally languages should be optimized for readability to humans rather than ease of printing by machines. but that goes without saying; if it were ever otherwise, we'd all still be writing machine code directly.
and other than that one special case, your entire argument would seem to rest on... um, nothing whatsoever. except your own personal dislike, which you're welcome to and which is perfectly valid - but it doesn't prove anything to anybody other than yourself.
now, that's not to say this feature of python's is all good and wonderful. there's one big backdraw to it, which i can't make any excuses for - with no explicit block delimiters in the language, you can no longer use % to jump betwen block start/endpoints in vi. that, i do miss when coding python.
Python is distributed with a script (pindent.py) which can take normal python code and package it in block delimiting comments. So, one could output code without proper whitespace (and with proper comment delimiters), and have it easily 'whitespaced' before execution.
The pindent.py module also contains the class (PythonIndenter) which does the work, making it easy to incorporate in a Python program which is processing other python code.
There are also tools in the standard library to help properly generate python code directly.
In practice, it just isn't a problem.
"It's overkill, of course. But you can never have too much overkill." - Anonymous Slashdot Coward
The corner booth at Denny's doesn't need to be reserved in advance, you know.
-B
Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.
- Used Perl, tried Python, liked it better and switched
- Used Perl, tried Python, found it better for some things, use both
- Never used Perl, don't care about it
I left out "Used Python, tried Perl, switched" because Perl's better-known and there are fewer people who started with Python. Besides folks who did that arguably don't qualify as Python users anymore.There's a small subset of folks (most of whom really need to get a life and a few who are probably doing it for entertainment reasons) who publicly get really worked up about the superiority of Python. Similarly, in the Linux community there's a similar group of folks who get really worked up about Ruby. Remarkably enough, in the Perl community there is (wait for it) a similar group of folks who get really worked up about Perl. Some other products/projects with their own little fanatical subgroups: vi, emacs, Macs, FreeBSD, OpenBSD (and don't confuse the two!) and probably skript-kiddie toolsets.
The common feature that most of these folks share is that as far as the rest of us are concerned they need to get a life. I have no doubt that there are other shared behaviors within these groups, but if I went into those it could seem that I was just being nasty.
fencepost
just a little off
Are they still "good"? Probably. Are they still safe? If they have been kept from any temperature and humidity extreems - probably. Are they legal to use in a sanctioned (NAR sponsored) launch? No, engines (and reload kits) have a specific expiration date. However they can still be used in a non-sanctioned just-for-fun type launch. Sunday I used an engine dating back to the mid-70's and it worked flawlessly. The engine (a Centauri B14-0) has not even been made for many years.
Chaos maximizes locally around me.
Homer Simpson would be very VERY happy.
(roommate's friend blurted out that one in passing).
OS Software is like love: The best way to make it grow is to give it away.
and mention REBOL.
Cool alternative to Perl or Python.
www.REBOL.com
If tyranny and oppression come to this land, it will be in the guise of fighting a foreign enemy. - James Madison
Ok, let's face it, our elected and appointed leaders are dipshits. Now, let's look at some facts. Most model rockets are made of what? Cardboard, Plastic and balsa wood. Range of this supposed "weapons" is what, 500 to 1500 feet vertical. So, if you do some number crunching, you get maybe a mile from a rocket fired at a 45 degree angle. The biggest payload I have heard anyone lifting with a model rocket is a uncooked chicken egg. And if I remember right, that didn't always going up very high, and the egg ended up mostly just small shards of shell and scrambled. Also, have anyone tried to aim a unguided model rocket to any degree of accuratcy? You are lucky to get the rocket to land in your own neighborhood after you launch it. Even with bigger engines, the risk to anyone in this country of getting gassed or sickened with bioweapons from a model rocket is just stupid. Make sure you write President Bush about this, maybe something will finally get through his thick skull and leave the hobbies of thousands of people alone. If that doesn't work, we could always egg the White House with the model rockets that carry the eggs!
eh, this sucks, I am going back to bed....
I know people who routinely launch H, I, J, K, L, and M engines every weekend... Check out the Tripoli website for more about high-powered model rocketry. www.tripoli.org
Please explain how using whitespace instead of some paired token adds readability, assuming your bracing style is reasonable. To me, having the braces there explicitly shows me that I have a block that starts *here* and ends *here*. Since I use the apparently unique style of having open and close braces in the same column (as opposed to K&R style), I can immedately see the block structure.
That said, I think Python is one of those cool languages I really need to learn some day, as soon as I have a project that I can use it for. And it *is* nice to know that everyone involved at least *has* an indentation policy. I don't suppose you can enforce a tabsize, can you? All the major stylistic wars solved, leaving all you energy available for editor advocacy.
What if life is just a side effect of some other process and God has no idea we exist?
As an ardent Perl user, all I can say is, "Methinks he doth protest too much."
Plone is Python scripts and other bits running on top of Zope, a web application server written in Python.
Of course there's also examples of Python being used on the desktop, but as a web application, Plone (and of course Zope) are worth a good hard look. To some extent, Zope can be considered the 'killer app' for the Python language.
I used to get a nut browsing thier site.
I first found about it hearing Bob Lazar on Art Bell.
These guys were into some seriously whacked stuff.
I would browse and dream of going to the desert one day to see them cut cars in two with Rolls Royce jet engines, hook V1 type engines to Vespa Scooters, and other insane stuff.
I guess all good things must come to an end.
Now I am relegated down to the Pumpkin Chunkin and Trebuchet sites....
Sorry, Myriad...I just suffered a setback on my road to recovery and a pun-free life. I'll contact my sponsor immediately.
-- Horse_Pheathers, hanging his head slowly and doffing his jaunty jester's cap in shame, taking care to stifle the merry bells on the pointy bits.....
I like to think that while the zealots are trying to make themselves heard, the important people are behind the scenes doing the important things. Any loudmouth shouting on behalf of any language should remember that the people who love the language most are working tirelessly to change it for the better. Read Larry Wall's Apocalypses and see if I'm kidding--and pay particular attention to the part where he destroys the regular expression as we know it. :-)
I also like to think that the really hardcore programmers out there aren't wasting their time arguing about what language is superior or whining about what you can do in one environment that you can't in another. Real programmers are too busy getting things working, by any means necessary, within the boundaries of the environment. If you are a true programmer, an environment works as well as you force it to work.
I'm very comfortable in GNU now, Linux, Cygwin, and then some, but it wasn't always so. A few years ago, being a Windows only type and knowing no C or C++, I used to work with Visual Basic a lot. When I found out that Perl worked better for about everything I had been using VB for, I switched. When I couldn't figure out how to do SendKeys or AppActivate using Perl and Win32 API calls, did I spend time griping? No! I wrote an ActiveX DLL, figured out enough C to get COM going, and SWIGged it together.
Slightly more recently, I wrote a parser in Perl to implement a workaround to various shortcomings in Greymatter, but I had to make it work with PHP, in which the entire rest of my site was written (because it's way easier to write a page in PHP than in Perl). Was it any problem? No. For the prototype, I had PHP exec my Perl. Was it messy? Yes! Eventually, when I had the time, I rewrote the parser from top to bottom in PHP.
There's no need to be religious about any of this. If you have the option to use the environment of your choice, by all means, use it! But if you are forced to work outside your boundaries, remember, you are a programmer; you can take it. Plus, the last thing you want to do is take out your frustrations on the masters of the unknown domain.
I write programs all the time that my friends want to try but won't because ActivePerl is 12MB to download. I'm not going to scream at my friends for not having Perl; they just can't use my program. If it's worth my time, I may go to the trouble of rewriting in C++. If it pays enough, I might even spring for Perl2EXE to do the work for me.
It's as simple as that. There's always some solution. You write for your environment. You try to convince your client to deploy programming environment N or virtual machine V on all the workstations; if that's a no go, you do something else that is a go--if that's not practical, you lose the sale.
At this point, I know most of what I need to know to get by in Perl, PHP, JavaScript, C, and C++, and maybe a little VB if I search my memory far enough, and I do virtually all my writing in vim (within which, I admit, I don't know every single command that might be of use to me). If somebody needs me to write something in Python, or Java, or Tcl, or Lisp, or JScript on Windows Scripting Host, or any other wacky thing with which I'm not in constant contact, and makes me do it in Emacs or Pico or even Notepad, damn it, should I back down? Hell, no!
First, I try my obviously overdeveloped shoehorning skills! (It's amazing how many different ways you can find to get incongruous program environments to communicate!) :-D
If that doesn't work, then I owe it to myself to take a serious look at what this environment can do, what it can do right, and what I have to work around. Then, I do my work and move on with my life.
I believe that this is a vital part of what is necessary to be a bona fide Renaissance Programmer, and that most programmers who don't feel the same have no business programming.
Examples of Python in action: 0, 1, 2, 3, 4, 5, 6, 7"
And for those Visual Basic programmers confused by that sentence, here is a translation just for you:
Examples of Python in action: 1, 2, 3, 4, 5, 6, 7, 8
Never, ever lose a file again. Ever.
Note: each motor class upward doubles the maxium total impulse of the previous class (letter designation), therefore an E class motor has between 20.1 - 40 N-s, F 40.1 - 80 N-s, G 80.1 - 160 N-s, etc.
Of course any second-grader can figure out that it only takes three motors to exceed the single motor propellant mass limit.
BTW, Estes typically packages the motors in three's.
Hmm... which is the stronger signal to the ATF, trying to buy 40 kg of black powder, or 1,800 D12 rocket motors?!?
As for getting back into model rocketry, go for it! I was away from rockets for over 20 years and got back into it when my kids were old enough to start building and flying them. Plus, you get to say great one-liners at parties like: "Actually, I am a rocket scientist."
I've worked at LLNL, both with a Q clearance and before it was granted. I've been escorted by guards, but never did they touch their weapon nor behaved in anything like a threating or paranoid way. Mostly they found a comfortable chair and relaxed.
"Eve of Destruction", it's not just for old hippies anymore...
If you use spaces for indention on a large project, you're stuck with that indention forever. Have a programmer with poor vision who needs bigger indention? Fire them. Need to work on a small screen with limited space? Welcome to line wrap hell. Stupid enough to try to change the indention? Watch your multi-line strings explode, and massive deltas thrash your version control system. Whereas if you use tabs and a non-brain-dead editor, it Just Works(TM).
P.S. I'm currently working on a couple of Webware apps and I'm indenting with tabs. MuhuhuHAHAHAHAHA! Tabs forever! ;-)
P.P.S. There is one thing we can agree on: people who mix tabs and spaces should be killed. Slowly. As an example to the other heathens.
-- ;-)
Kuro5hin.org: where the good times never end.