Some sort of whiskey definitely seems like it would work.
Anonymous
My standard alcoholic milkshake recipe is a shot each of Baileys, Jameson, and Kahlua, with however much ice cream you need to not feel so bad about the fact that you're about to ingest 4.5 oz of alcohol in dessert form
Super Folding Numbers
We have already defined a folding number here.
But now we are going to define a Super Folding Number. A Super Folding number is a number that if folded enough times it will eventually reach one less than a power of two.
The folding algorithm goes as follows:
Take the b...
Anonymous
8:20 PM
For some reason, Notepad++ thinks triple is a keyword in Python
@DJMcMayhem I usually write two lines of code one under the other when I'm golfing, so I can directly compare their lengths. That would be much easier with # or a similar comment character.
Don't ask me how or why but while coding on a project I noticed that the characters of a couple of words had a particular pattern referred to the alphabet, I connected each character of the words with the pencil on the alphabet and I obtained two spirals, then I noticed that the first spiral was ...
<Language name="python" ext="py pyw" commentLine="#">
<Keywords name="instre1">and as assert break class continue def del elif else except exec False finally for from global if import in is lambda None not or pass print raise return triple True try while with yield</Keywords>
I've actually considered a KotH where you have to write code that balances an inverted pendulum. Since just that by itself would quickly converge to two or more perfect bots, I thought about also adding in wind that changes randomly.
What might be better would be to link two inverted pendulums in such a way that one can affect the other, and then have bots compete that way.
The 80's TV series Knight Rider featured an intelligent, self-aware car called KITT. One distinctive aspect of the car was a front-mounted scanner bar that allowed KITT to "see" (and that looked suspiciously familiar to fans of another, earlier TV series).
The scanner had eight lights as seen in...
Challenge
Ever seen those movie trailer titles (namely Martian, Interstellar, etc) where they have huge gaps in between letters slowly spreading out?
The challenge is to recreate this effect given a string, gap ratio and direction, by inserting appropriate amount of spaces in between the lette...
Your task is to make a histogram given a sample of arbitrary size.
Input
A float array or any other reasonable form of input with an arbitrary number of elements.
Output
The histogram; more to follow.
How to make a histogram
We'll use the sample: [1.1, 3, 5, 13, 15.5, 21, 29.7, 63, 16, 5,...
@Dennis I enjoy Jelly as do many others, and I've been wondering what day do you consider to be the birthday of Jelly?
Your initial commit was Dec 3 2015 (github.com/DennisMitchell/jelly/commit/…) but do you recall when you had the idea/inspiration for it, or what day you first began coding it (before uploading to GitHub)
Introduction
The challenge is to determine if two complex lines intersect.
Challenge
Given two lines made up of multiple straight line segments determine if the lines cross at any point.
Input can be in the format of you choice that takes a series of [x,y] coordinates. All coordinates will...