« first day (2034 days earlier)   

Q: How does math work in Anastasiya's world?

Anastasiya-Romanova 秀Background: Standard operation math like basic addition and multiplication in the real world work like these: 12 + 123 = 135 and 12 * 123 = 1476 That's not interesting! Many schools are already interpreting this as practice, practice, practice of formal algorithms. That implies a pretty ri...

Much silence
9:16 AM
Remember that portal language I was going to make. I must think of name
> The output must be enclosed by parentheses and between the result of operation and the number of steps required must contain three characters: a semicolon and two spaces with the format [space][semicolon][space]. For example:
@DestructibleWatermelon The Cake is a Lie
^ much better name
@ReleasingHeliumNuclei old meme is old
> The Golf is a Lie
9:18 AM
Sometimes I feel that we need a huge banner across the top of the "Ask a Question" page that says "USE THE SANDBOX!"
I was thinking, about making it called cubically
@DestructibleWatermelon 15 Acres of Broken Glass
because adverbs are best language names
everyone knows adverbs make amazing languages
A: Sandbox for Proposed Challenges

MegoSimulate Colorblindness code-challengetest-batteryoptical-char-recognitionimage-processing As some of you might know, I am colorblind. Specifically, I have moderate deuteranopia. This means that I have difficulty distinguishing between red, green, and yellow colors, as well as various shades of ...

»  node
> l = [65, 65]
[ 65, 65 ]
> l.map(String.fromCharCode)
[ 'A\u0000\u0000', 'A\u0001\u0000' ]
> l.map(x => String.fromCharCode(x))
'A', 'A' ]
9:25 AM
that feeling of "WTF do i do to start" when you start writing a program
ok, I did the first part, so that's nice
Specifically starting
ok, I got the first part, the part that splits it, and adds extra spaces
I should probs do the spec some more, but ehhhh
Ok, now I need to get symbols down
what character for each object?
I feel like unicode is in order for franked cube
i am creating a golfing lang
looking like 6ƒα+β·7
9:47 AM
well then
beginning to wonder why I need to pad with white space :/
well, that code gets gone I guess
how should I link buttons to objects?
u wot m8
^ nice proof
VV     .
RO.... .
  S  . .
OS   < .
.      .
.   U  .
example of a program
R and U are franken cubes, O are buttons, . are antlines/connections, C are "cake teleporters"
< and V are excursion tunnels, S is scare
wait, this needs editing
im assuming two connections can't overlap?
9:58 AM
not at this point
note that the wire crossing problem does not apply
O .
. .
. .
. .
R . O...
first button spawns cube, crosses wire, presses other button
"wires" can cross in this way
ok, here is what I'm thinking with the spawning and buttons and stuff
o is preactivated, and stepping on it deactivates, unless it is linked to a cube, then it means prespawned, X is a toggle button, (one use turns it on without the button signal stopping when the cube steps off) X and x correspond similarly.
1+2+3 is parsed to ((((3)+2)+1))
((((3)+(2))+(1))) would be better
srs tho, either put no braces or overkill. there is no between :p
@HelkaHomba I'm honoured by your GitHub star. ;)
10:08 AM
now it parse to (1(+(2(+(3)))))
c does it reversed why you no
@ReleasingHeliumNuclei i just translate the AST to this notation
be right back
Q: Where is your totem?

Michael DibbetsIn the movie Inception we see the main star using a totem to check if he's in the real world or dreaming. You seem to have misplaced your own totem, so you quickly draw inspiration from this movie and create your own spinning totem! For this challenge, you take an input of several palindrome st...

@NewMainPosts unclear + bonus
10:23 AM
A: Sandbox for Proposed Challenges

FatalizeSmallest palindrome divisible by the input Given a positive integer N, output the smallest positive integer such that this number is a palindrome (i.e. is its own reverse) and is divisible by N. We assume here that N will never end in 0, to avoid deciding whether 010 is valid for N = 10 or not....

@people, What-If is now in commitment - I know some of you guys followed it so I'm posting here
10:57 AM
The You’re Hopelessly Addicted “Fanatic” badge!!
I got the fanatic badge a couple of weeks ago - I'm completely hopelessly addicted
We got the same byte-count
with different code-statistics :o
@Lynn Interested to do my new challenge in Vim?
I’ll give it a go
11:15 AM
@LeakyNun i must learn the secret to golfing the cantor set, but i have no idea how to :(
@ASCII-only in which language?
I have no idea how all of them are so short
is there any bit-manipulation magic people use?
How do I know what people use
11:30 AM
I found two 25-byte solutions
And used my sock
The dreaded goto
goto is life
A: Is there a goto statement in Java?

Alceu CostaTo prevent people from being killed by velociraptors.

this answer
11:52 AM
why is goto so evil again?
Because it's a sign of spaghetti code
Java dont have unsigned ints
or does it?
I probably need to add i/o to my programming language spec
Also, I'm currently not sure how to program the Excursion funnels
what language?
Cubically, the portal programming language
hmmm, much thinking
also, I'm not sure how to resolve this program: > U <(two excursion funnels pointing at each other)
I will test what happens in portal 2
11:59 AM
a big kaboom?
@DestructibleWatermelon Ask Dijkstra.
A: Is GOTO in PHP evil?

KonamimanUnless you are programming in assembler, GOTO should always be treated the same way as the life vest of the airplanes: it is good to have them available, but if you need to use them it means that you are in big trouble.

building test level
goto in C has it's uses, but it's the sign of an XY problem.
You're trying to fix the wrong problem.
It's a relic from C and BASIC and should next to never be used. We program in a 'higher style' nowadays.
12:02 PM
one day i tried to program in C using only IFs and GOTOs
i give up 4 seconds after
ok, figured out what happens when two excursion funnels point to each other
Dijkstra wrote about goto in 1968. Transcript here.
When you enter a double excursion funnel from the side, you turn right, if you enter it head on, it's essentially random
python say RecursionError
I don't get it what
12:08 PM
> Let us now consider repetition clauses (like while B repeat A or repeat A until B). Logically speaking, such clauses are now superfluous, because we can express repetition with the aid of recursive procedures.
@DestructibleWatermelon ^
12:25 PM
@LeakyNun how is the C solution shorter than mine ;_;
@ASCII-only How on earth do I know
@ASCII-only Because tails is really good
I've come up with three 25-byte solutions...
1:01 PM
I reached 1k rep
thanks pengwin
i found this article \o/
this took me 1 hour
@TùxCräftîñg Ruby says: let's give the developer the until keyword.
And unless, and more like that.
1:10 PM
Q: Golfception: Golf your own Code

Sean BeanTask Given a piece of compilable, valid and pretty printed code from your language of choice, remove all redundant characters from it so that it still functions exactly as it did before, but will, of course, take up less space. Example, Java, 42 bytes int add(int a, int b) { return a + b; ...

A: RegEx match open tags except XHTML self-contained tags

Justin MorganDon't listen to these guys. You actually can parse context-free grammars with regex if you break the task into smaller pieces. You can generate the correct pattern with a script that does each of these in order: Solve the Halting Problem. Square a circle (simulate the "ruler and compass" metho...

> I haven't figured out the last part yet, but I know I'm getting close. My code keeps throwing CthulhuRlyehWgahnaglFhtagnExceptions lately, so I'm going to port it to VB 6 and use On Error Resume Next. I'll update with the code once I investigate this strange door that just opened in the wall.
Surely somebody has made an esolang based on Cthulu
the only page with 'Cthulhu' on esolangs
Hello from Mom's phone!
1:23 PM
idea for a esolang: at each step, the entire code is base64 decoded before executing the command
Two developers got let go, and the most important order of business is figuring out how to reconnect the Dilbert comics chain.
Result of second code golf codepad poll:
Only one person is interested (1 Yes vote = 2 points), that was the only vote that mattered.
And the second poll resulted in a PASS.
Now, I ask anyone who wants to commit to the code golf codepad ping me with their intent.
@Geobits To be fair, the community does get a little non-beginner-friendly at times, but it is a dupe...
1:33 PM
@BusinessCat aside from the <center> cannot hold he comes answer. that is one of my top all time favorite stack overflow answers
It's also frustrating to get a comment like "In my opinion, this is not a good fit for the most subjective tag on the network."
Well, excluding Parenting SE
I get that. I just thought the use of despise was a bit much. Unless I'm not seeing it, he hasn't had any negatively voted posts before, and isn't exactly new. Of course, he may have self-deleted them too.
Maybe there's a reason that the close vote as a duplicate posts a comment for you. Maybe the SE team has experience with this, and they found the perfect verbiage that will not cause such a negative response.
Kind of like a golden rectangle of words
Maybe, but I'm not a fan of canned comments. If I'm despised for that, so be it ;)
Am I the only one who cries at the hatred for pop-cons on this sight
1:37 PM
@zyabin101 You should link/remind what the code golf codepad is otherwise people like me won't know what you are talking about
I don't hate pop-cons. I hate when people just tag things pop-con because they couldn't be bothered to find a scoring method that makes sense.
I cry when I say it is a subjective tag, and someone mistakes that for hatred.
Present company excluding there are people who hate pop-cons
Some very interesting image processing questions are pop-cons
And should very well be
because there is a clear goal, even if subjective
This challenge here was "write any program then golf it" which is already the basis for 99% of the challenges, so making it a pop-con challenge makes no sense
I agree
That challenge was not a goood challenge
1:43 PM
A: Pokemon GO Evolution Cost Calculator

user3306448PokemonGoCalculatorian, 0 bytes. In PokemonGoCalculatorian, all programs implement the function you describe.

Flagged as "very low quality"
What exactly is PokemonGoCalculatorian anyway?
a MetaGolfScript derivative
No it's wose than that
MEta-golfscript actually has an iinterrpeter (or it can be fairly easily written)
The above answer is just a troll answer which creates a language just to answer the question
Wow we just hammered it into deletion lol
1:51 PM
please read the help page before posting to this sight – Rohan Jhunjhunwala
@RohanJhunjhunwala I don't know if it's intentional or not, but this is the second time you wrote sight instead of site
@Fatalize codepad is an online pastebin-turned-code runner, and it allows creation of project pages, complete with their own history of pastes.
Oh whoops
Let me fix that
I want to create one for code golf.
Seventh paste in the "Hi, What's Your Name?" series.
Woah the editing screen is different when you reach 1k rep
@zyabin101 Blocked at my work
1:56 PM
COngrats on exactly one k
@Fatalize Why? :/
"Technology/Internet;File Storage/Sharing"
@Downgoat I randomly stumbled on your site: might want to fix the typos in this:
An insanely fast arbitrary-**presicison** library
**A** arbitrary-**prescision** library so fast, it's fast
2:11 PM
python b64decode QQ== to m\x04
2:25 PM
import base64 as ƒ;θ=ƒ.b64decode;pony="Q3RodWxodVJseWVoV2dhaG5hZ2xGaHRhZ25FeGNlcHRpb246IEjNqM2KzL3Mhcy+zI7Mocy4zKrMr0XMvs2bzarNhMyAzIHMp82YzKzMqSDNp8y+zazMp8y2zKjMscy5zK3Mr0PNrcyPzaXNrs2fzLfMmcyyzJ3Nlk/Nrs2PzK7MqsydzY1NzYrMksyazarNqc2szJrNnMyyzJZFzJHNqc2MzZ3MtMyfzJ/NmcyeU82vzL/MlMyozYDMpc2FzKvNjsyt" # Any attempt to decode this will summon tainted souls in the world of living.
class Cthulhu:
    η=dict(zip(map(ord,"A"),[lambda ġ:print(ġ.ė)]))
    def __init__(þ,ç):ɭ=θ(ç).decode("utf-8").split("@");þ.ɭ,þ.ç=int(ɭ[0]),ɭ[1];þ.ɐ=-~0;þ.ɐ=þ.ė=~-þ.ɐ
^ Cthulhu interpret
for now it's a bit buggy :/
»  python cthulhu.py
CthulhuRlyehWgahnaglFhtagnException: H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S
A: Sandbox for Proposed Challenges

Martin EnderHighlight the Bounding Box code-golfascii-artgrid You're given a rectangular grid of the characters . and #, like this: .......... ..#....... ....#..#.. ...#...... .......... Your task is to fill the entire axis-aligned bounding box of the # with further #: .......... ..######.. ..######.. ...

> ÿ
Wat, python 2 is best python
(Don't put us in a troll debate.)
twitch twitch
I don't use any Python
βŭʈ ṗÿʈḩóη 3 åℓɭoẇ þıʂ
2:31 PM
I use exactly 5 spaces to indent all code
Because you're a monster?
4 space indent is the best
@RohanJhunjhunwala That's not good trollbait, you're just hurting yourself if you did that
What's worse, 5 space indents or regex HTML parsing
2:32 PM
@Sp3000 in all seriousness I just let my IDE do it
I indent with comment blocks.
"It's considered good form to demand that regular expressions be considered verboten, totally off limits for processing HTML, but I think that's just as wrongheaded as demanding every trivial HTML processing task be handled by a full-blown parsing engine. It's more important to understand the tools, and their strengths and weaknesses, than it is to knuckle under to knee-jerk dogmatism." source
SILOS use 4 spaces of indent
@Geobits dont work with python :/
and you use while(true) ಠ_ಠ
2:33 PM
No worries. I don't.
@Sp3000 its currently set to two on my desktop, (and maybe my laptop), but the only reason why I make it so low is to make everything fit
while True:
while(true) has perfectly legitimate uses.
for(;;) is better
@TùxCräftîñg SILOS does not accept leading whitespace
(It's a feature not a bug)
2:34 PM
the SILOS interpreter
@TùxCräftîñg Golfier maybe, but less readable in actual code.
for(;;) is more readable imho, but id does not really matter
@RohanJhunjhunwala 2's fine, but I mean if you actually did use 5 it would be an awkward sight you're slowly making yourself get used to
for(;;) to me idiomatically translate to "forever"
2:35 PM
#define ever (;;)

for ever { /*thing*/ }
Or you could set _ to true, so you can write for(;_;)
@Sp3000 yeah. I really dont understand the hate over tabs versus spaces. It does not really matter
I really feal like neither of those help readability and are quite childish
It matters more than peanut butter and less than gif.
const bool _ = true;
2:36 PM
Well it depends on the type of data, really
And general context
#define forever for(;;)

forever { /*do stuff*/ }
^ imho it's better if you want to #define
> Wanted to upvote for the winky faces, but I noticed you had exactly 1,000 rep, so I don't want to ruin it. ;) Will upvote later. :P
I imagine any sane compiler would just turn any 'forever' block into a while(true) anyway :P
RIP I will never gain any more rep
@Geobits nope, it's the inverse
2:38 PM
@Geobits they are the same in asm anyway
while(true) => for(;;) because for(;;) use a inconditional jump while while(true) use a conditional jump (it tests true)
@TùxCräftîñg You're saying a compiler would add steps for initialization and post-action for no reason?
    jmp loop
Well, anything's better than do{...}while(true)
@Poke Well, yeah. We all already knew python is dumb about whitespace :P
@Geobits well, do..while is like <= and while is like <, adds one more step
^^^ What's that shape called?
@Geobits and that is an excellent point
have a star
Mission accomplished.
2:41 PM
@βετѧΛєҫαγ almost a 4d hypercube net
coding horror agrees if you're into that
@βετѧΛєҫαγ A 3D plus
@BusinessCat Meh, not accurate enough
^ 4d tesseract net
^ Kind of
2:43 PM
@Poke Nah, that says tabs are bad. So, ya know, it's wrong.
The most accurate name I can think of is "heptacube", but that's a bit generic
@βετѧΛєҫαγ source: diagrami.com/gallery.php?index=3dplus
@Geobits Sorry. I meant it agrees with python style guidelines
Oh. Well he also parses HTML with regex from time to time, so...
A burr puzzle is an interlocking puzzle consisting of notched sticks, combined to make one three-dimensional, usually symmetrical unit. These puzzles are traditionally made of wood, but versions made of plastic or metal can also be found. Quality burr puzzles are usually precision-made for easy sliding and accurate fitting of the pieces. In recent years the definition of "burr" is expanding, as puzzle designers use this name for puzzles not necessarily of stick-based pieces. The term "burr" is first mentioned in a 1928 book by Edwin Wyatt, but the text implies that it was commonly used before....
2:46 PM
Sound like a sound my cat would make.
sounds like my dog makes when he sees a stranger
@Sp3000 How about "caltrop heptacube"?
i would call a 5d cube a heptacube
I'd call it a headache.
3:12 PM
@mınxomaτ how many cats do you have?
Cats are life
nope dogs are
kills and walks away
The cat wins by default since the dog just ran away because he wasn't on a leash
dog saves me by biting the killer
the cat ran away because...cat
Also, that featured poll is really painful
3:25 PM
You mean puppers?
@DJMcMayhem ye
@HelkaHomba Fortunately, Sp3000 had the answer, 'cause I don't play the piano. :P
Well, at least Clinton never implied that she wanted to use them
Wow. Apparently 50% of pollsters trust Donald more than Hillary
WWIII will begin next year, get ready
3:28 PM
halp i cant log into se with w3m
Don't they enter office in January?
Yeah, January 20th
I don't know, I'm a Canadian
Usually we follow your elections and laugh
@DJMcMayhem I saw elsewhere that 16% of Trump's supporters think he is trustworthy, compared with 11% of Clinton's supporters thinking she's trustworthy. Lemme find that article...
@BusinessCat can i live with you
i need to get out of US
and iirc zizouz is full
I visited Canada recently. It was nice
3:30 PM
@DJMcMayhem meh, more like the trump supporters actually vote on the poll
But the line at the border was 2 frickin hours
@EᴀsᴛᴇʀʟʏIʀᴋ zizous?
A user who is in this room sometimes. Mod on open source, lives in....
Oh yeah
3:34 PM
Not the same numbers, but a similar idea:
No numbers at all :D
I didn't see any numbers
Well, that didn't work. Apparently, they overlaid text on the image... -_-
That's what screenshots are for.
@mınxomaτ I had the same idea. :P
3:36 PM
I feel bad for Americans when I see stats like that
i feel bad for the whole world
@El'endiaStarman Wow. That's really really sad. Everybody voting just out of fear of the other candidate
@El'endiaStarman That is fascinating, given that Clinton has a ~85% chance of winning, according to 538
@DJMcMayhem Yeah, it's a terrible election season.
It's the first year I get to vote. yay......
sobs hysterically
3:42 PM
@DJMcMayhem its the same in almost every country
Q: Can u solve this problem

swathi sukumaranA sorted array contains all even numbers from 2 to 256. For fun, let’s assume that you don’t know that there are only even numbers in that array and how elements are distributed. But you do know the number of elements and that the array is sorted. In order to determine if the number 45 is in the ...

@NewMainPosts closed before bot
@DJMcMayhem Same here... ;_;
@NewMainPosts eleven pls
@El'endiaStarman really? I thought you were like 25
3:46 PM
@HelkaHomba Maybe you should be the one to write the play!
@DJMcMayhem 24, actually. And you're right, I could've voted in the previous election. I didn't go to the trouble of getting an absentee ballot, though, as I was in my second year of college and therefore pretty out-of-state.
@El'endiaStarman oh, is out harder to vote out of state? I wouldn't know
I voted in my first federal election last October
And we actually had a likeable candidate
Unlike the American election...
Q: Together Everyone Achieves More

TimmyD(related: one, two, three) An acrostic is a style of poem/writing where the beginning character of each line, when read vertically, also produces a word or message. For example, Together Everyone Achieves More also spells out the word TEAM when the first column is read vertically. Acrostics ...

4:09 PM
Wow, my question is at -6 votes just because was busy and didn't get time to change it....

« first day (2034 days earlier)