Time for another boring computer question for hardcore nerds

Message Bookmarked
Bookmark Removed
In homage to I am not a nerd! (are you?) ...

Using Windows NT (or 2000 or whatever I'm using) how can I set an alias for a URL?

(If I were using a Unix/Linux machine, I could set it up in the /etc/hosts file.)

basically, what I want to do is have the browser interpret "www.domain.com" as "domain.com".

(This is needed when the url is longer - because of links inside html documents .. long story...)

Where do I find a ~hosts~ file in Windows ... ?


Thanks-

dave225 (Dave225), Wednesday, 12 January 2005 16:25 (twenty-one years ago)

I'm gonna kick your ass behind the bleachers.

Huk-L, Wednesday, 12 January 2005 16:26 (twenty-one years ago)

you've gotta be fucking kidding.
it's still called hosts.
just search for it. the one you want'll be in system32/drivers/etc

TOMBOT, Wednesday, 12 January 2005 16:30 (twenty-one years ago)

Excessively hostile response to innocent question = Classic Nerd

Ken L (Ken L), Wednesday, 12 January 2005 16:40 (twenty-one years ago)

C:\WINNT\system32\drivers\etc\hosts

koogs (koogs), Wednesday, 12 January 2005 17:33 (twenty-one years ago)

haha jesus tom

mark p (Mark P), Wednesday, 12 January 2005 17:34 (twenty-one years ago)

http://page3.gotdns.com/page3/yourewelcome.jpg

mark p (Mark P), Wednesday, 12 January 2005 17:35 (twenty-one years ago)

Thanks, by the way. Of course, our fucking network admin has not given me write permission to that file. Sorry for not knowing everything about computers.

dave225 (Dave225), Wednesday, 12 January 2005 17:46 (twenty-one years ago)

We actually yell "move" at each other in the office

TOMBOT, Wednesday, 12 January 2005 17:47 (twenty-one years ago)

one year passes...
OK - Now I have another stupid question that you can make fun of me for not knowing ...

I'm trying to network a video card input .. that part is almost irrelevant - I've been able to do it over a LAN inside my house, but I want to open it up to see it remotely (via cablemodem.)

So here's how it works on the LAN - I can see it over port 80 on the machine that the card is installed on .. i.e. I can be on another machine and reference the machine as 192.168.0.105:80 and see the video.

So I want to see that from work ... So I used no-ip and created an alias - but I'm not sure what IP address it's using, or what it should be using... Anyway, it doesn't work... It could be a firewall issue too? Does anyone have experience with no-ip and cable modems/DHCP?

OR - how can I turn the video stream into a webcam and serve it over IM or something?

D.I.Y. U.N.K.L.E. (dave225.3), Monday, 16 January 2006 15:23 (twenty years ago)

It depends on your modem/router box. With a lot, you can set up port forwarding. Forward incoming port 80 on your modem to port 80 on 192.168.0.105, then find out what the modem's external IP address is and put that in as the address to connect to.

Forest Pines (ForestPines), Monday, 16 January 2006 15:42 (twenty years ago)

OK, that's a good clue to start with.. I'll play with that. Thanks!

D.I.Y. U.N.K.L.E. (dave225.3), Monday, 16 January 2006 15:56 (twenty years ago)

Hey, FP - thanks .. it worked.. I'd say you're a genius, except it's more like I'm a moran. Anyway, thanks!!

D.I.Y. U.N.K.L.E. (dave225.3), Tuesday, 17 January 2006 01:20 (twenty years ago)

You may want to, as a bit of an aside, check the T&Cs of your cablemodem account cos unlike DSL, some cable companies (well at least here in oz anyway) dont allow web being served up over their home links and if they sniff out port 80 reqs they might have words. Maybe not, but it might pay to be aware...

Trayce (trayce), Tuesday, 17 January 2006 01:37 (twenty years ago)

Thanks for the heads up there ...

D.I.Y. U.N.K.L.E. (dave225.3), Tuesday, 17 January 2006 02:01 (twenty years ago)

nine months pass...
hey nerds:

what would it take to get these ancient unix hoonja doonjas (tectonic & climate simulators for sci-fi worldbuilding w00t) running in OSX?

ftp://ftp.funet.fi/pub/doc/games/roleplay/programs/mapping/planet/

is it even possible?

geoff (gcannon), Tuesday, 24 October 2006 03:32 (nineteen years ago)

It's certainly possible - it should be fairly straightforward to get them running in text mode without too much hacking. Graphical mode would be trickier.

Forest Pines (ForestPines), Tuesday, 24 October 2006 05:16 (nineteen years ago)

yes but HOW.

geoff (gcannon), Tuesday, 24 October 2006 13:02 (nineteen years ago)

it's a self-extracting shell archive (shar) so just run them it unarchive it. (you'll need bash but i think that's ok.) you'll need to strip the email headers from each file before you do though.

internally it's c files. read the README and follow those. then 'make'.

that's where it'll go wrong, all those X11 header files...

Koogy Yonderboy (koogs), Tuesday, 24 October 2006 13:29 (nineteen years ago)

ok, that's compiling on linux box now (needed xt and xaw headers). changed makefile to generate non-graphical version. ran it. got nothing.

ok, tried again with graphical interface (after boss moved from where he could see me!) and it ran, ran like the clappers (1991 code running on 2003 pc). no output file created though. i guess i'm missing something...

Koogy Yonderboy (koogs), Tuesday, 24 October 2006 14:14 (nineteen years ago)

yes, i'm forgetting to read the documentation. default display mode is 'produce no output'.

echo "(PRINTMODE 2)" | ./tec - > output

there's also a slight bug in it - rnd() needs to be defined in unix.c - just copy it from x.c

should be ok on a mac in the basic version (ie what FP said 10 hours ago)

Koogy Yonderboy (koogs), Tuesday, 24 October 2006 14:26 (nineteen years ago)

ok i think i can follow that maybe! will muck around when i get back home again, thx

geoff (gcannon), Tuesday, 24 October 2006 14:35 (nineteen years ago)

is it worth it? is the program cool?

geoff (gcannon), Tuesday, 24 October 2006 14:36 (nineteen years ago)

default display mode is 'produce no output'.

classic.

Euai Kapaui (tracerhand), Tuesday, 24 October 2006 14:38 (nineteen years ago)

i'll send you a zip file with extracted and corrected code.

um, unsure as to what you want from progam. is 1991 - very basic. not exactly Bryce. not even xmountain... is just a bunch of numbers in its basic form.

Koogy Yonderboy (koogs), Tuesday, 24 October 2006 14:47 (nineteen years ago)

oh wow thanks a lot.

what is Bryce?

i'm not interested in crazy fractal detail, i'd just like to see how the tec and clim parts of it interact, and if the worldwide scope looks real or not, etc.

there's a huge amount of fantasy/scifi/gamer worldbuilding stuff out there but it's all from 10-15 years ago! wierd

geoff (gcannon), Tuesday, 24 October 2006 14:51 (nineteen years ago)

ok duh i looked up what bryce is...

geoff (gcannon), Tuesday, 24 October 2006 14:52 (nineteen years ago)

two months pass...
a fractal landscape in your browser:
http://lab.parkstudio.ru/terra/

My Koogy Weighs A Ton (koogs), Thursday, 11 January 2007 12:59 (nineteen years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.