LINUX.ORG.RU
ФорумTalks

Внутре сорцов Фокса.


0

0

  // Whaaaaa! I wanted to name this method GetClassInfo, but nooo,
  // some of Microsoft devstudio's headers #defines GetClassInfo to
  // GetClassInfoA so I can't, those $%#@^! bastards!!! What gives
  // them the right to do that?

Подсмотрено на http://michael-xiii.livejournal.com/135802.html

Файл - mozilla/dom/src/base/nsDOMClassInfo.h

Ну и по приколу погрепал...

NS_ASSERTION ( sDragService, "If we don't have a drag service, we're fucked" );

      // No other modifiers can be down.
      // Especially CTRL.  CTRL+ALT == AltGR, and
      // we'll fuck up on non-US enhanced 102-key
      // keyboards if we don't check this.

(это не потому ли мы потом удивляемся на проблемы русских хоткеев?)

 // create a pipe in which to store the response (yeah, this kind of
  // sucks since we'll use a lot of memory if the response is large).

...

    // Abandon the thread-lock, as the first thing Python does
    // is re-establish the lock (the Python thread-state story SUCKS!!!)

...

ну и т.д. и т.п... Поройтесь, любопытно :D
★★★★★

> Поройтесь, любопытно :D

Кто первый? Кто срубит 500$? Делаем ставки! Стааавки!

Igron ★★★★★
()

Еще любопытнее в ядре погрепать ;) Можно найти прелюбопытнейшие трехэтажные комментарии об устройстве и работе разных девайсов, а так же о прямоте рук инженеров, которые эти устройства делали.

blaster999 ★★
()
Ответ на: комментарий от anonymous

>Примеры ффстудию, посмеяццо охота, хоть немного, а то запрет на болванки ...

./Documentation/DocBook/kernel-locking.tmpl If you don't see why, please stay the fuck away from my code.

./arch/i386/kernel/cpu/cpufreq/powernow-k7.c Some Athlon laptops have really fucked PST tables.

./arch/i386/kernel/cpu/mtrr/generic.c Some BIOS's are fucked and don't set all MTRRs the same!

./arch/mips/kernel/irixelf.c #if 0 XXX No fucking way dude...

./arch/mips/kernel/irixioctl.c irixioctl.c: A fucking mess...

./arch/mips/pci/pci-ip27.c IOC3 is fucked fucked beyond believe ... Don't even give the generic PCI code a chance to look at it for real ... IOC3 is fucked fucked beyond believe ... Don't even give the generic PCI code a chance to look at the wrong register. IOC3 is fucked fucked beyond believe ... Don't try to access anything but 32-bit words ...

./arch/mips/sgi-ip22/ip22-setup.c Init the INDY HPC I/O controller. Need to call this before fucking with the memory controller because it needs to know the boardID and whether this is a Guiness or a FullHouse machine. ./arch/ppc/syslib/ppc405_pci.c We prevent us from seeing ourselves to avoid having the kernel try to remap our BAR #1 and fuck up bus master from external PCI devices ./arch/sparc/kernel/process.c fuck me plenty

./arch/sparc/kernel/sunos_ioctl.c Binary compatibility is good American knowhow fuckin' up.

./arch/sparc64/kernel/traps.c Why the fuck did they have to change this?

./drivers/char/watchdog/shwdt.c Whoever came up with the RSTCSR semantics must've been smoking some of the good stuff, since in addition to the WTCSR/WTCNT write brain-damage, it's managed to fuck things up one step further.. ./drivers/ide/pci/cmd640.c These chips are basically fucked by design, and getting this driver to work on every motherboard design that uses this screwed chip seems bloody well impossible. However, we're still trying. ./drivers/media/video/bt819.c /* 0x13 Vertial Scaling msb 0x00 chroma comb OFF, line drop scaling, interlace scaling BUG? Why does turning the chroma comb on fuck up color? ./drivers/mtd/mtd_blkdevs.c Register the notifier if/when the first device type is registered, to prevent the link/init ordering from fucking us over. ./drivers/net/b44.c ??? What the fuck is the purpose of the interrupt mask ??? register if we have to mask it out by hand anyways?

anonymous
()
Ответ на: комментарий от anonymous

			  
./drivers/net/macsonic.c
  this code is only here as a curiousity...   mainly, where the
  fuck did SONIC_BUS_SCALE come from, and what was it supposed
  to do?  the normal allocation works great for 32 bit stuffs..
			      
./drivers/net/sunhme.c
 Only Sun can take such nice parts and fuck up the programming interface  This card is _fucking_ hot...
 like this.  Good job guys...

./drivers/scsi/NCR53C9x.c
 I think I have things working here correctly.  Even partial transfers
 within a buffer or sub-buffer should not upset us at all no matter
 how bad the target and/or ESP fucks things up.
   
./drivers/scsi/esp.c
 I think I have things working here correctly.  Even partial transfers
 within a buffer or sub-buffer should not upset us at all no matter
* how bad the target and/or ESP fucks things up.
   
./drivers/scsi/qlogicpti.h
 Am I fucking pedantic or what? 

./fs/jffs/intrep.c
  If we've gone below min_free_size for some reason,
  don't fuck up. This is why we have
  min_free_size > sector_size. Whinge about it though,
  just so I can convince myself my maths is right.
											 
./include/asm-cris/arch-v32/spinlock.h
 Also note that we don't use the _irqsave / _irqrestore suffixes here.
 If we're called with interrupts enabled and we've got readers (or other
 writers) in interrupt handlers someone fucked up and we'd dead-lock
 sooner or later anyway.   prumpf */
    
./include/asm-m68k/sun3ints.h
 master list of VME vectors -- don't fuck with this 

./include/asm-sparc64/system.h
 If you fuck with this, update ret_from_syscall code too.  \

./include/linux/netfilter_ipv4/ipt_limit.h
 Ugly, ugly fucker. 

./include/linux/netfilter_ipv6/ip6t_limit.h
 Ugly, ugly fucker. 

./lib/vsprintf.c
 vsprintf.c -- Lars Wirzenius & Linus Torvalds. */ 
 Wirzenius wrote this portably, Torvalds fucked it up :-)
  
./net/core/netfilter.c
 James M doesn't say fuck enough. 

./net/ipv4/netfilter/ip_nat_snmp_basic.c
  Parse and mangle SNMP message according to mapping.
  (And this is the fucking 'basic' method).

./net/ipv4/netfilter/ipt_limit.c
 2 September 1999: Changed from the target RATE to the match
                   `limit', removed logging.  Did I mention that
                   Alexey is a fucking genius?
                   Rusty Russell (rusty@rustcorp.com.au).  */
    
./sound/oss/aci.c
 The four ACI command types are fucked up. [-:

./sound/oss/opl3.c
  What the fuck is going on here? We leave junk in the beginning
  of ins and then check the field pretty close to that beginning?

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.