Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.fds-net.ru/showflat.php?Number=10115409&src=&showlite=l
Дата изменения: Unknown
Дата индексирования: Mon Apr 11 23:51:05 2016
Кодировка: Windows-1251
Программисты шутят - Public forum of MSU united student networks
Technical >> Development

Страницы: | 0 ... | << | 100 | 120 | 140 | 160 | 180 | 200 | 220 | 240 | (259) | 260 | 280 | 300 | 320 | 340 | 360 | 380 | ... 820 | >> | показать все | след. страница
Poman : Re: some quotes  [re:Poman]   01.04.2011 16:33    | Reply | Edit |
9
http://stackoverflow.com/questions/5508110/why-is-this-progr...

Обсуждение этого сообщения (3)

blind   [re:Poman]   18.04.2011 19:09    | Reply | Edit |
19
/user/upload/file406492.jpg

ы

Обсуждение этого сообщения (9)

blind   [re:blind]   18.04.2011 20:27    | Reply | Edit |
6
сортировку с коммутативным компаратором я уже встречал

а вот теперь недетерминированная хэш-функция :grin:

code:
function createHash() { var var1 = Math.floor(9999999999999 * (Math.random() % 1)); var var2 = Math.floor(9999999999999 * (Math.random() % 1)); var var3 = Math.floor(9999999999999 * (Math.random() % 1)); var hash = var1.toString(16) + var2.toString(16) + var3.toString(16) return hash; }


Обсуждение этого сообщения (5)

xdeller   [re:blind]   05.05.2011 12:19    | Reply | Edit |
9
Суть опенсорца
Quote:


Gentoo's official logo originates from a Blender file [1] created by
Daniel Robbis over 8 years ago. He used Blender 2.04 and Python 1.6 at
that time.

When rendering that .blend file with Blender 2.49b (or a more recent
version), Blender does not apply the reflection texture needed [2] to
give the metal look that you know. I don't know why that is. All I
know is that Blender does find the file: it's not about the location.

Trying Blender 2.04 binaries on a Windows VM, it turned out that Blender
2.04 is still able to render our logo as expected. In my eyes rendering
our logo should not depend on a proprietary operating system or binary
blobs. The source tarball of Blender 2.04 is hard to find (if available
at all), the available sources of 2.03 [7] are incomplete. Binaries of
2.04 [8] are 32bit only and crash on startup on my system.
...




далее

Обсуждение этого сообщения (1)



Редактировал DarkGray (05.05.2011 12:35)
exc   [re:xdeller]   10.05.2011 16:49    | Reply | Edit |
2
обычно встречал прикольные комменты индусов в софте оракла, но и логи у них оказывается тоже эмоциональные :)

code:
if (g_print_debug) then fa_debug_pkg.add(l_calling_fn,'calling','fa_journals_pkg.update_gl_info'); fa_debug_pkg.add(l_calling_fn,'THIS IS NOT','GOOD!!!!!!!!!!'); fa_debug_pkg.add(l_calling_fn,'NOT GOOD','AT ALL!!!!!!!!!!'); ...


Обсуждение этого сообщения (2)

blind   [re:exc]   17.05.2011 10:10    | Reply | Edit |
16
http://bellard.org/jslinux/

Эмулятор x86 на js от самого Фабриcа Беллара
точно работает в firefox 4 и chrome 11 (в 12-13 глючит терминал)

Обсуждение этого сообщения (14)

blind   [re:blind]   19.05.2011 10:31    | Reply | Edit |
2
http://www.google.com/404

давно оно у них в таком виде? :cool:

Обсуждение этого сообщения (6)

vissi   [re:nafig_batat]   21.05.2011 12:25    | Reply | Edit |
2
Sparked by some comment somewhere or other, I have decided to compose The
Ten Commandments for C Programmers. Here's what I came up with.
Note that this is addressed to C, not Unix or programming in general, and
that I have no hope of attacking all the different sins that C programmers
commit - I just want to cover the ten worst ones.

------------
.TL
The Ten Commandments for C Programmers
.AU
Henry Spencer
.IP 1
Thou shalt run \fIlint\fR frequently and study its pronouncements with
care, for verily its perception and judgement oft exceed thine.
.IP 2
Thou shalt not follow the NULL pointer, for chaos and madness await thee at
its end.
.IP 3
Thou shalt cast all function arguments to the expected type if they are not
of that type already, even when thou art convinced that this is unnecessary,
lest they take cruel vengeance upon thee when thou least expect it.
.IP 4
If thy header files fail to declare the return types of thy library functions,
thou shalt declare them thyself with the most meticulous care,
lest grievous harm befall thy program.
.IP 5
Thou shalt check the array bounds of all strings (indeed, all arrays),
for surely where thou typest ``foo'' someone someday shall type
``supercalifragilisticexpialidocious''.
.IP 6
If a function be advertised to return an error code in the event of
difficulties, thou shalt check for that code, yea, even though the checks
triple the size of thy code and produce aches in thy typing fingers,
for if thou thinkest ``it cannot happen to me'',
the gods shall surely punish thee for thy arrogance.
.IP 7
Thou shalt study thy libraries and strive not to re-invent them without cause,
that thy code may be short and readable and thy days pleasant and productive.
.IP 8
Thou shalt make thy program's purpose and structure
clear to thy fellow man by using the
One True Brace Style,
even if thou likest it not,
for thy creativity is better used in solving problems than in creating
beautiful new impediments to understanding.
.IP 9
Thy external identifiers shall be unique in the first six characters,
though this harsh discipline be irksome and the years of its necessity
stretch before thee seemingly without end,
lest thou tear thy hair out and go mad on that fateful day when
thou desirest to make thy program run on an old system.
.IP 10
Thou shalt foreswear, renounce, and abjure the vile heresy which claimeth
that ``All the world's a VAX'', and have no commerce with the
benighted heathens who cling to this barbarous belief,
that the days of thy program may be long even though the days of thy
current machine be short.
------------
-
"Mir" means "peace", as in | Henry Spencer @ U of Toronto Zoology
"the war is over; we've won". | {allegra,ihnp4,decvax,utai}!utzoo!henry

Обсуждение этого сообщения (1)

unkulunkulu   [re:nafig_batat]   24.05.2011 18:04    | Reply | Edit |
12
Отрывок из диплома (посоветовал вчера другу):
Quote:


string key;
while ((key = GenerateRandomKey()) == "ХУЙ") {} // Чтобы не попасть в глупое положение на презентации





Обсуждение этого сообщения (7)

SlaveN   [re:unkulunkulu]   24.05.2011 18:51    | Reply | Edit |
36

 
Man, am I a genius. Check out this sorting algorithm I just invented.

 
code:
#!/bin/bash function f() { sleep "$1" echo "$1" } while [ -n "$1" ] do f "$1" & shift done wait

example usage:
./sleepsort.bash 5 3 6 3 6 3 1 4 7


(c) http://dis.4chan.org/read/prog/1295544154

Обсуждение этого сообщения (12)

dtbeaver   [re:SlaveN]   25.05.2011 11:27    | Reply | Edit |
3
читаю исходники pthreads под win32 и вижу:
 
code:
int pthread_equal (pthread_t t1, pthread_t t2) /* * ------------------------------------------------------ * DOCPUBLIC * This function returns nonzero if t1 and t2 are equal, else * returns nonzero


Обсуждение этого сообщения (4)

heggy   [re:dtbeaver]   01.06.2011 20:47    | Reply | Edit |
1
как разные программисты считают факториал на haskell

Обсуждение этого сообщения (13)

Sevurrrra   [re:heggy]   08.06.2011 16:04    | Reply | Edit |
17
http://download.oracle.com/javase/tutorial/getStarted/applic...
/*
 * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 *   - Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 *
 *   - Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in the
 *     documentation and/or other materials provided with the distribution.
 *
 *   - Neither the name of Oracle or the names of its
 *     contributors may be used to endorse or promote products derived
 *     from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
 * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */ 

/** 
 * The HelloWorldApp class implements an application that
 * simply prints "Hello World!" to standard output.
 */
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}


Обсуждение этого сообщения (2)

vissi   [re:Sevurrrra]   10.06.2011 16:52    | Reply | Edit |
4
Сюрприз для вилфреда:
http://habrahabr.ru/blogs/net/121032/

Обсуждение этого сообщения (2)

Bachan   [re:vissi]   17.06.2011 08:21    | Reply | Edit |
24
xryun_del прислал:
https://github.com/MrMEEE/bumblebee/commit/a047be85247755cdb...

Обсуждение этого сообщения (8)

YonBrover   [re:Bachan]   24.06.2011 11:33    | Reply | Edit |
3
/user/upload/file414063.jpg

Обсуждение этого сообщения (2)



Редактировал YonBrover (25.06.2011 10:46)
orion   [re:YonBrover]   04.07.2011 18:28    | Reply | Edit |
-3
вроде здесь не видел
http://www.youtube.com/v/1S1fISh-pag

Обсуждение этого сообщения (2)

dtbeaver   [re:orion]   05.07.2011 21:45    | Reply | Edit |
11
Если посчитать суммарную стоимость всех нелицензионных копий Windows, то получится, что население земного шара обворовало Microsoft на сумму, сопоставимую с бюджетом цивилизации лет за сто: Году эдак в 2029 Microsoft подаст в суд на все человечество за пиратство, и выиграет процесс: Роботы под управлением Windows Sparta будут гонятся за оставшимися в живых людьми требуя возместить ущерб, нанесенный корпорации их предками: И, вот, чтобы спастись, человечество посылает в прошлое, того, кто напишет свободную Операционную Систему:

Начать обсуждение

Sevurrrra   [re:dtbeaver]   08.07.2011 13:29    | Reply | Edit |
26
Заезжал я вчера в одно место. Вот какой у них заголовок пропуска:

/user/upload/file415504.jpg

Обсуждение этого сообщения (1)

vissi   [re:Sevurrrra]   09.07.2011 18:27    | Reply | Edit |
6
/user/upload/file415672.jpg

Обсуждение этого сообщения (3)

Top | след. страница