Tofu, also known as bean curd, is a food made by coagulating soy milk and then pressing the resulting curds into soft white blocks. It is a component in East Asian and Southeast Asian cuisines. There are many different varieties of tofu, including fresh tofu and tofu that has been processed in some way. Tofu is bought or made to be soft, firm, or extra firm. Tofu has a subtle flavor and can be used in savory and sweet dishes. It is often seasoned or marinated to suit the dish.
Tofu originated in Han dynasty China some 2,000 years ago. Chinese legend ascribes its invention to prince Liu An (179...
I just helped develop a programming language, which is to say I copied in a code page to a document where functions will be assigned to the characters. But that's a start, right? :P
DUP, 51 bytes
0"0.[34,0[$;$][,1+]#]$!%%!"0.[34,0[$;$][,1+]#]$!%%!
Try it here.
Well, DUP quines are possible, just really, really, long. I'll have to golf some more.
Generate m-sequences
Introduction
code-golf math sequence
Maximum-length sequences, usually known as m-sequences, are binary sequences with some interesting properties (pseudo-noise appeareance, optimal periodic autocorrelation) which make them suitable for many applications in telecommunicati...
I want to transform a string of characters into data, such as 1234 213 "asdf" 9 2 3 "asdf\"4" => [1234, 213, "asdf", 9, 2, 3, "asdf\"4"]. Can someone help me out? My brain isn't working.
src/main.rs:2:5: 2:19 error: import `chessolang` conflicts with imported crate in this module (maybe you meant `use chessolang::*`?) [E0254]
src/main.rs:2 use chessolang::*;
@PhiNotPi Preferably an executable script that takes source code as argument and input from STDIN, but that's not a requirement. As long as I can get it to work somehow and it doesn't have any unsafe features, I'll add it.