« first day (1812 days earlier)      last day (2882 days later) » 

12:00 AM
What is wrong with your javascript?
I find it funny how []!=[] is true
You cannot have a run of -- and -.
I find it funny how people think JavaScript is a decent language.
@AlexA. ಠ_ಠ
12:01 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Ok, almost _-=_-----_
@flawr Nice try, but you still failed.
@AlexA. It's not that bad.
12:02 AM
1 min ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
You cannot have a run of -- and -.
@CᴏɴᴏʀO'Bʀɪᴇɴ ಠ
> _=1;_-=_-- - --_
< -1
@CᴏɴᴏʀO'Bʀɪᴇɴ Y not?
@flawr It's ambiguous.
@CᴏɴᴏʀO'Bʀɪᴇɴ _-----_ is not ambiguous...
12:03 AM
Yeah, it is. It could be _-- - - -_ or _- - - - -_
Both of them are invalid.
Do you want to decrement it, or negate it a bunch of times?
Decrement and substract
> _=1;_-- - - -_
< 1
_-- - --_ any other interpretation does not make sense, does it?
12:04 AM
> Both of them are invalid. --flawr 2016
@flawr Does it matter if it makes intuitive sense? You cannot assume that ----- is right decrement minus left decrement.
But why not, you cannot negate twice!
Yeah, you can.
- - 0
SyntaxError: invalid decrement operand
- - x == x
> - - 0
< 0
@flawr Can you even JavaScript?
@flawr That's valid
12:06 AM
Javascript = Java, right?
uh, just realised jsfiddle got a makeover
@flawr No
@flawr NOOOOOO.
@flawr You are truly an alex :P
12:07 AM
But it is just a scripting language made of java?
Pretty sure he knew that already...and is just trolling...
Yeah it's awesome
No, it isn't.
Bow down to me
Why would anyone call anything else Javascript?
Why didn't they choose Hawaiiscript??
12:07 AM
@flawr Not my problem. Why name a language after a beverage?
There are plenty of islands!
@CᴏɴᴏʀO'Bʀɪᴇɴ You ought to ask the makers of Coffeescript that.
@El'endiaStarman MilkShakeScript.
12:09 AM
My favorite beverage.
12:09 AM
The scripting language to rule ALL scripting languages!!!
12:09 AM
Of course, it's wrong.
@CᴏɴᴏʀO'Bʀɪᴇɴ And still beats out better alternatives.
12:10 AM
AlexScript > JavaScript confirmed!
@AlexA. s/>/=>
@El'endiaStarman o_o
Comic idea for my program-centered comic thing
12:12 AM
You have a program-centered comic thing?
"I tried help mixing the colours for the cookies this Christmas; I forgot the real word doesn't use RGB."
@flawr \m/olten\m/etalScript
I should make a language called JavaScript (notice the capital S), which is a scripting language which compiles to java :3
@CameronAavik You definitely should!
12:12 AM
@CameronAavik JS is supposed to be capitalized that way
oh :(
Just do "Javascript"
Like, Javas Cript!
@CᴏɴᴏʀO'Bʀɪᴇɴ Subbed
My boss didn't believe me that Java and JavaScript are unrelated. ಠ_ಠ
@flawr :D
@AlexA. o_o
12:13 AM
Or at least trying to
@AlexA. I mean why would he.
I will meet your boss and passive-aggressively attack him.
my brother was telling me about how they were teaching him Java (because he knew the majority of my time programming is in Java) at school
was javascript
He's a nice guy, but general programming is not his area of expertise.
@AlexA. Why would anyone believe that closed sets can be open.
12:14 AM
@flawr That video is amazing :D
@AlexA. Isn't mine either.
Nor mine
Uhm. That implied that I actually have an area of expertise.
Well it's math, is it not?
It is really sometimes difficult to come up with something you think you're good at.
12:16 AM
For me it's trolling.
What I am good at, or what you are good at?
These videos are awesome
@flawr Well, I think we both have a knack for it. ;)
@Zgarb >:O
@AlexA. ಠ_ಠ
Why would anyone think that.
12:18 AM
Oh, I don't know.
But there is nothing I think I am competent in.
</selfdoubts> <sleep>
I feel like I'm writing a book... Quite long meta.codegolf.stackexchange.com/a/8103/42736
should go to bed now=)
@flawr You're quite competent in math and Matlab, at least. :)
And being generally awesome
@AlexA. in making funny Matlab programs :-)
12:20 AM
@flawr Good night!
@AlexA. Golfing ~= competent^^
It even works for NaN and functions!
@AlexA. Awww *blush*
( ͡° ͜ʖ ͡°)
12:21 AM
Bye! I'm off too!
^ ditto
@LuisMendo Bye!
@AlexA. I'm gonna pin this as soon as I am mod.
@AlexA. G'nite! Take care of that awesome city :-)
12:22 AM
You know, right after we graduate.
@LuisMendo Hah, will do. :P
A math professor of mine in community college got to meet that guy. He said shaking his hand was like grabbing a handful of limp spaghetti.
12:48 AM
Any way to break out of JS try{...} without throwing an error? break doesn't work.
try{(function(){/*do stuff*/})()}
Then you can just use return
No I want to skip to the finally statement
@Cyoce error
12:58 AM
@Cyoce In that case I don't think so
@Cyoce works
@LuisMendo I've pulled the update and changed the wrapper. Everything seems to be working. Thanks for adding -o.
@CᴏɴᴏʀO'Bʀɪᴇɴ It appears my Erdős number is 4.
@Zgarb Really??
How do you figure?
There's an online tool for that.
1:01 AM
Link me?
It requires access through a university or similar.
heyyyy Zgarb on a totally unrelated note--let's write a paper!
It says it can't find "Zgarb" :P
@Zgarb It can't find my name. :(
1:03 AM
As best as I can figure, I have an Erdős number of around 10 to 15
I just saw this:
@Maltysen I use my real name on other SE sites, so you can find it there.
Completely un-intentional
@AlexA. Can it find a co-author of yours?
("unintentional" is one word, so there's no need for a hyphen)
@Zgarb Hm, apparently not. Is this for AMS papers only?
1:07 AM
Hmm, Oops...
All of the papers I've worked on are in medical journals, nothing strictly mathematical.
Mini-chat-challenge-poll: Write a program to parse the string A -> B into the list/tuple [A, B]. A and B may be any lowercase words, e.g. cat -> dog. Do the same for the format | A | B |, where there may be an arbitrary and different positive number of spaces after the A and B.
Based on the code required to parse each format, which do you prefer? (context)
@AlexA. It did find my paper in a computer science conference, but medical papers are probably not there.
Ah, okay.
@Calvin'sHobbies there should be a tool for this
I'm gonna make it
1:10 AM
@Calvin'sHobbies Julia: split("A -> B", " -> ")
Would this be good for a challenge?
@JAtkin Are you willing to test the speed of all submissions yourself on a central computer?
Wow my java online course actually has some blatantly wrong information. It's not confusing anymore, its just blatantly wrong
@Calvin'sHobbies Jolf: Gi" -> ; Jolf: G(rho)i"(.+)\s+|\s+(.+)\s?'$1,$2',". Definitely the former.
Depends on how much stuff I would need to install...
1:12 AM
@Maltysen A tool? For making test suites parsing this is pretty language specific
@Calvin'sHobbies no an online tool that parses various input formats for test cases
and it should auto-detect the most common
@JAtkin Just, when you have you need to test them on the the same computer for fairness, and that usually means your computer
You'd have to install whatever language they use, explicitly restricting in the spec to languages available for your system.
@Calvin'sHobbies We should appoint one person to check all programs for . Nominations?
1:15 AM
I understand that, but the thing is I don't know (or really want to know for that matter) how to use most of the languages on this site...
Like how to run the code?
Or how to write code in that language?
@JAtkin Then is probably not a good choice
Yeah, it's not obvious for a lot of languages. Come to think of it, I don't even have Pyth installed locally on my computer; I just use the online environment whenever I want to write something.
1:17 AM
I was thinking of c++
or c
or R
For R, save it in a file with the extension .R and run from the command line with Rscript.
For C/C++, compile with gcc or similar, then run the executable from the command line.
For (character), save it with the extension .(character) and run it from the cmd line with (character)script
^ Always works
If you're going to do a fastest code challenge, you can just specify that answers need to include instructions for how to run them locally.
That seems entirely reasonable.
1:20 AM
@Dennis Great! Thank you for all!
Now I'm really off to sleep...
@CᴏɴᴏʀO'Bʀɪᴇɴ wasn't the KOTH server gonna do that?
@Maltysen Eventually, yes.
Do we have a challenge to get data from a table?
mini-challenge Create a program whose source code is a valid English word. .
1:21 AM
(a,z) = 8
hmmm can be interesting.
Can tokens be longer than a char? ^^
@CᴏɴᴏʀO'Bʀɪᴇɴ I think issacg wrote a program to find Pyth programs that are english words before
@Maltysen Huh! Well, a shame he isn't here right now. :P
@CᴏɴᴏʀO'Bʀɪᴇɴ That's what I'm thinking.
@CᴏɴᴏʀO'Bʀɪᴇɴ In TI-BASIC, they are.
1:23 AM
@JAtkin More interesting!
@El'endiaStarman XD referring to @JAtkin's challenge proposal.
Yeah, just got back to this chatroom and haven't yet read the transcript... :P
b  |5|6 |
\o/ that's how I do it :P
(zy,atb) = 85
@Dennis it would be awesome if your site had an execution timer
1:25 AM
what if one of the #'s was 892
@JAtkin I actually think there's lots of potential in fastest-code, your challenge and many others could suit it well. The problem is that no one wants to run all the code :/
would it be |zy |?
     |a| a|
|    |3|  |
|asdf|3| 0|
@Calvin'sHobbies that is by far the biggest reason I don't do multi-language KoTHs
that and execution time
1:26 AM
@NathanMerrill why would anyone want to use anything other than Python? :P
I can do JVM, but thats it...
@Maltysen oh, I don't use python either. its too slow for most of my KoTHs
Hmm. What if only there a was a rasberry-pi specific fastest-code? Only languages that come with a standard out-of-the-box pi are allowed (python, wolfram, go I think, I forget what else).
1:28 AM
JavaScript? :D
Testing could even be automated, and long-running or malicious code would not be such a big deal. And anyone with the same pi could test it (though the OP as main scorekeeper is still probably best).
@CᴏɴᴏʀO'Bʀɪᴇɴ Pyth: robbed. Prints a list of some unprintable characters.
I wonder if ideone has published anything on how they dealt with security issues.
@Calvin'sHobbies why couldn't we install other interpreters?
Q: How is a public scriptable site like codepad or ideone manages it's sandboxing?

alfa64I've researched this stuff a lot in the recent months but i can't grasp any solid basis on how they achieve runing unsafe scripts in so many languages without a problem! I'm sure they are running virtual machines since language specific sandboxes won't cut it, but what about white listing every l...

1:31 AM
@NathanMerrill I suppose, it just might be a hassle if dozens of different languages answer
@NathanMerrill Wow, that's a lot of work.
I did one of my university projects based around sandboxing python for scripting in a game
it was a tower defense game where you code the towers
but in reality, it was really just using exec because python is good like that
No, killed by killer bees + queen while hallucinating everything was puff the magic dragon and polymorphed into a confused stalker.
1:35 AM
@Zgarb And now we've all been robbed of victory.
How about a hack-my-pi challenge? A script on my pi reads the challenge answers every 8 hours and runs them with a time limit and no privileges. The submission to consistently mess up/shut down the pi wins.
Maybe that's too easy though
Do it.
@CᴏɴᴏʀO'Bʀɪᴇɴ go
Though I think maybe we decided not to allow challenges asking for malicious code back when we got rid of code-trolling.
BF code.
@RikerW pop-con: I downvote your answer. :P
1:38 AM
I mean [code-trolling]
Goodbye for now
Sorry, how do you do tags here?
Ahh, thanks.
@SuperJedi224 bye!
1:42 AM
@Calvin'sHobbies We wouldn't support any language. But, if a language became popular enough, I don't see any reason to simply add another
A: Sandbox for Proposed Challenges

DoᴡɴɢᴏᴀᴛSupposed to be an easier challenge, but it's not that trivial How many decimal places? In this challenge, you will write a program to output how many decimal places are in the input string. Examples -12.32 2 32 0 3231.432 3 Rules Input will be a string which can be taken through, STDI...

@CᴏɴᴏʀO'Bʀɪᴇɴ Aww..
Does anyone have a good flood fill algorithm? My head hurts and I literally can hardly think
(On text.)
@Calvin'sHobbies give 1 point each time a user cracks your pi, user with most points wins. That way we have a good sandbox for fastest-code :)
1:50 AM
wait wasn't that a challenge?
yeah it was
1:51 AM
Q: Language Design: 2-D Pattern Matching

PhiNotPiThis is Fortnightly Challenge #6. Theme: Language Design There's a chatroom for this challenge. Come and join us if you want to discuss ideas! And now for something completely different... This fortnight, we want to experiment with a new type of challenge. In this challenge, you will be de...

maybe I can steal use one
Looks like you already got stopped
A: Sandbox for Proposed Challenges

DoᴡɴɢᴏᴀᴛGenerate Programs in Increasing size In this challenge, you will write a program which outputs a program which is the double the length of the original program. The outputted program should output a new program a program double its length. Examples If my program is a: < a > aa < aa > aaaa <...

@Calvin'sHobbies I'm still probably going to make one
1:53 AM
So much loss of fuzzing determination :(
should I make a 2D pattern matching language?
I don't want to spend the time if it wont turn out good

« first day (1812 days earlier)      last day (2882 days later) »