« first day (1727 days earlier)      last day (3411 days later) » 

00:00
Well I guess it depends on the nature of the library. I mean, Python is basically a subset of Pyth in a sense, since it can run Python, but I wouldn't think that's a copyright issue (maybe?)
> Python is basically a subset of Pyth
It's syntax can be totally different though...? I mean, it depends on how close the language is to it's origin - making a library doesn't change it, because (at least in Java) any classes will extend from java.lang.Object, not from your library.
Pyth is just too different to make a claim that it is too similar to Python to be not a separate programming language.
Hence "depends on the nature of the library", is what I meant
I see your point - I didn't quite get what you meant until now.
Ooh. I smell down voters.
@quartata What challenge
It doesn't really matter tbh, so don't worry about it if you don't agree :)
00:08
No, I agree - I just didn't quite understand you. I got it now, and, yes, I'd agree. I believe, though, that you'd have to give credit to the people who wrote the original language nonetheless.
@feersum That's what I said. :P
@quartata I don't know but I would assume it's either underspecified or people think the task is too boring.
@VTCAKAVSMoACE Your answer says "Define it as a separate language."
Not really a separate language - just not the "clean" version of the original. I think I say something similar to that in a sub-point.
Using a language with a library is clearly different from a separate language. You should say what you mean.
00:12
I'll go make that clearer. >.>
@quartata I'm downvoting because it has our usual duplicate smell "the answers could be copied over from the old question"
And do we really need to rewrite every popular programming task as a catalog challenge?
Wow, the sandbox has gotten really popular all of a sudden.
Are we doing factorial? :D
My latest sandbox post has 16 votes.
A couple of others also got 10+ recently.
sysreq accepts too fast :/
^^^^
^ I agree with this too.
^^^^^^^^
2^5^
Okay, back to the land of finite carats...
Can someone sum up Code Review for me?
evil nemesis site
2
00:26
@VTCAKAVSMoACE Deceiver. Ow!
Code Review is a site where you post your code and people criticize it, and you both do it for rep.
It's like Stack Overflow, except on there, one person gets flamed and the other gets rep.
00:41
୬絗⢄!
Hey, what are a few esolangs end with 'er' or 'ar'?
I have Unilinear, but I need something that has fewer syllables.
BitChanger
Braincopter
Brainloller
Brainscrambler
BytePusher
Byter
Challenger
Cvlemar
Thank you, I got it now. :D
So which one was it?
hi how do you add comments? — bobjenkins 4 mins ago
2
00:49
> You could use a youtube tutorial mate
wah y u -1 me answer? — bobjenkins 4 mins ago
ಠ_ಠ
@SuperJedi224 I needed a rhyme for something. Also, what's an alternative to "distress" that ends with the vowel sound "oo"?
(this is legitimately on topic, I swear)
This is what I've got so far:
A glooming Pieces this morning with it brings.
The Sonata, for sorrow, will not show his header.
Go Forth, to have more talk of these sad things.
Some shall be BitChanged, and some Byter.
For never was there a tale of more woe
than that of Code Golf and Code Review!
I need to replace "woe" with something that rhymes with Review.
Oh, so the last couplet becomes "For never was there a tale that caused more blues/than that of Code Golf and Code Review!"
Thanks!
> A tale of more woe none could construe
00:54
Ooh, that's even better.
ERROR: syntax: invalid character "�"
@AlexA. ^ Me trying to convince Julia to accept ISO 8859-1 encoding. I've tried to convince Julia to use
That doesn't make as much sense though. :P
I think yours is better.
Meh. It's Shakespearian-esque, we can get away with it.
Really? :\
Then you need some kind of meter, at least. :P
I'm trying to follow the meter from this:
A glooming peace this morning with it brings.
The sun, for sorrow, will not show his head.
Go hence, to have more talk of these sad things.
Some shall be pardoned, and some punishèd.
For never was a story of more woe
Than this of Juliet and her Romeo.
I'm somewhat close, and the audience will be forgiving. I hope.
00:58
I... don't see the connection. That's in iambic pentameter (x/x/x/x/x/ with x being unstressed and / being stressed), and your first line, for example, is x/x/xx/x/x/, and your second is xx/xx/xx/xx/x.
>.> You're better at words than me.
That sentence was sooo bad.
You're better at poetry than I.
Is that right? Maybe? Whatever. You know what I'm saying.
I'll revise.
@Dennis Haha
What did you do?
Saved the file using ISO 8859-1 encoding and set the terminal and locale to en_US. Julia was not convinced.
@Doorknob I'm going to leave it the way it is and mark it as purposefully terrible. c:
Ooh, that can be part of the bonus!
What's an ironically terrible fake-shakespeare way to say "Scoring"?
01:20
@Dennis Hahaha
0
A: Sandbox for Proposed Challenges

VTCAKAVSMoACEOh Montague Code Review, Oh, Montague Code Review, Wherefore art thou Montague Code Review! 'Tis this tale which I bring to you, with dread in my heart and a tear in mine eye*: The Rivalry between Code Golf and Code Review! Thusly, I challenge thee to a duel!** The Duel's Rules Thine "code"...

@SuperJedi224 Oh, yeah, forgot that those were two different words. My bad.
01:41
There are 10 types of people in the world. Those who know binary, those who don't, and those who didn't expect this joke to be in base 3.
9
It was also Back to the Future day.
And yet we still don't have hoverboards ;(
No, I suppose we don't.
fun fact
every society using numerals and a base system will claim their natural base is base 10
01:44
I can make tags, right?
([tag:yes])
So... yes?
Because I want to use for the pop-con in the sandbox.
Well, you just did, so...
01:48
Yeah. I mean in question asking. :P
I think he's asking if he's allowed to add custom tags when he posts it.
Like, where it asks me for the tag.
^^ That.
Oh, sweet. I need to bookmark the privileges page, I hardly know half the things I can do.
Well, good bye now.
01:50
Bye. o.o
Good night @SuperJedi224
I just checked my 6x6 equal 2x2 blocks grid program and it has finished.
> File is too big to be opened by Notepad++
XD NPP Users unit!
(NPPUU)
You are right. Notepad++ is basically PUU. ;)
716 MB.
I could figure out how bytes a grid is and divide it by 7 instead of opening the file to see the result.
I think I'll try to use tail instead.
02:07
Good night, all!
@El'endiaStarman @PeterTaylor Got 44084736 for 6x6.
@AlexA. This is what I was asking you about the other day. Does Dyalog actually print here outside a REPL?
@Dennis Oh
Come to think of it I'm not sure because I can't figure out how to get it to run as a script
Hm
I should change my answer
{2<+/|2-/B←(32/2)⊤⍵:⎕←⍵}¨⍳2*⎕ is shorter anyway.
However, at least ngn-apl doesn't exit after executing the program...
02:23
I can just make it a function
Whatevs
@feersum Nice!
@Dennis Made it an answer. I had forgotten about the unclear printing.
0
Q: Should a character encoding that can't actually be used by a compiler/interpreter be allowed?

feersumSuppose you are answering a code-golf challenge in a language whose interpreter can only use UTF-8. Say you have a program that uses some code points in the range 128-255, but not higher. Would it then be permissible to encode your answer in Latin-1 or some other single-byte encoding? I would ar...

-1
A: How do I remove a SQL Server 2008 instance from command prompt w/o removing the server?

Fred Becnansorry but i dont know how to answer your question fuck you

hahaha what?
@Doorknob How did you manage to find that answer?
Can we do the silent treatment on those who have yet to change to spooky avatars?
@Doorknob I'll edit out the name and submit this to Gems from Stack Exchange.
I think my avatar's pretty spooky if you ask me.
@Calvin'sHobbies spoopy*
And birds are super scary. Hitchcock made a whole movie about us.
02:35
I GOT THE SAME SCORE AS MATHEMATICA WITH PYTHON!!!
2
[does a little dance] :P
@AlexA. You use APL, right?
Do you have a version that runs on your local machine?
Yep. Dyalog APL 14.1 for Mac.
Have you ever used the APL codepage in it?
02:40
Man, I need to sleep. Night all.
I don't know how I would or wouldn't since all of the characters are inserted via keyboard shortcuts.
If you use any normal text editor it probably uses UTF8.
You can change it but they usually default to that, yeah.
I do remember reading that Dyalog supports both encodings, APL and UTF-8.
@PhiNotPi Could be spoopier
@El'endiaStarman They pulled ahead by 11
I think I'm just gonna abandon the beer catalog. Sucks we can't turn the pop con one into a catalog.
02:48
@Calvin'sHobbies Dang!
I mean, I expected that would probably happen, but still...
Ah, but your solution uses itertools. That means it could be shorter.
And not even going to Python 3.5 will win as I would only save four bytes.
...how would I generate the permutations without itertools?
I know it can be done, of course, but shorter?
hmm
I thought of a challenge. So the challenge is to simply print out a certain passage (dunno what I would pick) but you can google translate it into any language you want and print that out instead. So if it happens to be beneficial (read:shorter) for you to print it out in Spanish you can.
02:53
Google Translate is an external resource that can (and does) change
It also doesn't seem like the code would be the challenge, but just finding the right language.
@quartata But wont everyone probably settle on the same shortest language
also that
02:55
@feersum Using your solution adds 20 bytes.
@AlexA. stop poking me >:(
2
No, because it depends on what programming language you are using. Stuff like repeated chars that you can abuse would come into play
Hmm I wonder if google translate works on the wayback machine
@quartata I still think most submissions would probably still choose the same language.
@quartata I would be surprised if it did... translation is done server side
@AlexA. owie ow oww
[tag:အဲလက်စ်-မှားယွင်းနေသည်]
darn
Why can that be tagged but not the other one?
02:59
Well, I know that there's a Chinese Language site.
Not sure if there's a...
... whatever-that-is site.
translate: အဲလက်စ်-မှားယွင်းနေသည်
(from English) အဲလက်စ်-မှားယွင်းနေသည်
Hindu, I think.
THANKS TRANSLATEBOT
Maybe but I dont think it would really be that simple. There are too many factors. Even if there was such a perfect golfing language it would take time to discover
I wonder if Babelfish is still a thing.
I only search on Altavista using Netscape Navigator. I do all of my translating with Babelfish.
@El'endiaStarman The language starts with a b
03:02
your guy's new question about sturdy squares is really interesting
I'm looking at the draft for the OEIS, and I'm wondering why it doesn't matter if the 4x4 is toroidal or not
@Calvin'sHobbies ....can't really think of any such language off the top of my head. Looks like it's from around south/southeast Asia though.
@NathanMerrill Yup. Peter has been making good notes: chat.stackexchange.com/transcript/message/24833319#24833319
@NathanMerrill @PeterTaylor had a proof of this earlier in this chat room. Lemme see if I can find it.
@El'endiaStarman Bu
well, I don't follow his logic
I'll have to manually prove it myself
but thanks
have you guys looked into 3x3?
03:05
The toroidal property is easy
Label the variables a,b,c,... in reading order
@NathanMerrill Periodic not possible (I tried brute force)
Then a+e = c+g and b+f=d+h
so you can see right away that a+e+d+h = a+e+b+f.
Bulgarian?
Burmese?
03:07
a,b,c,d
e,f,g,h
@Doorknob Maybe. What does it say?
right, feersum?
@Calvin'sHobbies no idea, just Google searched the first character :P
ah, I can see it
03:08
hahahaha I put it through Google Translate @Calvin'sHobbies :D
It says alex is wrong
See? It's globally accepted.
Wait does it really? I was joking
It totally does say "Alex is wrong".
03:11
2 mins ago, by El'endia Starman
...!!!
Congratulations on your new-found telepathic abilities.
It actually does, lol
ok, last question (I think)
what about 2x2x2 cubes?
sturdy cubes
.......oh boy, here we go again....
Well, 2x2x2 is easy. There are 8! ways.
3x3x3? Uhhhhh....
Could also consider 3x3 subgrids and such
03:12
No more than 27!/4! ways.
the count isn't as interesting as whether it can even exist
IMO
Oh, I'm pretty sure that sturdy hypercubes exist in all dimensions.
The key concept is that if you make the sum high enough, you have enough ways of making that sum that you can fit some of them together to make a sturdy hypercube.
We need to make one OEIS sequence to rule them all.
right, but the initial limitation was that you can only use [0,N), where N is the number of available spaces
03:15
It should iterate through all numbers of dimensions, all grid sizes, and all sizes of equal subgrids.
I generated a 7x7 sturdy square from a pattern I noticed in a 5x5 sturdy square.
ok, better question then
I'm curious to know whether there are more 5x5, or 5x5x5(...) grids.
sturdy cube, where each plane in the cube is also sturdy
oooooh....
feersum! Attack that problem!
:P
03:17
That's covered in my one sequence to rule them all.
Or not.
I didn't specify, for an oblong equal subgrid size, whether it needs to work in one orientation or all orientations.
03:30
Everyone, keep your eye on the Gems from Stack Exchange Tumblr. It will have a new submission soon. (cc @Doorknob)
@AlexA. {0~⍨{⍵×2<+/2≢/⍵⊤⍨32/2}¨⍳2*⍵}
@NathanMerrill Not immediately finding any 3x3x3 sturdy cubes (with 2x2 boxes)
@Dennis wut
Naive code:
#abc|jkl|stu
#def|mno|vwx
#ghi|pqr|yzA
import itertools, random
perms = itertools.permutations(range(1, 28), 27)
for perm in perms:
	a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A = perm
	s1 = a+b+d+e + j+k+m+n
	s2 = b+c+e+f + k+l+n+o
	s3 = d+e+g+h + m+n+p+q
	s4 = e+f+h+i + n+o+q+r
	s5 = j+k+m+n + s+t+v+w
	s6 = k+l+n+o + t+u+w+x
	s7 = m+n+p+q + v+w+y+z
	s8 = n+o+q+r + w+x+z+A
	if s1==s2==s3==s4==s5==s6==s7==s8:
		print 'sum =', s1
		print a,b,c,'|',j,k,l,'|',s,t,u
		print d,e,f,'|',m,n,o,'|',v,w,x
Please remove your tabs and try again
03:32
Actually, scratch that. The only reason I wanted it work work with Dyalog was so I could do that: {0~⍨{⍵×2<+/2≢/⍵⊤⍨⍵/2}¨⍳2*⍵}
@Calvin'sHobbies With a maximally naive approach like that, you'll never find one out of 27! even if there are billions.
You need to have rejection when only part of the cube is generated.
There has to be an even smarter way to do this.
@feersum Yeah probably (though this way gave the 3x3 ones instantly)
9! <<<<<<<<<< 27!
A question I thought of just moments ago: what's the Levenshtein distance between 3x3 sturdy squares? I conjecture it's at least three.
03:36
(That's the super less than operator)
Was there discussion on whether there are squares for arbitrarily large NxN?
@Dennis how u git so smrt
@Calvin'sHobbies No, but that's easy.
"Yes."
Look at my 7x7 solution from yesterday and follow the pattern.
It would be neat to write an algorithm for generating one.
03:39
@AlexA. git smart :P Seriously though, just some minor golfs. Removing B← already saved 2 bytes.
@Dennis Why did I even assign B?
¯\_(ツ)_/¯
So does 2≢/ weed out the elements equal to 2? I'm not sure what that part is doing.
2≢/ is pairwise non-match. The result is exactly the same as |2-/.
That's nuts. I definitely would not have thought of that.
03:47
Does APL really have no way of finding all indexes of an element?
Have you tried iota and epsilon?
And epsilon underbar
I can never remember how
iota only gives the first index...
Epsilon underbar will give a boolean vector
This is a way to do it, perhaps not a good way: 0~⍨(⍳≢x)×3⍷x
Where x is the vector and 3 is the element you're looking for
I was wondering because it could have shortened your answer. But that's a lot longer...
Haha it sure is
03:53
J has I. which is IndicesOfOnes.
I'm not familiar enough with J to know what that does
For a Boolean vector, exactly what is says. I. 1 0 1 0 1 gives 0 2 4.
For non-Booleans, n returns its index n times. For example, I. 0 1 2 3 gives 1 2 2 3 3 3.
That's kind of odd
The latter, I mean
@feersum, @PeterTaylor, @Calvin'sHobbies, I'll be able to work more intently on this question after I'm done Skyping with my fiancée, but consider this: what operations can be done on the elements of a sturdy square that preserve its sturdiness?
Things that won't work: swap two numbers, rotate a sub-square, shift one row, shift one column.
Things that will: rotate entire square, flip horizontally or vertically.
Add some constant to all numbers (not super useful)
04:07
You can also flip diagonally.
You can rotate along even-size dimensions of sturdy rectangles.
@Calvin'sHobbies You can subtract from m*n-1.
I guess that's just a composition of (1) multiply by -1 (2) add mn-1.
I wonder if that could be useful to speed up a program.
Right now mine uses the 8 symmetries for a square or 4 for a rectangel.
Oh look, math
> rectangel
Math is awesome. ^_^
04:16
I should really post a challenge...
It's only been 2 years or so since the last one
Well you've been busy with your job at the hospital, haven't you, doctor?
I'm also willing to bet that you can't interchange any three elements in a sturdy square, but I don't yet have a proof.
s/hospital/saving the world/gpw
Well you've been busy with your job at the saving the world, haven't you, doctor?
04:27
I'm referring to him as a doctor, not assuming that his name is "Doctor."
Yeah, but I was referencing the Doctor.
There are at least several doctors in every hospital.
...not sure if trolling or not...
¯\_(ツ)_/¯
Any kind of "doctor" should be capitalized if used as a form of address.
04:29
And yet you didn't just now
Was I addressing anyone? No.
@feersum I disagree, Postal Worker.
You're addressing everything there at the post office
Say, @TheDoctor, which incarnation are you?
He is Satan incarnate
For the Daleks, yeah, maybe.
04:30
17.3, I mutated into a Shibe Inu
He isn't Dr. When or Mr. Who or whatever. He's a dog masquerading as a doctor.
Someone call the police.
ʕ•ᴥ•ʔ
Brb...
0
Q: Have "sturdy squares" been studied before?

Calvin's HobbiesOver on PPCG I've just made a question that involves arranging the numbers 1 to 9 on a 3 by 3 grid such that every 2 by 2 subgrid has the same sum. I'm calling such 3 by 3 grids and their N by N counterparts "sturdy squares". For example 1 5 3 9 8 7 4 2 6 is a sturdy square because the four 2...

Not sure if that's on topic over there
And it's really annoying that the links are practically invisible
They're not in the OEIS. Clearly nobody could have studied them.
04:36
Did it work?
@Calvin'sHobbies Is a trailing space on the lines with numbers allowed in your golf version?
I'm of the opinion that an extra trailing newline should also be allowed.
@feersum No
@Calvin'sHobbies No

« first day (1727 days earlier)      last day (3411 days later) »