« first day (1839 days earlier)      last day (530 days later) » 

6:49 AM
welcome
 
hi
 
request to be a student ;_0
;-)
currently belong to lv0 i think
github usrname: TvoozMagnificent
 
i am bad at jelly, so i cant teach you anything, ping the other 3 users that are online, they are jelly gods or somethings :P
good resource: jht.hyper-neutrino.xyz
 
@PyGamer0 which 3
 
6:54 AM
@NumberBasher that site's basically dead
 
ok
erm
 
so yeah what was confusing you about the numeric literal syntax
 
just saw this
"
Determine why these can be done in 0 bytes:
Evaluate a valid Python literal and listify it (e.g. f([‘1’,’,’])=[1])
Execute valid Python code (e.g. f([‘a’, ‘=’. ‘1’, ‘;’, ‘p’, ‘r’, ‘i’, ‘n’, ‘t’, ‘(‘, ‘a’, ‘+’, ‘1’, ‘)’])=[] plus 2\n on STDOUT)
very interested ;-) because they are the default? just a guess
 
if you can't read bnf the takeaway is ı makes complex literals, ȷ is scientific notation, and everything else is what you'd expect except you can't parse a leading 0 (so you get two separate nilads)
bingo
jelly just straight up python evals its command line arguments then "jellifies" the results to align with its type system
 
6:59 AM
i mean i dont see any other case it would make sense
@UnrelatedString why
 
never served a ton of purpose in the first place + erik's not been around
 
ok
"A niladic function (nilad) takes zero (0) arguments, a monadic function (monad) takes one (1) argument, and a dyadic function (dyad) takes two (2) arguments.

are thesenames madeup
specifically for jelly?
 
i dont think those names are made up
 
" The last link (separated by newlines or ¶)

Does this mean like every ¶ acts as a \n
?
 
no, they seem made up...
@NumberBasher i think so
 
7:03 AM
and um how does someone type a jelly program...
with a mac...
 
you can always try it online
@NumberBasher copy pasting is what everyone does
i am pretty sure all characters are typable with US INTL layout
yeah
in The Nineteenth Byte, Apr 17 at 4:19, by Radvylf Programs
I really like what Jelly does, with all of its codepage being typeable on a single keyboard layout (US-INTL)
 
OK
I just typed my username without the space and runner it and got...
...ABSOLUTELY NOTHING!!! HOORAY!!!
 
won't stop me from relying on a bookmarklet that misses several characters :P
 
wait no
my username actually product an output
[1, 0]
:-)
 
7:06 AM
@NumberBasher there is also Adám's language bars: abrudz.github.io/lb/jelly
 
A little test makes me think whitespace is irrelevant
?
edit: spaces
not whitespace
 
yep
spaces do absolutely nothing except break up tokens
(outside string literals ofc)
so you'll only see them as restricted-source noops or in fringe cases with numeric literals
 
ok so you most of the time don't use ' ' in golfing
 
unless a question needs you to output that
or you want to lower your score...:-)
" Jelly is 1-indexed, meaning that the first index in a list is 1 and the last index is the length. Index access in lists wraps around, so 0 refers to the last element, and index 5 in a length-3 list points to the second value.
yet another 1-index like julia
 
7:09 AM
spaces being so nice visually is why i'm planning for them to be the equivalent µ in my own wip^3 golflang :P
yep
 
best way to understand jelly is to make your own clone and modify it like i did with flax
 
i think it's partially apl heritage (forget what the default ⎕IO is but the fact you can set it says enough) and also just not-found-is-falsy
 
i dont understand
.ȷ. is 1.5811388300841898
i thought . is 1/2?
 
i wonder why index origin is 1 in jelly..
 
"Exercise: what does -. evaluate to?

is it -0.5?
 
7:12 AM
try it and find out!
 
um... how...
 
index origin is always 0 in j but dennis probably thought it would be useful for i to have a use as a flipped version of e plus easier filtering of unfound elements and such
 
@PyGamer0 i see it is 2.5^0.5 but why 2.5 ...?
still don't understand
 
@NumberBasher 0.5 * 10**0.5 = sqrt(10)/2 = sqrt(10/4)
 
oh
is this chat dead?
 
7:25 AM
the activity is sporadic
there's not a lot of regular jelly learners so a lot of the activity is when more experienced golfers find something weird to share
 
" using dictionary-compressed strings
i want to know the inner dynamics ;-)
 
hyper can probably explain those satisfactorily
 
is there any resourse
onlinr
oh
never mind
is there a decompressor?
Hello?
 
it gives you a fully functional string literal that you can run as a full program
 
is there a decompressor?
 
7:36 AM
jelly is the decompressor
the code for decompressing is buried in the source somewhere and i can find it if you want to try reading it ig
 
oh wait
are strings default printed
they should've mentioned it
 
anything is
 
@UnrelatedString they should've mentioned it, did they?
 
oh yeah wait does the tutorial actually not mention implicit output
 
7:39 AM
i feel like it has to somewhere but i can't find it lmao
 
At least not before it was used
Let's begin with a very simple program - Hello World. To get started, head over to the online Jelly executor on this site or Try It Online! (created by Dennis).

In Jelly, strings begin with “ and end with ”. So, the most basic solution would be this:

“Hello, World!”
Hello?
 
distinct opening and closing quotes since there's a lot of closing quotes and the opening quotes also create a list if used inside a string
string terminators in particular being 100% non ascii means you don't have to worry about escapes
the downside of that is there aren't escapes should you happen to need one of those characters but with the fixed length literals you can still manage
 
I think you should make a Mac-ffriendly Jelly that uses 1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?¡™£¢∞§¶•ªº–≠œ∑´®†¥¨ˆøπ“‘«åß∂ƒ©˙∆˚¬…æΩ≈ç√∫˜µ≤≥÷`⁄€‹›fifl‡°·‚—±Œ„´‰ˇÁ¨ˆØ∏”’»ÅÍÎÏ˝ÓÔÒÚƸ˛Ç◊ı˜Â¯˘¿
accessible with shift and option
 
8:05 AM
Hello?
 
I think you should make a Mac-ffriendly Jelly that uses 1234567890-=qwertyuiop[]\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:"ZXCVBNM<>?¡™£¢∞§¶•ªº–≠œ∑´®†¥¨ˆøπ“‘«åß∂ƒ©˙∆˚¬…æΩ≈ç√∫˜µ≤≥÷`⁄€‹›fifl‡°·‚—±Œ„´‰ˇÁ¨ˆØ∏”’»ÅÍÎÏ˝ÓÔÒÚƸ˛Ç◊ı˜Â¯˘¿
accessible with shift and option
 
not a terrible idea
 
i'm gonna do it some time
 
maybe have a utility to convert that to the standard codepage or use it as the basis of a separate language
 
8:19 AM
basis of a separate language works for me

 The Nineteenth Byte

The Nineteenth Byte: General discussion for codegolf.stackexc...
 
 
1 hour later…
9:40 AM
i have regrets
0
A: Haplololololololology!

Unrelated StringJelly, 42 bytes ịe⁾ - ṁƤẹḍL}+çɗ¥ƇḟL_祀ḣ@¹Ḣȯ ŒṖÇƑÐḟẎLƊÞṪÇ€ Try it online! It's... not performant, but I'm reasonably confident it's actually correct this time! Updating the explanation later, because I'm half asleep at this point, and holding out hope there's a better way to do the last fix... ị...

 
Lol
 
9:55 AM
in a day or two i also have a feeling this'll be another "unrelated string walked so jonathan allan could run"
because this is too complicated for any sane human being to want to do in jelly on their own initiative but you just know he's going to see this then think of some way to do it 7 bytes shorter
plus i basically took the relatively elegant core of a solution that didn't worry about spaces or hyphens and slapped on a series of three bandaid fixes to make it worry about spaces and hyphens
so it stands to reason there might be a considerably better way to do it that was designed to do so from the ground up
 
 
2 hours later…
11:59 AM
lol
 
 
10 hours later…
9:54 PM
> some way to do it 7 bytes shorter
i swear i had not actually thought of a way to do it exactly 7 bytes shorter when i said that
 
 
1 hour later…
11:14 PM
(also it really feels like there should be a way to shave an additional byte off)
 

« first day (1839 days earlier)      last day (530 days later) »