Najnowsze cytaty


#7957 Dodano: 03-09-2016 12:27. Głosów: 57 + |  -
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
#7955 Dodano: 03-09-2016 12:27. Głosów: 72 + |  -
<q> is email case sensitive?
<google>Yes, according to RFC 2821, the local mailbox (the portion before @) is considered case-sensitive...
<q>is gmail case sensitive?
<google>No, e-mail addresses are not case sensitive, so Gmail addresses are not either. Those would all get to the same recipient. Because all e-mail is transmitted with a protocol called SMTP, and because SMTP is not case sensitive, you will find that no e-mail address in the world is case sensitive.
#7953 Dodano: 17-03-2016 14:25. Głosów: 62 + |  -
#define sizeof(x) 0

You can't have overflows if you never actually allocate anything :^)
#7952 Dodano: 16-11-2016 11:58. Głosów: 35 + |  -
Not every website needs to have a minimalist 3-word-on-every-page layout with big-ass pictures in the background and useless javascript all over the place. Put a fucking sidebar or some shit.

Most web deign these days seems to just copy whatever Apply/MS/whoever is cool right now is doing. Remember the shiny table Apple had? Bam, every one had to have shiny table. Selling software? Put it in a box on a shiny table. Have icons? You know what would make those like 2 million times better? If they were on a fucking shiny table.

Then flat tiles. Man, shiny tables are like totally awful. Make everything flat and square and in tiles. Preferably ones that jiggle like titties when you mouse over them. Can we have them shiny? No? Ok, then put the most garish color scheme you have all up in that bitch.

Holy shit! Guys. Guys! What if we had a giant mother fucking image as a background? And then it does all this weird shit when you scroll like some parallax fuckery that I read about? Even better, lets make it animated, because people with slow connections are just the worst. And besides, what kind of plebeian wouldn't want the same bullshit irrelevant hipster image with an instagram filter looping endlessly? That way you can see the parallax effects even better.

I swear, sometimes I think there's 3 web designers that are in a dungeon somewhere and every 4 years they come forth like Moses with the "next big design fad" that everyone follows for the next 4 years.

https://www.reddit.com/r/programming/comments/4ahj6w/every_fucking_bootstrap_website_ever/d10fnkh
#7942 Dodano: 16-11-2016 11:57. Głosów: 32 + |  -
- I'm trying to understand the difference, and benefits of using System.out.println() vs. return blah in a method.
- You're comparing potatoes with solar beams, and you're getting purple unicorns flying around stonehenge waiting for a meteor bringing back dinosaurs.

http://stackoverflow.com/questions/25456472/differences-between-system-out-printlin-and-return-in-java
#7940 Dodano: 16-11-2016 11:56. Głosów: 21 + |  -
$ fortune -m 'Them bats'

(computers)
%
Top Ten Things Overheard At The ANSI C Draft Committee Meetings:

(10) Sorry, but that's too useful.
(9) Dammit, little-endian systems *are* more consistent!
(8) I'm on the committee and I *still* don't know what the hell
#pragma is for.
(7) Well, it's an excellent idea, but it would make the compilers too
hard to write.
(6) Them bats is smart; they use radar.
(5) All right, who's the wiseguy who stuck this trigraph stuff in
here?
(4) How many times do we have to tell you, "No prior art!"
(3) Ha, ha, I can't believe they're actually going to adopt this
sucker.
(2) Thank you for your generous donation, Mr. Wirth.
(1) Gee, I wish we hadn't backed down on 'noalias'.
%
#7938 Dodano: 03-09-2016 12:27. Głosów: 55 + |  -
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
#7937 Dodano: 17-03-2016 14:25. Głosów: 50 + |  -
Once upon a time there was a programming language called C. And it had 2 memory management functions: malloc() and free(). But it was too complicated.
Bjarne Stroustrup decided that C memory management should be easier. So he invented C++. In addition tomalloc() and free(), C++ had new, delete, destructors, RAII, auto and shared pointers.
Guido van Rossum found that C++ was also not simple enough. He chose another way and invented Python - a language which doesn't have even malloc() or free().
Meanwhile Norwegian trolls created the C++ GUI library Qt. It simplifies memory management by deleting objects automatically when it thinks the objects are not needed.
A man called Phil Thompson was upset that a cool library like Qt doesn't exist in the excellent Python language. He combined them in the PyQt project. But it is not so easy to combine different memory management paradigms. Let's see what the pitfalls are.
(Text above is a fairy tale. Text below contains code and technical information)

http://enki-editor.org/2014/08/23/Pyqt_mem_mgmt.html
#7935 Dodano: 30-12-2015 11:08. Głosów: 135 + |  -
cat /etc/sudoers.d/README
#
# If you use #includedir /etc/sudoers.d, the directory must contain at
# least one file. This file is that file
#7931 Dodano: 17-03-2016 14:24. Głosów: 72 + |  -
Spam these days... It's like they're not even trying.

"Our records show that your account has a debt of $497.{rand(10,99)}}."
#7927 Dodano: 03-03-2016 11:17. Głosów: 29 + |  -
ahes: The best software standards.
ahes: # ssh-keygen --help
ahes: Generating public/private rsa key pair.
#7925 Dodano: 03-03-2016 11:17. Głosów: 56 + |  -
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”.
#7911 Dodano: 30-12-2015 11:08. Głosów: 103 + |  -
"This code is so ugly, it looks like Java."
http://isbullsh.it/2012/06/Rest-api-in-python/
#7899 Dodano: 30-11-2015 15:49. Głosów: 37 + |  -
P.S. Please, do not violate copyright laws — corporations have executives to take care of and buy more yachts and private jets. They really are making our world a better place by giving some Cambodian kid a career in packing stuff — for 12 hours a day, one dollar per hour. I mean, he would die of starvation otherwise, right?

// bitsnoop.com/info/about.html
#7898 Dodano: 30-11-2015 15:49. Głosów: 84 + |  -
git-fire is a Git plugin that helps in the event of an emergency by adding all current files, committing, and pushing to a new branch (to prevent merge conflicts).

Alias it to git out or git going for comedic effect.
#7882 Dodano: 04-11-2015 13:02. Głosów: 118 + |  -
W komentarzach dokumentacji funkcji str_replace():

A faster way to replace the strings in multidimensional array is to json_encode() it, do the str_replace() and then json_decode() it.

This method is almost 3x faster (in 10000 runs.) than using recursive calling and looping method, and 10x simpler in coding.

http://php.net/manual/pl/function.str-replace.php#100871
#7880 Dodano: 21-11-2015 11:39. Głosów: 60 + |  -
June 17, 2015 at some ungodly hour of the morning I received this gem (get ready to facepalm hard): "Hi, We use Openssl0.9.5a with Windows Server 2008 edition. [Mind you, 0.9.5a was originally released on April 3, 2000 with 6 major releases in the 15 years that have passed since that release. But wait, it gets better...] Does Openssl0.9.5a works with Windows Server 2012? Also what is the stable production version that can be used for Windows Server 2012? Help is highly appreciated." Wow.

https://slproweb.com/products/Win32OpenSSL.html
#7872 Dodano: 30-10-2015 11:19. Głosów: 84 + |  -
<sxrp> nobody is older than 1.01.1970
<sxrp> it's physically impossible
<@rocx> If they are, that's an epoch fail.
#7862 Dodano: 15-08-2015 11:50. Głosów: 69 + |  -
Jeden z twórców OAuth2 na temat niewygasających tokenów:

Non-expiring access tokens pose a pretty real security threat, as this goes against pretty much everything OAuth2 stands for. However, I don't see a real issue in putting this code in there... people can shoot themselves in the foot if they want to...
#7857 Dodano: 01-08-2015 18:19. Głosów: 69 + |  -
>You might have to hit Ignore a dozen times, but there's a good chance that eventually the bad values in the registers will get overwritten by good values (and it probably won't take long because the 8086 has so few registers), and the program will continue seemingly-normally.

http://blogs.msdn.com/b/oldnewthing/archive/2015/07/17/10624299.aspx
#7855 Dodano: 01-08-2015 18:19. Głosów: 53 + |  -
<Rev> Przeglądam wczoraj poprawki w STL w Visual Studio. Jedna z nich:
* rename("test.txt", "test.txt") is required to be a no-op, but we were deleting the file
#7853 Dodano: 13-07-2015 11:29. Głosów: 54 + |  -
>Why is sudo being removed from base? It is pretty useful. I imagine many
>use sudo

Sorry, we are making room in the tree so that lynx can come back.

https://marc.info/?l=openbsd-tech&m=143622805830257&w=2
#7842 Dodano: 06-07-2015 15:54. Głosów: 105 + |  -
$ man strace

...

In 1993, Rick Sladkey merged strace 2.5 for SunOS and the second release of strace for Linux, added many of the features of truss(1) from SVR4, and produced an strace that worked on both platforms. In 1994 Rick ported strace to SVR4 and Solaris and wrote the automatic configuration support. In 1995 he ported strace to Irix and tired of writing about himself in the third person.
#7839 Dodano: 06-07-2015 15:53. Głosów: 113 + |  -
<antoszka> ironia jest taka, ze mamy "przenosny" (hue hue hue) kod w javie, ktory odpalamy w cygwinie w emulatorze windowsa w niby-unixie jakim jest os x
#7838 Dodano: 29-06-2015 15:06. Głosów: 71 + |  -
MongoDB announced 10,000,000 downloads! Or, as their other two partitions reported, 9,999,323 and 10,001,403 downloads.
https://twitter.com/twalex/status/605938717434331137
#7837 Dodano: 29-06-2015 15:06. Głosów: 83 + |  -
<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
#7835 Dodano: 29-06-2015 15:06. Głosów: 41 + |  -
/dev/null to taki write-only memory
#7829 Dodano: 21-05-2015 16:19. Głosów: 81 + |  -
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.
#7828 Dodano: 11-05-2015 11:07. Głosów: -93 + |  -
Przychodzi ciało do lekarza.
Lekarz: Niestety nie mogę Pana przyjąć.
Cało: .... Dlaczego???
Lekarz: Pan nie ma właściwych ideałów.
#7820 Dodano: 11-05-2015 11:07. Głosów: 103 + |  -
<yahoo89> Jednym z formatów, w których w Windowsie 7 możemy wyeksportować certyfikat CA jest "Certyfikat X.509 szyfrowany algorytmem Base-64"
#7819 Dodano: 11-05-2015 11:07. Głosów: 95 + |  -
<i> i wanted to learn what a "tty server" is so i typed just that into google
<google result> Tired of this ****tty server - League of Legends Community
#7816 Dodano: 15-04-2015 21:28. Głosów: 83 + |  -
Państwem domkniętym nazywamy kraj z którego nie da się uciec przez przejście graniczne.
#7814 Dodano: 09-05-2015 07:22. Głosów: 114 + |  -
<Timbo_KZ> What is the most high-level language? Alternatively, what is the highest level a programming language can reach?
<FUZxxl> The highest level programming language has exactly one instruction, the !, pronounced “do what I mean.”
<rbemrose> Bug report:
"Program did what I meant, but not what I wanted."
Developer notes:
"Cannot reproduce. I wanted exactly what I meant."
Resolution:
"User error. Replace user and try again."
#7812 Dodano: 09-05-2015 07:22. Głosów: 10 + |  -
public abstract String defaultValue
The default value to use as a fallback when the request parameter value is not provided or empty. Supplying a default value implicitly sets required() to false.
Default:
"\n\t\t\n\t\t\n\ue000\ue001\ue002\n\t\t\t\t\n"

http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/bind/annotation/RequestParam.html
#7810 Dodano: 15-04-2015 19:24. Głosów: 138 + |  -
/*
(...)
** 2006-10-31: The default prefix used to be "sqlite_". But then
** Mcafee started using SQLite in their anti-virus product and it
** started putting files with the "sqlite" name in the c:/temp folder.
** This annoyed many windows users. Those users would then do a
** Google search for "sqlite", find the telephone numbers of the
** developers and call to wake them up at night and complain.
** For this reason, the default name prefix is changed to be "sqlite"
** spelled backwards. So the temp files are still identified, but
** anybody smart enough to figure out the code is also likely smart
** enough to know that calling the developer will not help get rid
** of the file.
*/
#ifndef SQLITE_TEMP_FILE_PREFIX
# define SQLITE_TEMP_FILE_PREFIX "etilqs_"
#endif
#7803 Dodano: 13-04-2015 11:57. Głosów: 144 + |  -
Unix does not model the world, for example in real world you rather shouldn't be waiting for a zombie.
#7799 Dodano: 10-04-2015 22:55. Głosów: 106 + |  -
"You know, when you have a program that does something really cool, and you wrote it from scratch, and it took a significant part of your life, you grow fond of it. When it's finished, it feels like some kind of amorphous sculpture that you've created. It has an abstract shape in your head that's completely independent of its actual purpose. Elegant, simple, beautiful.
Then, only a year later, after making dozens of pragmatic alterations to suit the people who use it, not only has your Venus-de-Milo lost both arms, she also has a giraffe's head sticking out of her chest and a cherubic penis that squirts colored water into a plastic bucket. The romance has become so painful that each day you struggle with an overwhelming urge to smash the fucking thing to pieces with a hammer."
Nick Foster
#7798 Dodano: 10-04-2015 22:55. Głosów: 12 + |  -
Z recepty boost w OpenEmbedded:

# Sometimes I wake up screaming. Famous figures are gathered in the nightmare,
# Steve Bourne, Larry Wall, the whole of the ANSI C committee. They're just
# standing there, waiting, but the truely terrifying thing is what they carry
# in their hands. At first sight each seems to bear the same thing, but it is
# not so for the forms in their grasp are ever so slightly different one from
# the other. Each is twisted in some grotesque way from the other to make each
# an unspeakable perversion impossible to perceive without the onset of madness.
# True insanity awaits anyone who perceives all of these horrors together.

https://github.com/openembedded/oe-core/blob/master/meta/recipes-support/boost/boost.inc
#7795 Dodano: 07-04-2015 01:09. Głosów: 141 + |  -
<Xone> Hi, I would like to get some comments: github.com/Xone
<Xtwo> "Some changes" is a fantastic commit message
<Xtwo> builds real confidence in the maintainer
<Xone> haha, i have just made small changes
<Xtwo> its great because it lets you distinguish those commits from the commits that dont have some changes
#7792 Dodano: 26-03-2015 18:15. Głosów: 119 + |  -
If you ever want the public to use your site, always design it to handle errors in a way that will allow them to continue using it if possible. If it's not possible and the site really is broken, make sure that you find out so that you can fix it. die() by itself won't do either.

If a supermarket freezer breaks down, a customer who wanted to buy a tub of ice cream doesn't expect to be kicked out of the building.

http://php.net/manual/en/function.die.php
#7788 Dodano: 07-04-2015 01:08. Głosów: 57 + |  -
Similarities between machine language and assembler are a feature, not a bug
~Gerhard Schmidt
#7787 Dodano: 26-03-2015 18:14. Głosów: 26 + |  -
You can recover from Microsoft and its suppliers only direct damages up to U.S. $5.00.
za https://visualstudiogallery.msdn.microsoft.com/site/e682d542-7ef3-402c-b857-bbfba714f78d/eula?licenseType=None
#7781 Dodano: 22-03-2015 22:02. Głosów: 209 + |  -
Czy tylko ja uważam, że siostra Elsy powinna nazywać się Ifa ?
#7780 Dodano: 22-03-2015 22:02. Głosów: 45 + |  -
What non malicious uses are there for ping's flood (-f) option?

You can watch the dots from across the room while wiggling the cables to find the faulty connection.

http://askubuntu.com/questions/592390/what-non-malicious-uses-are-there-for-pings-flood-f-option
#7775 Dodano: 07-03-2015 23:29. Głosów: 127 + |  -
RTDD: acronym often resolved as "Reversed Test-Driven Development" or "Real-Time-Driven Development", a common variation of TDD process (see http://en.wikipedia.org/wiki/Test-driven_development), where developers are short on time and choose to write tests in the end, instead of starting with them. In this approach tests may be carefully tailored to avoid dangerous paths in the code, what in general speeds up application deployment. Not to be confused with very popular RTLDD ("Remember-to-Test-it-Later-Driven Development").
#7770 Dodano: 07-03-2015 22:29. Głosów: 86 + |  -
<Weng> The cause of the issues this morning has been officially determined as "dunno".
#7762 Dodano: 21-02-2015 14:47. Głosów: 169 + |  -
<A> Jakie mieliście tematy projektów?
<B> Napisanie "symulatora świata". Rosną sobie roślinki, zwierzątka je wpierdalają, walczą z innymi zwierzątkami i się gżdżą na potęgę. Każda roślina/zwierze ma jakieś swoje specjalne zdolności no i tak to sobie się symuluje.
<C> U mnie żółw wpierdolił lwa na oddaniu ;(
<D> "Trawa zjada lwa. NULL się rozmnaża" :D
#7756 Dodano: 04-02-2015 08:06. Głosów: 186 + |  -
Javoviec jakimś cudem spłodził dziecko. Miał wymyślić imię dla dziecka. Na wszelki wypadek przygotował 2, jakby urodziły się bliźniaki. Na nieszczęście urodziły się trojaczki i dostały imiona: Jaś, Staś, ArrayIndexOutOfBoundsException.
#7755 Dodano: 04-02-2015 08:06. Głosów: 82 + |  -
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
#7751 Dodano: 30-01-2015 15:10. Głosów: 61 + |  -
Dates in Excel spreadsheets

In reality, there are no such things. What you have are floating point numbers and pious hope.

Źródło: https://secure.simplistix.co.uk/svn/xlrd/trunk/xlrd/doc/xlrd.html?p=4966
#7744 Dodano: 28-01-2015 21:59. Głosów: 154 + |  -
Są dwa rodzaje JavaScriptu - ten, który rozumiem i ten, który pisał ktoś inny.
#7742 Dodano: 28-01-2015 21:59. Głosów: 326 + |  -
Rozmowa kwalifikacyjna:
- zna Pan protokół TCP?
- TCP?
- Tak, TCP.
- Tak.
- Tak?
- Tak, tak.
- Ma pan tę pracę!

- Mam?
- Tak, ma Pan
#7738 Dodano: 26-01-2015 18:21. Głosów: 454 + |  -
Przychodzi tester do baru i zamawia drinka. Zamawia 10 drinków.
Zamawia 99999999999 drinków. Odchodzi od baru, podchodzi ponownie, odchodzi od baru podchodzi ponownie, zamawia -8 drinków. Zamawia zero drinków. Zamawia szynę kolejową.
#7737 Dodano: 26-01-2015 18:20. Głosów: 91 + |  -
Czy wiesz że?
Jeżeli wyłączysz modem FunBox używając przycisku zasilania, nie będziesz mogł korzystać z usług
#7736 Dodano: 18-01-2015 21:29. Głosów: 94 + |  -
[rozmowa o przepisywanym od podstaw projekcie]
<Dev1> Sprawdzili w wikipedii definicje MVC, widzą, "kontroler wykonuje logikę", no, to napisali całą logikę biznesową w kontrolerze
<Dev2> Pewnie pomyśleli "a co to jest, Shrek, żeby miał warstwy?"
#7732 Dodano: 15-01-2015 07:25. Głosów: 173 + |  -
<TotallyNotAnAlien> "Program Files" was to force programs to support spaces in directory paths. It was introduced for windows 95.
<Sheepshow> Windows 11 will rename "Program Files" to "P̧r̢̘̗͇̟͚o̲̥͝g͎̳̗r̹̠̱̼a̹̦͝ṃ̥̙̰͝ ̮̳͉̥̞̫̩F̮̳̱̳̯̼͡ìl̩̣͢e̴͓̪̼̤ͅs̙͠" in order to force developers to support Unicode.

http://www.reddit.com/r/shittyprogramming/comments/2q5ga0/
#7725 Dodano: 15-01-2015 07:25. Głosów: 83 + |  -
Programmers don't byte, just nimble a bit
#7717 Dodano: 08-01-2015 12:52. Głosów: 98 + |  -
- I'm pretty curious about what percentage of the electricity used by typical gaming comps is converted to heat.
- 100%
- Pretty sure nvidia managed to break that barrier.
#7716 Dodano: 08-01-2015 12:52. Głosów: 259 + |  -
<Q> What are some things that programmers and computer scientists know, but most people don't?
<A> Try telling this to a normal person:
"A parent may kill its children if the task assigned to them is no longer needed"
#7715 Dodano: 02-01-2015 11:33. Głosów: 120 + |  -
// Work out the exe app path
// THANK YOU VERY MUCH WIN32
// WHATEVER WAS WRONG WITH ARGV[0] YOU FUCKING IDIOTS
Źródło: Uplink source
#7713 Dodano: 25-12-2014 12:24. Głosów: -8 + |  -
Pewien profesor kazał sobie wszyć w spodnie zamiast zamka błyskawicznego suwak logarytmiczny - aby łatwiej mu było wyciągać pierwiastek.
#7703 Dodano: 23-12-2014 21:16. Głosów: 179 + |  -
Writing code is like having sex.... make one little mistake, and you're supporting it for life.
#7700 Dodano: 21-12-2014 14:35. Głosów: 127 + |  -
[16:02] <Ahmadi> Is there any trick to add "__declspec(dllexport)" to all of function of a namespace?
[16:03] <ville> Ahmadi: interns
#7699 Dodano: 19-12-2014 13:30. Głosów: 88 + |  -
Without going into too much detail, JavaScript is like the ugly, buck-toothed girl your parents forced you to take to the prom. JQuery is like the fairy godmother who swoops in and, with one sweep of the wand, turns her into a total babe before your eyes.

http://stackoverflow.com/questions/602444/what-is-functional-declarative-and-imperative-programming/602707#602707
#7698 Dodano: 19-12-2014 13:29. Głosów: 116 + |  -
Kryptoanalityk - specjalista w dziedzinie badań grobowców
#7697 Dodano: 18-12-2014 23:52. Głosów: 79 + |  -
Dlaczego monomorfizmy nie mogą mieć dzieci?
Bo mają trywialne jądro.
#7695 Dodano: 18-12-2014 23:52. Głosów: 87 + |  -
You know 3rd party web service you are integrating with is bad, when it can return error: PRESS ANY KEY TO EXIT
#7694 Dodano: 16-12-2014 23:20. Głosów: 53 + |  -
Share it iff you love formal logic.

na podstawie www.xkcd.com/1033
#7691 Dodano: 16-12-2014 23:20. Głosów: 122 + |  -
// At this point, I'd like to take a moment to speak to you about the Adobe PSD format.
// PSD is not a good format. PSD is not even a bad format. Calling it such would be an
// insult to other bad formats, such as PCX or JPEG. No, PSD is an abysmal format. Having
// worked on this code for several weeks now, my hate for PSD has grown to a raging fire
// that burns with the fierce passion of a million suns.
// If there are two different ways of doing something, PSD will do both, in different
// places. It will then make up three more ways no sane human would think of, and do those
// too. PSD makes inconsistency an art form. Why, for instance, did it suddenly decide
// that *these* particular chunks should be aligned to four bytes, and that this alignement
// should *not* be included in the size? Other chunks in other places are either unaligned,
// or aligned with the alignment included in the size. Here, though, it is not included.
// Either one of these three behaviours would be fine. A sane format would pick one. PSD,
// of course, uses all three, and more.
// Trying to get data out of a PSD file is like trying to find something in the attic of
// your eccentric old uncle who died in a freak freshwater shark attack on his 58th
// birthday. That last detail may not be important for the purposes of the simile, but
// at this point I am spending a lot of time imagining amusing fates for the people
// responsible for this Rube Goldberg of a file format.
// Earlier, I tried to get a hold of the latest specs for the PSD file format. To do this,
// I had to apply to them for permission to apply to them to have them consider sending
// me this sacred tome. This would have involved faxing them a copy of some document or
// other, probably signed in blood. I can only imagine that they make this process so
// difficult because they are intensely ashamed of having created this abomination. I
// was naturally not gullible enough to go through with this procedure, but if I had done
// so, I would have printed out every single page of the spec, and set them all on fire.
// Were it within my power, I would gather every single copy of those specs, and launch
// them on a spaceship directly into the sun.
//
// PSD is not my favourite file format.

https://code.google.com/p/xee/source/browse/XeePhotoshopLoader.m#108
#7675 Dodano: 14-12-2014 22:14. Głosów: 125 + |  -
Told by Gerald Weinberg in various incarnations:

A group of ten top software engineers is sent to a class for aspiring managers. The teacher walks in and asks this question:

"You work for a software company which develops avionics (software that controls the instruments of an airplane). One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"

Nine developers raised their hands. The teacher looked at the tenth and asked, "Why would you stay on?"

The tenth said, "if my team wrote the software, the plane would not get off the ground, much less crash."
#7674 Dodano: 13-12-2014 17:29. Głosów: 116 + |  -
The fantastic element that explains the appeal of video games to many developers is neither the fire-breathing monsters nor the milky-skinned, semi-clad sirens; it is the experience of carrying out a task from start to finish without any change in the user requirements.
#7673 Dodano: 12-12-2014 19:40. Głosów: 151 + |  -
Macierze mają niedługo ogłosić niepodległość.

Rząd już mają.
#7662 Dodano: 12-12-2014 19:40. Głosów: 99 + |  -
<Shammoz > Well, I don't actually have an OCD, it's a CDO, spelt alphabetically, just as it damn well should be.
#7660 Dodano: 11-12-2014 18:20. Głosów: 96 + |  -
<dyrektor> Ok, rozumiem, że to bękart zwodniczych ideologii scrum i agile uzasadniających nieróbstwo i flejtuchowatość
#7656 Dodano: 11-12-2014 18:20. Głosów: 151 + |  -
<d3x> co ci ludzie na CV wypisuja to masakra
<d3x> Professional Skills
<d3x> Cisco routers and switches
<d3x> TCP-IP over LAN, DHCP and static IP addressing, DNS, wireless networking, VoIP, port security, multicast
<Gh> zakladki przepisal z routera wifi
#7638 Dodano: 08-12-2014 08:40. Głosów: 145 + |  -
<Ben> Wstęga Mobiusa jest zarąbista.
<Ben> Z drugiej strony, wstęga Mobiusa jest zarąbista.
#7635 Dodano: 08-12-2014 08:40. Głosów: 108 + |  -
Snapchat taki bezpieczny:
(...) The key is generated from a MD5 hash using the Android ID concatenated with the string 'seems legit...'.
https://github.com/programa-stic/snapchat-decrypt/blob/master/README.md
#7634 Dodano: 05-12-2014 00:33. Głosów: 67 + |  -
It’s time for WordPress Core Weekly (formerly known as Last Week in WordPress Core) again! There have been suggestions to change the name of these summary posts to stop confusions about being the last week of WordPress.

via https://make.wordpress.org/core/2014/10/15/wordpress-core-weekly/
#7624 Dodano: 05-12-2014 00:33. Głosów: 56 + |  -
<info>Porada na githubie</info>
ProTip! Follow the drama with comments:>50 for heavy discussions.
#7623 Dodano: 28-11-2014 21:25. Głosów: 106 + |  -
Z repozytorium Ubuntu:

stalin - An extremely aggressive Scheme compiler
#7620 Dodano: 28-11-2014 21:25. Głosów: 93 + |  -
Wykład z programowanie obiektowego na jednej z uczelni technicznych.
Abstrakcja - co to jest? Na jednym z egzaminów z kolegą docentem zaliczaliśmy każdą odpowiedź.
#7616 Dodano: 26-11-2014 22:16. Głosów: 183 + |  -
Unix is user-friendly. It's just very selective about who its friends are.
#7615 Dodano: 26-11-2014 22:16. Głosów: 101 + |  -
//today I found this in source code:
public class SOAPClient {
private static final int RESPONSE_CODE_ERROR = 500;
private static final int RESPONSE_CODE_OK = 500;
//...
#7610 Dodano: 19-11-2014 21:49. Głosów: 160 + |  -
“Linux is only free if your time has no value” - Jamie Zawinski
#7608 Dodano: 19-11-2014 21:49. Głosów: 47 + |  -
Authorities in India are investigating how Hanuman, the monkey god, has been issued a biometric identity card. - BBC News
#7606 Dodano: 18-11-2014 20:16. Głosów: 100 + |  -
public static Object[] createArray(Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14, Object arg15, Object arg16, Object arg17, Object arg18, Object arg19, Object arg20, Object arg21, Object arg22, Object arg23, Object arg24, Object arg25, Object arg26, Object arg27, Object arg28, Object arg29, Object arg30, Object arg31, Object arg32, Object arg33, Object arg34, Object arg35, Object arg36, Object arg37, Object arg38, Object arg39, Object arg40, Object arg41, Object arg42, Object arg43, Object arg44, Object arg45, Object arg46, Object arg47, Object arg48, Object arg49, Object arg50, Object arg51, Object arg52, Object arg53, Object arg54, Object arg55, Object arg56, Object arg57, Object arg58, Object arg59, Object arg60, Object arg61, Object arg62, Object arg63, Object arg64, Object arg65, Object arg66, Object arg67, Object arg68, Object arg69, Object arg70, Object arg71, Object arg72, Object arg73, Object arg74, Object arg75, Object arg76, Object arg77, Object arg78, Object arg79, Object arg80, Object arg81, Object arg82, Object arg83, Object arg84, Object arg85, Object arg86, Object arg87, Object arg88, Object arg89, Object arg90, Object arg91, Object arg92, Object arg93, Object arg94, Object arg95, Object arg96, Object arg97, Object arg98, Object arg99, Object arg100, Object arg101, Object arg102, Object arg103, Object arg104, Object arg105, Object arg106, Object arg107, Object arg108, Object arg109, Object arg110, Object arg111, Object arg112, Object arg113, Object arg114, Object arg115, Object arg116, Object arg117, Object arg118, Object arg119, Object arg120, Object arg121, Object arg122, Object arg123, Object arg124, Object arg125, Object arg126, Object arg127, Object arg128, Object arg129, Object arg130, Object arg131, Object arg132, Object arg133, Object arg134, Object arg135, Object arg136, Object arg137, Object arg138, Object arg139, Object arg140, Object arg141, Object arg142, Object arg143, Object arg144, Object arg145, Object arg146, Object arg147, Object arg148, Object arg149, Object arg150, Object arg151, Object arg152, Object arg153, Object arg154, Object arg155, Object arg156, Object arg157, Object arg158, Object arg159, Object arg160, Object arg161, Object arg162, Object arg163, Object arg164, Object arg165, Object arg166, Object arg167, Object arg168, Object arg169, Object arg170, Object arg171, Object arg172, Object arg173, Object arg174, Object arg175, Object arg176, Object arg177, Object arg178, Object arg179, Object arg180, Object arg181, Object arg182, Object arg183, Object arg184, Object arg185, Object arg186, Object arg187, Object arg188, Object arg189, Object arg190, Object arg191, Object arg192, Object arg193, Object arg194, Object arg195, Object arg196, Object arg197, Object arg198, Object arg199, Object arg200, Object arg201, Object arg202, Object arg203, Object arg204, Object arg205, Object arg206, Object arg207, Object arg208, Object arg209, Object arg210, Object arg211, Object arg212, Object arg213, Object arg214, Object arg215, Object arg216, Object arg217, Object arg218, Object arg219, Object arg220, Object arg221, Object arg222, Object arg223, Object arg224, Object arg225, Object arg226, Object arg227, Object arg228, Object arg229, Object arg230, Object arg231, Object arg232, Object arg233, Object arg234, Object arg235, Object arg236, Object arg237, Object arg238, Object arg239, Object arg240, Object arg241, Object arg242, Object arg243, Object arg244, Object arg245, Object arg246, Object arg247, Object arg248, Object arg249) {
return new Object[]{
arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15, arg16, arg17, arg18, arg19, arg20, arg21, arg22, arg23, arg24, arg25, arg26, arg27, arg28, arg29, arg30, arg31, arg32, arg33, arg34, arg35, arg36, arg37, arg38, arg39, arg40, arg41, arg42, arg43, arg44, arg45, arg46, arg47, arg48, arg49, arg50, arg51, arg52, arg53, arg54, arg55, arg56, arg57, arg58, arg59, arg60, arg61, arg62, arg63, arg64, arg65, arg66, arg67, arg68, arg69, arg70, arg71, arg72, arg73, arg74, arg75, arg76, arg77, arg78, arg79, arg80, arg81, arg82, arg83, arg84, arg85, arg86, arg87, arg88, arg89, arg90, arg91, arg92, arg93, arg94, arg95, arg96, arg97, arg98, arg99, arg100, arg101, arg102, arg103, arg104, arg105, arg106, arg107, arg108, arg109, arg110, arg111, arg112, arg113, arg114, arg115, arg116, arg117, arg118, arg119, arg120, arg121, arg122, arg123, arg124, arg125, arg126, arg127, arg128, arg129, arg130, arg131, arg132, arg133, arg134, arg135, arg136, arg137, arg138, arg139, arg140, arg141, arg142, arg143, arg144, arg145, arg146, arg147, arg148, arg149, arg150, arg151, arg152, arg153, arg154, arg155, arg156, arg157, arg158, arg159, arg160, arg161, arg162, arg163, arg164, arg165, arg166, arg167, arg168, arg169, arg170, arg171, arg172, arg173, arg174, arg175, arg176, arg177, arg178, arg179, arg180, arg181, arg182, arg183, arg184, arg185, arg186, arg187, arg188, arg189, arg190, arg191, arg192, arg193, arg194, arg195, arg196, arg197, arg198, arg199, arg200, arg201, arg202, arg203, arg204, arg205, arg206, arg207, arg208, arg209, arg210, arg211, arg212, arg213, arg214, arg215, arg216, arg217, arg218, arg219, arg220, arg221, arg222, arg223, arg224, arg225, arg226, arg227, arg228, arg229, arg230, arg231, arg232, arg233, arg234, arg235, arg236, arg237, arg238, arg239, arg240, arg241, arg242, arg243, arg244, arg245, arg246, arg247, arg248, arg249};
}
}



http://svn.codehaus.org/groovy/trunk/groovy/groovy-core/src/main/org/codehaus/groovy/runtime/ArrayUtil.java
#7604 Dodano: 18-11-2014 20:16. Głosów: 113 + |  -
- Z sygnatury mailowej pewnego administratora -
Professional Apache Restarter & Bear Wrestler
#7601 Dodano: 09-11-2014 00:11. Głosów: 133 + |  -
All filesystems are bad for SSDs. The best way to maximize the life of your SSD (or HDD) is to leave it in the antistatic bag. 
# https://bbs.archlinux.org/viewtopic.php?pid=1458030#p1458030
#7594 Dodano: 09-11-2014 00:10. Głosów: 88 + |  -
How do you pronounce char?
uint8_t

https://www.reddit.com/r/compsci/comments/2gflyh/how_do_you_pronounce_char/
#7591 Dodano: 24-10-2014 10:59. Głosów: 161 + |  -
<Skywolf> Say you have crucial, business data, that absolutely has to be safe.
<Skywolf> So you do the right thing, and invest in a RAID6 system with double parity.
<Skywolf> Which works great. So great that you don't even notice when the first hard drive fails.
<Skywolf> And not even when the second hard drive fails.
<Skywolf> Unfortunately you do notice when the third hard disk fails.

http://forums.thedailywtf.com/forums/p/32035/365866.aspx
#7590 Dodano: 24-10-2014 10:59. Głosów: 71 + |  -
> 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
#7589 Dodano: 18-10-2014 12:09. Głosów: 180 + |  -
Kumpel był na praktykach w <znana firma teleinformatyczna>.

Któregoś dnia do firmy zadzwonił klient z Japonii.
- Excuse me, what does "DUPA" error mean?

Objaśniono mu, że to skrót od "Digital Unit Process Error".
#7588 Dodano: 18-10-2014 12:09. Głosów: 181 + |  -
From man apt-get on Ubuntu:

remove is identical to install except that packages are removed instead of installed.
#7586 Dodano: 07-10-2014 21:24. Głosów: 48 + |  -
libfaketime might be used for various purposes, for example
- running legacy software with y2k bugs
- testing software for year-2038 compliance
- debugging time-related issues, such as expired SSL certificates
- running software which ceases to run outside a certain timeframe
- using different system-wide date and time settings, e.g., on OpenVZ-
based virtual machines running on the same host.
#7583 Dodano: 28-09-2014 15:18. Głosów: 325 + |  -
Witam, korzystam z microsoft visual c++ 2010 Express i przy błędzie w programie często pokazuje w której linijce jest błąd.
Czy da się jakoś ponumerować te linijki kodu czy trzeba za każdym razem je liczyć?
#7582 Dodano: 28-09-2014 15:18. Głosów: 181 + |  -
Specjalista z answers.yahoo.com:

A 2GB ram is used on 32 bit operating systems. 4GB on 64 bit and 8 GB on 86 bit machines.
64x and 86x bit machines are better than 32 bits. They'll perform quicker etc.
#7581 Dodano: 28-09-2014 15:18. Głosów: 92 + |  -
"napisania prostego programu PHP uruchamianego po stronie serwera" - za "efekty kształcenia" w opisie przedmiotu Języki Programowania Wysokiego Poziomu na PG
#7579 Dodano: 25-09-2014 14:59. Głosów: 80 + |  -
i32 AaCpuAtomicSwap32(TAaCpuAtomic32* atomic, i32 value)
{
i32 prev;

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

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

return prev;
} /* AaCpuAtomicCmpSwap32 */
#7575 Dodano: 25-09-2014 14:58. Głosów: 58 + |  -
When people from the WYSIWYG world meet people who use LATEX, they often discuss “the advantages of LATEX over a normal word processor” or the opposite. The best thing to do when such a discussion starts is to keep a low profile, since such discussions often get out of hand. But sometimes there is no escaping ...

The (Not So) Short Introduction to LaTeX2e
#7574 Dodano: 17-09-2014 22:01. Głosów: 168 + |  -
Debugowanie PHP jest jak wróżenie z fusów...
...po kawie rozpuszczalnej.