« first day (1749 days earlier)      last day (3097 days later) » 

7:00 AM
Ah, okay.
 
What do you think?
 
I think it has good potential. Sandbox it.
 
@TanMath I know it seems unlikely, but I do sleep occasionally. ;)
 
There is this existing Sandbox post that's about significant figures, but it's not a calculator.
 
And no I didn't get around to having a look at the Python code yet, or I would have let you known.
 
7:04 AM
@MartinBüttner oh, ok.. I have already fixed it with @Sp3000 ...i will post the challenge now that it has 5 upvotes...
 
@Doorknob Weren't you offended by some hideous Ruby code the other day? Have you seen the Fishing reference interpreter? esolangs.org/wiki/Fishing#Interpreter
 
ewwwww
 
oh my god I touched it...
 
The Golfscript one is way worse.
 
I need a shower
 
7:06 AM
@MartinBüttner ...the lack of indentation hurts...
 
@El'endiaStarman as does the lack of a case statement ;)
 
HEY NOW.
 
You're an all-star
 
There's little difference between switch/case and - get your show on - if/elif/else!
 
> "optimal" use of space
That's actual C from the J source code.
 
7:13 AM
J is open source?
 
Yep. GPL3.
 
Hey all... how do I print out the n letters of the of the alphabet given the number n? in python?
 
The code I'm writing write now is kind of scary too.
 
@aditsu does that mean you're considering it? :P
 
image y u no work
 
7:15 AM
@feersum ftfy
@feersum What is this for?
 
C++ template-based esolang.
 
@TanMath You mean the first n letters?
 
This is part of the code that substitutes in a lambda function's parameters with their values.
 
It's really frightening.
 
@AlexA. yes... like if the input is three, it prints "a,b,c"
 
grc
7:19 AM
@SuperJedi224 was I online when you said this? o.O
 
import string
lambda n:','.join(string.ascii_lowercase[0:n])
@TanMath See above ^
 
@AlexA. gracias!
 
No problem :)
I gave you a weird mix of golfiness and regular code though.
It's shorter to type out the entire alphabet than it is to import string and use string.ascii_lowercase.
 
@TanMath Having trouble loading pages other than chat atm, but did you check out feersum's comments on the title/description of the challenge? (Namely that "concatenation"'s a pretty good way to word it)
 
7:37 AM
I got the code-golf badge! \o/
 
Which one?
 
Bronze, probably.
 
Oh, yeah.
Well congrats!
I'm tandalizingly close to gold code golf.
 
-.- Meh. I joined last month, gimme a break. xD
 
You're doing better than I was when I started. It took me quite a while to get the bronze badge, if I recall.
At this rate you'll probably get silver before I get gold. ;)
 
7:41 AM
\o/ Hooray!
What does score actually mean?
Because it's not points earned - I would have the gold badge if that was true.
 
Number of votes
 
@VoteToClose total votes on non CW answers
 
Ninja'd in a less specific and useful way
 
So... 1000 score should be 10000 rep?
 
@VoteToClose Could be more, actually.
It's total score.
 
7:44 AM
Ah, right, because you could have people up and down voting. Gotcha.
 
Actually, it'll almost certainly be more because the chance that you get 1000 upvotes with 0 downvotes is pretty much nil.
 
And it's answer votes only
If you make a code golf challenge, votes on that don't affect your score in terms of the badge.
 
Unless you answer it.
 
Right, I mean votes on the question itself.
 
Well, the question still doesn't contribute.
 
7:45 AM
¯\_(ツ)_/¯ I'd like votes for that too.
That's not a , more of a .
 
Anonymous
always has my support
 
It doesn't make sense if you think about it in terms of the typically Stack Exchange site framework. For example, if you asked a bunch of questions like "how do i use c code pls" on Stack Overflow, you shouldn't get a C badge.
 
Anonymous
@feersum -1 not enough template metaprogramming
 
@Doorknob Still not as many stars as "I'm an idiot". :D
 
Anonymous
7:50 AM
@AlexA. Yeah we're pretty not normal. Our mods are a bird, a doorknob, a cartoon character, a German guy wearing a scarf and a trench coat, and practically-Jimmy-Hoffa.
7
 
If @Calvin'sHobbies gets elected (and @Dennis too), we'd have two cartoon characters as mods!
 
Anonymous
...@Dennis is a mod
 
> elected
 
Calvin didn't want to be a mod despite my pestering.
 
Anonymous
We'd have to graduate first
 
7:53 AM
If Dennis gets elected? Oh please. He'll certainly get elected.
 
Anonymous
How many mods would be elected at graduation?
 
Who knows.
 
Probably 3.
That's the usual.
BUT, you guys currently have 4 active mods, so...
 
How many pro tems did Christianity have before it graduated?
We have 5 pro tems here now.
 
4. The same 4 were elected.
 
7:55 AM
> How many mods would it take to get to the center of a Tootsie Pop?
 
Anonymous
I'd imagine they might go for 4, considering this is a site that needs heavy moderation most of the time
 
We actually started out with 5 pro-tems, but one stepped down due to time constraints arising from real-life changes.
 
Anonymous
And almost surely elect the 4 active mods
 
@Mego This site needs nowhere near as much moderation as (I've heard) others do.
 
When C.SE elected all four of its pro-tems, that was the first time any site had elected all of its pro-tems.
I don't know if it's happened since.
 
Anonymous
7:56 AM
@AlexA. I'm sure Christianity, Judaism, and the other religious SE sites need plenty of moderation
 
Anonymous
As well as Mothership Overflow
 
Idk, ask El'endia :P
 
Anonymous
But we do get a metric ton of off-topic posts, which to me signifies that we'd need more moderators than usual
 
7:57 AM
@Mego: Christianity gets a lot of off-topic questions and answers, in fact.
 
If it's metric, it should be 'tonne', not 'ton'. c;
 
Anonymous
@VoteToClose No, it's the metric ton. Not the metric tonne or imperial ton.
 
We don't use the metric system.
 
Anonymous
 
7:58 AM
0
A: Sandbox for Proposed Challenges

MegoGamma Function Given a real number x as input, output Γ(x), also known as the Gamma function, which is defined as follows: You may not use a built-in Gamma function to solve this task. Your output should be accurate to 5 digits behind the decimal point when rounded to 5 decimal places (in oth...

 
...all caps didn't work in the tag. :(
 
@NewSandboxedPosts Can't use a built-in? DANGIT.
 
I need help. I have challenge named Compile Regexes that is still in the Sandbox, but downvoted. Please tell me where it unclear at.
 
Anonymous
7:59 AM
 
Anonymous
@El'endiaStarman No Mathematica for you!
 
n0$MN. <- uses built-in for gamma.
 
@ChristianIrwan Link?
 
Anonymous
 
@VoteToClose How to add link to the answer?
 
8:00 AM
3F <--- built in for gamma/factorial (depending on float/integer status)
v
 
Anonymous
@ChristianIrwan Click share on the sandbox post, copy the link, paste it here
 
Anonymous
@VoteToClose I should probably unify my gamma/factorial operators
 
@VoteToClose here.
 
@Mego I have them separate, in fact.
0M is factorial and 0$M is gamma.
The reason? Γ(n) = (n-1)!.
So if I wanted to use one or the other, I would have to remember to add/subtract 1 appropriately.
 
Anonymous
@El'endiaStarman By "unify" I mean keep the regular Γ operator, but allow ! to work on floats too, pushing Γ(a+1)
 
8:03 AM
Ahh, okay, I see.
 
Anonymous
Though I guess it still isn't a good idea
 
Anonymous
Meh. Separate they stay
 
Anonymous
@ChristianIrwan As Peter mentioned, it's not very clear what you intend in the challenge.
 
@AlexA. Had it backwards in my head. Fixed. Thanks.
 
;)
 
Anonymous
8:05 AM
Don't worry, I'm absolutely horrible at remembering math stuff too. Like what even is 2+2?
 
@AlexA.: Is this worth keeping?
@Mego 22, duh.
 
Anonymous
@El'endiaStarman agreed
 
Anonymous
Well, [2,2]
 
Anonymous
@El'endiaStarman kill it with fire, like the filthy tabs
 
Ah-hahaha...
 
8:06 AM
x=[2 2] ∑x = 22
 
@Mego Oooh, I like how you have your explanation set up. Clever!
 
@El'endiaStarman No, but the general policy (AFAIK) with the sandbox is not to delete others' posts because they may return to it at some point.
 
Anonymous
@El'endiaStarman Seriously?
 
Seriously!
 
Anonymous
I've decided to embrace the puns, rather than fight them
 
8:09 AM
Woah, seriously!?
(I'll bet you saw that coming.)
 
I need help to make it clear. I have bad English. The idea is you produce code snippet to each regex character. To compile language, you replace each character with the code snippet. There is no prefix and affix added to resulting string and all same character compiles to same code snippet. The resulting string is valid program.
 
@Mego: By the way, instead of having the "Generate CP347" button, mightn't it make more sense to just have an array of characters that you can copy-paste from?
 
Anonymous
@El'endiaStarman Maybe. I've considered adding a CP437 "keyboard"
 
Anonymous
With tooltips of the explanations
 
Where you click the "keys" and it inserts the character for you?
 
Anonymous
8:12 AM
Yep
 
That'd be pretty sweet.
 
@ChristianIrwan What is the resulting program supposed to do?
 
Anonymous
I'd have that replace the generate button
 
Ohh, take a string and output truthy if it match entire string, else, false.
 
There is no other surrounding code? So every character's translation has to try to read stdin if it is the first one?
 
8:16 AM
Hello, everyone!
 
Anonymous
stop starring Doorknob's pinned post, we're in danger of it surpassing quartata's famous message
 
0
A: Sandbox for Proposed Challenges

wastlNondeterministic Turing Machine Introduction We all know the concept of Turing machines, if not let's reiterate the concept. We have the following things that define a Turing machine: A tape that is divided into cells and is (potentially) infinite to the right. A read/write head that moves al...

 
@Mego Oh gasp, a useful message from a moderator might surpass someone calling themselves an idiot.
 
@Mego Where is quartata's "famous" message?
 
Anonymous
Oct 29 at 2:17, by quartata
I'm an idiot
 
Anonymous
8:18 AM
@AlexA. I know, it's terrible
 
Anonymous
user image
3
 
Manatees are cute.
 
@ChristianIrwan I don't think your English is the problem here. I recommend explaining what the letters in your example mean. It feels like a step in the explanation is missing.
 
I haven't starred Doorknob's pinned message. ... Yet...
 
@trichoplax I have explain the meaning of letter here. Tell me if it unclear.
 
8:30 AM
@El'endiaStarman Why am i getting elected now?
 
Anonymous
@ChristianIrwan I don't see a revision since the last one, 20 hours ago...
 
@ChristianIrwan I can see the definitions: *:AB and so on, but it isn't clear to me whether those can be chosen arbitrarily by the answerer, or are a fixed part of the question.
 
Anonymous
@ChristianIrwan So basically, you encode the meaning of the symbols in strings, take an encoded regex string and another string, and determine if it matches?
 
Why it gets deleted?
 
Anonymous
I don't see it being deleted
 
8:33 AM
No, only *()+01
 
Anonymous
Ok, let's start with @trichoplax's question: Do we have to use the encoding you provided, or are we allowed to come up with our own encoding?
 
@Calvin'sHobbies I just figured you'd be a popular candidate, but then Alex corrected me, saying that you expressed a desire not to be a mod.
 
I think I understand it. The idea is to come up with your own text substitution for each of the characters.
 
@Mego I has say you can only use my encoding of regex.
 
The obvious scoring method would be sum of lengths of code snippets.
 
Anonymous
8:36 AM
@ChristianIrwan Ok, so you would take two strings as input, and output a truthy value if, when decoded, the first string matches the second string?
 
Yes, however for regex, some character is used more frequently than other.
Just one. The regex is used to form program.
 
Anonymous
@ChristianIrwan Why would that matter?
 
So in that case I understand the challenge to be "Search and replace each of a list of characters with a set of 2 character replacements"
 
No, you can use longer replacement
 
If I understand correctly, you come up with a list of strings corresponding to each of 01|()*. When a regex is "compiled" by replacing each of its characters with the corresponding string, it forms a program that reads a string from stdin and determines whether the string matches the regex it was compiled from.
 
8:38 AM
I'm going to throw out some example inputs so we can get some context.
 
Yes!!!
 
Anonymous
@feersum Ooh, that's actually really interesting
 
I'm still lost :)
 
Okay, but wait for 2 hour. I have to go to my school now for extraculiculary programme.
 
If you can't have any code at the beginning or end, you should at least guarantee that the regex is nonempty...
 
8:40 AM
Input: `*`
Output `AB`
 
@trichoplax Input: `poop`
Output: `tasty`
 
Anonymous
@trichoplax You are given a regex as input. When you "compile" it by replacing each of 01|()* with a certain string for each, you get a program in your chosen language that reads a string from STDIN and outputs a truthy/falsey value according to whether or not the string matched the regex the program was formed from.
 
Anonymous
Let's say I only want to match (1)*
 
So you can choose your own letter combinations to represent each symbol? That was what was confusing me
 
Maybe it would help to change them to things that look more like random code.
like ) -> ++foo; or something.
 
8:43 AM
I think it just needs 2 examples to make it clear that the same substitutions don't need to be used by every answer
 
Anonymous
I would want my (Python) program to look like import re;print 1 if re.matches('(1)*',input())else 0
 
Anonymous
So I could use the substitutions ( -> import re;, 1 -> print 1 if re.matches(, ) -> '(1)*',input(), * -> )else 0
 
Now I need to understand whether a given answer has to choose a single set of substitution rules, or can the substitution rules depend on the input?
 
Anonymous
I'm assuming an answer needs a single set of substitution rules
 
-1
Q: Find the Nth Number that is only divisible by 1,2,3,5, and/or 7.

txizzlefirst post here! I recently participated in a small friendly competition and this was one of the questions: === A number whose only prime factors are 2, 3, 5 or 7 is called a humble number. The first 20 humble numbers are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 24, 25, 27, ....

 
8:47 AM
@Mego I'm trying to avoid assumption - I'll post a comment asking for clarification since that would make a big difference to the nature of the challenge...
 
9:06 AM
I vote to undelete
I've made it fit the PPCG format. I realize the author meant to post it at CodeReview but will they really complain if it becomes a popular challenge here>
 
It still has the thing about "I'd like to see solutions O(N)"
 
What is the "O(N)"?
 
@feersum "I'm interested in seeing solutions that run in O(N) but this is not a requirement."? Pretty tame request I'd say
In mathematics, big O notation describes the limiting behavior of a function when the argument tends towards a particular value or infinity, usually in terms of simpler functions. It is a member of a larger family of notations that is called Landau notation, Bachmann–Landau notation (after Edmund Landau and Paul Bachmann), or asymptotic notation. In computer science, big O notation is used to classify algorithms by how they respond (e.g., in their processing time or working space requirements) to changes in input size. In analytic number theory, it is used to estimate the "error committed" while...
 
@Calvin'sHobbies As long as we're rewriting it to suit ourselves, that doesn't belong in a code golf task.
 
Woohoo "Good Question" badge! :D \o/
 
9:12 AM
It should strictly require O(N) or not mention it at all.
 
@El'endiaStarman Nice work :)
 
I just cast an undelete vote. Normally I'd shy away from reversing a user's actions, but I think this is an appropriate situation. It is a fairly good challenge, and it would be good to have that user participate.
@trichoplax Thanks. :)
 
Anonymous
@Calvin'sHobbies If they do, all the more reason to undelete it
 
Undeleted
Upvoted
 
Stack Exchange sites won't load for me! D:
I'll reverse my downvote to an upvote as soon as I can...
 
9:20 AM
@El'endiaStarman There's nothing announced on StackStatus...
I seem to be able to access SE as usual with no problems here
 
It's back! ... Sorta.
Aww, 504 error again. :(
502 error now. o.O
...I'm gonna go work on Minkolang for a little bit. Hopefully it's resolved when I get back.
 
Anonymous
SE is down for me too
 
Any who.
It's not down for me.
 
Anonymous
Maybe a regional issue?
 
Anonymous
One of their servers went down?
 
9:26 AM
¯\_(ツ)_/¯ Not the English one.
Just try trcrouting to it.
See where it stops pinging.
 
It's half working.
 
> half working ?
 
I'll just wait for congestion or whatever to clear up.
Like sometimes it connects, sometimes it doesn't, sometimes it does but the CSS and JS don't load, that kind of thing.
 
I'm having issues too, though no mention on twitter.com/stackstatus
 
Anonymous
 
9:29 AM
[meta-tag] that one.
:D
 
@Mego ಠ_ಠ
 
Anonymous
Looks like it might be cloudflare crapping out
 
Perhaps.
 
Anonymous
Just got a 522 from cloudflare
 
plz anyone can fix? error: no type named 'value' in 'struct SubArgs<lt<Int<1ll>, Arg<2ull, 0ull> >, 0ull, TypePack<Fun<If<lt<Arg<1ull, 0ull>, Arg<2ull, 0ull> >, Arg<2ull, 0ull>, Arg<1ull, 0ull> > >, Int<1ll>, Int<0ll> > >
 
9:34 AM
What language?
 
C++
 
/me throws the hammer of necessity to someone else.
Idk man.
 
Anonymous
dodges hammer
 
Idk C++, /me only knows Java
 
Templates are way more esoteric than something like brainfuck.
 
Anonymous
9:35 AM
I know C++, but for nonsense like template metaprogramming I need the whole source
 
Anonymous
 
I need to make Vitsy self-modifying. >.>
 
/me knows almost no C++
 
I mean, it would be super simple.
 
Woo another member of the self-modification club!
....
 
9:38 AM
famous last words
 
Vitsy = VoteToClosy
 
It makes sense in context, I SWEAR!
 
Why? It's useless, unless you want to cheat on a quine challenge or something.
 
Restricted source.
 
Anonymous
Good news everyone, the starboard still works. No need to panic just yet.
 
Anonymous
9:40 AM
I should subtly change Q in Seriously from "print source code if stack is empty" to "push source code if stack is empty"
 
Anonymous
Q would still be a one-byte quine, but then I could do all sorts of nasty stuff with reflection and self-modification
 
Anonymous
Done. I regret nothing.
 
stars it for the poops and snickers of having that on the starboard
 
Anonymous
No signs of life from SE yet
 
Anonymous
Time for sleep
 
9:47 AM
@ΚριτικσιΛίθος Or, rather ViT-C. :P
Which is actually what it is named for.
 
Anonymous
falls asleep
 
Night! :P
 
The sock has returned... ಠ_ಠ
 
Good morning :P
 
9:49 AM
Morning.
 
I am controlling the very fabric of space-time
 
See: Minkolang.
How on earth did that get 4 stars?
 
@VoteToClose :D
Speaking of which, ternary is hard to do in a 2D language.
 
9:52 AM
Magic.
 
This is the moment where you put in a link to the interpreter an language explanation page. :D
 
@VoteToClose Lemme get it working first. :P
I've already got comments implemented. That was easy.
 
Just put a end execution symbol somewhere. Easy peasy end execution.
 
The hard part is selectively commenting one of two stretches of code based on the top of stack at the first t.
 
ALERT: Doorknob's message has surpassed "I'm an idiot"! We're doomed! DOOMED!
 
9:54 AM
@VoteToClose No it hasn't.
Quartata's message is at 22 stars.
 
Oh.
>.> I knew that.
 
When Doorknob's message hits 23, then you may say it has surpassed Quartata's. :P
 
23 stars on quartata's, now.
Also - they're tied at 23.
(look at the starred page)
15.7 stars have been cast. O.o
 
Eh? Doorknob's only has 22.
 
@Calvin'sHobbies I'm sorry, but I'm extra small :P
 
9:59 AM
o-o It was 23, I swear.
That pronoun is not allowed to change. o-o
 
Yay! Carrot version ^7 has been released! github.com/kritixilithos/Carrot
 
@ΚριτικσιΛίθος Why don't you make your language interpreter into a script (.py, .java, .sh, etc) so that it can be run from the command line?
 
@Sock It is hard to convert .js to anything else.
 
@VoteToClose: Ternary!
 
Carrot ^7... XD
@El'endiaStarman \o/
@ΚριτικσιΛίθος It would be fairly easy to turn it to Vitsy.
 
10:08 AM
@VoteToClose Does Vitsy have support for regex?
 
Oh. Then never mind.
I can look into making a Java app for it.
(custom terminal)
 
Do you mean convert JS to Vitsy or Carrot to Vitsy?
 
Carrot to Java (custom terminal)
 
So a Java interpreter for Carrot, hmmm... Well, Carrot was originally made using Java, but I later converted it to JS so that there is an online interpreter for it. And the Java interpreter was abandoned in its early stages.
 
I don't do JS, but I'll give it a shot. :D
 
10:12 AM
Thx. In Carrot's later stages, I plan on bringing Carrot to the command line anyways.
@VoteToClose Have you yet created an online interpreter for Vitsy?
 
Ahhellnaw.
 
I think it will be easy to convert Java to JS.
Well, I'm off to Minecraft, bye!
 
@ΚριτικσιΛίθος Don't forget to do some golfing while you're at it!
 
11:00 AM
fatal error: template instantiation depth exceeds maximum of 900 (use -ftemplate-depth= to increase the maximum)
This will probably happen in almost every program you try to run in my C++ template language.
Or you can increase the depth and have the compiler blow its stack.
 
11:17 AM
I'm back, tell me what was I lost.
Sorry that I don't respond at all. I have said that I go out.
 
11:58 AM
Seriously has a star abusing function too ?
 
star.abuse();
 
@VoteToClose Are you kidding me? It's 1 byte, not 13. õ is the star spam operator.
 
Ah - forgot about that one. In Minkolang, it's $*.
 
Well, Is this post good enough?
 
12:14 PM
It has 3 down votes... I'm not sure about that. You should consider leaving it in the Sandbox for a few more days, at least.
 
@ChristianIrwan I think it looks OK.
@ChristianIrwan I suggest to make the example code snippets more random looking so no one will be fixated on the pattern AB, BC, etc.
 
it happened
 
congrats!
 
oh, I thought you were referring to something in real life, like you proposed or something -_-
 
12:18 PM
@MartinBüttner \o/
 
@grc Yeah, you were.
 
@Optimizer things don't simply happen in real life
 
grc
@SuperJedi224 that's creepy
pretty sure I was in bed then
 
he was there too!
beneath it!
 
grc
D:
 
12:22 PM
@MartinBüttner I refuse to accept that this is Ruby code. :P
 
grc
if your computer is woken up but the password isn't entered, would it load up the chat in the background?
 
@grc uhh it depends on how your password-thingy works
 
grc
os x
 
For me it does, because apparently while i3lock is open, things still run in the background
 
@grc Yes.
You can still get desktop notifications from the chat when the password isn't entered, so yes.
 
grc
12:25 PM
ah okay
 
12:44 PM
@Doorknob that pinned message is just feeding the trolls
(apart from being the highest starred message, iirc)
 
@Optimizer what it does is take one star from every troll's quota ;)
 
@MartinBüttner wait for US people to wake up ;)
 
Canada has been awake and at work for an hour now... it sucks.
(generalized Canada)
 
That explains those 3-4 random single stars ;P
 

« first day (1749 days earlier)      last day (3097 days later) »