Categories
science

Eagle Lander 3d

Ever wondered what it would be like to pilot one NASA’s Apollo missions. Well thanks to Ron Monsen and his team you can find out using the eagle lander 3d flight simulator

Eagle Lander 3D (EL3D) is an authentic simulation of the Apollo lunar landings and includes accurate renditions of scenery, flight dynamics and the lunar module. EL3D has developed from a freeware first generation Apollo 11 simulator to one that will recreate every Apollo landing mission. Currently EL3D includes Apollo 11,12, 15, a LM racing course and an orbital module. Other missions will easily ‘plug-in’.
EL3D is designed to realistically render the physics and dynamics of the lunar module as well as the terrain of the lunar surface. EL3D uses the latest in graphical 3D technology to provide high resolution renditions of the LM, it’s instruments, and the lunar surface in the region of the current landing site. All primary flight instruments work like the originals with many operating control panel switches too. The Apollo Guidance Computer has been modeled and works just like the original including the famous 1201 Alarm Code on Apollo 11!

This project really is a labour of love and it’s one of the best flight-sim’s (and a bit more) that I’ve ever experienced..
As Ron says, if you have any recommendations for changes then just get on the forum and make them… “Try that with Microsoft”

Categories
politics

Right to Bear Arms (or is there?)

We all know that the American consitution protects citizens rights to bear arms. Wrong! It’s a bit more subtle than that. The 2nd amendments actually reads: “A well regulated Militia, being necessary to the security of a free State, the right of the people to keep and bear Arms, shall not be infringed.”. There is much debate about whether this amendment only applies to state sanctioned militias (whatever they might be in the event of civil-war?) However, we can all agree that there’s quite a difference when the 1st half of the amendment is included. So while organisations like the National Rifle Association (NRA) have done their best to popularise the myth that the 2nd amendment is an unlimited excuse to buy an automatic assault rifle for hunting deer or family protection their claims are actually quite tenuous. The US supreme court has deemed that this amendment applies to federal law only, doesn’t affect gun-control laws passed by individual states and actually “means no more than (the right to keep and bear arms) shall not be infringed by Congress”. For all you legal buffs out there, this ruling was passed almost 130 years ago in 1876 (United States v. Cruikshank). This was reaffirmed ten years later in Presser v. Illinois. Various state gun control laws have been upheld based on these decisions for years. In 1980 the Supreme Court again presented the opinion that “these legislative restrictions on the use of firearms do not trench upon any constitutionally protected liberties”. So American’s don’t have the right to bear arms? It’s a myth right? Unfortunately after over a hundred years of consistency in interpretation of this amendment the US supreme court executive branch (including former AG John Ashcroft) presented THEIR INTERPRETATION in 2002 that the 2nd amendment DOES in fact protect the US citizens right to own guns. This doesn’t necessarily obviate gun-control or personal responsibility in the choice of gun(s) owned. Indeed according to the most recent pre-election harris poll in 2004 a slim majority of 52% favour tougher gun control laws.
Up until 2002, however, this supposed “right to bear arms” was actually a bit of a myth and flew in the face of the Supreme Court’s interpretation of the 2nd amendment. It may be a moot point as 73% of american’s agreed (in 2002) with the sentiment of their “consitutional right to bear arms”. Big enough lie, often enough etc…
There are arguments against gun control aswell. Some of these seem plausible enough, others are downright paranoid and jefferson’s quote about using firearms as a last resort to protect themselves from the tyranny of the goverment is bogus and can be filed neatly in my drawer marked right-wing, gun toting, self-justifying propaganda. If only this was just a drawer… This file gets any bigger I’m gonna need a new house.
I can’t help feel that the 2002 reinterpretation of the 2nd amendment is commentary du-jour and will not stand the test of time. The text of the amendment hasn’t been amended 😉 and it’s fair to say that the 2002 interpretation doesn’t sit easy with many lawyers in the US. Check out the excellent overlawyered.com for information on this and other aspects of US legal practice. Stunning and shocking in equal measure.
Also check out the useful summary of gun control in the US here
Thanks to Kieran Colfer for the debate and the link. You’re as sharp as ever! Mind like that oughta be subject to some kind of state legislation to keep you from hurtin’ yourself, boy! 😉

Categories
technology

Which command in DOS

I’ve been told that I should add more of the little programming hints and tips that I used to come up with during my reearch days to this site. Well here’s something I was playing around with today that’s useful for many windows developers. Like many programmers I’m often more comfortable at the command line than using some funky GUI where I have to drag (or learn so many command alias key-strokes that I may aswell be at the console anyway).
I was stuck for a UNIX version of the which command. According to man which this command

Which takes a series of program names, and prints out the
full pathname of the program that the shell would call to
execute it. It does this by simulating the shells search-
ing of the $PATH environment variable.

Replicating this functionality using DOS batch ain’t that bad…

@ECHO OFF
rem Sanity check OS version and arguments.
IF "%OS%"=="Windows_NT" (SETLOCAL) ELSE (GOTO Syntax)
IF "%~1"=="" GOTO Syntax
IF NOT "%~2"=="" GOTO Syntax
ECHO.%1 ¦ FIND /V ":" ¦ FIND /V "\" ¦ FIND /V "*" ¦ FIND /V "?" ¦ FIND /V "," ¦ FIND /V ";" ¦ FIND /V "/" ¦ FIND "%1" >NUL
IF ERRORLEVEL 1 GOTO Syntax


SET Found=
rem Get the short name for the current directory
COMMAND /C REM
rem Search CurrentDir, path and pathext for the file
FOR %%A IN (%CD%;%Path%) DO FOR %%B IN (.;%PathExt%) DO IF EXIST "%%~A.\%~1%%~B" CALL :Found "%%~A.\%~1%%~B"
rem Display the result
ECHO.
IF DEFINED Found (ECHO.%Found%) ELSE (ECHO -None-)
rem Done
GOTO End


:Found
IF DEFINED Found GOTO:EOF
rem Store the first match found
SET Found=%~f1
GOTO:EOF
:Syntax
ECHO.
ECHO WHICH, Version 2.00
ECHO UNIX-like WHICH utility for Windows NT 4 / 2000 / XP
ECHO.
ECHO Usage: WHICH program_name
ECHO.
ECHO Specify program_name with or without
ECHO extension and without a drive or path.
ECHO Just like the UNIX command. (no wildcards please)


:End
IF "%OS%"=="Windows_NT" ENDLOCAL

Categories
technology

How to distribute an atomic bomb!

This post is actually about U2’s new record “How to Dismantle an Atomic Bomb” which is currently spreading like wildfire on certain well-known P2P networks. The problem, apart from the obvious copyright infringements, is that the record hasn’t even been released yet. It’s due for release the 22nd of November. However, a copy of the album dissappeared at a photo shoot and since then there’s been intense speculation about whether the band would bring forward the release date. No decision has been made as yet. More info at the reg..