Up goat or Down goat?
test-battery code-challenge
Given an image of a goat, your program should best try to identify whether the goat is upside down, or not.
Examples
These are examples of what the input may be. Not actual inputs
Input:
Output:
Down goat
Spec
Your Program should be under...
@CᴏɴᴏʀO'Bʀɪᴇɴ Then you've beaten Dennis in getting that word in your dictionary. Good job. You beat Dennis in something that he can't get ahead of you in.
GitHub Gist command-line client
Create a command-line tool that publishes a list of files as one public GitHub Gist.
Specification
The following bullet points describe the behavior of the program. If a bullet point has "must", you must implement that point. If a bullet point has "can optionall...
GNU Bazaar (formerly Bazaar-NG, command line tool bzr) is a distributed revision control system sponsored by Canonical.
Bazaar can be used by a single developer working on multiple branches of local content, or by teams collaborating across a network.
Bazaar is written in the Python programming language, with packages for major GNU/Linux distributions, Mac OS X and Microsoft Windows. Bazaar is free software and part of the GNU Project.
== Features ==
Bazaar commands are quite similar to those found in CVS or Subversion. A new project can be started and maintained without a remote repository server...
The directory '/Users/vihan/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/Users/vihan/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
@Sp3000 That's definitely true. The problem is that I don't know how to calculate the commonality. All lists I can find online are dubious, pay-to-use or outdated.
@Dennis Some of the word lists spawned for Up Goer Five/simplewriter/etc should be a start. Also, given the context, units like "Celcius" should probably be up there too
Not great suggestions, but I don't know of any complete English language rankings myself
@ӍѲꝆΛҐӍΛПҒЦꝆ The primary disadvantage of that is that you (as it is now) could find a solution with a better score by adding characters. Having a fixed bit count for each would make things easier.
Isn't it annoying when you're working with floating point numbers and your code doesn't work because two numbers are not equal by the least significant bit? Now you can fix that!
Write some code that takes two floating point numbers in any IEEE 754 binary format and returns TRUE if:
the two nu...
In my last meta post, I asked about why we need objective winning criterion. Martin made a really good point that we need objective scoring to motivate users to improve their code.
That said, the argument is a bit weak when it comes to fastest-code challenges. Because answers have to be run on...
@Dennis That depends on the workload. If it is highly parallel, icc will beat gcc on IA64 on linux and windows. But that's a very specific application (which is what icc was made for)
Write some code, that when executed changes your language by forcing all subsequent if statements to have an accompanying bare else statement (i.e. not just else ifs), otherwise if no conditions are met, the code prints I found your loophole! to whatever qualifies as stdout in your language. else...
Eat the Chocolate Bar
code-golf
I have a chocolate bar and I need help eating it so you'll be writing a program just to do that.
Explanation
First number is size, second is pieces eaten. These can be taken in any order.
8 1
____
__|__|
|__|__|
|__|__|
|__|__|
8 2
_______
|__|__|
|__|__|...