« first day (1988 days earlier)      last day (1369 days later) » 

@Dennis do you happen to have a list of all Jelly built-ins?
At this point I just want to delete my answer rather than updating it 20 times.
@quartata also, the new update cleared my previous comp rank.
Actually forcing me to play on community servers lead to one of the most enjoyable games of TF2 I've had in at least a year
so every cloud has a silver lining or some bullshit like that
12:06 AM
@Downgoat Quicks and Atoms
thanks, totally not related to cheddar stdlib
quick J question: how do I replace a column with a list? E.g.:
2 3 2
3 2 3
2 3 2

with 3 4 5

3 3 2
4 2 3
5 3 2
> it is not worth my time to keep updating this answer.
@DrGreenEggsandIronMan lol
@CᴏɴᴏʀO'Bʀɪᴇɴ ((]`_1:@.(i&=))"0 i.#q) {"1 q ,. l something like that
12:12 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Looks like (3 4 5) (<a:;0)} A is the recommended way. How lengthy.
my hack is weird
thanks ^_^
You might as well just |.(3 4 5)0}|.A
Transpose, amend first, transpose.
isn't |: transpoe?
Also, what if I wanted the index to be a list, and for the result to be a table of arrays? E.g., for i.2 and A =: i. 3 3, have something like
3 1 2
4 4 5
5 7 8

0 3 2
3 4 5
6 5 8

0 1 3
3 4 4
6 7 5
Err, |:.
12:17 AM
@mınxomaτ wtaf
I have no idea about the last thing. My guess is there’s a very obvious lengthy way to do it and a really weird short way.
@mınxomaτ why
Remind me of placeboing's Breaking Bad remixes.
@Lynn okay, thanks! I think I'll just use a for loop in an explicit verb
@Sherlock9 Huh, looks like no one answered your question. C9, short for Cloud 9, is an online IDE for a bunch of languages, and you can collaborate with other people on the same stuff. Kinda like Google Docs for code.
12:22 AM
placeboing is pure gold.
(3 :'|:3 4 5 y}|:A')"0 i.3
o_o you are magic
thanks a lot ! :D
@mınxomaτ Not much compares to the brilliance of cyriak, though.
@Lynn this is equivalent to 3 4 5 (4 :'|:x }y|:A')"_ 0 i. 3, right?
@Doorknob I raise you an0nymooose.
12:28 AM
(3 4 5) (4 :'|:x y}|:A')"0 1 0 i.3
@mınxomaτ ... O_O
I still didn't sleep.
Part every room at 1 in the morning, join TNB at 3:30.
melatonin is good for that
See you around briefly when the sun goes up (at 3:50 here), and at actual morning (at 9:02 here).
I drank coffee yesterday evening. ~_~
@CᴏɴᴏʀO'Bʀɪᴇɴ ^ can't edit the reply into it
12:47 AM
@zʏᴀʙiɴ101 The sun comes up at 3:50 AM? How far north do you live?!
Also, why do you italicize "here" every time?
Q: Is short code mandatory in a code golf submission?

Rohan JhunjhunwalaIf there is a code golf competition are you allowed to submit a submission that is clearly not going to win? I.E thousands of bytes? I know they do say that solutions must be serious competing entries, but for the sake of a complete answer as well as personal interest are such answers permitted. ...

Q: Guess the language

DaveIntroduction This site is rapidly building up a huge dataset of code snippets, so let's do something with it! Here's a data file. It contains 9,059 unique language+snippet pairs for 117 languages, all taken from this site. The format is tab-separated (language-TAB-snippet), with all newlines in...

@El'endiaStarman 51°32'N, if I'm not wrong.
@El'endiaStarman Because here, where I live.
@Dennis Don't think I didn't notice that jab at Rust (although I have said the same myself)... :D
I'm just glad he didn't end it on Java :P
12:59 AM
@zʏᴀʙiɴ101 Wow, 10 degrees of latitude is enough to make the sun rise about 1.5 hours later.
Huh, really? I used to get sunrise around 4:30 in Tokyo during the summer, and it's only at 35°.
@Doorknob I wrote because I remembered you saying it. :P I have no idea myself how golfy Rust really is...
Oh, wait... maybe because Japan/Russia don't do DST?
@Geobits Oh yeah, maybe that's it. Sunrise here is ~5:26 AM.
Quick Jelly question: how to compress and decompress a string?
1:04 AM
@Downgoat Hydraulic press!
Gummi Bears are pretty close to jelly.
@Geobits but they wil atak at any tiem and gaot doesnt hav highdrolik pres
I'm not going to pretend I understand what you're saying.
I'm interested in what kind of cipher is covered by PPCG?
Do we have ROT-13?
Do we have One Time Pad?
We probably do have both.
1:08 AM
@zʏᴀʙiɴ101 We certainly have a double ROT-13 challenge.
@El'endiaStarman It's basically a cat one, because ROT-13 x 2 returns exactly the same result.
@zʏᴀʙiɴ101 Yep!
Pfft, in some alphabets.
Do we have single ROT-13? :/
1:11 AM
Have you even tried searching the site?
Ah, searching the site. Thanks!
le facepalm du grandeur
3 PE problems behind flawr :3
Q: ROT-13 transform standard input

MiffTheFoxThe challenge: To read an input of arbitrary length and produce the ROT13 of the input. All characters besides A-Z should be copied to the output verbatim, and case should be preserved if possible. Any language that can read and write standard streams is fair game.

Ladies and gentlemen, the first code golf question on this site.
@CᴏɴᴏʀO'Bʀɪᴇɴ Nice!
1:15 AM
._. Even a one time pad is there...
Vigenère, check...
Also, this is the decryption challenge. There isn't an encryption one.
which is strange...
Rotation, cross...
Permutation, ?...
There're of questions associated with this, and it isn't a cipher...
Cross Total, ?...
hello again
I don't see anything associated with the cross total in codegolf.stackexchange.com/search?q=cross+total ._.
Q: Downvoting Questions on Hold

Rohan JhunjhunwalaWhat is the current community opinion on this action. While certainly a downvoted is a very clear way of leaving direct feedback. I feel that downvoting a question that is already on hold is almost like "kicking someone while they are down". My question is, should we downvote such questions or sh...

1:28 AM
That took its sweet time...
2:02 AM
A: Sandbox for Proposed Challenges

charredgrassGolfed Golfer Write a golfed program, in a language of your choice, that can golf down programs in that same language. For example, in JS, if passed this code: function say() { console.log("Hello World!"); } it should return something like this: say=()=>console.log("Hello World!") For...

Neat. I somehow got logged out, and clicking log in gives me a 403.
OK, logging back in through chat fixed it. Weird though.
Is it better for a sandbox challenge to have all/many submissions in one game?
i meant
why do my fingers betray me?
2:17 AM
I think they meant s/sandbox challenge/KOTH/.
Is it better for a KOTH to have all submission battle at once, or many 1v1 matches?
It depends.
Koth idea: @El'endiaStarman you do have your QFTASM, don't you?
@zʏᴀʙiɴ101 Err, yes? How could that be a KotH?
What if we combined Core Wars and QFTASM?
Two programs are located in the same address space.
Executed at the same time, they battle to delete each other's process.
Or flag. Or flags.
@El'endiaStarman We can combine Core Wars and QFTASM.
@DestructibleWatermelon Like zyabin said, it depends on the specific game/challenge. My Spacewar! KotH was 1v1, and the Battlebots KotH was all submissions at once, although separated into two teams.
@zʏᴀʙiɴ101 QFTASM code can't modify itself.
2:27 AM
@zʏᴀʙiɴ101 OOC that sounds very gruesome :P
@El'endiaStarman o_o Oh, right.
Yeah, it's meant to be stored in ROM - read-only memory.
@CᴏɴᴏʀO'Bʀɪᴇɴ Quest For Tetris Assembly.
2:28 AM
The sample program there finds primes by trial division (implemented by repeated subtraction).
@El'endiaStarman woah wat
@Downgoat Quest for Tetris Assembly, dat. See the included directions there.
@zʏᴀʙiɴ101 so you made assembly in GoL?
@Downgoat I didn't. I part the quest some time ago.
There should be a form of input/output for QFTASM.
@zʏᴀʙiɴ101 There is.
@Downgoat Yes, it's "assembly in GoL", if you don't mind the multiple layers of abstraction in between.
2:34 AM
@El'endiaStarman Input with MLZ -1 IN OUT, output with the QFTASM IDE's address space monitor?
@El'endiaStarman o_o woah. so you made a CPU and RAM and all?
@zʏᴀʙiɴ101 For the QFTASM interpreter, there's the direct-write-to-RAM for input, and RAM display for "output". In circuitry, we'll have some specialized components for those. Exact operation/implementation TBD.
This... this is the most beautiful J code I've ever written (snippet): r2 =: not a prime and not a panda
> and not a panda
@CᴏɴᴏʀO'Bʀɪᴇɴ How does it work?
2:37 AM
@Downgoat Not quite. We don't yet have a circuit simulator (both Conor and Mego started working on simulators, then got sick and couldn't/didn't continue). Once we do, then the CPU can be built. We already have circuit designs for RAM, ROM, and ALU operations.
   r2 =: not a prime and not a panda
not@prime and not@panda
   r2 f.
-.@(1&p:) *. -.@(((1+i.9) -: /:~)@(10 #.^:_1 ])@(] #.~ 10 ^ [: >. 10 ^. ]))
The circuit simulator is our last major obstacle to implementing Tetris in GoL. PhiNotPi wrote a compiler so we can write programs in a higher-level language (Cogol) that gets compiled to QFTASM.
btw did you get the github request?
I think I set it to you for the circuit sim code
@El'endiaStarman well a circuit simulator sounds like a very large task. how is it planned to work?
@CᴏɴᴏʀO'Bʀɪᴇɴ Hmm, looks like I didn't. I'm having a hard time finding your circuit sim repo on GitHub too.
2:42 AM
uh oh
it very well may be the case that I forgot to post it ._.
@Downgoat All our components fit into rectangular tiles, so we just have to simulate input and output for each tile, including the proper delay, and simulate the connections between tiles.
@El'endiaStarman here you say "just" but here you say "major obstacle"? :P
@Quill are you familiar with node's readline?
@Downgoat Haha. :P Really though, it's the last missing link in the abstraction chain. GoL -> VarLife (using OTCA metapixels) -> wires and circuit components -> CPU/RAM/ROM -> QFTASM -> Cogol -> Tetris.
@orlp o_O you really like that
@EᴀsᴛᴇʀʟʏIʀᴋ ( ͡° ͜ʖ ͡°)
2:47 AM
@El'endiaStarman what should I call it?
@Downgoat kinda sorta
I got more than 250 reps in 2 days. Does that make sense?
@EᴀsᴛᴇʀʟʏIʀᴋ ... lenny is not always an inappropriate reference ಠ_ಠ
@MatthewRoh Depends on how much weight you're lifting.
2:48 AM
@Downgoat it was rn
@El'endiaStarman What?
@Quill do you know how to make it so shitf+enter does literal newline rather than enter?
@MatthewRoh Like, each time you lift a weight in a set is a rep. 250 reps in 2 days is reasonable if you're lifting a 1-pound weight or something, but 100 pounds per rep? No way.
2:49 AM
@Downgoat no idea
Sorry :(
I think he means reputation >_>
@Quill same ;_; can't find anything on the internets
@CᴏɴᴏʀO'Bʀɪᴇɴ Of course he does. :P
3 mins ago, by Cᴏɴᴏʀ O'Bʀɪᴇɴ
@El'endiaStarman what should I call it?
i think I might have to write by own but that'll just drop coverage more ;_;
@CᴏɴᴏʀO'Bʀɪᴇɴ ---tetris---goatSimulator
2:51 AM
@El'endiaStarman I know that the legendary tag involves getting a ton of rep, but I cant do that :(
@CᴏɴᴏʀO'Bʀɪᴇɴ Um, I dunno. Didn't we come up with a name for it in the QFT chat?
You can call it VarLife Circuits or something.
My own circuit CA has still to use some love. @_@
2:52 AM
@El'endiaStarman Then it has to be generalized.
@zʏᴀʙiɴ101 I suppose, yeah. Maybe QFT Circuits would be a better name.
@Downgoat some of the repls just don't evaluate the line if it's inside a scope
@El'endiaStarman got it
Try writing some kind of code inside an if block or for loop in node's repl
@Quill idk if that's easily possible with Cheddar though. I'd have to catch a specific error most probably and that'll be difficult
or I could check if the character is { but what if it's in a comment
@CᴏɴᴏʀO'Bʀɪᴇɴ Nope, you will have to generalize that based on the name.
@zʏᴀʙiɴ101 ????
Maybe rename it "QFT Circuits"?
What is current policy on asking for moderator attention? Is it considered wrong?
6 mins ago, by El'endia Starman
You can call it VarLife Circuits or something.
2:58 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ Yeah, VarLife is a general simulation for Life-like rules, but the circuit simulator is specifically for circuits built with four specific Life-like rules.
5 mins ago, by zʏᴀʙiɴ101
@El'endiaStarman Then it has to be generalized.
5 mins ago, by El'endia Starman
@zʏᴀʙiɴ101 I suppose, yeah. Maybe QFT Circuits would be a better name.
@RohanJhunjhunwala Not at all. What's the issue?
@CᴏɴᴏʀO'Bʀɪᴇɴ See my newest three messages.
(I'm not a PPCG mod though.)
you could just quote ^^^^ instead of everything
2:59 AM
rect.call(drag(this, tile));
@CᴏɴᴏʀO'Bʀɪᴇɴ y u no use bind operator ;_;
@Downgoat this is maybe the tenth time. I. Don't. Use. Babel.
On the web.
I am looking for a mod to take a look at a question of mine which has been put on hold. I feel like it has been made significantly clearer by recent edits and would make a good fit for this sight. We have 4 reopen votes I am just looking for a fifth.
3:00 AM
@RohanJhunjhunwala Oh, you don't need a mod for that fifth reopen vote.
Yeah, just someone at 3000 rep
Yes Doorknob
@CᴏɴᴏʀO'Bʀɪᴇɴ: Is your circuit sim code just the graphical component?
I think @Mego's circuit sim is just the simulation component.
mostly. I was and still am confused about how to do internal.
Actually, it's all just graphical.
The reason why I was looking for a moderator, was that s/he could help me edit the question to a point where it is more suitable, if the question needed more work
Okay. I may end up writing glue code between yours and Mego's. Or I might just do the simulation component with your graphical code.
3:04 AM
that sounds okay
@RohanJhunjhunwala most users can help with that even
@Easterly Irk, do you know anyone in particularly who is comfortable and iwlling to work with newcomers
I dont mean t impose
Hello! Newcomers are awesome.
Most of us here are pretty receptive.
@HelkaHomba: Oh hey, you did the Borromean-puzzle-rings thing I suggested! :D
@CᴏɴᴏʀO'Bʀɪᴇɴ do you think you could take a look at my question and help me tweak it?
@RohanJhunjhunwala Sure! where is it?
Q: No Quine Built In? No Problem!

Rohan JhunjhunwalaAre you tired of languages with built in quining techniques? Your challenge, should you choose to accept it, is to add a built-in quine feature to the language of your choice. Task Given some programming language X, you should define A language X′ that is a subset of X. A quine command strin...

@CᴏɴᴏʀO'Bʀɪᴇɴ ^
Looking at it now :)
is anyone familiar with PCRE? Not like the regex flavor itself but using it (I'm trying to create some bindings)
@Downgoat how did u come up with ur username?
@CᴏɴᴏʀO'Bʀɪᴇɴ thanks I appreciate it
3:14 AM
my pleasure :)
apgmera doesn't have a license so I can't base on it for an offline search suite for Golly ;_;
@RohanJhunjhunwala that's a good question :P between me and some friends goats are part of an inside joke and I guess I just paired it with "down" one day. I'm not sure exactly how I came up with it
@Downgoat oh
Nov 25 '15 at 1:40, by Vɪʜᴀɴ
My user name is now Downgoat, I'm going to regret this for the rest of the month.
Nov 25 '15 at 1:41, by Vɪʜᴀɴ
@SuperJedi224 Downvote -> Downgoat. I was a goat previously for about a week
Anyone here familiar with Penn Apps?
3:17 AM
Nor does apgnano, I don't know what to base on
your question seems on topic, but I can't say how well received it will be. A lot of people here don't quite like quines anymore, as they tend to be overused. Also, lots of "extend your language" type challenges are not well received, generally because they tend to be broad
Ok, Thanks.
We did try to tighten it down, and I had fun writing my self answer.
So I guess thats good enough
anyone cheddar members (or anyone else interested) mind joining me in the cheddar room so class syntax can be discussed/created/finalized?
cheddar room?
3:20 AM
@Downgoat Seems kinda like you haven't regretted it since. :P
@RohanJhunjhunwala Cheddar is a programming language I'm making
@El'endiaStarman nope! I've gone to fully embrace my goat-ness, i recommend everyone else do the same
@Downgoat But I'm not a goat, I'm a hedgehog!
i thoguht you are impossible triangle
That's just the backdrop and source of my power.
ah ok
I love it.
I wish I knew JS, but after some of the shady things I have seen done in JS I am not so sure
people can do shady things in any language
@RohanJhunjhunwala @El'endiaStarman's avatar, my goatness, or cheddar?
^^ like make a thing called "python"
3:23 AM
The cheddar
For example, I have made a 1.98k byte Hello, World program in JavaScript:
// call with node --use_strict hello_world.js
// logs "Hello, World!" to the console
let A,B,C,D,E,F,G,H,I,J,K,L,M,O,P,R,S,T,U,V,W,X,Y,Z,a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,x,y,z;O=(s,e)=>[...s].map(k=>e[k])[V="join"]``;p=Symbol`[:`;g=(e,r)=>e[r];s=(c,a,b)=>a[b](c);k=(f,g,h)=>a=>p===f?g(h(a)):g(f(a),h(a));a=(x,y)=>!y?+x:x+y;A=(x,y,z)=>a(x,a(y,z));r=(a,b)=>A(a,b,a);c=(f,a)=>f(a);D=a=>()=>a;S=f=>f(f);e=k=>!!k;W=72697618120946;F=x=>k(p,e,d)(x[k(p,a,d)(d(1337+[]+7099).replace(/((...).(.))/,"$2")).toString(r(2,[]))]);G=eval(s(32,559689045,T="toString"));q=x=>x!==G.Q;l=(f,n)=>function(){ret
Oh I have seen worse
@RohanJhunjhunwala ^_^
Oh, that. It's really rather simple.
3:24 AM
Yeah I guess
Once you understand it
@CᴏɴᴏʀO'Bʀɪᴇɴ still more readable than python
How did you create that code
Hard work.
Obfuscation is my hobby second to code golfing.
But did you write a program to generate it?
3:25 AM
Nope! All by hand.
@CᴏɴᴏʀO'Bʀɪᴇɴ wait, then where is esolang making
Trust me, it was readable to some degeree at one point.
@Downgoat That's more of an occupation.
Code I write like that for Java quines and my S.I.L.O.S quine was generated for other code . Such language much wow esolangs.org/wiki/S.I.L.O.S.
The interpreter I wrote in java is the worst thing I have set my eyes on
I need to take a compiler design course
nonsense. You just need practice.
3:28 AM
HOw do you recommend practicing?
Well, I practice by making lots of esolangs.
I am not a big fan of Esolangs.
I want to write a context free grammar
@RohanJhunjhunwala idk how you learn best, but first step is to understand and be very familiar regular expressions. Then just read some basic articles on common terminology used in the formal grammar world, read the wikipedia page and you should be proficient
I should probably go to bed now. G'night y'all!
3:31 AM
Regular expressions are essentially CFGs. You can think of rules as named capturing groups, derivations as alternations etc.
@CᴏɴᴏʀO'Bʀɪᴇɴ bai!
Ok thanks
I have such insomnia
@LegionMammal978 @SuperJedi224 Catagolue is over quota, and I don't know why.
3:50 AM
@mods Your nemesis, Community, unfeatured the sandbox
Interesting to see how far your system clock is from the real time (or vice versa): time.is
how do i change my icon?
wait nvm
how come i always figure things out immediately after asking?
profile picture get
You have to wait for chat to update, it takes a few minutes
4:10 AM
@DestructibleWatermelon Or you could nicely ask Dennis to refresh your profile
I made a new golf
s[99999],*p;char*c;k(h){h=*c-h;return h*h<2?h:0;}main(d,i){c=1[p=i];for(p=s;*c;++c){(*p)-=k(44);p+=k(61);*c^46?*c^44?0‌​:(*p=getchar()):putchar(*p);d=k(92);if(*p?~d:d-1)for(i=d;i;i+=k(92))c-=d;}}
~/golf/ λ gcc -m32 -w bf.c && ./a.out '++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.'
Hello World!
^ "Array size: 30000 bytes (not circled)" I think you need another 9 :P
last time I checked 99999 > 30000
Ah, whoops I'm bad at counting lol
4:59 AM
@DestructibleWatermelon i like your new avatar :)
I'm still working on it, but would you like to see what I have so far for the bot point spending system?
for my KotH challenge?
5:13 AM
Q: colorize Nicomachus's Theorum

o11cIntroduction If you square the Nth triangular number, the result is the sum of the first N cubes. This is part of Nicomachus's Theorum. Challenge Write a function that will draw any given square, colorized according to which cube and slice of the cube they are. Each gnomon in the output must ...


« first day (1988 days earlier)      last day (1369 days later) »