Asuntos Oficiales > La taberna del BIT

 Para Envidia De Todos Uds

<< < (2/5) > >>

shakka:
Yo intente que me srigrafiaran una camiseta negra con el logo de Debian, y nunca lo hicieron  <_<  siempre me dieron excusas, incluso pensaban que se trataban de un simbolo satanico (quizas  :P  )

 :comp:

ciber_lep:
pues para ser sincero,  a mi tambien me parece buena idea eso de la serigrafia, y como dijo alguien los que entiendas del  lenguaje en cuestion le verán el sentido, mas los que no pensarán que somos unos locos.  yo me haria algo asi.
while ( Genero ==_mujer)
{
   find();
}

 :rolleyes:

ArKaNtOs:
Muy buena ciberlep :P
aunque tambien esta buena lo de la firma de geobeid para un estampado no creen?

Bicholey:
:P  :P  :P  :P  :P


Y si nadie nos entiende y si piensan que estamos locos que mas da no me importa yo si la usaria ...

y si pudiera pondria todo esto en un playera:


--- Código: Text --- The Evolution of a Programmer ---------------------------------------------------------------------------- High School/Jr.High  10 PRINT &#34;HELLO WORLD&#34; 20 END First year in College  program Hello(input, output)   begin     writeln('Hello World')   end. Senior year in College  (defun hello   (print     (cons 'Hello (list 'World)))) New professional  #include void main(void) {   char *message[] = {&#34;Hello &#34;, &#34;World&#34;};   int i;    for(i = 0; i &#60; 2; ++i)     printf(&#34;%s&#34;, message[i]);   printf(&#34;&#092;n&#34;); } Seasoned professional  #include #include  class string { private:   int size;   char *ptr;  public:   string() : size(0), ptr(new char('&#092;0')) {}    string(const string &s) : size(s.size)   {     ptr = new char[size + 1];     strcpy(ptr, s.ptr);   }    ~string()   {     delete [] ptr;   }    friend ostream &operator &#60;&#60;(ostream &, const string &);   string &operator=(const char *); };  ostream &operator&#60;&#60;(ostream &stream, const string &s) {   return(stream &#60;&#60; s.ptr); }  string &string::operator=(const char *chrs) {   if (this != &chrs)   {     delete [] ptr;    size = strlen(chrs);     ptr = new char[size + 1];     strcpy(ptr, chrs);   }   return(*this); }  int main() {   string str;    str = &#34;Hello World&#34;;   cout &#60;&#60; str &#60;&#60; endl;    return(0); } Master Programmer  [ uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820) ] library LHello {     // bring in the master library     importlib(&#34;actimp.tlb&#34;);     importlib(&#34;actexp.tlb&#34;);      // bring in my interfaces     #include &#34;pshlo.idl&#34;      [     uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)     ]     cotype THello  {  interface IHello;  interface IPersistFile;  }; };  [ exe, uuid(2573F890-CFEE-101A-9A9F-00AA00342820) ] module CHelloLib {      // some code related header files     importheader();     importheader();     importheader();     importheader(&#34;pshlo.h&#34;);     importheader(&#34;shlo.hxx&#34;);     importheader(&#34;mycls.hxx&#34;);      // needed typelibs     importlib(&#34;actimp.tlb&#34;);     importlib(&#34;actexp.tlb&#34;);     importlib(&#34;thlo.tlb&#34;);      [     uuid(2573F891-CFEE-101A-9A9F-00AA00342820),     aggregatable     ]     coclass CHello  {  cotype THello;  }; };  #include &#34;ipfix.hxx&#34;  extern HANDLE hEvent;  class CHello : public CHelloBase { public:     IPFIX(CLSID_CHello);      CHello(IUnknown *pUnk);     ~CHello();      HRESULT  __stdcall PrintSz(LPWSTR pwszString);  private:     static int cObjRef; };  #include #include #include #include #include &#34;thlo.h&#34; #include &#34;pshlo.h&#34; #include &#34;shlo.hxx&#34; #include &#34;mycls.hxx&#34;  int CHello::cObjRef = 0;  CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk) {     cObjRef++;     return; }  HRESULT  __stdcall  CHello::PrintSz(LPWSTR pwszString) {     printf(&#34;%ws&#092;n&#34;, pwszString);     return(ResultFromScode(S_OK)); }  CHello::~CHello(void) {  // when the object count goes to zero, stop the server cObjRef--; if( cObjRef == 0 )     PulseEvent(hEvent);  return; }  #include #include #include &#34;pshlo.h&#34; #include &#34;shlo.hxx&#34; #include &#34;mycls.hxx&#34;  HANDLE hEvent;   int _cdecl main( int argc, char * argv[] ) { ULONG ulRef; DWORD dwRegistration; CHelloCF *pCF = new CHelloCF();  hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);  // Initialize the OLE libraries CoInitializeEx(NULL, COINIT_MULTITHREADED);  CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,     REGCLS_MULTIPLEUSE, &dwRegistration);  // wait on an event to stop WaitForSingleObject(hEvent, INFINITE);  // revoke and release the class object CoRevokeClassObject(dwRegistration); ulRef = pCF-&#62;Release();  // Tell OLE we are going away. CoUninitialize();  return(0); }  extern CLSID CLSID_CHello; extern UUID LIBID_CHelloLib;  CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */     0x2573F891,     0xCFEE,     0x101A,     { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 } };  UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */     0x2573F890,     0xCFEE,     0x101A,     { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 } };  #include #include #include #include #include #include &#34;pshlo.h&#34; #include &#34;shlo.hxx&#34; #include &#34;clsid.h&#34;  int _cdecl main( int argc, char * argv[] ) { HRESULT  hRslt; IHello        *pHello; ULONG  ulCnt; IMoniker * pmk; WCHAR  wcsT[_MAX_PATH]; WCHAR  wcsPath[2 * _MAX_PATH];  // get object path wcsPath[0] = '&#092;0'; wcsT[0] = '&#092;0'; if( argc &#62; 1) {     mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);     wcsupr(wcsPath);     } else {     fprintf(stderr, &#34;Object path must be specified&#092;n&#34;);     return(1);     }  // get print string if(argc &#62; 2)     mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1); else     wcscpy(wcsT, L&#34;Hello World&#34;);  printf(&#34;Linking to object %ws&#092;n&#34;, wcsPath); printf(&#34;Text String %ws&#092;n&#34;, wcsT);  // Initialize the OLE libraries hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);  if(SUCCEEDED(hRslt)) {      hRslt = CreateFileMoniker(wcsPath, &pmk);     if(SUCCEEDED(hRslt))  hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);      if(SUCCEEDED(hRslt)) {   // print a string out  pHello-&#62;PrintSz(wcsT);   Sleep(2000);  ulCnt = pHello-&#62;Release();  }     else  printf(&#34;Failure to connect, status: %lx&#34;, hRslt);      // Tell OLE we are going away.     CoUninitialize();     }  return(0); } Apprentice Hacker  #!/usr/local/bin/perl &#036;msg=&#34;Hello, world.&#092;n&#34;; if (&#036;#ARGV &#62;= 0) {   while(defined(&#036;arg=shift(@ARGV))) {     &#036;outfilename = &#036;arg;     open(FILE, &#34;&#62;&#34; . &#036;outfilename) || die &#34;Can't write &#036;arg: &#036;!&#092;n&#34;;     print (FILE &#036;msg);     close(FILE) || die &#34;Can't close &#036;arg: &#036;!&#092;n&#34;;   } } else {   print (&#036;msg); } 1; Experienced Hacker  #include #define S &#34;Hello, World&#092;n&#34; main(){exit(printf(S) == strlen(S) ? 0 : 1);} Seasoned Hacker  % cc -o a.out ~/src/misc/hw/hw.c % a.out Guru Hacker  % cat Hello, world. ^D New Manager  10 PRINT &#34;HELLO WORLD&#34; 20 END Middle Manager  mail -s &#34;Hello, world.&#34; bob@b12 Bob, could you please write me a program that prints &#34;Hello,world.&#34;? I need it by tomorrow. ^D Senior Manager  % zmail jim I need a &#34;Hello, world.&#34; program by this afternoon. Chief Executive  % letter letter: Command not found. % mail To: ^X ^F ^C % help mail help: Command not found. % damn! !: Event unrecognized % logout  

ArKaNtOs:
jejejeje muy bueno, lastima que este muy largo :P

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa