« first day (2045 days earlier)      last day (3094 days later) » 

03:01
Mini-puzzle: What do these strings have in common? Ham Mac Rom Oth Jul Lea
@HelkaHomba Shakespeare play character names?
Yes...I guess that was too easy
Hamlet Macbeth Romeo Othello Juliet IDK
Lear probs
N for 2-cells, 2N for 3-cells, and A000384(N-1) for 5-cells
03:03
6*2+6(n-2)*3+(1+6(n-2)(n-1))*5
so 8N + 5*A000384(N-1), right?
I could be wrong
I wanted to make a joke about how Mac Rom and Bot are all strangely techy but I'm not sure it works with much else
@HelkaHomba Jul + Lea = JulLea = Julia
and Dr. Ham Jam
@ConorO'Brien Lea was for King Lear
And the other one is KotH
03:05
@HelkaHomba yes I know
I was going with the tech theme :P
Dr. Ham Jam + Mac + ROM + KotH + Julia
ahh :P
I saw Ham and I thought it was TNB usernames for a while
@ConorO'Brien :D
@ConorO'Brien N? It isn't just 1?
03:06
@ASCII-only So clearly this means I need to write a KOTH in Julia, and test it on a mac.
@ASCII-only there are N 2-cells, one at each corner?
@ConorO'Brien It's just 6
In total
yes. so there are N in total
Uh what do you mean
there are N corners for an N-sided hexagon
03:08
6 corners, 6*(N-1) edges, 3*(N-1)*(N-2)+1 centers, I think.
> N-sided hexagon
@ConorO'Brien Read that to yourself, out loud.
@El'endiaStarman That's what I got
Better mini-puzzle: what is significant about 3890145726
03:09
@HelkaHomba It's pandigital.
more than that
I've been working on debuggin cheddar code for the past hour
@El'endiaStarman Close, but not quite
I have no idea what is going on anymore
A centered hexagonal number, or hex number, is a centered figurate number that represents a hexagon with a dot in the center and all other dots surrounding the center dot in a hexagonal lattice. The nth centered hexagonal number is given by the formula n 3 − ( n − 1 ) 3 = 3 n ( n − 1 ) + 1. {\displaystyle n^{3}-(n...
03:10
@El'endiaStarman thanks :P
That's the number in the center
facepalm N-sided hexagons sounds like something from the haiku prime proof
@DJMcMayhem But you have to subtract 1 from N since we're not counting the outer ring.
Ooh, OK.
@HelkaHomba Hint?
03:12
@ASCII-only Look down
(probably)
Incidentally, this is how the online game reacts to going one move beyond the max for size 4:
They surely never planned for such abuse. :P
OK, this took me waaay too long to get it working, but the first 10 hexplode numbers (0 - 9) are:
0
1
18
66
114
252
330
558
666
984
3890145726 = */ 2 3 3 47 4598281
Um I just posted the following, but the method is effectively the same as one already posted - should I just delete and give my golfing to the previous poster?
0
A: Dimensional countdown

Jonathan AllanPython, 76 bytes c=lambda n,k:k>1and'\n'.join(c(n-i,k-1)for i in range(n))or'987654321'[9-n:] Caries out the procedure as described in the OP: joins the decreasing n results for k-1 on newlines with a base of the recursion of the 'n...1' string when k is 1 (k not greater than 1 since we are ...

Oh wait
03:16
Haha, 666 is in there
@ConorO'Brien won't be useful
@HelkaHomba Not helping
@HelkaHomba oh well
anyone? ^
@JonathanAllan Personally I think it's kind of different enough, even though all the modifications are trivial. If it helps, you can drop the 9 from 9-n to be even more different
03:26
goddamnit, I had an answer to a question but where is it ;_;
@Sp3000 thanks! & thanks for the byte!
(I have one for Python 3, but I'm a little confused about the spec so I'm not posting it yet)
@HelkaHomba We need more hints
looks up in Wolfram Alpha
Related queries:
James Sylvester
Z Mathworld
@ASCII-only reorder
Reordered: 0123456789 :P
03:38
letterify
This isn't a CMC, it's a riddle ;_;
@HelkaHomba These hints aren't helping :(
@anyone help
The letters directly under the numbers on the keyboard are EIOPQRTUWY, which are in alphabetical order.
bingo!
okay then
that is a bit of a letdown
>_>
CMC: What about 15333456878976901425742261
This is probably a lot easier now
03:47
CMC write a program to map numbers to letters like that.
@Dennis yeah join is "weird" in that it joins rather than zips - I was looking at R¡UḌU;⁷Y which prints an extra new line
@EᴀsᴛᴇʀʟʏIʀᴋ n=>[...(n+'')].map(c=>'PQWERTYUIO'[+c]).join('')
@Dennis plus it breaks for k>n
@EᴀsᴛᴇʀʟʏIʀᴋ Yeah, but it's wrong atm
03:49
@ASCII-only now the reverse
...forgot to flatten :)
CMC: given N, output N^(N/2)
@EᴀsᴛᴇʀʟʏIʀᴋ f=s=>+[...s].map(c=>'PQWERTYUIO'.indexOf(c)).join('')
...so would be 9 anyway
@ConorO'Brien ES6: n=>Math.pow(n,n/2), ES7: n=>n**(n/2)
03:51
@ASCII-only oh cool
I forgot that 0 was on the end, fixed now
Python: lambda n:n**(n/2)
@ConorO'Brien *H
@ConorO'Brien Is that power or XOR :P
My 3rd Jelly answer of all time
03:53
@DJMcMayhem *H - you have it the wrong way around (and poor test case, because 2^4 = 4^2)
@ConorO'Brien Minkolang: nd2$:;N.
@Sp3000 ty. What does @ do?
@JonathanAllan The problem is that Jelly doesn't really have strings. Joining [1, 2] by linefeeds gives you [1, '\n', 2], which Jelly displays as a string, but doesn't really act like one.
Reverse argument order, but then I realised I should just have reversed the program :P
@EᴀsᴛᴇʀʟʏIʀᴋ Pip, 15 bytes: "PQWERTYUIO"@^a
03:55
@Dennis that's a really nice solution
CMC: given N, output N^(2/N)
@ConorO'Brien Pip, 6 bytes: RTa**a
@StevenH. ES6: n=>Math.pow(n,2/n), ES7: n=>n**(2/n), Python: lambda n:n**(2/n)
There's a twobyter in Pyth that I just realized: @*
Best formatting NA
@StevenH. ches: n->n**(2/n)
03:58
@Downgoat Ches? What's that?
fn.fork((**),2&(/)) too
@DJMcMayhem Cheddar
@DJMcMayhem cjeddar
Cheddar? Is that a language?
@Downgoat Ninja'd with better spelling :P
@DJMcMayhem Yeah
@DJMcMayhem Where have you been for the past 6 months
03:59
@Downgoat :P
@DJMcMayhem ...
@ASCII-only In this room.
@DJMcMayhem You must have had a userscript that ignores the word cheddar
:D I always upvote cheddar. — DJMcMayhem Jul 26 at 23:23
how can u upvote something you don't know what it is
@ASCII-only won't work. It'll be painful to create a list of all my mispellings of cheddar
:O BRB deleting comment
04:01
chedr chedz ches cjeddar chefar etc.
@Downgoat Fuzzy matching with a really high threshold
at the threshold you'll be needing you might as well blacklist anyword beginning with c
@Downgoat Then you'll futz that up again with "Vheddar". :P
> :D I always upvote. — DJMcMayhem Jul 26 at 23:23
04:03
@El'endiaStarman That's why fuzzy matching is better
Tscheddar, the German spelling.
@ASCII-only Dr. Ham Jam is now mortal enemy of Geobits confirmed
Yeah, but our avatars look too similar
When they're small atleast
04:05
that is a good reason why you gotta change your avatar to this:
5 hours ago, by Downgoat
user image
@Dennis What's the best way to explain the standard "Jelly is not scored in UTF-8" routine?
3 hours ago, by DJMcMayhem
@Downgoat It's not square so it gets all squished.
@DJMcMayhem ok ill fix
@Sp3000 I just say "{Insert Esoteric golfing language here} uses it's own custom code-page."
Sometimes I also provide a hexdump
@StevenH. Jelly 4 bytes: Hİ*@
04:07
I always feel a bit awkward when saying it like that :/ but I guess
If you use the newfangled "copy snippet" button from TIO, it inserts a link to the code-page, so you won't need to (as often)
@StevenH. or Hİ⁸*
I'm really bad at jelly, but it seems like you should be able to do that in 3.
idk
@DJMcMayhem prolly :p
I don't think 3's possible...
04:09
@Sp3000 I usually say something like Jelly uses a custom code page that encodes each of the 256 characters it understands in a single byte.
all three operations are dyadic
@DJMcMayhem ^
i can make version without y u do dis ;_; too
3 would be power(inverse + double) probably, no idea how to do that
sigh...
@Dennis Could you refresh my profile?
:O :D :D :D :D :D :D :D \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/ \o/
04:11
@DJMcMayhem Done.
@Dennis It gets a little confusing when I enter something like “abc😂🍆def” into TIO and the emoji are stripped, which doesn't really make sense since shouldn't the concept of 😂🍆 not exist in the first place?
(as in, I'd imagine them to get mangled into other bytes)
@Sp3000 @StevenH. @ASCII-only Ahhha Jelly 3 bytes: *ݲ
... that seems... obvious in hindsight :/
...it was 2 over N so we can square which is monadic \o/
04:15
For a second I thought you were saying that the answer was using ASCII printables
(nice :P)
I'm saying one thing IRL and typing another out into the keyboard, the two kinda mixed together
Can Hexagony do challenges?
Yes, just painfully.
@Sp3000 But what other bytes? In UTF-8 mode, the most sensible choice would probably be to allow all Unicode characters, but I was afraid that would lead to erroneous byte counts all the time.
04:18
@JonathanAllan It still gets beaten by Pyth, unfortunately.
@StevenH. yeah I was looking for a generic root, no joy
Exactly
@DestructibleWatermelon - yes I have to declare the function when using recursion, thanks!
04:26
@Dennis I think I've brought this up before, but I guess the problem I'm having is when you do something like “¢ẇ£”O in TIO, you get [162, 7815, 163] which seems a bit weird to me because it's like Jelly's being a bit too liberal in UTF-8 mode
@Sp3000 Not sure I understand what you mean by liberal. O always returns Unicode code points, no matter which encoding is used for source code or input.
Hmm I didn't realise the Jelly encoding also did that... seems like that's going to make base 256 approaches trickier...
why is this function being called?!
this is odd...
04:43
@Sp3000 Yeah, we definitely need an atom for that. Base-256 literals already exist though.
I guess the literals part of the wiki needs documenting :P
bug is fixed...
@Sp3000 It does... I added that one at your request though iirc.
Hmm k
But yeah sorry, I was just trying to make sure Jelly wasn't getting an unfair advantage by having an incorrectly implemented code page, say
0
Q: Hexplosive ASCII-art challenge

DJMcMayhemIn the strategy game "Hexplode", players take turns placing tokens on a hexagonal board. Once the number of tokens equals the number of adjacent tiles, that tile hexplodes, and moves all of the tokes on it to the surrounding neighbors. You can play the game online here. I like this game, but som...

04:49
(which I'm sure someone will do on this site some day)
@NewMainPosts thankyou
@Sp3000 That's pretty much why I went with stripping characters that are not in the code page. It's too easy to incorporate a Unicode character that doesn't belong to the code page by accident, and you'd no longer be able to claim that 1 char is 1 byte.
odd; my program seems to execute the output command automatically
oh, seems to be fixed now
accidentally!
I love it when I accidentally fix problems
I'm fairly sure my interpreter is done
 | || |!|| |!||| |!|||| |!||||| |!|||||| |!||||||| |!|||||| |!||||| |!|||| |!||| |!|||| |!||||| |!||||| |!|||||| |!|||||| |!||||||| |!||||||| |!|||||||| |!|||||||| |!||||||||| |!|||||||| |!||||||| |!|||||| |!||||| |!|||| |!||| |!|| |!| |!| |!| |!| |!| |!| |!|| |!|| |!|| |!|| |!|| |!|| |!||| |!||| |!||| |!||| |!||| |!|| |!| |!| |!| |!| |!|| |!|| |!|| |!| |!| |!| |!| |!|| |!||| |!|||| |!||||| |!|||||| |
*

Process finished with exit code 0
the first part is input, the asterisk is output
now I just need to read files
question. Is this the most verbose "print asterisk" program you know?
| || |!|| |!||| |!|||| |!||||| |!|||||| |!||||||| |!|||||| |!||||| |!|||| |!||| |!|||| |!||||| |!||||| |!|||||| |!|||||| |!||||||| |!||||||| |!|||||||| |!|||||||| |!||||||||| |!|||||||| |!||||||| |!|||||| |!||||| |!|||| |!||| |!|| |!| |!| |!| |!| |!| |!| |!|| |!|| |!|| |!|| |!|| |!|| |!||| |!||| |!||| |!||| |!||| |!|| |!| |!| |!| |!| |!|| |!|| |!|| |!| |!| |!| |!| |!|| |!||| |!|||| |!||||| |!|||||| |
note that I am using ! instead of newlines because python input
@DJMcMayhem when was the last time you made a pun about dr seuss or ham? -_-
> I really enjoy making puns about DR Seuss and/or ham ¯\_(ツ)_/¯
@DJMcMayhem your latest question is exactly the same as the one I have in the sandbox, I think
05:04
@EricTressler Oh really? Link?
it's hexagonal, but I think it is mostly the same
1
A: Sandbox for Proposed Challenges

Eric TresslerOutput a sandpile An abelian sandpile, for our purposes, is an infinite grid with integer coordinates, initially empty of sand. After each second, a grain of sand is placed at (0,0). Whenever a grid cell has 4 or more grains of sand, it spills one grain of sand to each of its four neighbors simu...

well, it isn't exactly the same, but really similar
wait, no it's actually really different
oh, you're just outputting the # neighbors, not performing the hexplosion
Yeah, exactly
05:07
but the hexplosion thing is exactly what happens if you put an abelian sandpile on a triangular grid
It's hexagonal, not triangular
they're the same
No, they're just dual
In mathematics, a duality, generally speaking, translates concepts, theorems or mathematical structures into other concepts, theorems or structures, in a one-to-one fashion, often (but not always) by means of an involution operation: if the dual of A is B, then the dual of B is A. Such involutions sometimes have fixed points, so that the dual of A is A itself. For example, Desargues' theorem is self-dual in this sense under the standard duality in projective geometry. In mathematical contexts, duality has numerous meanings although it is "a very pervasive and important concept in (modern) mathematics...
TIL triangular and hexagonal grids are dual
@DestructibleWatermelon Hey, congrats on hitting 1000 rep!
yup, I also finally finished my language interpreter probably!
also, I just realised I can golf this program I made rather easily but it's too much!
05:17
@DestructibleWatermelon I know they're dual, but we were talking about the same thing. And, I just saw your comment
the recursion is f(n,k) -> f(n,k-1) cat f(n-1,k), so the last part of my worked out example is correct, I think
but what if same... is dual to duality O.O
They're the same because he was talking about grid cells (with 6 neighbors each) and I was talking about grid vertices (with 6 neighbors each)
05:19
that IS the duality, it's a cell/vertex duality
I golfed down my asterisk program
| || |
|| |
||| |
|||| |
||||| |
|||||| |
||||||| |
|||||| |
||||| |
|||| |
||| |
|||| |
||||| |
||||| |
|||||| |
|||||| |
||||||| |
||||||| |
|||||||| |
|||||||| |
||||||||| |
||||||||| |
|||||||||| |
||||||||| |
|||||||| |
||||||| |
|||||| |
||||| |
|||| |
||| |
|| |
| |
| |
| |
| |
| |
| |
|| |
|| |
|| |
|| |
|| |
|| |
||| |
||| |
||| |
||| |
||| |
|| |
|| |
|| |
|| |
||| |
|||| |
||||| |
|||||| |
||||||| |
that's printing an asterisk?
yup
up the top, there are two spaces. the second halts it after it runs
in what language
I was fairly sure I was going to call it confusingly, but I'm having second thoughts now...
a program that prints two asterisks is not twice as long: it adds relatively nothing to the byte count
in fact, it can reduce the byte count, now that I think of it
I really need to come up with a definite name...
now that I think about it, can't these be translated into a game of chess for more obfuscation...
no, it can't, I changed my mind
05:25
if you wanted it to be confusing, you could call it William Tecumseh Sherman
then if it gets popular enough to have a wikipedia page, it will confuse people
muhahahahahah
except someone will probably get a reference to this chat room as proof of it being nonsense
._.
well, i'm off to bed. 'night
maybe I'll call it interrobang, because people say "wat?!" when they see it?
05:32
@DestructibleWatermelon If you're going to call it Interrobang, you must have actual interrobangs as part of the syntax, right‽
Call it Pipeline
@StevenH. ehh, I considered it, but it seems too obvious...
Obvious and clever are not mutually exclusive
You know, it does seem fitting, but it just doesn't have the ... the thing
I don't know how to describe it
confuse sounds good, maybe
I didn't think the development of my language would get stuck on the name...
Ok, everyone, what is your favourite ascii char?
%
Second and third favorites are ~ and ` respectively
05:45
@DestructibleWatermelon is there a github link yet?
Also, it would have to be either ~ or V
I have to come up with a name first...
You can change the name
Feb 4 at 4:00, by Sp3000
Backtick because it breaks everybody's chat messages
05:48
@DJMcMayhem yeh....
I think I'll just call it "confuse"
I'm about to upload the stuff, then the docs, kay?
Cool. I'll look through it on the morrow
@Sp3000 How
maybe you look through it on the few minutes from now
It's no more annoying than trying to put it into a template string
`It's so annoying when I need to post template strings into ${chat='chat'} though`
@DestructibleWatermelon Sure, if it's up in the next 10 minutes
05:53
intense music plays
oh wait, I need to change the docs...
> popping from an empty stack yields zero.
@Dennis Thanks :)
not anymore it doesn't!
(If you don't mind me asking) What time zone are you in?
it's currently half past three in the afternoon
I can't be bothered finding the name
Oh. Here It's 5 minutes till tomorrow.
Looks like that's only ACST
yeah, my current docs are a mess, actually
oh, I just realised I have MORE undefined behaviour ._.
fack

« first day (2045 days earlier)      last day (3094 days later) »