Domain: hit.bg
Stories and comments across the archive that link to hit.bg.
Comments · 6
-
Re:28 lines in Prolog :-)
Well, I bit the bullet...
This is what I managed to put together after 2 hours (most of the time went for looking for a greedy(er) algorithm)
http://alpha-toxic.hit.bg/Knight.java
About 100 lines of code, and is does 150x150 in less than 50ms (start it with "-Xss10240k" as the recursion is very deep and the default stack fills up at about 50x50)
It's very ugly, not optimized (speed, lines, nothing), JAVA and still waaay faster than what the OP gives. Either he's not a very good programmer or python is not supposed to be used for that, perhaps both... -
Re:Foolish Linux idealogues
Using something like FreeDOS or "MS-DOS 7.10," not as much as you'd think. Some programs may report incorrect hard drive sizes, but if you're using a command.com that supports FAT32 then Win3.1 honestly doesn't care.
:) -
Re:Norton Commander in the '80s
Well, if that's not a good enough example, check out the file manager for windows 3.11, which was released around 1992. They have their own products showing prior art to when this patent was filed. It's my understanding that once you make an invention public, you no longer have the rights to a patent on it.
-
[ My Friend Got The Code Already! ]
/* Source Code Windows XP */
#include "win31.h"
#include "win95.h"
#include "win98.h"
#include "workst~1.h"
#include "evenmore.h"
#include "oldstuff.h"
#include "billrulz.h"
#include "monopoly.h"
#include "backdoor.h"
#define INSTALL = HARD
char make_prog_look_big(16000000);
void main()
{
while(!CRASHED)
{
display_copyright_message();
display_bill_rules_message();
do_nothing_loop();
if (first_time_installation)
{
make_100_megabyte_swapfile();
do_nothing_loop();
totally_screw_up_HPFS_file_system();
search_and_destroy_the_rest_of-OS2();
make_futile_attempt_to_damage_Linux();
disable_Netscape();
disable_RealPlayer();
disable_Lotus_Products();
hang_system();
} //if
write_something(anything);
display_copyright_message();
do_nothing_loop();
do_some_stuff();
if (still_not_crashed)
{
display_copyright_message();
do_nothing_loop();
basically_run_windows_31();
do_nothing_loop();
} // if
} //while
if (detect_cache())
disable_cache();
if (fast_cpu())
{
set_wait_states(lots);
set_mouse(speed,very_slow);
set_mouse(action,jumpy);
set_mouse(reaction,sometimes);
} //if /* printf("Welcome to Windows 3.1"); */ /* printf("Welcome to Windows 3.11"); */ /* printf("Welcome to Windows 95"); */ /* printf("Welcome to Windows NT 3.0"); */ /* printf("Welcome to Windows 98"); */ /* printf("Welcome to Windows NT 4.0"); */
printf("Welcome to Windows 2000");
if (system_ok())
crash(to_dos_prompt)
else
system_memory = open("a:\swp0001.swp",O_CREATE);
while(something)
{
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
} // while
create_general_protection_fault();
} // main
(Hehe. Code courtesy of this funny site and reproduced here for your enjoyment.) -
Re:Pretty old systemI don't think TinyApps is what you meant:
Virtually all of the programs listed here are free of charge and for use under Windows..."How about BeOS, *nix, Amiga, QNX, etc?", I am asked. Those who are comfortable using these operating systems need no such guide as this...
I did google up some tiny Linux directories here and here, and of course there's TomsRtBt. -
Re:Turbojets on model airplanes?Well, they do have cameras and transmitters small enough to be able to fit in an R/C plane. Size and weight aren't your major problems.
- Vibration: You're going to have to insulate the smeg out of the equipment
- Batteries: R/C planes use a bunch of battery juice as it is. Adding a `fly by camera' interface would probably double the battery requirements.
- Flying: Unless you're going to put in four cameras (along with instruments (altitude, artificial horizon, pitch/yaw/roll rate, etc)), you're going to have a cast iron bitch of a time controlling the beast. Think about how much information it takes for a real pilot in a real plane to fly - 360 degree vision, a dozen instruments, and his sense of equlibrium(sp?). To duplicate that in a {quarter|fith|tenth} scale model that flys at a simulated speed of 1000 mph (200 mph ground speed in a fifth-scale model) would be very, very expensive and very difficult to control. Not only that, but you'd likely need a friend watching the plane to tell you when it was about to pancake into the runway...
If you still wanted to try, here's what I would do. First, practice your flying skills. Make sure you're good at it, as you don't want to crash models that cost 5k a pop. Build a quarter scale Bear D with the largest engines you can find. Insulte the fuselage. Stick all of you equipment (altimeter, airspeed indicator, artificial horizon, cameras, transmitters, batteries, extra batteries, receivers, etc) in the fuselage, then make your ground rig (I'll leave that one up to you :-). Then, carefully, teach yourself how to fly this thing (it'll be big, so be careful).
Then, take what you've learned and invest in something insane, like a dual jet Mig-29 , or a Hornet, or an F-15.
Enjoy!
(Yes, I've looked into this :-)