To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / *2010 (-20)
  Re: Programming Brain Teaser
 
In lugnet.off-topic.geek, Richard Marchetti writes: <snip> (...) <snip> Yikes!!! Programmers are way too serious. I have heard of not being able to take a joke, but come on... :-) Jude (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Is it perl or C? (was: Re: Programming Brain Teaser)
 
(...) Here's one that's MUCH better-- 'course most of you may have seen this already... someone made code equivalent to UNIX's wc command that can be compiled and run the exact same in perl and C... this one was really clever: (Grrr, it's gonna put (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) Yeah, and maybe I am going to have to kick this guy until he is dead. His solution was: printf("abcdefghijkl...tuvwxyz"); // ;("abcdefghijklmnopq...yz")ftnirp Which I would like to point out doesn't print anything in the second instance (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Language Choice
 
(...) It depends what you're doing this for and what you're doing with it. If you're happy with VBA and wish to expand in that direction, Visual Basic is probably a fine choice. (I haven't used it since 1.0, so I can't really say too much about it.) (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) Well the obvious answer is ";", but that's a bit too simple. I can't think of anything else that doesn't involve several variable and/or function definitions elsewhere. (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Language Choice
 
If you already know VBA then I'd suggest you use Visual Basic. While it's not as powerful as something like Visual C++ it is remarkably good for building small utilities really quickly. I have been using Visual Basic for nearly 5 years and I'm (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) Is ';' a "statement", though? (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Programming Language Choice
 
Recently, I have gotten quite a bit of experience programming in VBA due to a database I designed for work. I have had experience programming in several languages before but haven't used it to much until now. I now have a desire to program for (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) thx (...) I may be dense too, just thought of it a ; on a line alone fits exactly the definition as stated. Going to sleep now before I think of more [/:-) DaveG (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: I cannot connect to LDRAW.ORG - plz help!!!
 
"Jacob Sparre Andersen" <sparre@sys-323.risoe.dk> wrote in message news:FzMpLH.K8A@lugnet.com... (...) Jacob, there is a problem with your tracert - if you compare it to Frank's tracert and my own you'll see that the packets take different paths (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek, lugnet.cad.dev.org.ldraw)
 
  Re: I cannot connect to LDRAW.ORG - plz help!!!
 
"Jacob Sparre Andersen" <sparre@sys-323.risoe.dk> wrote in message news:G0GMuJ.JFL@lugnet.com... (...) No, definitely no proxy. I'm the admin for our firewall and internet connections and we don't have a proxy. Our firewall uses NAT and does not (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek, lugnet.cad.dev.org.ldraw)
 
  Re: Programming Brain Teaser
 
(...) And a good one. Thanks for the replies. I think I am beginning to see some ways into it that I hadn't thought of. The way I was understanding the puzzle (and you know that people have a tendency to explain things quite poorly AND I tried to (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) #include <stdio.h> #include <stdlib.h> #include <time.h> void rof(void) {}; void main(){ int C; C = 0 // line below ; for (C;C;C) rof; // Ok so its lame } // Should be valid in perl too, but I am not sure. Just an off the cuff answer. DaveG (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) Does the code need to compile in all of those, or just some of them? It's really easy in perl. :) Does it have to compile by itself, or can it be part of a larger program? The former is more difficult in C/C++... Also, what qualifies as a (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) it doesn't have to actually produce anything, right? try this: perl -e 'print ,"lalal", tnirp' e- lrep :) I seem to recall some JAPH's code that would actually do things and would still qualify... but I can't find it yet... :) Dan (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Programming Brain Teaser
 
Hey Y'all: Someone posed the following teaser to me, and I admit that it has stumped me completely. It has even stumped my programmer buddies (which creates doubt in my mind that there IS actually a solution to the puzzle). The question was posed (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: I cannot connect to LDRAW.ORG - plz help!!!
 
(...) Using "www.anonymiser.com", I was able to get to the LDraw site to vote on the parts update. However, I was *not* able to download the file, *nor* was I able to see all of the images (exceeded the limits for "free" use of the anonymiser, and (...) (24 years ago, 6-Sep-00, to lugnet.off-topic.geek, lugnet.cad.dev.org.ldraw)
 
  Re: I cannot connect to LDRAW.ORG - plz help!!!
 
Daniel: (...) If your machine is behind a firewall, it is very likely that you are using a proxy without knowing it. It is not uncommon to put a "transparent proxy", which intercepts HTTP requests, in a firewall. Franklin: Did you get through to (...) (24 years ago, 6-Sep-00, to lugnet.off-topic.geek, lugnet.cad.dev.org.ldraw)
 
  Re: I cannot connect to LDRAW.ORG - plz help!!!
 
"Jacob Sparre Andersen" <sparre@sys-323.risoe.dk> wrote in message news:FzMpLH.K8A@lugnet.com... (...) I have run a tracert from my machine here and there are 32 hops to www.ldraw.org, but I can pull the pages up fine. I don't have my browser using (...) (24 years ago, 6-Sep-00, to lugnet.off-topic.geek, lugnet.cad.dev.org.ldraw)
 
  Re: SSH/SCP GUI Client?
 
(...) or, (if you can use it), ssh2 from ssh.com has a built in very nice sftp... Unfortunatly, their licensing is a bit harsh... Dan (24 years ago, 5-Sep-00, to lugnet.off-topic.geek)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR