« first day (2061 days earlier)      last day (2783 days later) » 

10:10 AM
now i need to make the program loop and it should do the computing stuff of squares
 
@TùxCräftîñg what is alphabet? :3
 
feck i forgot i had my program on clipboard
 
How did you generate it? :3
 
10:15 AM
some wolfram language black magic
it's a example notebook
 
which Notebook?
 
Ah. :3
Did you know that Mathematica Notebooks can document themselves? :3
 
10:18 AM
There is a code section.
But there can also be a text section.
 
it's the principle of a notebook...
 
That's the point, they can be fully styled
 
It's how Wolfram Demonstration entries work
 
@TùxCräftîñg What other constitutions are available?
 
10:22 AM
 
@flawr a lot :P
 
I just got the review/cast close and reopen votes privilege :)
 
Congratulations!
 
10:24 AM
congrats
 
I have to be careful doing those.
thanks
 
@flawr Any public domain text you can download from project Gutenberg, upload into Mathematica, and gutter it there and process the result. :P
 
@TùxCräftîñg It seems it is only the USA constitution ಠ_ಠ
 
(Where gutter means stripping the texts included in all PG files, like the small print, the part before the real start and after the real end of text, etc etc.)
 
10:26 AM
@flawr ¯\_(ツ)_/¯
but there is a lot of text
 
can anyone help me with a bash problem?
 
I can't, as I lost access to bash a few days ago.
Git wants to never be installed on my machine.
 
git is evil
 
»  bash --version
GNU bash, version 4.3.42(5)-release (x86_64-pc-msys)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
should be ok
 
10:31 AM
@flawr u wot m8
git is not evil
 
@flawr ಠ____________ಠ
 
tada, miracle
 
in sed you can add a symbol in between word characters like this: s/\B/@/g, making 123 into 1@2@3. Can I do that directly in bash with parameter substitution or how is that called?
 
10:33 AM
@seshoumara Not that I know of
 
you can do sed -e 's/\B/@/g'...
 
so if n=123, how can I make this to work echo ${n//\B/@}
 
But other than that, it's different from the much less sane batch parameter substution
 
it seems my square calculator works!
 
10:34 AM
@TùxCräftîñg that I know, I want a bash equiv
 
@seshoumara And that's what he gave
 
pure bash I mean
 
wat teh heck
 
now I just need to make a new part of the program that erases the text used to calculate
 
in turtlèd?
 
10:36 AM
@ΛεγίωνΜάμμαλϠΟΗʹ if it is different fine, I need any way for this to work: echo ${n//\B/@}
 
$ tr " " @<<<"1 2 3"
1@2@3
^ that good enough?
 
without coreutils people, pure bash only!
 
That's impossible then
 
I already have my sed to do it with coreutils
strange, since \B is a regex in bash
 
10:40 AM
square calculator complete \o/
?;d'0u[*'|:[|'_l]u][0d]u[*r{_r}l(|u)(_'-{-d}{ l}[ (0'1d)(1'2d)(2'3d)(3'4d)(4'5d)(5'6d)(6'7d)(7'8d)(8'9d)(9'0l( '0))]uu{ r})]' d{|[ ' r]dl[ l]r}
 
@DestructibleWatermelon What is it written in?
 
turtlèd
 
turtlèd, a char grid based turtle based programming language
explanation of square calculator:
 
and is that long intentional or that's really what you'd have to do to get n^2?
 
10:42 AM
Parser thing
 
It might be a tokeniser, IDK
IDK how it works
explanation of program:
it first draws a thing like this:
*
|___
|___
|___
that is three by three square of _, next to a line of three |, next to a *
what it does next, is it has a 0 down at the bottom there. it turns a _ into a -, goes down, and adds one. it will then go back up, and do the same, until all _ are -, then it stops that
the last part is just cleanup
\o/ I did it!
@seshoumara there is no way to directly arithmetic with the register
I could code it a different way, but this is probably shortest way
(A different way being assembling code from minsky machine or something)
 
where are the docs of turtled
 
Haven't made them soz
also the adding is pretty much just: if digit is zero, make it one, one, make it two, three, make it four... if it is 9, make it zero, move up a digit (loop)
 
Logicode is hard
Crap
 
@zyabin101 I've told you before, quit taking invitations so personally.
 
10:48 AM
@DestructibleWatermelon What's the square calculator thingo
I'm trying to make a universal adder...
 
well, it's a third shorter than a square solution in sed so that's impressive since neither have any math
 
@Qwerp-Derp ?... not sure what you're asking. ;d'0u[*'|:[|'_l]u][0d]u[*r{_r}l(|u)(_'-{-d}{ l}[ (0'1d)(1'2d)(2'3d)(3'4d)(4'5d)(5'6d)(6'7d)(7'8d)(8'9d)(9'0l( '0))]uu{ r})]' d{|[ ' r]dl[ l]r} is my code in turtlèd for a square calculator
 
What's a square calculator?
 
0!::=1
1!::=2
2!::=3
3!::=4
4!::=5
6!::=7
7!::=8
8!::=9
9!::=!0
decimal increment in thue
 
Does it just calculate the square of a number
 
10:50 AM
@Qwerp-Derp n->n*n
 
Ah KK
 
@Qwerp-Derp yes
 
example: 19! -> 1!0 -> 20
 
I purposely made it so that turtlèd had no direct arithmetic: the register can only be assigned, but not incremented or decremented, etc.
and a loop cannot be set to go for a certain amount of times, so the only way to get a loop to run to draw a line of a certain length is '*[length]:[*'_l], or you could use bulky "___________"
@TùxCräftîñg essentially how my increment works
 
10:55 AM
@DestructibleWatermelon try the upside-down tent challenge in Turtlèd :3
 
also the square calculator can be used for other multiplication as well: just add an extra ?: ?;?d'0u[*'|:[|'_l]u][0d]u[*r{_r}l(|u)(_'-{-d}{ l}[ (0'1d)(1'2d)(2'3d)(3'4d)(4'5d)(5'6d)(6'7d)(7'8d)(8'9d)(9'0l( '0))]uu{ r})]' d{|[ ' r]dl[ l]r}
 
How do I make an antisuccessor
 
decrement?
 
How do I throttle downloads to a specific maximum speed? :/
 
@zyabin101 hmmm, would be difficult; turtlèd only takes positive integers
 
10:57 AM
Yeah, a decrement
 
invalid base 10 numeral 0-[input] its not a bug its a feature
 
XD
 
unlike some of the other stuff I have
 
20
Q: Connect the pixels

TùxCräftîñgGiven a text like this: # #### ## # ## # ## # #### ## Output the same text but by connecting the pixels with the characters ─│┌┐└┘├┤┬┴┼. If a pixel doesn't have any neighbours, don't change it. So the output of the last text is: │ ─┬── ┌─ │ └─ │ ┌┘ │ └──┘ ─┘ You can take input...

 
10:58 AM
no, cannot do that tux probably
 
well, I could, but it would seem real difficult, and I would get one person who liked it
maybe though
 
@DestructibleWatermelon can it do a text substitution? s/@/-/
 
well, yes, kind of
 
scan the text, search for a @, write a -
 
11:00 AM
@seshoumara -1. No g.
 
it's just that it would need to parse numerals in this challenge, and it cannot put anything into the register except for input (can't be done), and specific constant commands
 
it needs no g since a neg nr has only a -
 
so it would be harder
I'm not sure whether something in my code is a bug or a feature at this point
 
use unary
 
11:02 AM
i mean the base not the language
 
I kind of accidentally but maybe on purpose made it so that turtlèd always outputs a rectangle of text: I'm not sure whether I should fix it as a bug or call it a feature
@tux what do you think
 
it's just that a lot of things don't permit trailing spaces
 
11:05 AM
@DestructibleWatermelon paging @DJMcMayhem cuz he likes Dr. Seuss :3
 
no, he already saw that
in fact I only had it on hand because he posted it a while ago
also @tux I'm not sure you actually think that or you just wanted to say that again
 
you should effectively remove trailing spaces
 
Halp anyone i need something to do
@DestructibleWatermelon rectangle?
 
instead of printing ab\nc it print ab\ncS (S is a space and \n a newline)
 
@DestructibleWatermelon Square calculator?
 
11:08 AM
n→n²
 
@TùxCräftîñg 0/10 bug
 
also I had a typo in that message
it was meant to have a ? at the start of the code
I really wish I had a challenge to post that on
hmmm
28
Q: Multiply with restricted operations

xnorGoal Your goal is to multiply two numbers using only a very limited set of arithmetic operations and variable assignment. Addition x,y -> x+y Reciprocal x -> 1/x (not division x,y -> x/y) Negation x -> -x (not subtraction x,y -> x-y, though you can do it as two operations x + (-y)) The const...

mebbe I will post on this
oh wait that wasn't what I thought it was ._.
;_; y u do dis misleading post
 
23
Q: Multiply two numbers without using any numbers

NathanielYou are given as input two strings representing positive integers in base 10, such as "12345" and "42". Your task is to output a string containing their product, "518490" in this case. The twist is that you may not use any numerical types in your code. No ints, floats, unsigned longs, etc., no b...

here is what I was looking for
and my program is shorter than the accepted answer .o.
oh wait wouldn't count ._.
y do I keep deceiving myself
 
@flawr: So, a compact 2-manifold is just a closed, bounded surface, right?
Where, for every point, if you zoom in enough, it looks sufficiently like the plane?
 
11:20 AM
Name change idea: "LiyǝnMamǝlCMLXXVIII"
 
@ΛεγίωνΜάμμαλϠΟΗʹ LiyǝnMamǝl?
 
@ASCII-only Ewondo transliteration
 
@TùxCräftîñg fixed
 
11:27 AM
There are twelve alternate punchlines for this IrregularWebcomic! strip. My favorite is #2.
 
i love this answer What is a realistic weapon in space? A bag of sand.
 
OK I made a square calculator in LC
circ trim(n) -> [
    cond n< -> var trimout = 0 + n / var trimout = trim(n>)
    trimout
]
circ successor(n) -> [
    cond n -> var succtemp = ~((~(trim(n)))>) / var succtemp = 0
    cond (~n)< -> var succout = successor(succtemp) + 0 / var succout = succtemp + 1
    succout
]
circ antisucc(n) -> [
    cond n -> var antitemp = ~((~(trim(n)))>) / var antitemp = 0
    cond (~n)< -> var antiout = antitemp + 0 / var antiout = antisucc(antitemp) + 1
    antiout
]
circ add(a, b) -> [
    var addtemp = a
 
Call square using square(n)
n is in binary
Output is binary as well
 
-1 not golfed
 
11:41 AM
Fine
 
@DestructibleWatermelon The other ASCII-art language (not created yet), 1 byte: ×
 
^ way too specific
 
531 bytes:
circ t(n)->[
    cond n<->var a=0+n/var a=t(n>)
    a
]
circ s(n)->[
    cond n->var b=~((~(t(n)))>)/var b=0
    cond (~n)<->var c=s(b)+0/var c=b+1
    c
]
circ o(n)->[
    cond n->var d=~((~(t(n)))>)/var d=0
    cond (~n)<->var e=d+0/var e=o(d)+1
    e
]
circ p(a,b)->[
    var f=a
    cond b->var f=p(s(f),o(b))/var f=f
    f
]
circ u(a,b)->[
    var g=a
    cond b->var g=u(o(g),o(b))/var g=g
    g
]
circ m(a,b)->[
    var h=a
    cond b->var h=p(m(a,o(b)),a)/var h=u(h,a)
    h
]
circ q(a)->m(a,a)
@TuxCrafting I golfed it down
 
11:51 AM
sadly, it's named cellular automaton but it's visibly only about GOL :/
@Qwerp-Derp the tabs are necessary?
 
wot tabs
oh those
hang on
OK now it's 463 bytes
circ t(n)->[
cond n<->var a=0+n/var a=t(n>)
a
]
circ s(n)->[
cond n->var b=~((~(t(n)))>)/var b=0
cond (~n)<->var c=s(b)+0/var c=b+1
c
]
circ o(n)->[
cond n->var d=~((~(t(n)))>)/var d=0
cond (~n)<->var e=d+0/var e=o(d)+1
e
]
circ p(a,b)->[
var f=a
cond b->var f=p(s(f),o(b))/var f=f
f
]
circ u(a,b)->[
var g=a
cond b->var g=u(o(g),o(b))/var g=g
g
]
circ m(a,b)->[
var h=a
cond b->var h=p(m(a,o(b)),a)/var h=u(h,a)
h
]
circ q(a)->m(a,a)
 
TODO: Document Logicode. :P
 
Yup
 
a interesting thing with the LA rule RUL is that near every pattern work with a 2-bit counter and a internal flag
generally toggled when the counter overflow
 
12:11 PM
@TùxCräftîñg will you try the level? :3
 
Anyone here?
 
Anyone here.
How do you do... Explain your problem.
 
And im here too.
 
No problem, I just have nothing to do ;_;
 
Saem
I'm at school and it's break time
 
12:19 PM
@ASCII-only play Rocks'n'Diamonds? :3
 
Anything else
 
Uhh...
 
Anything else than sighing?
 
I can suggest nothing else ;_;
 
12:36 PM
silence
 
AHHHH CYRILLIC
22
Q: Connect the pixels

TùxCräftîñgGiven a text like this: # #### ## # ## # ## # #### ## Output the same text but by connecting the pixels with the characters ─│┌┐└┘├┤┬┴┼. If a pixel doesn't have any neighbours, don't change it. So the output of the last text is: │ ─┬── ┌─ │ └─ │ ┌┘ │ └──┘ ─┘ You can take input...

it's my second-to-most rated question
 
1:20 PM
16
Q: Simulate a Rubik's cube

betsegA Rubik's cube has 6 colors: red, orange, yellow, white, blue, and green. Red and orange, yellow and white, and blue and green faces are on opposite sides. Net of a solved Rubik's cube looks like this: Y BRGO W And the tiles look like this: Y Y Y Y Y Y Y Y Y B B B R R R G...

My worst rated question
 
13
Q: Inverting lists of lists of indices

Steven H.Inspired by this StackOverflow post. Introduction Bob's job is to create spreadsheets and organize them. The way he organizes them is known to very few except for Bob, but he creates a list of each of the spreadsheets that fall under the same group. There's a bunch of data in the spreadsheet ...

My only rated question
 
30
Q: Cycling with Rubik's

GeobitsWhile idly twisting my Rubik's cube around, my son noticed that it kept going back to the solved state. I'm pretty sure he thought this was some sort of voodoo magic at first, but I explained that if you keep repeating the same sequence of moves, it will always return to its original state. Event...

My worst rate rubik's question ^ :P
 
Let me guess, Jelly is gonna have a 3 character answer... — MonkeyZeus 7 mins ago
 
Funny. :3
 
The most civilised response I can give to that is... "lol no."
 
1:26 PM
haha
 
acbabis, Phoenix, AZ
1.7k 2 9 29
That avatar tho
 
2:18 PM
@betseg ;_; y det steal ur avatar
 
0
A: Sandbox for Proposed Challenges

LoovjoConvert an integer to the prime-base number system. code-golfnumberprime The prime-base number system is a number system which I just made up. While normal number systems are based on taking the sum of each numbers value, the prime-base number system is based on taking the product instead. How...

 
I can't figure out how to block private messages in slack :(
 
2:53 PM
1
A: Sandbox for Proposed Challenges

YodleKing me? Challenge: Given a checkerboard, output the smallest amount of moves it would take (assuming black does not move at all) to king a red piece, if possible. Input: An 8x8 checkerboard, with spaces defined as the following characters(free to use alternatives): . - Empty R - Red piece(...

 
473
Q: Why is this program erroneously rejected by three C++ compilers?

James McNellisI am having some difficulty compiling a C++ program that I've written. This program is very simple and, to the best of my knowledge, conforms to all the rules set forth in the C++ Standard. I've read over the entirety of ISO/IEC 14882:2003 twice to be sure. The program is as follows: Here i...

2
XD
 
I like the Visual C++ tag for that one.
 
xDXDXdxasfzjgraosjoeipxk[lydhrXd
 
Most criminally underrated reddit post (the gif source for one of those answers): reddit.com/r/programming/comments/ggh3d/coding_in_ms_paint
 
3:10 PM
237
Q: Why can't my program compile under Windows 7 in French?

Lightness Races in OrbitI'm running Windows 7 French and I'm trying to compile this really basic program, but Visual Studio is being stubborn and refuses to comply. I also tried compiling it with both GCC 4.7 and Clang trunk on Coliru and I get more or less the same errors (output is below the code), though I think Coli...

CMC: Create a french C++ to C++ compiler
 
> Regarding the other errors, it seems your compiler is simply on strike. This can happen occasionally when compiling french code, and should fix itself in a few days.
Hahaha
 
ಠ_ಠಠ_ಠಠ_ಠ... wait it's true
 
@TùxCräftîñg something like codegolf.stackexchange.com/questions/51109/… ?
 
@Sherlock9 dammit
 
3:27 PM
wat
 
> please delete this answer. it is posted because of bugs.
That's a serious infestation if the bugs are typing things out and posting them :o
 
> please help me please its very important to me
 
watwatwat
 
@Mego Done.
 
3:46 PM
1
A: Connect the pixels

milesJelly, 60 bytes 0;;©0ḣLḤ+®ḊḊ¤×⁸ “HHHJTXtJ\`|Jdl⁴‘+9400Ọ”#;;” ZÑ€4×Z+Ñ€+⁸ị¢Y The input is a boolean array of 1's and 0's. Iterates over each column and each row converting the head and tail of each infix of size 3 from a pair of binary digits to a decimal, and multiplies that with the center o...

(ノಠ益ಠ)ノ彡┻━┻
 
Dangit. I've got a solution to Prime Factor Buddies, but it takes ~2.5 minutes to calculate input
 
4:00 PM
What the hell, the .des files for the fake wizard towers are missing
Oh OK, they're bundled in yendor.des with the real one. Phew.
 
.des files?
 
I was about to get real upset because that would mean I would have to decompile the .lev
@TùxCräftîñg Uncompiled Nethack levels
 
There should be a graphical NetHack level designer. :3
 
That would be very overkill, the level format is dead simple
 
4:13 PM
That would be overkill to build the level in a text editor.
 
4:28 PM
silence
 
silence will fall
 
ಠ_ಠ
 
Huh. So I've bloated my code to supposedly be more speedy (taking out extra loops and the like that make things golfier) ... and it now takes ~3.5 minutes for input 117
 
Is there a limit in the challenge?
 
How did this chatroom get it's name?
 
4:30 PM
@zyabin101 The test cases should run in under a minute.
 
because of the golf thing 'The Nineteenth Hole' and because 'The Nineteenth Byte' is 19 bytes long @confusedandamused
 
cough then good luck getting it run in a minute
34
A: Let's think of a creative name for our chatroom

dmckeeWell, the traditional generic name for the country club bar is "the nineteenth hole", which suggests The Nineteenth Byte or something like that.

@TimmyD ^^ @confusedandamused ^
 
@zyabin101 Yeah. It's because PowerShell doesn't have any built-ins for primality testing or prime decomposition or the like, so I'm writing things by hand, and it's a tough balancing act between code length and speed
 
@quartata :D
 
Okay guys, I've made a few edits, tell me what you think:
5
A: Sandbox for Proposed Challenges

Beta DecayIs it an Odd Word? code-golf alphabet Challenge Given a single word as input, determine if the word is odd or even. Odd and Even words Assume the general rules: odd + odd = even even + odd = odd odd + even = odd even + even = even In the alphabet, the odd letters are: aeiou And the eve...

 
58
Q: Simulate the Universe!

vszOne nice property of a Turing-complete language is that it can be used to write any program, up to and including the simulation of the entire Universe. Your job is to do exactly that: write a program which simulates the Universe. Note: although I don't doubt you'll be able to accomplish this ...

 
4:58 PM
codegolf.stackexchange.com/questions/93399/… I don't understand why this is rated so high >_> It felt way too low-effort for what I achieved
 
well, it's pyth ¯\_(ツ)_/¯
 
@StevenH. That's how the voting goes here at PPCG
 
^
cake -G "Unix Makefiles" .
...
 
whistles
 
5:09 PM
You hear the whistling of Martin Ender! You curl into fetal position! --More--
 
gtg
@zyabin101 You die...
 
@TùxCräftîñg BAI
Also, not yet, until he attacks with his mod hammer, which does 2d20 damage.
 
Clearly the mod hammer should do 11d11 damage.
 
Except we don't have a d11.
 
you don't
 
5:15 PM
Fixed damage: 11d10+11.
 
11d11 != 11d10+11
 
Fixed damage: 11d11.
 
Much better.
 
Martin Ender wields a blessed +11 mod hammer! --More--
 
I'm still waiting on my d10.5 to come in the mail. Not a single package from SE or PPCG recently :(
 
5:18 PM
You bought a d10.5? o_O
 
Nope, no cost.
Well, no monetary cost.
 
I built a dQ in Pyth:

O
 
I'm just gonna wait until you explain what dQ means, because I assume it isn't Dairy Queen.
 
d(input)
Because Q is input in Pyth
Arbitrary-sided dice!
 
Oh see now that makes sense :P
 
5:24 PM
@Geobits seriously, what else would Q be? duh...
 
@StevenH. Nice, now build a dQ+enchant in Pyth.
Where enchant is another input.
 
enchant being a constant?
+swO
Q, then enchant, separated by newline
 
@MartinEnder What do you mean? In all the best languages, it's Quine ;)
 
I thought that was lowercase q
 
5:30 PM
I guess it depends. I meant HQ9+, because it's clearly the best language.
Maybe in some bastard language they lowercased it :P
 
My vim quine has like 8 lowercase 'q's in it
Actually 10. More than 50% of the bytes are 'q'
 
2 days ago, by Destructible Watermelon
user image
 
h!
 
5:37 PM
wll tr th lvl?
@TxCrftng Will you try the level?
 
Why not? :{
You still didn't finish with the CA?
 
i just dont want to play RnD
 
Why not? :{
 
¯\_(ツ)_/¯
 
5:40 PM
The shrug is the universal answer to any question. :P
Time to search other people who are interested. :{
Also, @TùxCräftîñg I played some seeded UnNetHack alone.
in the Zyabin 101 room.
 
I managed to golf 124 bytes off your program by saving the number 120 as the variable E, the number 32 as S and 10 as N. — Beta Decay 43 secs ago
Wow, that was a lot of bytes
 
#silence#
 
@El'endiaStarman yes that should about be right
 
wow +105 rep in one day
the half of the rep cap
 
hey @RenderSettings :3
how's your now? how's your urbit?
 
5:56 PM
1
Q: Is it an Odd Word?

Beta DecayChallenge Given a single word as input, determine if the word is odd or even. Odd and Even words Assume the general rules: odd + odd = even even + odd = odd odd + even = odd even + even = even In the alphabet, the odd letters are: aeiou And the even letters are: bcdfghjklmnpqrstvwxyz ...

 
Wow, two answers within three seconds of each other...
That's impressive
 
and one of them even worked!
 

« first day (2061 days earlier)      last day (2783 days later) »