Najmniej popularne cytaty


#4734 Dodano: 20-03-2011 22:48. Głosów: 73 + |  -
22:45:01 <@Kottizen> if you like glamous, power and lots of applications that suit your needs with million of configuration options, go kubuntu
22:45:11 <@Kottizen> if you like brown/orange, go ubuntu
#7590 Dodano: 24-10-2014 10:59. Głosów: 73 + |  -
> Is this in byte? Or bit?
> This is in bytes
> I know of no file system that allows fractional-byte files
> I'm not surprised that you haven't heard of it. It's a pretty small filesystem..
> Fractional-byte hosting, the IT industry's response to fractional-reserve banking.

źródło:http://stackoverflow.com/questions/6591931/getting-file-size-in-python
#7171 Dodano: 13-12-2013 21:53. Głosów: 74 + |  -
<odpowiedź na post o PHPowej skrzynce z narzędziami>

Wyobraź sobie teraz inną skrzynkę z narzędziami. Jest pełna narzędzi. Próbujesz otworzyć, ale jakiś idiota pomylił zawiasy z zamkiem i masz jeden zawias z przodu i dwa zamki z tyłu.
Ogarniasz co jest w środku - ultrazaawansowany młotek, który do użycia wymaga stopnia doktora, śrubokręt za duży do wszystkiego. Na siłę da się coś odkręcić jeśli tylko walniesz na tyle mocno, że rozwalisz śrubę.
Masz tam nawet elektronarzędzia! Np. taka ekstra wiertarka, ale nie ma silnika. Ani miejsca na korbkę. Ani uchwytu na dłoń. To nawet nie jest wkrętarka. Nie wiadomo co to jest. Musisz ściągnąć dodatkowe wtyczki, by wiedzieć co to do cholery jest.
Teraz patrzysz i wyciągasz ze skrzynki śrubki, które okazują się gwoździami, które jednak okazały się makaronem.
Tak właśnie działa Java.
#2620 Dodano: 12-12-2009 14:18. Głosów: 74 + |  -
Integer i Long siedzą w barze i piją piwo.
Przychodzi int i pyta:
- Mogę się do was dosiąść, chłopaki?
Integer odpowiada:
- Z prymitywami nie piję.
#7308 Dodano: 13-02-2014 22:24. Głosów: 74 + |  -
INTERCAL, short for "Compiler Language With No Pronounceable Acronym" (via Wikipedia)
#2792 Dodano: 08-01-2010 05:16. Głosów: 74 + |  -
Jak nazywa się człowiek, który panicznie boi się algebry?
Homomorfofobik.
#496 Dodano: 24-05-2009 14:04. Głosów: 74 + |  -
Ulubiona bielizna programisty?
Stringi!
#7176 Dodano: 16-12-2013 22:55. Głosów: 75 + |  -
Z kodu biblioteki 'reportlab':

def drawCentredString(self, x, y, text,mode=None):
"""Draws a string centred on the x coordinate.

We're British, dammit, and proud of our spelling!"""
#5649 Dodano: 22-12-2011 18:01. Głosów: 75 + |  -
I think over the last 10 years I’ve evolved as a coder. Here’s some of the milestones I achieved.

You Start Using Source Control

You spend half a day trying to find what you changed in your code that has suddenly made it stop working. You realise that your current form of source control (CTRL+Z) isn’t doing you any favors. You spend an hour learning about source control and never look back.

You Stop Obsessing Over Optimizations

You decide that getting everything working should be the first priority. Then you’ll worry whether that function that gets called once on shutdown is fast enough.

You Stop Coding The Same Things Over and Over

You realise that half your time is spent writing the same thing. You would have used your old code but it’s so messy and you feel dirty. You decide to seperate your common generic code into its own utility library. And never look back.

You Think A Step Higher

Instead of coding a new class factory for everything that requires it you make a generic class factory template.. now you never have to code a class factory again. You actively look at what you’re doing and think “what can I do to make sure I never have to do this again”.

Including Windows.h Makes You Itch

You don’t want to include Windows.h anywhere in your project anymore. You know it’s going to come and f**k you in the end somehow. It’s going to rename your functions. It’s going to give you s**t loads to fix when you try to make your project portable. So instead you go the extra mile and you look for the standard functions. If you can’t find alternatives you make a platform.h which includes a platform_win32.h under windows. It feels good.

You Start Using Build Automation

You have come to find that dropping cpp files into a vcproj isn’t the best way to manage your project. This is drilled home when you come to compile it on another platform. So from now on you use something like premake to build your project files. Now you can generate projects for Visual Studio, GMake, XCode, CodeBlocks and anything else you would ever want to generate them for. You are portable.
#3928 Dodano: 27-09-2010 21:59. Głosów: 75 + |  -
# man mount
These options are recognized, but have no effect as far as I can see.
#5236 Dodano: 16-08-2011 20:42. Głosów: 75 + |  -
/* OS X, in its infinite idiocy, actually HARDCODES
* a limit of 1024 into their select. Where people have brains,
* OS X engineers apparently have a vacuum. Or maybe they were
* ordered to have a vacuum, or they do anything for money.
* This might help. Or not.
*/
#define _DARWIN_UNLIMITED_SELECT 1
https://github.com/joyent/libuv/blob/master/src/ev/ev.c
#7579 Dodano: 25-09-2014 14:59. Głosów: 75 + |  -
i32 AaCpuAtomicSwap32(TAaCpuAtomic32* atomic, i32 value)
{
i32 prev;

/** @todo Implement to be really atomic operation */

prev = atomic->data;
atomic->data = value;

return prev;
} /* AaCpuAtomicCmpSwap32 */
#6846 Dodano: 22-05-2013 18:58. Głosów: 75 + |  -
Diablo-D3 | I have discovered the best part of erlang
Diablo-D3 | I can ask a question in #erlang, which has 280 people, a simple question
Diablo-D3 | it has now been 2 hours
Diablo-D3 | no answer.
sp3d | distributed systems improve throughput, not necessarily latency
#6916 Dodano: 27-06-2013 23:14. Głosów: 76 + |  -
== how sad ==
www.foo.com is now unallocated (it redirects to a search engine.)
www.bar.com is a portal (about bars.)

www.sample.com is a travel agent.

It used to be that foo@bar.com was actually some guy's email address, and he used to post the wacky accidental test mails he would get. He was also the owner of sample.com and a few others, and he use to post porn on them just to fuck with people who didn't change the default URLs in their "home page builder" software.

The Wayback Machine doesn't know about these old pages.

Bummer that it's all gone!
#5901 Dodano: 27-03-2012 17:10. Głosów: 76 + |  -
<bcos> "| style="background: #E8E8E8" align="right" | 0x01" just to get the text "0x01" to look right
<bcos> I tried "align "wrong" " but it didn't help
#7222 Dodano: 05-01-2014 13:13. Głosów: 76 + |  -
Python is a beautiful, clean language. But the same restrictions that make it nice and clean mean that it’s hard to write beautiful, clean libraries. Ruby, on the other hand, is a complicated, ugly language. But that complexity allows you to write really clean, nice, easy-to-use libraries. The end result is that I prefer Python the language, but I find myself preferring programming with Ruby.
-Gary Bernhardt of destroyallsoftware.com fame
#4702 Dodano: 12-03-2011 23:08. Głosów: 76 + |  -
Question: What is your motivation for hosting externally?
(...)
Nuclear warfare - surviving Armageddon? Irrelevant - you'll be too busy surviving to care about your git repositories.

http://stackoverflow.com/questions/109440/best-git-repository-hosting-for-commercial-project
#7294 Dodano: 06-02-2014 09:21. Głosów: 76 + |  -
While Perl's keywords and function names are generally in English, it allows modification of its parser to modify the input language, such as in Damian Conway's Lingua::Romana::Perligata module, which allows programs to be written in Latin or his Lingua::tlhInganHol::yIghun
Perl language in Klingon. They
do not just change the keywords but also the grammar to match the language.

http://www.csse.monash.edu.au/~damian/papers/HTML/Perligata.html
https://metacpan.org/pod/Lingua::tlhInganHol::yIghun
#6217 Dodano: 23-08-2012 11:35. Głosów: 77 + |  -
man hdparm

(...)

--drq-hsm-error
VERY DANGEROUS, DON'T EVEN THINK ABOUT USING IT. This option
causes hdparm to issue an IDENTIFY command to the kernel, but
incorrectly marked as a "non-data" command. This results in
the drive being left with its DataReQust(DRQ) line "stuck"
high. This confuses the kernel drivers, and may crash the sys‐
tem immediately with massive data loss. The option exists to
help in testing and fortifying the kernel against similar real-
world drive malfunctions. VERY DANGEROUS, DO NOT USE!!
#593 Dodano: 26-05-2009 11:44. Głosów: 77 + |  -
/**
* Returns cookies according to the filters specified.
*
* @return array Cookies! Nom nom nom nom nom.
*/
public function data_getCookies($uid, $name) {
#2194 Dodano: 08-10-2009 16:22. Głosów: 77 + |  -
The Top 10 Pick-up Lines the programmer Ladies Are Sick of Hearing

10) I bet you know how to turn software into hardware
9) You must be really good at World of Warcraft, because when I saw you, I was like WoW.
8) I'm a C++ programmer, and you know what they say about us, we know how to use our pointers.
7) Have you ever been rendered in 3D before?
6) Want to come back to my place and and see my blog?
5) You're so beautiful, you've made my Stack overflow
4) You can run your fingers on my keys any day
3) You know what they say about desktop programmers? We use more ram and have bigger disks
2) I'm a Telecom developer, and I have lots of sockets experience
1) You had me at "Hello World."
#7187 Dodano: 25-12-2013 14:43. Głosów: 78 + |  -
The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. Provided you keep this cardinal rule in mind, you can’t go far wrong.
— Verity Stob
#7501 Dodano: 12-07-2014 15:27. Głosów: 78 + |  -
Podstawy programowania w języku Java:
2.2 Struktury dynamiczne
2.2.1 Stos
Często fachowo pieszczotliwie nazywany LIFO (Last In - First Out). Informa-
tycy żartują, że ta struktura danych została stworzona przez Jezusa (”Pierwsi
będą ostatnimi, a ostatni pierwszymi”).
#362 Dodano: 21-05-2009 08:27. Głosów: 78 + |  -
II Prawo Ohma:
W ciemności ciało traci na oporności.
#2167 Dodano: 03-10-2009 17:57. Głosów: 78 + |  -
418 I'm a teapot
The HTCPCP server is a teapot. The responding entity MAY be short and stout. This code was defined as one of the traditional IETF April Fools' jokes, in RFC 2324, Hyper Text Coffee Pot Control Protocol, and is not expected to be implemented by actual HTTP servers.

(en.wikipedia.org)
#5523 Dodano: 23-11-2011 15:05. Głosów: 78 + |  -
The sample data must end on an even byte boundary. Whatever that means.
(WAVE soundfile format)
#7829 Dodano: 21-05-2015 16:19. Głosów: 78 + |  -
Q: Why military officers fail as OOP programmers?
A: Because they don't like to make things public and they have lots of privates under them.
#2301 Dodano: 26-10-2009 13:58. Głosów: 78 + |  -
Pachnie mi to kolejnym absurdem patentowym (opatentować *pomysł* na wyświetlanie reklam przed uruchomieniem programów). To może ja opatentuję mój genialny pomysł, że można wyświetlać reklamę po naciśnięciu przycisku “OK” w dialogu, a reszcie świata pozostanie wyświetlanie reklamy tylko po naciśnięciu “Anuluj”?
#510 Dodano: 25-05-2009 09:55. Głosów: 78 + |  -
The RPM package management system:
rpm-3.0.5-46.aix5.2.ppc.rpm
#6910 Dodano: 26-06-2013 18:15. Głosów: 78 + |  -
Werner Heisenberg, Kurt Gödel, and Noam Chomsky walk into a bar. Heisenberg turns to the other two and says, "Clearly this is a joke, but how can we figure out if it's funny or not?" Gödel replies, "We can't know that because we're inside the joke." Chomsky says, "Of course it's funny. You're just telling it wrong."
#7957 Dodano: 03-09-2016 12:27. Głosów: 79 + |  -
Q: Where does data written to /dev/null go?

A: It goes into a special data sink in the CPU where it is converted to heat which is vented through the heatsink / fan assembly. This is why CPU cooling is increasingly important; as people get used to faster processors, they become careless with their data and more and more of it ends up in /dev/null, overheating their CPUs. If you delete /dev/null (which effectively disables the CPU data sink) your CPU may run cooler but your system will quickly become constipated with all that excess data and start to behave erratically. If you have a fast network connection you can cool down your CPU by reading data out of /dev/random and sending it off somewhere; however you run the risk of overheating your network connection and / or angering your ISP, as most of the data will end up getting converted to heat by their equipment, but they generally have good cooling, so if you do not overdo it you should be OK.

Paul Robinson adds:

There are other methods. As every good sysadmin knows, it is part of standard practice to send data to the screen of interesting variety to keep all the pixies that make up your picture happy. Screen pixies (commonly mis-typed or re-named as “pixels”) are categorized by the type of hat they wear (red, green or blue) and will hide or appear (thereby showing the color of their hat) whenever they receive a little piece of food. Video cards turn data into pixie-food, and then send them to the pixies — the more expensive the card, the better the food, so the better behaved the pixies are. They also need constant stimulation — this is why screen savers exist.

To take your suggestions further, you could just throw the random data to console, thereby letting the pixies consume it. This causes no heat to be produced at all, keeps the pixies happy and gets rid of your data quite quickly, even if it does make things look a bit messy on your screen.

Incidentally, as an ex-admin of a large ISP who experienced many problems attempting to maintain a stable temperature in a server room, I would strongly discourage people sending the data they do not want out to the network. The fairies who do the packet switching and routing get annoyed by it as well.

// https://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/funnies.html
#7755 Dodano: 04-02-2015 08:06. Głosów: 79 + |  -
On 12/16/2013 07:30 PM, Rowan Collins wrote:

> The core functions which follow neither rule include C-style
> abbreviations like "strptime" which couldn't be automatically swapped to
> either format, and complete anomalies like "nl2br". If you named those
> functions as part of a consistent style, you would probably also follow
> stronger naming conventions than Rasmus did when he named
> "htmlspecialchars".

Well, there were other factors in play there. htmlspecialchars was a
very early function. Back when PHP had less than 100 functions and the
function hashing mechanism was strlen(). In order to get a nice hash
distribution of function names across the various function name lengths
names were picked specifically to make them fit into a specific length
bucket. This was circa late 1994 when PHP was a tool just for my own
personal use and I wasn't too worried about not being able to remember
the few function names.

-Rasmus
#7562 Dodano: 23-08-2014 22:38. Głosów: 79 + |  -
Commit message w Bootstrapie:
"unfuck all that because lol dependencies"

https://github.com/twbs/bootstrap/commit/14e8ec2514c5bc342a638f0b1f2d3518b6a72e85
#7568 Dodano: 25-08-2014 23:13. Głosów: 79 + |  -
When David Henkel-Wallace of Cygnus Support proposed developing the library as a way to open up new business opportunities for the company, Richard Stallman said that it would be difficult; David's response was "Big F*cking Deal". This became the library name

https://en.wikipedia.org/wiki/Binary_File_Descriptor_library
#7837 Dodano: 29-06-2015 15:06. Głosów: 79 + |  -
<audiodef> Is there a graphical or curses-based manager for package.* files?
<EmaRsk> Vim is curses-based

Random question on emerge asked at gentoo forums
#7938 Dodano: 03-09-2016 12:27. Głosów: 80 + |  -
In reality there's little practical need for this as hopefully people aren't going to be setting array.length to 0.5, -1, 1e21 or 'LEMONS'. But this is JavaScript authors we're talking about, so you never know...

http://stackoverflow.com/questions/1822350/what-is-the-javascript-operator-and-how-do-you-use-it
#7179 Dodano: 18-12-2013 16:06. Głosów: 80 + |  -
“Saw comment '// NEW BOOST CODE', and had a moment of panic before realizing it was vehicle boost, not C++ boost.” — John Carmack
#2362 Dodano: 04-11-2009 15:19. Głosów: 80 + |  -
- Jesteś bezwzględny jak 0 K
#3664 Dodano: 29-06-2010 13:03. Głosów: 80 + |  -
Wyrażenia regularne nigdy nie są dobrym rozwiązaniem... chyba, że akurat są.
#5718 Dodano: 14-01-2012 22:06. Głosów: 80 + |  -
Z dokumentacji PowerShell'a:

-WhatIf [<SwitchParameter>]
Describes what would happen if you executed the command without actually executing the command.
#5257 Dodano: 26-08-2011 13:34. Głosów: 80 + |  -
You have been asking for the shortest hash function. That would certainly be

def hash(s):
return 0

//http://stackoverflow.com/questions/1303021/shortest-hash-in-python-to-name-cache-files
#7925 Dodano: 03-03-2016 11:17. Głosów: 80 + |  -
What If I Find a Bug in Perl?
The first thing to do when you find a bug is to check the documentation again. Perl has so many special features and exceptions to rules that you may have discovered a feature, not a bug.

Randal L. Schwartz, brian d foy, and Tom Phoenix. „Learning Perl, 6th Edition”.
#7414 Dodano: 07-05-2014 01:09. Głosów: 80 + |  -
I'm sorry, but I don't see how listing out 95 cases in a row that go to the same thing is a solution to anything. If I encountered that in any code I would track them down, kidnap them, deliver them personally to GLaDOS, and hope she gives them the deadliest sequence of tests she can find.
#4118 Dodano: 05-11-2010 20:55. Głosów: 81 + |  -
<jaen> Haskell to jest po prostu jak melon wśród pomidorów
<jaen> inny
#5736 Dodano: 18-01-2012 19:05. Głosów: 81 + |  -
< reisio> there should be a (useful) app named retard, having something to do with tar
< reisio> oh I have it
< reisio> for tar's that don't start with a top-level directory
< reisio> y'know the ones that just slop out files everywhere in the current directory?
< reisio> retard
< reisio> it's perfect
< reisio> because it describes the person who made the original tar
< reisio> while fixing it
#7816 Dodano: 15-04-2015 21:28. Głosów: 81 + |  -
Państwem domkniętym nazywamy kraj z którego nie da się uciec przez przejście graniczne.
#7324 Dodano: 28-02-2014 10:01. Głosów: 81 + |  -
A DBA walks into a NOSQL bar, but turns and leaves because he couldn't find a table
#179 Dodano: 19-05-2009 20:26. Głosów: 81 + |  -
Przychodzi jedynka do lekarza, a lekarz mówi: Pani nie jest pierwsza!
#6767 Dodano: 08-04-2013 19:35. Głosów: 82 + |  -
vimtips@twitter:
:Sex will open a file explorer in a split window. I bet you'll remember that one.
#3719 Dodano: 12-07-2010 10:15. Głosów: 82 + |  -
[cytat z MSDN - http://msdn.microsoft.com/en-us/library/f9e8s203.aspx]

For more information, see Walkthrough: Arranging Controls on Windows Forms Using a FlowLayoutPanel and Walkthrough: Arranging Controls on Windows Forms Using a FlowLayoutPanel and Walkthrough: Arranging Controls on Windows Forms Using a FlowLayoutPanel and Walkthrough: Arranging Controls on Windows Forms Using a FlowLayoutPanel.