« first day (4232 days earlier)      last day (612 days later) » 

12:07 AM
and... lyal is dead
Steffan, do you want to start it?
If nobody wants to start it I can give a quick tutorial on SunSip...
 
CoMC: Deep-flatten a list.
I did start it
 
for tops, where are the tuts / guides for coconut
befoe you even start a cmc
*comc
@Steffan i meant, actually start it
anyone from the university of pennsylvania to tell me where the fuck i can look up my "recitation number"?
 
I did start it
22 mins ago, by Steffan
Welcome to the twenty-fifth Learn You A Lang for Great Good! Today, we'll be learning Coconut. During the event, feel free to post CMCs to practice Coconut (CoMCs), ask questions about the language, and so on.
 
but there is no activity after that related to coconut
except perhaps
> Clearly, the CMCs should be called CoCoMos :P
 
should it be coconut then?
 
12:20 AM
shrug
hmm, just found a math question on our homework titled,
>
3. [8 pts] Blind Taste Test Gone Wrong??? (Not Clickbait)
 
It didn't really work last time and no one could teach it
 
true
and i, of all people, started it, making it worst
 
if we switch, we're tied between prolog, labyrinth, and F#
 
but if there's noone capable of teaching it, I can give a quick SunSip tutorial
actually, does anyone want to teach any of the following:
coconut, prolog, labyrinth, and F#
if there is anyone, do it in 5 minutes, else I am giving a quick tutorial on SunSip lol
currently 8:26:10 in my timezone
2 minutes gone everyone
 
@NumberBasher bruh literally no one agreed to this
 
12:29 AM
there's also nothing prohibiting it
because technically, SunSip is on the lyal list
if anyone wants to teach any language higher or tied with SunSip, I don't have to teach SunSip
 
well i could teach knight if nothing else works (also on the list btw)
 
ok, go on
 
bro we literally have no one else talking so far ok, just chillax
wait for other ppls opinions first
we could always skip this week if theres not enough activity
BRUH
my dude
 
@AidenChow but if there is noone here, how can we have ppls opinions
 
@NumberBasher as i literally just said, we could skip this week if theres not enough activity
its been done before
or we can just decide later
also a good option
no need to rush things
 
12:33 AM
but i'm not willing to... i want to do SunSip... *baby cries*
 
i don't think sunsip counts as being on the lyal list since it has negative votes
 
@NumberBasher bro it literally has -3, i think other langs will be considered first before urs
^^
 
Just wanna point out that LYAL is 24 hours long
 
true, but i think we agree nobody has 24 hours?
 
A bit of inactivity in the first half hour is fine. Unless people agree to do a different language, this week is Coconut, mainly cause I can't be bothered to pin/unpin things again
4
 
12:36 AM
ya im down for doing coconut (i thought we literally did it last week tho???)
 
in name only
 
last time i meant
not last week
 
@AidenChow but technically, all the other langs are considered. but i get your point and I'm not argueing
 
@UnrelatedString what does that supposed to mean
 
@UnrelatedString last last time, there was activity
 
12:37 AM
might as well just do coconut
 
also should we edit down our deleted lyal nominations down to a stub (i noticed deleted lotm nominations were edited in that fashion)?
 
There wasn't even an announcement last time fwiw
 
yeah and no one really did it
 
I wonder if those two things are related? :P
 
welcome to the two thousandth lyal, guess what, it's coconut again!!
 
12:38 AM
@cairdcoinheringaahing first, its not the first hour. its already X:35. second, its not "a bit" of inactivity, there was literally only my and aiden chow at that point
 
@Steffan yea well i went through the tutorial and the first exercise already had me stumped. looked at the solution and it was like a bunch of lines, kinda gave up lol
 
it makes sense to me
basically, haskell + python = coconut
 
and the piping thingy was weird as well
 
true-y
 
like <| and |> or whatever
 
12:41 AM
reminds me of c++
cout << "eoiho" << endl;
pipe-y
 
...not really
 
it's normal
 
reminds me of elixir and clojure though
 
@Steffan never encountered them in my life lol
 
most functional langs have pipe
 
12:43 AM
@NumberBasher I hate C++'s operator overloading with << ಠ_ಠ
 
oh, normal for functional langs
but probably weird everywhere else
 
@cairdcoinheringaahing additionally, our programming teacher uses "<<" for "asymptotically smaller"
@AidenChow consider golflangs LOLOLOLOLOLOLOL
 
@NumberBasher That's not entirely awful. x << y indicates that x is much smaller than y in math
 
but thaqts a whole bunch of overloading
"<<" now has 3 important meanings
> pipe-ing
> asymp. smaller
> bitshift or something
 
@NumberBasher Wait, what does "asymptotically smaller" mean in "programming"?
 
12:45 AM
@AidenChow it's conceptually pretty similar to "fluent apis" or whatever they're called in oo languages
 
um i think ur last example of x << y is just a notation, not operation overloading
 
Asymptotes aren't exactly a thing in coding
 
where you have an object with methods that return the same object just so you can sequence them more easily
 
@UnrelatedString ya i dont do java either lol
 
12:46 AM
@cairdcoinheringaahing like, 2^x<<3^x
or, 3x<<x^2
 
Oh right
Yeah, that's not overloading, that's just notation
 
bro thats just a math notation
^^
 
frankly it is kind of weird that executing isn't more left-to-right in general
 
@cairdcoinheringaahing except usually our prog. teacher gives examples, so he would say
2^10 << 3^10
 
Also, 2^x isn't really asymptotically smaller than 3^x, they grow at basically the same rate
 
12:47 AM
which, doesn't quite make sense
 
@NumberBasher That's generally understood to mean that \$2^{10}\$ is substantially smaller than \$3^{10}\$, which, I guess, kinda?
 
6
Q: Which one is asymptotically larger: $n 2^n$ or $3^n$?

bandit_king28Which of the following functions is larger asymptotically: $n 2^n$ or $3^n$? If I take $\log$ on both functions and then compare, I am getting $n 2^n$ as larger, but the answer given is $3^n$. Where am I going wrong? $n 2^n$ vs. $3^n$ is equivalent to comparing $\log(n 2^n)$ vs. $\log 3^n$, or ...

@cairdcoinheringaahing true
although the q and a states that n*2^n < 3^n, I guess it shows my point
and it should be sensible that 2^n<<3^n
 
well the point still stands that its not overloading, at least for this particular use case of <<
 
but when we are learning stuff in class... well i mean its more of an understanding issue rather than a tech. issue
 
@NumberBasher No, as the limit argument fails for 2^n and 3^n, as the limit tends to infinity, not 0
 
12:50 AM
what does 1<<x mean, 2^x or 1 is very small comp. to x?
@cairdcoinheringaahing how
demonstrate
 
1<<x in programming is 1 bitwise shifted left by x, which is 2^x
 
why is lim(x->inf) 2^x / 3^x equal to infinity?
@Steffan what if it was part of the class
 
@NumberBasher bruh, (2/3)^x as x->inf is?
 
@cairdcoinheringaahing I can't do limits ಠ_ಠ
 
@AidenChow brain fucked
typing issue
 
12:52 AM
lol u edited it
ya its not infinity, its 0
 
Forgot that x^n -> 0 iff 0<x<1
 
well thats what i meant to say
@cairdcoinheringaahing is n*2^n << 2^n?
i think so
 
why...?
 
n2^n > 2^n for all n > 1
 
12:54 AM
oh frick
i meant
2^ n << n*2^n
@cairdcoinheringaahing technically that isn't sufficient i guess...?
 
I generally wouldn't use << in that context, no
 
ok...
um, coconut?
 
Sandbox posts last active a week ago: Optimally pop all the bubbles
 
hi @RadvylfPrograms
 
1:03 AM
Hi!
Do you want to start coconut
lyal
 
we already started it
 
true, but like...
i feel like you are only here when i ask someone else to start coconut lol
 
@OldSandboxPosts yo could someone look this over real quick, see if its all good
 
Just post a CoMC, that's usually the best way to get engagement
 
@cairdcoinheringaahing lol ill just post a random one cuz why not
CoMC: print first n primes
or return
doesnt really matter lol
a bit of a tangent here but is hq9+ case sensitive or insensitive? like does it only accept H or also h?
 
1:14 AM
Case sensitive
Well wait
One of the reference implementations is case sensitive
And one is not
 
bruh thats why i asked
i saw that too
 
The original implementation is case insensitive it seems
 
huh rly, ok
 
@cairdcoinheringaahing the problem is, where is the coconut tutorial and stuff
 
@RadvylfPrograms well if i was using hq9+ in one of my answers and i wanted it case-sensitive, can i specify a specific implementation where its case sensitive or is that invalid
 
1:17 AM
Yeah
 
oh nice, ok
 
There at one point (and technically) still is a rule that languages are defined by their implementations
So if there's an implementation with a certain behavior it's a valid language
 
what if I give an entirely different implementation and call it Python, can I use it for cops and robbers?
 
lol
 
1:19 AM
Unless there's a rule about which languages can be used
Which for CnRs involving guessing languages and stuff, there typically is
@RadvylfPrograms (Although I'm pretty sure you could get away with using a language's spec instead of an implementation)
 
i was asking specifically cuz i was writing up a crack for a cops post
funny u mention that lol
 
oohhh...
how do i see which question a badge was awarded to?
oh i see
 
@NumberBasher one way is u go to badges in ur profile and click the badge
 
1:37 AM
yah
try crack this lol
0
A: Polyglot Quiz (Cops' thread)

Number Basher[A] and [B], 50 bytes, Vulnerable S is 0 Both A and B, 14 bytes print('0') out A but not B, 15 bytes print('0') out# B but not A, 21 bytes print('0',) out there Neither B nor A, 0 bytes Yeah, I'm not wasting any bytes here :-)

 
@AidenChow what gave it away, the string itself? :-)
dammit i wanna ask a question about installing a lang or something but like. If i do it will give my next cop away LOL
 
lol
you might have already given it away
 
:fearful:
 
get ready for my fgitw crack
 
or maybe its a red herring and im going to use two online implementations of the same lang
 
1:52 AM
@thejonymyster well yes, and i also noticed a lack of Q, 9, and + as well so i thought, just maybe it could work
(except for the last one, there were 9's)
 
not that the last one matters :P
 
lol yea
 
i guess the last one is like
"heres your last shot to keep it from being some random lang that will accept your weird syntax"
 
@NumberBasher im gonna make the guess that one of them is ur lang sunsip
 
lol
a reasonable and correct guess
 
2:05 AM
is there an interpreter i can work with here other than the py file in the repo?
(so that i can link it)
 
I hve one that's very out of date but it works in this case
lemme seee
omg the link is too long
shorturl.at/amT04
[shorturl.at/amT04](shorturl.at/amT04)
wait
 
huh it just redirected me to shorturl.at
 
even the url shortener broke
 
is it a tio link?
 
yah
the header and footer is as long as hell
gotta go for now...
 
2:13 AM
huh could just be me but i cant load it...
 
getting blank python tio
 
@NumberBasher one of them is sunsip, I haven't yet found the other
 
@Steffan i think python 2 works
 
sippin on the sun... :9
 
i was just trying to confirm if sunsip works
@Steffan wait which is A and which is B?
cuz it could be A = python 2, not sure if A or B is sunsip
 
@Bubbler oh man idk any 2d langs lolol
 
i'm trying all sorts of 2d langs but none are worknig
 
@Steffan lol ive been trying random langs too
pyth works for #3 but not for #1 lolol
 
it's probably not actually a 2d lang
 
hmm labyrinth works for #1, im gonna check for the rest
yep, seems like B = labyrinth
 
2:34 AM
ooh
 
found another lang that works for #1, i mightve gotten it
 
found the other
who gets to post it :P
i mean i have the pair but u got one of them
 
@Steffan well u already have two cracks and i only have one lol
:P
 
post it
or did u find it?
 
@Steffan ye i found both of them
 
2:41 AM
k
 
i just realized that both those langs are made by the same person, nice
 
3:07 AM
that was pretty fast
 
@Bubbler ya, was trying all the different 2d langs
 
though that means now it's time to use non-TIO langs
 
@Bubbler crap thats bad lol
i want to make a cop post but like i only know a select few langs lol, itll be hella ez to crack
 
found a lang i want to use the hard part will be programming in it
knowing of a lang isnt enough apparently
 
@thejonymyster yo what lang is it? maybe we can help u with it :P
 
3:18 AM
so tempting
 
@thejonymyster yes, go on
 
not to mention i need to know even a second language
 
yeah im having trouble finding langs that wont be immediately obvious
 
gotta write a machine code polyglot, if only I had time to write one
 
bro machine code, never ever gonna touch that shit lol
 
3:28 AM
posted an easy cop
 
doesnt look easy lol, im not familiar with the 2d langs at all
 
very easy
 
4:05 AM
what if its like
a repl environment
i imagine that just wont fly, right
 
4:23 AM
@AidenChow i have touched it once, by writing hello world in aarch64
 
@Steffan very easy yet im still stumped lmao
 
4:38 AM
Apr 24 at 10:59, by PyGamer0
cmp: arm vs x86_64?
^ me trying arm assembly
 
 
2 hours later…
7:05 AM
0
Q: The least amount a steps a chess pice can reach a position

BjopI have previously posted a challange: smallest number of steps for a knight in chess. Now I would like to go a step further by adding the possibility to choose you piece. If you place a pice on any square of a chessboard, what is the smallest amount of steps to reach every possible position? Rule...

 
 
1 hour later…
8:33 AM
A new answer:
0
A: Polyglot Quiz (Cops' thread)

Number Basher[A] and [B], ACTUALLY 3 BYTES!!!, (Very) Vulnerable S is 0 Both, 0 bytes: Only A, 1 byte: ! Only B, 1 byte: r Neither, 1 byte: " alternatively, We're no strangers to love You know the rules and so do I (do I) A full commitment's what I'm thinking of You wouldn't get this from any othe...

And I can tell you it isn't SUnSIp lol
3 bytes should be technically the best you can get
 
Seriously? The joke is only funny once
 
8:46 AM
Editted. And spoiler, there's a rick roll in the comments, because there has to be 15 characters, apparently
I'm pretty sure it will be cracked in max 1 day so I'm not giving any hints
 
Yea it seems interesting enough
 
thanks
 
 
1 hour later…
9:58 AM
@NumberBasher * one hour
and more like one minute for me
 
10:11 AM
I would like to know, if there's any whitespace char that's considered a white-space by C, but variable name by PHP...
 
unlikely
 
Hm hm
PHP lists \x80 to \xFF, besides a-z A-Z 0-9 _
 
Most C implementations would complain about invalid UTF-8
 
Let's say gcc, to simplify it
You can use \u000 and such
There are other chars that work as "ending" of macro replacement, like -
#define MACRO "moo"
and
MACRO-asd --> "moo"-asd
 
10:51 AM
hello! I am back!
 
Welcome back!
 
thanks
 
F O R E V E R
 
 
1 hour later…
12:03 PM
I have a tricky challenge in PHP+C polyglot code when it comes to struct/class properties
Could I post a question here, asking for help with that?
Or must it be point based?
I'll try
After all, being denied is SO tradition
 
If you do maybe it should be ? Still not sure if it's legal
 
12:18 PM
yea
 
How do you read STDIN in Jelly?
I found 0ƈ to read a char but is there another way ?
 
ƈ	Read a single character from STDIN.
ɠ	Read a single line from STDIN.
 
Thank you ! :D
 
12:36 PM
CMP: the only official interpreter i could find for a language is a repl environment, and it doesnt allow pasting in, and as soon as i make a newline, evaluation occurs, so all console printing happens immediately and theres no way to make it wait until im "done" writing a "full program". What sort of "programs" are valid here?
feels like youre only allowed to write snippets which seems like an issue, since generally we dont allow snippets almost anywhere:P
or i guess thatd be a CMM
of course i could write a new, better interpreter but for CNR type challenges that wouldnt be an option
also its for a cnr so i cant just Tell you what language it is
(Lol)
 
12:53 PM
|:
 
@TKirishima There's also Ɠ, which tries to evaluate the input line read from STDIN
 
@Ginger yeah i know but also the issue is very simple to describe and its not like anyone would be installing the language just to decide their opinion on this :P
 
@thejonymyster If the language has functions, those are still an option. If it doesn't, single-line programs or multi-line ones which do all the printing in the last few lines both seem fine
And depending on the situation IMO a snippet would be acceptable if there's no other way of handling I/O
 
@OlleHärstedt You could ask in chat first if you're not sure it's acceptable on the main site (I think it probably would be though, at least as long as it's a question)
 

« first day (4232 days earlier)      last day (612 days later) »