PowerShell, 232 226 222 161 Bytes
See revision history for previous versions
$z,$y,$x=($r,$g,$b=$args)|sort
$c=((2,(0,3)[$y-eq$b])[$x-ne$b],1)[$x-eq$g]
$d=((2,(0,3)[$x-eq$b])[$y-ne$b],1)[$y-eq$g]
(($c-$d)*120*(1+($x-$y)/($x-$z))/2+$d*120)
Hoo boy, let's see if I can walk through this. Since \...
Perl 5.10, 139 bytes, cracked by primo
~!0!~('@"/(@`)~@``^"|'.(('"
_]'^'|"`&').('[)).["[}(@,@@
{~/),$}@{**(!(^$&%{%{*[/,`,
'^'+[@@/+{_`%@,/&[)@[@@_`[#
!(!~-/,[,[#{&%@').'"!"})'))
Verification
For obvious reasons, the above code is deemed unsafe in modern versions of Perl.
However, in Perl 5....
Retina, 20 bytes
Now that a) Retina reads code from a single file by default and b) it can write linefeeds in substitution strings, it finally makes sense (and is possible) to write a quine in Retina. Before we get started, I'd like to mention the trivial solution of a file which contains a sing...
Meme: Crossed out 44 is still regular 44 ;(
Less common is when a four-byte solution is reduced to a three-byte solution, at which point the meme becomes “Crossed out 4 is still regular 4…”
Originator: Optimizer / Doorknob
Cultural Height: Started Mar 2015, height Oct 2015 -
Background: This...
I left my computer running for a couple hours. When I came back to it, my cat was sleeping on the keyboard, and he had both opened up and crashed Internet Explorer.
GNU IceCat, formerly known as GNU IceWeasel, is a free software rebranding of the Mozilla Firefox web browser distributed by the GNU Project. It is compatible with Linux, Windows, Android and OS X.
The GNU Project attempts to keep IceCat in synchronization with upstream development of Firefox while removing all trademarked artwork. It also maintains a large list of free software plugins. In addition, it features a few security features not found in the mainline Firefox browser.
== History ==
=== Origins of the name ===
The Mozilla Corporation owns trademark to the Firefox name and denies the use...
I miss Maple. I had an illegitimate (<_< >_>) copy of Maple on my old PC and when I bought a Mac I splurged and bought a copy of Mathematica. Really should have gotten Maple. :/
I prefer how little I have to know about Maple to use it
Build my wall!
kolmogorov-complexity code-golf
I need my byte-sized wall constructed and you are going to do it! To most efficiently build my wall I have created a simple, repeatable pattern for you to use:
__ __
| |_| |
___| |___
- - - -
- - - - - - -
- - - ...
Given a deck consisting of N copies of cards with integer values [1,M] for a total of N*M cards, compute the probability that a card with the value of 1 is adjacent to a card with the value of 2.
Your solution may be exact or approximated, and it does not need to be the same for every run given ...