« first day (2000 days earlier)      last day (2860 days later) » 

9:00 PM
@NathanMerrill Can I post 2 solutions?
 
@Ronronner just edit your old one :)
 
I mean, 1 solution in Go and 1 in JS
 
oh, absolutely
there's probably already one in JS, so after you write it, make sure its not identical to yours
 
yes I know
 
Is there any way I can answer a protected question with 1 (101) rep? I have an answer for codegolf.stackexchange.com/questions/85994 but it was locked 40 minutes ago to users with <10 rep.
 
9:02 PM
 
@NathanMerrill no I just can't read
 
@Dennis Thanks for adding a byte counter to Sesos debugger output. :)
 
@Yay295 no. You need 10 rep on-site.
You can probably answer another question first though?
 
a=[0,1,2,3,4,5,6,7,8,9,10]; for(a[0];a[0]<a.length;a[0]++){alert(a[a[0]]);}
Do you like this solution?
 
9:08 PM
*solution
 
Sorry
 
Sure. Maybe if a spend another hour or two looking at another question I'll be able to answer it with something acceptable, and then maybe by tomorrow someone will have upvoted it and I'll have enough rep to answer the question I have an answer for now. Sounds perfectly reasonable.
 
@Yay295 I unprotected the challenge. Welcome to the site! :)
 
I think the only reason that question is protected was due to 2 spam answers, right? I think protection is more meant for when stuff "goes viral."
 
Thanks Martin. :) I've actually been here for over a while, I've just never gotten to a question quick enough to answer before.
 
9:13 PM
Well it looks like the deletion of the Lua answer triggered it, but the spam likely accelerated it.
 
*over a year
 
@Dennis I don't see a way to save more bytes there. I copied the shortest known negation algorithm from the BF algorithms page, and I shortened it still, using , instead of [-].
 
a
wait
 
Since when does , do the same thing as [-]?
 
@PhiNotPi it does at EOF
 
9:14 PM
@PhiNotPi When input is at EOF
 
(depending on the interpreter)
 
who else is trying to get rep from the SO doc beta?
lovely rep
 
@PhiNotPi But it's really Sesos I'm writing in, not BF. So it's actually get instead of jmp \n sub 1 \n jnz
 
So many good questions go by while I'm still trying to write an interpreter for a code golfing language... I really need to speed up working on that
 
Okay
 
9:16 PM
Would one say that there are two 0-input truth tables? i.e. one for True, one for False
 
@mbomb007 The TIO interpreter does that, but you can't really see the output. I'll print a hexdump to STDERR that can be viewed with the Debug flag.
 
@Dennis Thanks.
 
@mbomb007 You don't have to negate it. There's a better way.
 
0
A: Print Numbers from 1 to 10

RonronnerJS, 75 Bytes a=[0,1,2,3,4,5,6,7,8,9,10]; for(a[0];a[0]<a.length;a[0]++){alert(a[a[0]]);}

I posted my js solution too
Anyone can help me to understand a challenge?
@Dennis @NathanMerrill
 
@Dennis, as someone who doesn't know the Jelly functions I don't understand what dictionary.py is there for or why it's organized like it is
 
9:20 PM
@Ronronner Why don't you just do a for loop from 1 to 10?
 
Can you explain that to me?
 
@mbomb007 I don't know how to did it with my way
 
@StevenH. Go to The Jelly Chatroom for that.
 
There's a Jelly chatroom?
 
is no one enjoying the delicious rep on SO docs or is it just me?
yep
 
9:22 PM
Learn something new every day I guess
 
@StevenH. It's like Jelly World from Neopets in there.
 
I see
 
@Dennis Using nop or jne? I can't think of something shorter.
 
I'm just one more upvote from rep capping again. :)
 
@DrGreenEggsandIronMan What's the cap? I don't think I've ever hit it.
 
9:25 PM
@mbomb007 Nope, it would work in BF as well.
 
@mbomb007 200 per day (but only on upvotes).
Accepts and bounties are exempt.
 
I always feel super powerful when I get the Necromancer badge. It feels so good to raise the dead!
@Dennis Does a negative count as falsey?
@LegionMammal978 Where's your avatar?
 
it's a white square
 
@EᴀsᴛᴇʀʟʏIʀᴋ Your mom's a white square.
 
9:36 PM
@mbomb007 No, since the only conditional is jnz. You could crash the interpreter though.
 
she is that
but @LegionMammal978 is both a white square and not my mom.
 
I am trying to run this answer to my challenge paste.ubuntu.com/20365301
I do gcc -mcmodel=medium -std=c99 -O2 Anders.c -o Anders
./Anders
Killed
 
@mbomb007 We are all; yet we appear as none.
 
@Dennis How so? I've successfully printed negatives.
 
what dumb thing am I doing please :)
 
9:36 PM
in Esoteric Programming Languages, 24 mins ago, by Dennis
def put(_):
	global code_head
	if numeric_output:
		print(data[data_head])
	else:
		if mask > 0:
			stdout.buffer.write(bytes([data[data_head]]))
		else:
			try:
				char = chr(data[data_head])
			except:
				exit('Invalid code point (%d) for encoding %s.'	% (data[data_head], getlocale()[1]))
			print(char, end = '')
	code_head += 1
 
@mbomb007 Haha, totally disregard that message, definitely slipped up in my writing somehow
 
@Dennis I use set numout, so there's no problem...
 
But you don't have to.
 
any help hugely appreciated.. please! :)
 
@Dennis Idk. Tell me after the bounty period is over if I can't find it.
I'm kind of tired of f***ing my brain all day.
One does not simply spend all day programming in BF.
 
9:44 PM
@Lembik I'd ask the author
 
@LegionMammal978 I used to do something similar for a wikia site. I was ranked 4th overall for reputation. The site's useless now, though, since the Clash of the Dragons CCG game was "retired" or shut down by the creators.
They had power creep, and tried to fix it by making cards of older sets "legacy" and not usable for many things. Many players hated that.
 
I can get some code to run in Chrome's console fine, but it's not running in the Code Snippet thing. Anyone know what's wrong?
 
Hello
Can I ask a feedback?
 
f=s=>(s=s.match`^a(.*)b$`[1])?f(s):1

["ab", "aabb", "", "a", "abb", "abc", "abab", "abba"].map(s => {
try {console.log("f(\"" + s + "\") returned " + f(s));}
catch(e) {console.log("f(\"" + s + "\") did not return.");}
});
 
@mbomb007 (Almost zero CCG experience, but how does making older cards unusable fix the power creep?)
 
@mbomb007 I've added the hexdump output to the bf interpreter, but it doesn't seem to work on TIO (wrapping tape).
 
@Lynn thanks
 
@Ronronner You're not supposed to print truthy or falsy, but a truthy or falsy value. In C, you could print 1 or 0, for example.
 
@Dennis My question is wrong so?
 
@Yay295 I think it works for me
Your snippet, I mean!
 
9:52 PM
It's working in the snippet box? I'm not getting anything in the output.
 
 
@Ronronner Also, you have to receive input somehow. It's not allowed to hardcode it.
 
@Dennis Do you mean for examples in input I put 6 and 2, It does 6 / 2 etc.?
 
Yes. The user has to be able to enter them when the programming is running. You could also post a function that takes two arguments instead of writing a full program.
 
@Dennis Must I write a short code too?
@Dennis I've finished
#include<stdio.h>
main(){int a,b; scanf("%d", &a); scanf("%d", &b);if(a%b==0){printf("1");} else{ printf("0");}}
Is it right now?
 
10:03 PM
@Ronronner Yes, that looks correct. There are quite a few savings to be made though. For example, you could print The result of a%b==0 directly, without a conditional, and scanf can read two integers with a single call. Also, at least GCC doesn't require the include.
 
@Dennis Can I use scanf("%d", &a, &b);?
#include<stdio.h>
main(){int a,b;scanf("%d",&a, &b);a%b==0}
 
Don't forget the printf part
 
printf("%d", a%b==0); Do you mean this?
 
remove spaces
 
@Ronronner No, you need to double the format specifier. scanf("%d%d",&a,&b);
 
11:09 PM
0
A: Sandbox for Proposed Challenges

TLWReverse stdin to stdout, Unicode aware and by grapheme clusters It's 2016. High time that we were Unicode-aware, don't you think? Given a UTF-8 string on stdin, reverse it by extended grapheme clusters (as defined by the Unicode consortium) and place it on stdout. This is seemingly a trivial ch...

 
Echoooo...
Do we have a tag like that just indicated outputting code? Not necessarily golfed
@DestructibleWatermelon If it helps, any logic function can definitely be made in Stackylogic. See my latest question codegolf.stackexchange.com/questions/86221/…
 
@HelkaHomba ?
 
Yes! thanks
 
11:32 PM
2
Q: Given a truth table, output a Stackylogic program that satisfies it

Helka HombaStackylogic is a programming language I made up in a previous challenge: Run Stackylogic. Read that post for full details and examples, but here is how it works paraphrased: Stackylogic takes 0's and 1's for input and outputs a single 0 or 1 upon completion. A program consists of lines...

 
@NewMainPosts that looks awesome :D
 
Huh. Stack Docs finally came out.
@Downgoat @Quill is there a synchronous way to wait N seconds in javascript?
 
setTimeout
 
that isn't synchronous
ah nevermidn I'll just work around it
 

« first day (2000 days earlier)      last day (2860 days later) »