6:02 AM
Thanks, I'll edit that in now

I can't figure out how to have hardcoded values in my new language

@CameronAavik could you do it for all of your answers?

I guess

The PowerBall has been won

heh, it was won in a place called Chino Hills, one of the 6th highest income places in the US

6:12 AM
;-;

is this what I do?
And how many bytes would that be?

what did you change?

Those aren't tabs

I don't how far news has traveled about Jakarta today

yeah, I just read about it too

6:16 AM
@CameronAavik yes, 8 spaces are tabs...

you need actual tab characters

There was a shooting in central Jakarta today. Several dead
My family and I are fine but I wanted to let you guys know

Are you in Jakarta?

I live there, but I'm near my university on the outskirts
*currently on the outskirts of Jakarta
But I did want to know how many people outside Jakarta had heard

@TanMath instead of typing 8 spaces, type /t. Then python will interpret it as 8 spaces
which is what we mean

6:22 AM
Hi, Everybody.

Hello

I need little help in physics any body can help?

@MuhammadRaza You could try the Physics.SE :P (or their chat [if they have one][if anyone is there])

Hi everybody.
3x^2 = (l-x)^2 gave answer x = -1.37l how?

what is l?

6:37 AM
its a variable @cyoce
@MuhammadRaza

@Cyoce l is L just variable.

@CameronAavik I think he wanted to know the value of it..

subtract 3x^2 from both sides and use difference of two squares

^^^^^^^^^^

@ZachGates the answer muhammad gave was in terms of l
so it doesn't matter what it is

6:39 AM
@CameronAavik Yeah, you're right. I read it as -1.371 instead of -1.37l. My fault

@Cameron I subtract but still answer is different.

0

Putting test cases in a hard to use formats Supplying test cases is always a good idea, but people are more likely to use them (and thus have better tested code) if they can easily be copied and pasted into a test suite. So format your test cases as simply and as consistently as possible, prefe...

^ Is this ok here @trichoplax? Not a "funny" issue but seems appropriate. (Just this nagging feeling that there was another meta question where it might be more proper.)

(l-x)^2-3x^2=0
(l-x-3x)(l-x+3x)=0
(l-4x)(l+2x)=0
l=4x or l=-2x
did I fuck that up?

@Cyoce Sir but actual answer is x = -1.37L.

So yes I did

6:42 AM
@Cyoce i don't understand. you write l = 4x or l = -2x

NewMainPosts is slacking

It isnt (3x)^2
It's 3(x^2)
So to use difference of two squares you turn it into (sqrt(3)x)^2

@Cameron yes sir x power 2.

0

Description If this is your first time on the Internet, you might be interested to find out about Internet Warming. Here are some facts: We are destroying the internet by polluting it with unnecessary pixels. Petroleum-based, processed pixels take many more valuable resources to produce and a...

@Cameron Aavik Sir, now my answer is l = 4x?
Anybody give the proper solution i try to do this is for last 3 hour.

6:46 AM
No (l-x-sqrt(3)x)(l-x+sqrt(3)x)=0

l=1+sqrt(3) or l=1-sqrt(3) so either l=2.73x or l=-0.37x

l^2 - 2xl - 2x^2 = 0

@MuhammadRaza Is x=-1.37l the answer you got or the answer you are expecting to get?

6:50 AM
@Calvin's I upload picture.
@Calvin's Yes i want this answer.
@Calvin's This is the answer. But i don't know how to get.

@Calvin'sHobbies I realised after posting that humour was a distraction, and what was needed was a question-focused version of the loopholes meta post that covers answers. So I edited to sound more inclusive and your answer is exactly the kind of thing I wanted to see. There is a post on writing a good golf challenge, but your test cases answer applies to more than just golfs, so it fits here.

l=2.73x or l=-0.37x meaning x=1.366l or x=-0.366l, respectively

@Sherlock9 Sir, can you give proper solution?

@ZachGates x = (-√3l - l)/2

(l-x)^2-3x^2=0
(l-x-sqrt(3)x)(l-x+sqrt(3)x)=0
l=1+sqrt(3) or l=1-sqrt(3) so either l=2.73x or l=-0.37x
l=2.73x or l=-0.37x meaning x=1.366l or x=-0.366l, respectively
Or you could literally the last four things I've posted
Because I just copy pasted those

6:55 AM
@Sherlock9 how you get this step (l-x-sqrt(3)x)(l-x+sqrt(3)x)=0?

a^2-b^2=(a+b)(a-b)

@Sherlock 9 1-sqrt(3) = -0.73.

1/(1-sqrt(3))=-0.366

@ZachGates The empty string in many languages outputs an empty string. Is that valid for your new challenge?

6:59 AM
^ or 1 in many languages

@Sherlock9 1/(1-sqrt(3))=-1.366.

ninja'd

@Calvin'sHobbies How would I disallow that?

@MuhammadRaza Ah yes
(l-x)^2-3x^2=0
(l-x-sqrt(3)x)(l-x+sqrt(3)x)=0
l=1+sqrt(3) or l=1-sqrt(3) so either l=2.73x or l=-0.37x
l=2.73x or l=-0.37x meaning x=0.366l or x=-1.366l, respectively

@grc Also, quines. I'll have to modify the scoring

7:04 AM
@Sherlock9 Sir, why you write sqrt(3) in (a-b) does not have a?

a=l-x; b=sqrt(3)x; a^2-b^2=(l-x)^2-(sqrt(3)x)^2=(l-x)^2-3x^2

b= 3x^2 , x power 2 not sqrt?

@grc @Calvin'sHobbies Fixed it

damn.
RIP Google internship.

Only after the guy who offered it to me asked another guy who asked a third guy did they tell me you have to be 18+.
:(

@MuhammadRaza b^2=3x^2 so b=sqrt(3)x

7:10 AM
@Sherlock9 how i get 1/(1-sqrt(3))?

From l=2.73x to x=0.366l

@MuhammadRaza What don’t you understand about that?
The steps leading up to it may have been wrong, but the last two steps are sound.

@Cyoce difficult of me but i try to understand.
for

(l-4x)(l+2x)=0
l=4x or l=-2x
in order for (L-4x)(L+2x) to be 0, then either (L-4x) or (L+2x) must be 0. We then solve for L in terms of x with the equations L-4x=0 and L+2x=0

@Cyoce i am getting l = 1 - sqrt(3) not 1/1-sqrt(3)?

7:14 AM
which yields L=-2x or 4x
Where did this problem come from?

physics numerical.

NVM I see what I did wrong.

@Cyoce Sir, now you can help me?

What do you need help with?

7:23 AM
I'm sorry, I don't understand. It would seem they give the answer on the page.

@Mego I found a Jungle Temple in Minecraft.....that you had already claimed. -_-

7:55 AM
I'm kinda new here so sorry for naive question. For this question (codegolf.stackexchange.com/questions/68678/…) I have a random flipping answer, which given unlimited time (as commented on the question) will 'almost surely' solve. Is this acceptable or not?

Anonymous
@El'endiaStarman If it's the same one I'm thinking of, that's the last place I logged out.

@Mego Huh, interesting! There were two furnaces next to a bed.

Anonymous
That would be the one

shameless pimping
2

This script makes it possible for badges to onebox in Chat. Things that I'm working on: Tag badges Custom badges, currently working, but displays a black colour Making them actual buttons Install: Requires Tamper/GreaseMonkey. Click here to install. GitHub: It's on GitHub too! ...

Instead of paying developers to work for them, SE should charge developers to work for them.

8:13 AM
something like that

8:34 AM
@CameronAavik but @Cyoce said to use just 8 spaces...

9:13 AM

9:43 AM
Its super effective.

2 hours later…
11:23 AM
Have we had a challenge on Euler's method?
Also, @CᴏɴᴏʀO'Bʀɪᴇɴ the font that you chose for the user script makes ∞ look awesome.

11:53 AM
[badge:userscript-test]
[badge:legendary]
[badge:bug-report]
[badge:third-test]
Test.
Can you post real quick, @randomra?

12:11 PM
?

Ah. Interesting.

GitHub is't too slow, hello

It's increasing every time someone (besides me) posts.

I fixed that, update off GitHub
This was basically the cause:
in JavaScript Masterrace, 33 mins ago, by Quill
!!> "Buzz".replace("", "Fizz")
in JavaScript Masterrace, 33 mins ago, by Santa's Helper
@Quill "FizzBuzz"

Ah.
(I don't JS. :D)

12:16 PM
Basically trying to replace nothing prepends the string with your replacement

Oh, gotcha.

12:48 PM
oh hai -15

1 hour later…
1:58 PM
<BUMP>

2:21 PM

@Quill First, register on codepen and copy your pen to your account on codepen. Second, ask on Stack Overflow Kappa

Would Brainfuck still be Turing complete if it used booleans instead of 8 bit integers?
(Also, wouldn't that make the add and subtract command do the same thing?)

@zyabin101 wat

@Quill Although, to be honest, it works on my browser.
@Quill this
Jan 9 at 8:08, by zyabin101
@Calvin'sHobbies Kappa is an emote on Twitch that generally means sarcasm or trolling.

@Stefnotch Sure, it'd just be lengthier than it already is. Use 8 memory cells (of Boolean values) to formulate your own 8-bit integer yourself.

2:29 PM
@TimmyD Also, it's already done <http://www.esolangs.org/wiki/Boolfuck>

@TimmyD Thanks! :D I'm just asking this because I might want to make a programmable PC in Terraria
@zyabin101 Wow! :D
Next question, is there a brainfuck variant without the [ ] or with some "simpler" [ ] that is still turing complete? (Ook doesn't count!)

@Stefnotch See <esolangs.org/wiki/BF_instruction_minimalization>

Thanks! BTW: [link](http:// url)

@Stefnotch I know. But Stack Exchange should be able to have <http://path.to/url> links in chat.
Should I join meta Stack Exchange just for that?

Oh! As far as I know, the chat's supports for markdown is crappy..
You could..
I personally would like seeing some more markdown features here...

2:41 PM
@Stefnotch See Burro for an alternative way to loop

@Stefnotch you can do strikethrough, bold, italics, and bold italics
what else is needed? we have links, images
> > nested quotes would be nice (or abused for trolling..)

@quintopia Thanks!
@Calvin'sHobbies MathJAX? Stealth pings? XSS?

Mathjax, alright. But stealth pings are definitely not a feature they'd intentionally build in. What do you mean by cross site scripting?

XD Well, stuff that everybody could abuse? (Though, it might not be a good idea, it would take about 3 seconds for somebody to post a message that takes the chat down)
Colored text? Some CSS features?

oh please no

2:51 PM
1

Time for another easy challenge in which all can participate! The multinomial theorem states: The expression in parentheses is the multinomial coefficient, defined as: Allowing the terms k_i to range over all integer partitions of n gives the n-th level of Pascal's m-simplex. Your task is t...

I'd prefer chat to be a communication channel, not a playground

You can't do those things in normal posts, even
test
2

About the images, you can't have any inline images, right? (e.g. An image right here: )

No, images are a form of onebox I suppose
But just to test

!https://i.imgur.com/FMih93I.pngg

^ Image?
nop

> Upcoming events: on Mar 1 at 0:00 Programming Puzzles & Code Golf Graduation
3

2:58 PM
That would be a cool feature though..(Emoji, colored text, etc would be possible! :P )
2

why do votes lock after 5 minutes :(

^^^ Not at all misleading.

@Dennis "This is a regular event, happening every day."
2

Why this chatter is blank?
@Dennis Too bad we won't graduate that date... :(

He neglected to mention the year. Could be Mar 1, 2025 before we graduate.
3

3:06 PM
@MartinBüttner Haha, :/ means the same in both of our programs, yet for entirely different reasons.

Whoever is doing that: you missed one of Calvin's messages
Three of them actually

huh?

You have fully used your vote allowance for today
What does that mean?
Is it bad

oh, I just looked right...
@Hurricane996 No, it's normal
134

Limits on casting votes The SE network defines a "day" by the UTC/GMT clock. New days start at 00:00:00 UTC/GMT. (The current UTC time is always available to logged-in users.) Post votes (votes on questions and answers; upvotes and downvotes count the same) The exact number of votes availabl...

Is there a Unicode symbol for Pokedollars yet>
?

3:15 PM
₱ is close

Close enough

@Hurricane996 What you are going to do?

What do you mean?

@Hurricane996 What you are going to do with that Pokeyen symbol?

Nothing illegal. I won't forge pokebucks. I promise!
₱ 1 One Pokebuck 1₱
This is play money and can't be used for real purchases
₱1 Cynthia 1₱
Mucho Bettero

3:22 PM
@Hurricane996 If your avatar was the other end of @Cyoce's duck thing...

I need a real avatar
And a million pokedollars

@Calvin'sHobbies I'm a platypus! ~~@Cyoce

and a pony

If we all chose avatars each with a big letter of "GRADUATE" in it, then when they aligned in chat would be our sign.

It would happen within a day. I have (probably misplaced) faith in this community's ability to work together.

3:27 PM
Well, we can tell the SE execs and they'll see it as a sign from the gods of randomness
(as long as we get the mods to delete our planning)

Can't mods see deleted messages?

Dang
A bunch of pokemon fainted from that shrumish

PSA incoming:
@Hurricane996 its poison and sleep effects are deadly ;-;

@Calvin'sHobbies that's a platypus, silly
Also uggghhhh the SE app doesn't have hat so I have to use chrome and the chat site doesn't have a mobile version so the buttons are all screwy

3:42 PM
Ugh, star trolls.
7

Well, dang ... it seems neither PowerShell nor .NET have a built-in method to compute subsequences ... since I really don't want to implement Chase's Twiddle, or Buckles', or one of the others, I guess Remove digits, retaining greater number is just out of reach...

I'm probably an idiot, but how do you calculate the multinomial coefficient from this challenge:
8

Time for another easy challenge in which all can participate! The multinomial theorem states: The expression in parentheses is the multinomial coefficient, defined as: Allowing the terms k_i to range over all integer partitions of n gives the n-th level of Pascal's m-simplex. Your task is t...

For example, 11, [1, 4, 4] should give 34650, but I get something totally different

if I have some continuous surface, is it possible to calculate the shortest distance between two points in polynomial time?
(assuming you can't leave the surface)

@Adnan The challenge is a bit confusing here. You don't get k_m as input, but you can deduce it from the others, since k_1 + ... k_m = n.

3:57 PM
0

Create a program, in any language, that takes the longest time to run theoretically (independent of machine specs) with the following constraints: The program should be up to 80 characters The program should (eventually) terminate The program should not rely on a specific feature of a language ...

@Quill Upvoted because the OP is really attractive

lol?

@Dennis Oh, that makes sense
Thanks! :)

4:21 PM
@Dennis I was going to delete that event, since I am a room owner (of course, I think that room has at least 15 owners), but I didn't want to spoil anyone's party :P

How to win at code-golf:
1) Learn the basics of Retina
2) Post a mediocre Retina answer
3) Wait for @Martin to golf it
4) ???
5) Profit!
3

hahaha
Phew, for a moment I thought you were talking about the word spooning challenge.

@DigitalTrauma One problem is, you don't win at golfing Retina. @MartinBüttner will golf it in another answer.

@zyabin101 That doesn't sound like Martin at all. He usually posts helpful comments on your answer.

@zyabin101 I don't know about that - I've always found Martin to be especially generous with his advice

4:30 PM
@Dennis Then @DigitalTrauma's method sounds like winning by using a man in the middle, which is never naturally winning. :/

Woo, my 100th answer posted! :D

@zyabin101 Many of us (myself included) prefer friendly collaboration over fierce competition.
9
@TimmyD Congrats!
Wait, Cryptography is offering me swag for being one of its top users? This is wrong on so many levels...

@Dennis what?
You have like 1k rep on there...

I'm still number 64. Crypto doesn't have a lot of activity.

Huh.

4:41 PM
In comparison, our number 64 has 6,639 rep.
Yet they got to graduate. ಠ___ಠ
#graduationenvy

Hey, that means I'm higher than #64 :)
Since I have 7,056 rep.
#60!
Although it's really pathetic that we still haven't graduated...
Come on, SE! We're almost at 100 5k'ers!

Let's watch a nice helicopter crash first:
One of my favourites.

What is it with you and disasters? ;P

Just things you do not see everyday=)
Well perhaps in meantime I really do...

I didn't know that "disaster" was a genre of movie

4:54 PM
Now you do=)

How does Wikipedia not make a reference to Twister?

@flawr Wow! (Note to self - when crashing a helicopter, remember the tail is the biggest crumple zone.) WTF was that guy doing tugging on the cable???

I think the problem was that the helicopter brought that pole, and they were not able to release the cable from the attachment point under the helicopter.
But I do not know what this guy was thinking.

I wonder if they went ahead with the Christmas tree after that

Why wouldn't they?
They "invested" already that much money at that point, would be a bad idea to stop the project there=)

5:05 PM
Even with the bounty no one is attempting polyiamonds. Looks like I may have to answer it myself.

And get the bounty yourself?=)
We have 9 questions with bouties!
@quintopia Is it correct that two triangles are simply connected if they share an edge?

@flawr I wonder if they needed the helicopter to put a star on the tree?

@flawr yes. but that's hardly interesting. As is described in the question, 9 triangles can form a polyiamond (such that all pairs of triangles are simply connected) which is not simply connected

I do not quite get the specs...
Oh, so the vertice where too triangles are touching does count as part of the shape, right?

@flawr the best kind of crash is one where everyone lives
@flawr yes

5:18 PM
@quintopia Agreed.

@quintopia The safe landings are the ones you walk away from

@flawr He had a death wish and a grudge against the pilot.

@quintopia But he ran away!
@DigitalTrauma The crashes are the ones you run away from

@flawr looked to me like he just fell down

0

Interpret (???) Note that this is a very early idea, I don't even know if it would be a good challange... code-golf Task Create an interpreter for [LangName] About ? ? is a language that only allows numbers and lists. ... Everything in this language is immutable. For loops are equivalent t...

5:51 PM
@LuisMendo I'd like to add MATL to Try it online!, but there are a few things that aren't clear to me. Would you mind answering a couple of questions?

@Dennis is this your website?

Yes, it is.

Cool!

Thanks. :)

So I assume you did not implement all those languages, but you'll run the scripts on a server, is that correct?

6:01 PM
Yes, that's correct. Apart from my own languages, I only implemented the BF transpiler myself.
Front- and backend are on GitHub. github.com/DennisMitchell/tryitonline

transpiler, I like that word=)

It fits perfectly. It substitutes every BF command with a snippet of C code and calls GCC on the result.

So you'd be using Octave to implement MATL, I suppose?

Yes, that's the idea. I'm currently uncertain how to run it from a script (although I'll probably figure that out). My doubt is if MATL has any file or web access, which I would have to disable for security reasons.

As far as I know there is no file access (yet)
let me check.
No there is no way of reading/writing files, except the "standard files"
If a file of a certain name exists, input will be read from that file.
Same for the output, defin and defout.
In case you need to know something about matlab you can always ask in our cozy little room over at SO

6:19 PM
OK, thanks.
I seem to be doing something wrong though.
error: fprintf: invalid stream number = -1
error: called from
matl_disp at line 28 column 9
matl at line 235 column 5

What did you do?

anybody here?

@flawr This is my script:
#!/bin/bash

export LANG=en_US.UTF8

code="$(<$1)"
shift

cd /opt/MATL
octave --eval "matl $code" "$@"
If I SSH into the server and execute it, everything is fine. But when it is called from the backend, I get that error.
@CᴏɴᴏʀO'Bʀɪᴇɴ No. :P

Let me first see what the matl code does=)

@Dennis Oh, I see. I guess I can spam the room, then? :P
Can someone tells me what this does?
I cannot test Jolf atm

6:34 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Spamming is discouraged and even regulated.

@zyabin101 Hey, it was a joke.

@flawr I think I figured it out. The MATL interpreter saves temporary code files, and the backend doesn't have write privileges.

@CᴏɴᴏʀO'Bʀɪᴇɴ This one is just a fancy way to encode your email (but I don't think it is Conor O'Brien@$.$).
It translates to add("%or".format("Con")," O%rien@%.com".format("\'B","gmail"));.

Oh, ok. And I was trying to figure out what $(<$1) does=)

@zyabin101 I know, I made it.
@zyabin101 So wait... $.$?

6:39 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ This one is just a fancy way to redact the domain in the email.

@zyabin101 Oh, cool!

It translates to .

Thanks for testing that :D

@flawr $1 is the first CLA, so $(<$1) yields the contents of the file $1 specifies. I fixed the problem by using octave --path /opt/MATL instead of the cd.
The two >  at the beginning are quite ugly, but I don't know how to get rid of them.

@Dennis CONGRATS! You've just created a working MATL online interpreter! :D

6:44 PM
> > 37837800 is that right?

@quintopia I do want to answer it... but laziness...

@CᴏɴᴏʀO'Bʀɪᴇɴ > >  is a leftover from reading input twice. MATL doesn't seem to be made to be run from a file.

@Dennis Oh, I see.

@zyabin101 Thanks. Try it online! has a lot of interpreters, actually.

Is there some list?

6:46 PM
Click the link. :P

@CᴏɴᴏʀO'Bʀɪᴇɴ The main page is the full list.
@Dennis Ninja'd me!

I'm an idiot and tired.

And MATL was placed in this list between MarioLang and Minkolang.

Jolf has a TIO built-in? o_O

6:49 PM
Yes!

@CᴏɴᴏʀO'Bʀɪᴇɴ CONGRATS! You've just created a not-working online interpreter redirector! D:

@zyabin101 I don't get bold? Not even italics? ;_;

@CᴏɴᴏʀO'Bʀɪᴇɴ It does not work on my browser, after all.

@zyabin101 Which browser?

@CᴏɴᴏʀO'Bʀɪᴇɴ Firefox 43.0.1, user agent Mozilla/5.0 (Windows NT 6.0; rv:43.0) Gecko/20100101 Firefox/43.0

6:52 PM
O_O
I don't know why it shouldn't work... any errors?

It's too big to fit in one chat message. Also, how to make strikethrough text in chat?

Anything glaring?
@El'endiaStarman Pour toi

@MartinBüttner I'd not expect the rep to motivate you anyway. you don't need anymore :P

@CᴏɴᴏʀO'Bʀɪᴇɴ It does not work. For debugging, the code to which I replied translates to location = "Minkolang".tryitonline.net;

can't let Dennis beat me to 100k ¯\_(ツ)_/¯

6:56 PM
@zyabin101 Oh, hm...

@CᴏɴᴏʀO'Bʀɪᴇɴ And this translates to location = "jelly".tryitonline.net;

but regardless of the bounty, it's a nice challenge and deserves an answer ;)

@zyabin101 OHHHHHHHHHHHHH
THANKS!