« first day (2394 days earlier)      last day (2745 days later) » 

00:00
when he was born, it was made to commemorate his birth
>:U that means he was born before it was made, which means he wasn't born there
>:U also i really like this emoticon
00:17
54
Q: Quack the Angry Duck

Alex A.No one is quite certain what the emoticon >:U is intended to represent, but many scholars believe it looks like an angry duck. Let's assume that's the case. Task Given an integer n between 0 and 3 inclusive, print or return quack if n = 0, >:U if n = 1, U U > : U U > U U >...

>:U i am not - quack - a duck
00:44
@totallyhuman you are quacker? :O
@ETHproductions thanks!
np :-) I'm always worried that someone will get mad that I'm waking up an old post, but I've never actually experienced anyone do that
it's like christmas morning for the newer folks I'm sure
"oh look a new challenge I can solve in 15 bytes of jelly!"
Not this one though, haha
also I just realized I'm within 6 bytes of matl
00:51
O_o what
> MATL, 283 182 bytes
> JavaScript ES6, 232 223 203 188 bytes
Also there's a JS answer a good 20 bytes shorter than yours
yea
but he like actually thought when he was making his solution lol
O_o so JS shorter than MATL?
I think MATL was in its infancy at the time, to be fair
00:53
yea
I remember when I had more rep than luis
Japt was within 11 bytes of the winning answer by Dennis, so that's cool
@ConorO'Brien haha, yeah. Now he's 4th on the site, how crazy is that
^
I also remember when Jelly wasn't a thing, how crazy is that
Times sure have changed
I remember when I answered that one question in Japt before writing the interpreter
I remember when I answered with a hypothetical interpreter >.>
One thing I don't remember is when code-trolling was a thing
00:57
I don't think I was around then
Yeah, I only joined mid-2015, and I think Dec '13 through ??? '14 was the time of the trolls
oh my goodness gracious I've almost been here for three years???
Wow
I joined when I was just getting into programming, and here I am about to start college for a CS degree...
hah, 3 years ago, i wasn't allowed on here
Question: what are some popular languages that use func
01:04
kotlin
wait no
go
ye kotlin uses fun
@ConorO'Brien Any plans for Tir yet?
Kotlin isn't popular. It's a great language, for sure, but not many people use it.
go uses func
@Pavel oh it's getting real popular
@ETHproductions oh yes indeed. it even has a slogan: fine, I give up, I'll make a gosh-darn golfing language
Ha. I mean for starters, is it going to be stack-based, prefix, tacit, etc.
01:06
oh
@totallyhuman there's a difference between popular and rapidly growing in popularity.
Kotlin is a bit too recent.
I was actually thinking some sort of multifix
Although the real solution is to use C#
...why do your solutions always involve C#
01:13
@ConorO'Brien what about jolf
what about rotor
Also I think there's a lot of potential in a tape based language
I had some notes on that somewhere
yeah, someone should make a tape-based golfing language
@ConorO'Brien literally made for a cnr
aw hell now I have to make a spiritual successor to simplex
this should be fun
01:15
make it two-dimensional and use a grid
@ETHproductions @ASCII-only me and someone else whose name I can't remember were like 2 years ago
actually, i like that idea
@totallyhuman that's how simplex worked
@ConorO'Brien Not just pure tape based though, I had some ideas for meta operators that affected the tape head
01:15
...dammit leave something for me to make ;-;
Like when pulling multiple operands changing the direction it pulls
If you're at 1 do you do 1+2 or 0+1
There were a bunch of other things but I really can't remember
writing an explanation for a solution in a grid-based language would be a PITA though
I had it on paper and I've moved recently so it's probably gone
01:30
Is there a sane way in tikz to make basic diagram like the aboev
right now I'm manually creating and positioning nodes with xshift and \draws which is really ugly
but since such a basic task I'd think there'd be straightforward way
do an arrow then draw the box around b and c
there are more than one arrow?
the arrows then
if you do that all the stuff overlap
I love being arbitrarily awarded hotness points
01:41
0
Q: Lets Fold and Cut

Wheat WizardThe Fold and Cut Theorem is an interesting little theorem in mathematics. It states that any polygonal shape you want to cut out of paper can be made by folding the paper some number of times and making a single cut. Here's a paper that does a good overview of the theorem. Here's a picture fro...

Somebody give me a random number between 5 and 10 digits long
435923785
@StepHen arbitrary hotness points are about the same as participation awards
9999999999
01:43
> random
...since when did TNB become an RNG
oh sorry I'll choose a more random number
77777
@ConorO'Brien it's ok I only needed one, Conor's works :P thanks all
@WheatWizard 4
@StepHen 1971298, 83575681, 7125708590, 674728071, 3203619268, 18113, 748101367, 801062526, 40877330, 685663536
01:44
VTC as unclear
what is "random"?
I might need to go main with this one
well considering how badly my random number from 1 to n is doing in the sandbox...
@ConorO'Brien OK, here's the program: FZaXMsoOMAF :P
To output that number
I'm writing docs and I needed a number to output to show how numbers worked
01:47
oh ok
in... what language
@totallyhuman the one I wrote yesterday
...do i have to be up to date with your dev status
pls link :P
@totallyhuman once I push my README :P
nvm i found it by looking for cquents :P
01:50
@totallyhuman :P
it's also in talk.tio
Do people not like this qusetion? Can I ask why?
@WheatWizard probably people can't wrap their minds around very flexible I/O?
I dunno, I think people like a well defined spec, but someone will answer it and then we'll realize what's going on
I find challenges like this are 100x clearer with test cases
yes I agree, it's hard to imagine it
But the answers are open ended
01:53
people don't like having to make half the spec in their answer, they like following a spec
There are amny ways to solve any polygon
well i didn't take any action on the question yet, but how are we supposed to take a polygon as input? an image? ascii-art?
Honestly we needed 10 rep for question upvotes 3 years ago
@totallyhuman any reasonable format--vertices, e.g.
@totallyhuman Those seem like pretty bad ways but you can do that. A more sensible way would be to take it as a list of vertices.
ninja'd
01:56
@WheatWizard if you walk through one test case, with one potential (even bad on purpose) way to do it, it'll help some people understand it better
ok and then how do you output folds?
@totallyhuman any way you want - series of chars, polor coords?, custom commands
probably even images
@totallyhuman Thats a bit more open ended. You could output them as pairs of lines accompanied by sides.
@totallyhuman here you go: Width please let me know if the README is understandable or not :P
oh interesting
reminds me of beatnik
01:59
Holy crap this is brilliant
@totallyhuman yep, it's also related to this question I asked a long time ago
what's so brilliant?
@totallyhuman the challenge, it's a very novel, but very simple idea
and I believe it'll be kinda difficult for golf langs
@Mr.Xcoder You can put name?? to have an optional parameter and then check if it exists and assign the default value if not
I might not keep working on Proton add much; if I get a better parser I'll also write a better internal representation of objects
anyway gtg o/
@HyperNeutrino i can help
1
Q: Diagonal Alphabet To the Input

SpookyGengarInspired by this post. The Challenge Given an input between 1-26 inclusively, print the alphabet diagonally, but begin printing vertically at the index of the given input. Examples Given the input: 16 Your program should output: a b c d e f g h i ...

02:37
@ETHproductions I beat you by one byte ;D
oh wait a comment on your post nvm
@ConorO'Brien not so fast :D
oh no we're tied lol
your approach is (unfortunately) more golfable I think
Got another byte
I think I may switch to the ES8 version at some point tho
oh, for padStart?
I get to feel ok about having a shorter entry \o/
what are we golfing? :P
02:47
CMC: Given to ints, perform decimal addition without carrying. E.G. 68, 74 => 32
@NewMainPosts this thing @Downgoat
@Dennis what presets are you using for babel TIO?
@Pavel what decimal addition are you reffering to here?
(i.e. what is decimal addition)
Well, binary addition without carrying is bitwise XOR
oh
@Pavel can you give another example?
5, 5 => 0
02:56
@Downgoat Wjat do you mean by presets?
55, 5 => 50
@Dennis like what babel plugins are you running?
@Pavel Wait so you're asking us to do binary addition but don't carry? Isn't that binary OR?
@Downgoat I don't know. How do.you check that?
@Downgoat No. Decimal addition without carry.
@Dennis 1) what is the command you are running babel. 2) is there a file named .babelrc
@Pavel and what is decimal addition?
02:58
@Downgoat Run cat /srv/wrappes/javascript-babel-node
I don't think 1.1 + 2.2 is the type of addition uyou are refer to
@Downgoat Decimal meaning base 10.
@Pavel cat: /srv/wrappes/javascript-babel-node: No such file or directory
@Pavel ook
@Downgoat tio.run/…
No babelrc.
@Downgoat Fine, ls /srv/wrappers/ | grep -i java
02:59
O_o isn't that insecure to allow see filesystem
Don't know what it's called exactly
@Downgoat No, you can't modify it.
@Pavel still it susceptible to security holes
@Downgoat ಠ_ಠ I did get it right why'd you say that.
@Downgoat No sense in hiding it. You can see the file on GitHub too.
@Pavel You wrote wrappes.
@Dennis when I change languages, it looks like code + output + etc. is still there, is that supposed to happen?
03:01
@Dennis Oh
crud.
@Downgoat I don't see how that's relevant.
@Downgoat Yes.
It's really helpful for developing polyglots and annoying otherwise.
I oftentimes switch between language versions.
question: is TIO output streamed? Or does TIO wait for all output to complete before sending to client
That too, I suppose.
@Downgoat No, all output is first gathered in a file .output.tio which is then sent to the frontend.
Although I hear this is planned to change?
in talk.tryitonline.net, Aug 12 at 0:08, by Dennis
@Pavel Sort of. I plan to use streams instead of files eventually. For now, just don't do that.
03:05
@quartata huh?
@Pavel It would still be sent at once. Output is compressed.
Ah.
I suppose interactive input isn't among the short-term plans either, then.
@Downgoat I reccommend trying cat .output.tio, rm .output.tio, etc.
It's fun finding all the different ways this causes TIO to break.
can anybody confirm that this is right? it seems obvious and it's shorter than the others...
Hmm, apparently the tokenizer for *Language<T>, although is fast on small programs, is exponentially inefficient at longer ones...
03:33
@ATaco What does the * in the language name represent?
I have no idea.
But I like it.
ಠ_ಠ
@mbomb007 I noticed you voted as unclear. Could I ask why? I saw your comment but I didn't see it as a reason that it was unclear.
@Pavel it means it's a pointer obviously
@ASCII-only You woun't ever have a pointer to a Language<T>, you would specify a type.
Hmmm
Maybe Language is an iterator and * is a splat.
But that's kinda weird.
No that still doesn't make sense
03:48
@Pavel I mean as a method return type
@ASCII-only Wait then it would be Language<T>*
@0' hello
0																												'
0 '
@WheatWizard Hi
How goes it all the way on Sackett street?
0																												'
0 '
It goes well
My netbook's charger is working again
03:51
(I fixed it)
0																												'
0 '
It's true
Ah thats good news
0																												'
0 '
Yeah, it was pretty lucky in terms of what went wrong. There was a solder joint that was bad but it was one of the largest solder joints in the whole thing
Did you see Piet got added to the polyglot?
0																												'
0 '
Oooh that I will have to check out
03:55
I was thinking that we could add Piet Dev since it has different behavior in edge cases.
@0 ' link
0																												'
0 '
@WheatWizard Oh yeah that's right, its how it treats white right?
I'm not sure what the edge cases are, but I know its mostly ip movements
@WheatWizard How
It's an image
04:14
@Pavel Images are encoded in bytes too. For a more thorough explanation you can look at the answer itself.
@WheatWizard Is your profile pic of your own cat wearing sunglasses, or did you find that online somewhere?
@Pavel Its from this image
Ah
It was also my desktop background for a while
04:35
Hmmmmm I wonder if it's possible to have your background be a gif
Maybe with rainmeter..?
Does anyone know of a way to run a bunch of different python versions without installing all of them?
(An online service or something)
I can do it with over sight
which allows me to write coffescript for my desktop
@g.rocket You could try TIO, it supports Python 1, 2, 3, and PyPy.
That might not be what you're looking for though.
@g.rocket All of the online services? :P repl.it, Cloud9, TIO just to name a few
@Pavel gif? with rainmeter/oversight yes, it's kinda hack. but video? there's like a microsoft program that enables that
@ASCII-only Right but this is PPCG so we're supposed to shill for TIO.
04:46
@Pavel But :| TIO costs money to run too
@ASCII-only g.rocket visiting wouldn't make Dennis have to pay more money.
@Pavel Well I guess :P
To the contrary, g.rocket might like it so much he decides to donat :P
Specifically, I want to try different minor versions. (3.0, 3.1, etc)
05:05
Its really hard to do with python
I've tried for polyglotting purposes to get as many versions as possible
...in that case, thank God for macports
Ruby is much easier because of rvm
1
Q: Sum a Cubically cube's faces

MD XFManually summing Cubically's faces is tedious and time-consuming, sorta like writing code in Cubically itself. In Most efficient cubifier, I asked you to translate ASCII to Cubically source. One of the answers there uses a cube initialization sequence and then modifies the resulting cube based o...

@g.rocket Why are you looking to install these versions of python?
Um
Help how do I simulate unsigned left shift in Python (1U << n)
05:13
What is an "unsigned" left shift
@WheatWizard Shifting a unsigned int left
> donut donat
how is that different from << is what I'm asking
wait nvm i just mask by 0xFFFFFFFF right
ok I still don't understand
Well signed ints have one bit for the sign right? So leftshift probably behaves differently for signed and unsigned ints
05:24
Not in python
Python handles signs a bit differently
Yeah, but I'm trying to get Python to do what C would do in that case
for unsigneds its the same
except that there is unlimited precision
you can fix the precision with a & though
@WheatWizard I'm trying to test a program for codegolf.stackexchange.com/questions/139243/… that should work on a bunch of different minor versions of python.
Oh yeah
that sucks
Hmm
Now I need to port a switch/case without breaks
Have no idea how to do that without making the code really really not DRY
nvm worked around it (kinda hacky though)
 
1 hour later…
07:06
nvm >_> <_< I could have just used the Python bindings and converted from base 256 to 255
07:24
@Anyone should I add deflate-style compression other than brotli to Charcoal
07:39
I made a new language... it's not intended to be a golfing language, but it's syntax is loose so there's a lot of room for golfing... check it out maybe? The standard libraries are woefully incomplete, due to the java interface being unfinished... It's probably very buggy...
@SocraticPhoenix pls put on TIO first :P or at least list out the bugs
08:02
@ASCII-only I did ping Dennis with it... And I'm not sure what the bugs are.. if I knew I'd fix them xD
08:18
PPCG just hit 8.5 k questions!
Anonymous
@Mr.Xcoder That seems like an arbitrary number to celebrate
@Mego Wouldn't want to wait till 10 k
Even 8888 would be a better number
 
1 hour later…
09:30
@Anyonethatknowsbubblegum how does this work
09:48
@Dennis ^ if you're still here
 
2 hours later…
11:50
@ASCII-only Do you understand bubblegum? It's literally just the compressed text
@DJMcMayhem Yeah but I can't get that specific text compressed down that much >_>

« first day (2394 days earlier)      last day (2745 days later) »