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 / *2015 (-20)
  Re: Programming Brain Teaser
 
(...) Not even legal Perl and he did say Perl. Only works in C++ or in a C with C++ extentions. Kick him twice as much. And (MattM) you may be right that the ; alone is to taking a liberty with the term statement. DaveG (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
 
  Re: New Brickshelf Feature: Polls!
 
(...) Doh! I forgot you can use specify more than one. KL (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: New Brickshelf Feature: Polls!
 
(...) I've got: DirectoryIndex index.cgi index.shtml index.html (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: New Brickshelf Feature: Polls!
 
(...) Replace /index.html with /index.cgi and make sure that you've got: AddHandler cgi-script .cgi somewhere in your .conf files and index.cgi in your DirectoryIndex record. --Todd (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  Re: Programming Brain Teaser
 
(...) 'Course, that's not legal C.... (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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