Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Sandbox

Cod golf: choose your own shoal

+0
−0

This is a fixed output challenge. It is similar to a standard Kolmogorov complexity challenge, except you get to choose your own fixed output. Given no input, output 255 fishes. You may choose any 255 distinct fishes from the following list:

african glass catfish
african lungfish
aholehole
airbreathing catfish
airsac catfish
alaska blackfish
albacore
alewife
alfonsino
algae eater
alligator gar
alligatorfish
amberjack
american sole
amur pike
anchovy
anemonefish
angelfish
angler
angler catfish
anglerfish
antarctic cod
antarctic icefish
antenna codlet
arapaima
archerfish
arctic char
armored gurnard
armored searobin
armorhead
armorhead catfish
armoured catfish
arowana
arrowtooth eel
asian carp
asiatic glassfish
atka mackerel
atlantic bonito
atlantic cod
atlantic herring
atlantic pomfret
atlantic salmon
atlantic saury
atlantic sharpnose shark
atlantic silverside
atlantic spadefish
australasian salmon
australian grayling
australian herring
australian lungfish
australian prowfish
ayu
baikal oilfish
bala shark
ballan wrasse
bamboo shark
banded killifish
bandfish
bangus
banjo
banjo catfish
barb
barbel
barbel-less catfish
barbeled dragonfish
barbeled houndshark
barfish
barracuda
barracudina
barramundi
barred danio
barreleye
basking shark
bass
basslet
bat ray
batfish
beachsalmon
beaked salmon
beaked sandfish
beardfish
beluga sturgeon
bengal danio
betta
bichir
bicolor goat fish
bigeye
bigeye squaretail
bighead carp
bigmouth buffalo
bigscale
bigscale pomfret
billfish
bitterling
black angelfish
black bass
black dragonfish
black mackerel
black neon tetra
black scabbardfish
black scalyfin
black sea bass
black swallower
black tetra
black triggerfish
blackchin
blackfin tuna
blackfish
blacktip reef shark
bleak
blenny
blind goby
blind shark
blobfish
blowfish
blue catfish
blue danio
blue eye trevalla
blue gourami
blue shark
blue triggerfish
blue whiting
blue-redstripe danio
bluefin tuna
bluefish
bluegill
bluntnose knifefish
bluntnose minnow
boafish
boarfish
bobtail snipe eel
bocaccio
boga
bombay duck
bonefish
bonito
bonnethead shark
bonnetmouth
bonytail
bonytongue
bowfin
boxfish
bramble shark
bream
brill
bristlemouth
bristlenose catfish
broadband dogfish
bronze corydoras
brook lamprey
brook stickleback
brook trout
brotula
brown trout
buffalo fish
bull shark
bull trout
bullhead
bullhead shark
bumblebee goby
burbot
buri
burma danio
burrowing goby
butterfish
butterfly ray
butterflyfish
california flyingfish
california halibut
canary rockfish
candiru
candlefish
capelin
cardinal tetra
cardinalfish
carp
carpetshark
carpsucker
cat shark
catalufa
catfish
catla
cave angelfish
cavefish
celebes rainbowfish
central mudminnow
chain pickerel
channel bass
channel catfish
char
cherry salmon
cherubfish
chimaera
chinook salmon
chub
chubsucker
chum salmon
cichlid
cisco
climbing catfish
climbing gourami
climbing perch
clingfish
clown loach
clown triggerfish
clownfish
cobbler
cobia
cod
codlet
codling
coelacanth
coffinfish
coho salmon
coley
collared carpetshark
collared dogfish
colorado squawfish
combfish
combtail gourami
combtooth blenny
common carp
common tunny
conger eel
convict blenny
convict cichlid
cookie-cutter shark
coolie loach
cornetfish
cow shark
cowfish
cownose ray
crappie
creek chub
crestfish
crevice kelpfish
croaker
crocodile icefish
crocodile shark
crucian carp
cuckoo wrasse
cusk
cusk-eel
cutlassfish
cutthroat eel
cutthroat trout
dab
dace
daggertooth pike conger
damselfish
danio
darter
dartfish
dealfish
death valley pupfish
deep sea eel
deep sea smelt
deepwater cardinalfish
deepwater flathead
deepwater stingray
delta smelt
demoiselle
denticle herring
desert pupfish
devario
devil ray
dhufish
discus
dogfish
dogfish shark
dogteeth tetra
dojo loach
dolly varden trout
dolphin fish
dorab wolf-herring
dorado
dory
dottyback
dragon goby
dragonet
dragonfish
driftfish
driftwood catfish
drum
duckbill
duckbill eel
dusky grouper
dusky shark
dwarf gourami
dwarf loach
eagle ray
earthworm eel
eel
eel cod
eel-goby
eelpout
eeltail catfish
elasmobranch
electric catfish
electric eel
electric knifefish
electric ray
elephant fish
elephantnose fish
elver
ember parrotfish
emerald catfish
emperor
emperor angelfish
emperor bream
escolar
eucla cod
eulachon
european chub
european eel
european flounder
european minnow
european perch
false brotula
false cat shark
false moray
false trevally
fangtooth
fathead sculpin
featherback
fierasfer
filefish
finback cat shark
fingerfish
fire bar danio
fire goby
firefish
flabby whale fish
flagblenny
flagfin
flagfish
flagtail
flashlight fish
flatfish
flathead
flathead catfish
flier
flounder
flying fish
flying gurnard
footballfish
forehead brooder
four-eyed fish
french angelfish
freshwater eel
freshwater hatchetfish
freshwater shark
frigate mackerel
frilled shark
frogfish
frogmouth catfish
fusilier fish
galjoen fish
ganges shark
gar
garden eel
garibaldi
garpike
ghost fish
ghost flathead
ghost knifefish
ghost pipefish
ghost shark
ghoul
giant danio
giant gourami
giant sea bass
gibberfish
gila trout
gizzard shad
glass catfish
glass knifefish
glassfish
glowlight danio
goatfish
goblin shark
goby
golden dojo
golden loach
golden shiner
golden trout
goldeye
goldfish
gombessa
goosefish
gopher rockfish
gourami
grass carp
graveldiver
gray mullet
gray reef shark
grayling
great white shark
green spotted puffer
green swordtail
greeneye
greenling
grenadier
ground shark
grouper
grunion
grunt
grunt sculpin
grunter
gudgeon
guitarfish
gulf menhaden
gulper
gulper eel
gunnel
guppy
gurnard
haddock
hagfish
hairtail
hake
halfbeak
halfmoon
halibut
halosaur
hamlet
hammerhead shark
hammerjaw
handfish
hardhead catfish
harelip sucker
hatchetfish
hawkfish
herring
herring smelt
hickory shad
hillstream loach
hilsha
hog sucker
hoki
horn shark
horsefish
houndshark
huchen
humuhumunukunukuapua'a
hussar
icefish
ide
ilish
inanga
inconnu
jack
jack dempsey
jackfish
japanese eel
javelin
jawfish
jellynose fish
jewel tetra
jewelfish
john dory
kafue pike
kahawai
kaluga
kanyu
kelp perch
kelpfish
killifish
king of the herrings
king-of-the-salmon
kingfish
kissing gourami
knifefish
knifejaw
koi
kokanee
kokopu
kuhli loach
labyrinth fish
ladyfish
lake chub
lake trout
lake whitefish
lampfish
lamprey
lancetfish
lanternfish
largemouth bass
leaffish
leatherjacket
lefteye flounder
lemon shark
lemon sole
lemon tetra
lenok
leopard danio
lightfish
limia
lined sole
ling
ling cod
lionfish
livebearer
lizardfish
loach
loach catfish
loach goby
loach minnow
long-finned char
long-finned pike
long-finned sand diver
long-whiskered catfish
longfin
longfin dragonfish
longfin escolar
longfin smelt
longjaw mudsucker
longneck eel
longnose chimaera
longnose dace
longnose lancetfish
longnose sucker
longnose whiptail catfish
loosejaw
lost river sucker
louvar
loweye catfish
luderick
luminous hake
lumpsucker
lungfish
mackerel
mackerel shark
madtom
mahi-mahi
mahseer
mail-cheeked fish
mako shark
man-of-war fish
mandarinfish
manefish
manta ray
marblefish
marine hatchetfish
marlin
masu salmon
medaka
medusafish
megamouth shark
menhaden
merluccid hake
mexican golden trout
midshipman fish
milkfish
minnow
minnow of the deep
modoc sucker
mojarra
mola mola
monkeyface prickleback
monkfish
mooneye
moonfish
moorish idol
mora
moray eel
morid cod
morwong
moses sole
mosquitofish
mouthbrooder
mozambique tilapia
mrigal
mud catfish
mud minnow
mudfish
mudskipper
mudsucker
mullet
mummichog
murray cod
muskellunge
mustache triggerfish
mustard eel
naked-back knifefish
nase
needlefish
neon tetra
new world rivuline
new zealand sand diver
new zealand smelt
nibble fish
noodlefish
north american darter
north american freshwater catfish
north pacific daggertooth
northern anchovy
northern clingfish
northern lampfish
northern pike
northern sea robin
northern squawfish
northern stargazer
notothen
nurse shark
nurseryfish
oarfish
ocean perch
ocean sunfish
oceanic whitetip shark
oilfish
old world knifefish
oldwife
olive flounder
opah
opaleye
orange roughy
orangespine unicorn fish
orangestriped triggerfish
orbicular batfish
orbicular velvetfish
oregon chub
orfe
oriental loach
oscar
owens pupfish
pacific albacore
pacific cod
pacific hake
pacific herring
pacific lamprey
pacific salmon
pacific saury
pacific trout
pacific viperfish
paddlefish
pancake batfish
panga
paradise fish
parasitic catfish
parore
parrotfish
peacock flounder
peamouth
pearl danio
pearl perch
pearleye
pearlfish
pelagic cod
pelican eel
pelican gulper
pencil catfish
pencilfish
pencilsmelt
peppered corydoras
perch
peters' elephantnose fish
pickerel
pigfish
pike
pike conger
pike eel
pikeblenny
pikeperch
pilchard
pilot fish
pineapplefish
pineconefish
pink salmon
píntano
pipefish
piranha
pirarucu
pirate perch
plaice
platy
platyfish
pleco
plownose chimaera
poacher
pollock
pollyfish
pomfret
pompano
pompano dolphinfish
ponyfish
popeye catalufa
porbeagle shark
porcupinefish
porgy
port jackson shark
powen
prickleback
pricklefish
prickly shark
prowfish
pufferfish
pumpkinseed
pupfish
pygmy sunfish
queen danio
queen parrotfish
queen triggerfish
quillback
quillfish
rabbitfish
raccoon butterfly fish
ragfish
rainbow trout
rainbowfish
rasbora
ratfish
rattail
ray
razorback sucker
razorfish
red grouper
red salmon
red snapper
red velvetfish
red whalefish
redfin perch
redfish
redhorse sucker
redlip blenny
redmouth whalefish
redtooth triggerfish
reedfish
reef triggerfish
remora
requiem shark
ribbon eel
ribbon sawtail fish
ribbonfish
rice eel
ricefish
ridgehead
riffle dace
righteye flounder
rio grande perch
river loach
river shark
river stingray
rivuline
roach
roanoke bass
rock bass
rock beauty
rock cod
rocket danio
rockfish
rockling
rockweed gunnel
rohu
ronquil
roosterfish
ropefish
rough scad
rough sculpin
roughy
round herring
round stingray
round whitefish
roundhead
rudd
rudderfish
ruffe
russian sturgeon
sábalo
saber-toothed blenny
sabertooth
sabertooth fish
sablefish
sacramento blackfish
sacramento splittail
sailfin silverside
sailfish
salamanderfish
salmon
salmon shark
sand dab
sand diver
sand eel
sand goby
sand knifefish
sand lance
sand stargazer
sand tiger
sand tilefish
sandbar shark
sandbar shark
sandburrower
sandfish
sandperch
sandroller
sarcastic fringehead
sardine
sargassum fish
sauger
saury
saw shark
sawfish
sawtooth eel
scabbard fish
scaly dragonfish
scat
scissortail rasbora
scorpionfish
sculpin
scup
sea bass
sea bream
sea catfish
sea chub
sea devil
sea dragon
sea lamprey
sea raven
sea snail
sea toad
seahorse
seamoth
searobin
sergeant major
sevan trout
shad
shark
sharksucker
sharpnose puffer
sheatfish
sheepshead
sheepshead minnow
shiner
shortnose chimaera
shortnose sucker
shovelnose sturgeon
shrimpfish
siamese fighting fish
sillago
silver carp
silver dollar
silver dory
silver hake
silverside
silvertip tetra
sind danio
sixgill ray
sixgill shark
skate
skilfish
skipjack tuna
sleeper
sleeper shark
slender mola
slender snipe eel
slickhead
slimehead
slimy mackerel
slimy sculpin
slipmouth
smalleye squaretail
smalltooth sawfish
smelt
smelt-whiting
smooth dogfish
snailfish
snake eel
snake mackerel
snakehead
snapper
snipe eel
snipefish
snook
snubnose eel
snubnose parasitic eel
sockeye salmon
soldierfish
sole
south american darter
south american lungfish
southern dolly varden
southern flounder
southern hake
southern sandfish
southern smelt
spadefish
spaghetti eel
spanish mackerel
spearfish
speckled trout
spiderfish
spikefish
spinefoot
spiny basslet
spiny dogfish
spiny dwarf catfish
spiny eel
spinyfin
splitfin
spookfish
spottail pinfish
spotted climbing perch
spotted danio
sprat
springfish
squarehead catfish
squaretail
squawfish
squeaker
squirrelfish
staghorn sculpin
stargazer
starry flounder
steelhead
stickleback
stingfish
stingray
stonecat
stonefish
stoneroller minnow
stream catfish
striped bass
striped burrfish
sturgeon
sucker
suckermouth armored catfish
summer flounder
sundaland noodlefish
sunfish
surf sardine
surfperch
surgeonfish
swallower
swamp-eel
swampfish
sweeper
swordfish
swordtail
tadpole cod
tadpole fish
tailor
taimen
tang
tapetail
tarpon
tarwhine
telescopefish
temperate bass
temperate ocean-bass
temperate perch
tench
tenpounder
tenuis
tetra
thornfish
thorny catfish
thread-tail
threadfin
threadfin bream
three spot gourami
three-toothed puffer
threespine stickleback
thresher shark
tidewater goby
tiger barb
tiger shark
tiger shovelnose catfish
tigerperch
tilapia
tilefish
titan triggerfish
toadfish
tommy ruff
tompot blenny
tonguefish
tope
topminnow
torpedo
torrent catfish
torrent fish
trahira
treefish
trevally
triggerfish
triplefin blenny
triplespine
tripletail
tripod fish
trout
trout cod
trout-perch
trumpeter
trumpetfish
trunkfish
tube-eye
tube-snout
tubeblenny
tubeshoulder
tui chub
tuna
turbot
two spotted goby
uaru
unicorn fish
upside-down catfish
vanjaram
velvet belly lanternshark
velvet catfish
velvetfish
vendace
vermilion snapper
vimba
viperfish
wahoo
walking catfish
wallago
walleye
walleye pollock
walu
warmouth
warty angler
waryfish
waspfish
weasel shark
weatherfish
weever
weeverfish
wels catfish
whale catfish
whale shark
whalefish
whiff
white croaker
white marlin
white shark
whitebait
whitefish
whitetip reef shark
whiting
wobbegong
wolf-eel
wolf-herring
wolffish
worm eel
wormfish
wrasse
wrymouth
x-ray tetra
yellow bass
yellow jack
yellow moray
yellow perch
yellow tang
yellow weaver
yellow-and-black triplefin
yellow-edged moray
yellow-eye mullet
yellowback fusilier
yellowbanded perch
yellowedge grouper
yellowfin croaker
yellowfin cutthroat trout
yellowfin grouper
yellowfin pike
yellowfin surgeonfish
yellowfin tuna
yellowfin tuna
yellowhead jawfish
yellowmargin triggerfish
yellowtail
yellowtail amberjack
yellowtail barracuda
yellowtail catfish
yellowtail clownfish
yellowtail horse mackerel
yellowtail kingfish
yellowtail snapper
zander
zebra bullhead shark
zebra danio
zebra lionfish
zebra loach
zebra oto
zebra pleco
zebra shark
zebra tilapia
zebra turkeyfish
zebrafish
ziege
zingel
Fish ProvenanceThis list of fishes has been taken from "List of fish common names" on Wikipedia. This list contains 1090 fishes in total.

As Wikipedia pages are prone to change over time, the list presented in this challenge is the only one that will be used for validating answers.

Input

  • There is no input for this challenge

Output

  • Exactly 255 fishes from the list, no more or less
  • The same fishes in the same order every time (your output must be deterministic)
  • The fishes must be distinct
    • You must not include herring twice
    • You may include herring, wolf-herring, and king of the herrings - fishes containing or overlapping with other fishes is not a problem
  • You may output the fishes in a data structure of your choice, such as a list, array, or vector, but each individual fish must be a string
  • If you choose to output a single string that contains the 255 fishes separated by a delimiter, the delimiter must be consistent (the same delimiter between each consecutive pair of fishes), non-alphanumeric (not a letter or digit), and must not be present in any of the fishes
    • For example, if one of your fishes is monkeyface prickleback then you must not use a space as the delimiter, and if one of your fishes is Humuhumunukunukuapua'a then you must not use an apostrophe as the delimiter
  • Each of your fishes must be exactly as it appears in the list of all fishes
    • The spelling must be identical (no regional variations - only the particular spelling shown in the list - so bicolor goat fish, not bicolour goat fish)
    • Any punctuation must be identical, including spaces, hyphens, or apostrophes

Scoring

Despite the "choose your own output" aspect of this challenge, this is a standard code golf challenge - your score is the number of bytes in your code.

Although your score is based solely on your competing code that outputs the 255 fishes, it would also be interesting to see any additional code that you might have used to help you choose which 255 fishes to work with. This is entirely optional - only your competing code is required.

Explanations in answers are optional, but I'm more likely to upvote answers that have one.


Sandbox questions

  • I'm deliberately aiming to create a challenge that is not straightforward to use with off-the-shelf string compression algorithms which many languages have built in. Any thoughts on whether this longer list to choose from and longer list to output will help with that, compared to the similar 55 fruit salad? I don't want to ban compression algorithms (even builtins), I just want a balance that favours insights specific to the data (whether used with or without compression builtins).
History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Duplicate (2 comments)