« first day (4183 days earlier)      last day (957 days later) » 
00:00 - 15:0015:00 - 00:00

00:02
I would let y'all into my maths class zoom but they actually check :/
Well lucky for you and everyone else, lyxtures resume next week
This semester we have a fine selection of courses that hopefully have zoomies: database and information management, algorithms, and discrete mathematics
What kind of discrete mathematics?
There's more than one kind?
Also, it's an introduction to discrete mathematics
00:10
Ok, what are they covering? :P
One second let me check the course outline :p
@lyxal There's the nice kind, the less nice kind and the "we don''t talk about this" kind :P
4
Elementary set theory
Relations and functions
Graph theory
Modular arithmetic
Logic and proofs
Enumeration techniques
Elementary probability theory
Recurrence relations
I have a competitive maths thing
00:13
@lyxal This is second year stuff?
First
I just didn't last year
Ah right, I was thinking, this is stuff we did in my first semester
@lyxal Are you sure you'll be able to handle "modular arithmetic"? Sounds super complicated, and not at all like a basic mathematical operation included in most programming languages
caird %= lyxal
May 11, 2021 at 1:23, by caird coinheringaahing
@lyxal frick, only 10/10 not 69/420? I failed as a crewmate, hella sus. Let me just go commit frick and die
@Zionmyceliaadamancy well gee now that you mention it like that, I don't know now :p
@NoHaxJustRadvylf ES10 has .at(-1) for that
@NoHaxJustRadvylf the ability to grab the "last" element of an array is so convenient to me that (in non golf contexts) ive been using shift and unshift instead of pop and push since that puts it at 0 lol
@hyper-neutrino It's been over a year, read these words again:
May 11, 2021 at 1:23, by caird coinheringaahing
@lyxal frick, only 10/10 not 69/420? I failed as a crewmate, hella sus. Let me just go commit frick and die
And we put it in the lyxtures
And Daniel read it out
Wait, really?
Between sleep deprivation and being drunk, I basically can't remember anything from those lectures
00:31
I'm pretty sure Jo King sent it :P
Ngl, rereading the transcript, I love seeing the moment when lyxal actually posted the link, and everyone's sheer disbelief :P
in We love us some Daniel, May 10 at 6:52, by caird coinheringaahing
Dude, I was gonna suggest you send me a link privately, god damn man
@Zionmyceliaadamancy Also, I kept offering to bribe people to do stuff, man I am not financially safe when drunk :P
00:38
in We love us some Daniel, May 10 at 7:37, by Unrelated String
if you saw my name and thought it sounds made up i don't blame you
in We love us some Daniel, May 10 at 7:09, by caird coinheringaahing
Doesn't care who he teaches, fucking based right there
@Neil Yeah, but I'm super not a fan of things like .at, .set, .get, etc. Way too ugly and verbose.
@Steffan 1. That doesn't work properly with .map and stuff, since the .constructor is wrong
2. That doesn't handle indices the same way a normal array does. array[0] != array["00"] != array["0.0"]
@NoHaxJustRadvylf Next challenge: Make a mutable string
3. That actually doesn't let you access any of the array's properties or methods
wellt hen set the constructor
oh i guess that doesn't fix it
00:47
@emanresuA String = list of characters, ez
i forgot that using map and stuff would still trigger get
Every single modification between mine and yours is necessary in order to make it work properly
(Although I guess "properly" depends on what you need it to do)
@emanresuA Ooh this is a fun one
@emanresuA incorrect
Do you remember who it was?
it was george rhodes i believe
01:00
Sandbox posts last active a week ago: Nest some addition, differently
@JoKing The question still remains: who is George Rhodes? :P
Phil Fillips
@emanresuA Done
var ps = "xyz"._;
ps[1] = "Y";
ps.concat(" abc");
console.log(ps + ""); // "xYz abc"
01:33
CMQ: Is symbolic math worth it for a golfing language? Or can I get away with floats?
I want to have complex numbers, so maybe a pair of floats would be sufficient?
@NoHaxJustRadvylf ("symbolic math" as in being able to represent things like the square root of two, pi, rationals, etc. to arbitrary precision, no manipulation of actual non-number symbols would be needed of course)
I don't think it would be needed
02:19
@NoHaxJustRadvylf well it depends really
It kinda helps for challenges where you'd otherwise be screwed by floating point stuff
Just make sure the library you use to implement symbolic math doesn't lead to security vulnerabilities in your golfing language :p
No worries, I'd be implementing it myself
(Which on the other hand is a perfectly good reason to worry)
02:32
@NoHaxJustRadvylf in conclusion, I'd say yes. Iirc there's been a few instances where it's been useful in beating other languages
 
2 hours later…
04:13
0
Q: Minecraft Commands I/O Methods

Command MasterWhat I/O should be allowed for Minecraft commands answers? There is already this post, but it is mainly focused on redstone creations, and is quite outdated. Here are some specific points, however, a general rule would be preferable: Is it allowed to receive numerical input in a scoreboard you c...

 
2 hours later…
06:05
Hi is it time to LYAL/LDW yet?
06:40
0
Q: Extract Strings from Text

tshIn some languages, strings are started and ended with a quote mark ('). And quote itself is escaped by writing it twice sequentially. For example, empty string is written as '', and I'm is written as 'I''m'. This question is about find out all non-overlapping strings from left to right in such fo...

@Ginger not yet
But soon
07:42
@Zionmyceliaadamancy >_>
It would be nice to have some way of being notified of new tag synonyms
That page is very well hidden
Jun 30 at 15:29, by pxeger
CMC: create the best avatars for the LotM and LYaL feeds
Anyone working on this?^
or should I just unpin it
What does the ~ mean?
oh it means "follows the distribution"?
Desmos has such an immense feature set for a calculator. How do they make money?
It's a regression thing
@pxeger Selling it to teachers
We don't get one :(
Wait nvm these are (just-out-of) beta sites
Still sad that we don't get a custom 404.
@emanresuA We've already got one lol
No dark theme though
it seems like SE doesn't care that much about dark mode
I need a theme that looks identical to SO so my coworkers can't see that I'm golfing
09:17
@mousetail That shouldn't be that hard to do
A userstyle with a bunch of !importants should wokr
 
2 hours later…
11:03
84
Q: Count of "a"s and "b"s must be equal. Did you get it computer?

user55673In the popular (and essential) computer science book, An Introduction to Formal Languages and Automata by Peter Linz, the following formal language is frequently stated: $$\large{L=\{a^n b^n:n\in\mathbb{Z}^+\}}$$ mainly because this language can not be processed with finite-state automata. This e...

12:00
Welcome to the third Language Design Workshop! The general premise is that you can post work you've done or are doing on esolangs and people will give feedback. In short, you'll get to show off our languages and their features, chat about them, get feedback, try out WIP languages, and, hopefully get ideas over the next 24 hours.
4
ninja'd
mine's better because it doesn't use the made up word "y'all"
nevermind the fact y'all'll is in the first two announcements :p
12:01
What about y’all’ll’ll’ll’ll…
also SE chat thinks you posted yours at 23:59, and mine was at 0:00
@mousetail good point
@pxeger lol
not that the difference can be significated anyway
should I rename Curo to Quro?
imo looks more unique
sure
sounds good to me
12:03
Quro sounds cooler for sure
nice
^^^
I have a WIP language that's inherently stackbased but externally looks more tacit
Ooh
@emanresuA can I see that
↗️🔂🔂🔀🔄↗️↩️⬇️↙️🔼↕️↔️🔄🔀⏬⬆️🔼⬆️🔼↖️↗️⤴️⬇️⬆️🔼⏭⏯⏯⏬⏩⬆️🔽⬆️↗️⬆️1️⃣🆒1️⃣▶️7️⃣⏸*️⃣⏸*️⃣⏸0️⃣🆒5️⃣3️⃣⏸*️⃣▶️ Which means I am on a mobile phone
currently in pizza hat
(idk why it’s not called hat, implied by logo
12:27
no its a hut, the logo is a roof
@emanresuA i love lang that is one thing but is pretending to be another thing
i was recently trying to implement bf as if it were a functional language :P
mainly as a joke but it was interesting to learn more abt implementing functional composition
@thejonymyster looks like a hat to me…
some things look like more than one thing
and anyway what is a roof but a hat for a house :P
Dhjdbsbhsjjgbdbd hahahhahahahhah
ldw seems deadish
lets make a Pizza Hut workshop instead lol
I decided to go to Magnus trajner
bye
for now
Raja’s riddles are SSS so sSsSsOooOooOoo hard
13:01
>:[
You put a lot of effort into censoring that
there aren't enough questions!!
Sad
It's hard to write good questions though
13:15
LDQ: Does the specific order of commands in a lang matter?
like, not order of operations
but like, in the encoding
i feel like if youre working with a SCBS it mostly doesnt, other than having things be neat and orderly
but im working with stuff smaller than a byte, so i feel like its important that theres some symmetry at the bit level
You may want to consider restricted-source
e.g. having 1000 and 1001 be a symmetric pair of commands with eachother makes more sense than having 1000 and 1101 be a symmetric pair of commands
ooh good point
try to spread out similar commands to provide redundancy if certain subsets of bytes are disallowed?
good thinking
might not work for what im doing right now since its a tarpit and ideally there is no redundancy :P but in general i like the thinking behind that
Are you planning to to use huffman coding?
13:23
@thejonymyster In general, I would say trying to match ASCII for the characters shared with your code page is desirable, if only for elegancy
@mousetail while i do enjoy huffman coding im doing something a bit sillier
I'm intrigued
im having trouble phrasing it, its not super complicated im just bad
the amount of bits the IP reads per command is a thing you can modify
but the commands stay the same
Ok cool, so if you use only basic commands you can reduce the number of bits per command?
yeah
unfortunately its also a tarpit so its not super golfy about that
13:26
Tarpits are fun
but im not like copyrighting it or anything so if anyones a genius feel free to play around with that idea
also yes :)
this one is sort of inspired by like, if youve ever seen TASes where they make the console read code from like controller input or other data
i mean i guess what im about to describe is "what if a program was also where all the data was stored" which like yeah we all know what a self modifying lang is
but the idea is you just define a bunch of pointers and move them to other pointers
the location of a pointer is stored in the data as well
there isnt even a flip bit builtin, you just increment a pointer who's location is stored at the bit you want to flip
@thejonymyster Not really, unless they're mapped to specific characters, or positions in a grid (like the 16×16 one for SBCSs)
Also, morning!
@PyGamer0 can you send a monospace screenshot?
13:39
@NoHaxJustRadvylf looks at clock you're 21 minutes too early :p
early to be calling it morning that is
idea for a project for a bunch of dedicated ppl to undertake: monospace-all-unicode
DVSM is pretty close, right?
Missing most characters.
@lyxal Late night!
Doesn't have the same ring to it :p
Morning! and Afternoon! and Evening! all work though, weirdly
@NoHaxJustRadvylf well it'll be morning in 19 minutes, so leave your morning till then :p
@PyGamer0 Not a fan of the currency symbols, what kind of operation will you give them?
group n links as n/m/d
and also the 3-4 cyrillic characters
That н could be confused with H
13:42
@PyGamer0 What font is that? A custom Iosevka?
лнпя don't really feel chain seperatory. I know I touched on this last time, but something about them doesn't yell "hey, I'm starting a new chain lmao"
@Adám yep
@lyxal hmm.... suggestions?
Why is the rupee seperate from the other currency symbols?
This is just my (probably unpopular) opinion, but I'm not a huge fan of √ΣΠ
@PyGamer0 øµðɓ are a good start
obviously not those because Jelly, but something like them
13:43
@mousetail .... i think i can group them together
always looks kind of weird, Σ feels too different from the rest for a common operation like sum, and Π looks too much like other stuff (especially your nearly identical п) and has the same problem as Σ
also you have greek π and cyrillic п
which in most fonts will look the same I assume
@Fatalize didnt notic that
can confirm
I know very little about code pages so I'm judging purely on estetics, but the letters with the dots above them look maybe too similar to the normal letters
13:45
o_o
alright removing cryllic
lower case letters are ok but for the upper case letters the dot really blends in
@mousetail Those are a pretty standard part of most code pages
@mousetail really? I think they work fine
So we're all used to differentiating them already :p
Again I know nothing about code pages
13:45
Or use very distinct cyrillic letters, like Ж or Ю or Ч
Plus, since there's underdot ones too, they're positively awesome for filling in big gaps in code pages
@Fatalize ooh those are good
@PyGamer0 ЖЮЧ and something else for chain seps
@mousetail Opinions of non-code-page-designers are just as important, since that's the group of main people using it
@mousetail I don’t necessarily agree, but also it’s because letters with dot above/below are very useful for unified mnemonics
@lyxal let me just stick with jelly
@NoHaxJustRadvylf sooo any suggestions?
13:47
@lyxal Ж in particular because it’s symmetric
There are the curly mathematical versions of letters in unicode, don't remember what they are called but they look more distinct
Ш and Э are also cool possibilities I guess
@PyGamer0 I'd just use letters/whatever else your normal monads are for those, presuming they're sqrt/sum/prod.
The caligraphic letters
TIL there's a single character for dz
13:48
@NoHaxJustRadvylf ok so what do i replace those slots with?
As for filling in the space, maybe ©®¡ or something
And frankfurtur letters too
IMO you should have as many characters as possible type-able with common keyboard layouts
@lyxal dz nuts
@NoHaxJustRadvylf now see I'mma pull a radvylf on you here and say that I'm not a huge fan of ©®
@mousetail do you mean fraktur?
13:49
Yes
whoa iosevka is broken or something
@lyxal I could see that. Why?
©® display weirdly - sometimes the ® is the same size as the ©, other times it really isn't
I'm dyslexic on prime wendsdays
@lyxal Yeah, that's true. I noticed consolata does that.
13:50
also, apart from register usage, they don't really have much mnemonic usage
@lyxal ® looks very small in chat for me
but not when I c/c it…?
similar to the above image?
©®
even smaller
They're easily accessible on the US-INTL keyboard layout though, the same one Jelly uses
(Depends a lot on your priorities though, if it's a transpiled or copy-paste-oriented language then that doesn't really matter)
it also doesn't matter if your online interpreter has tab auto-completion built-in :p
13:52
I like ¤ if you're looking for another symbol
Trying all the combinations on my keyboard layout
Just found out I can type ☮ with alt gr + j
¤ is a good one
why does iosevka swap locations for the phi characters
sounds like an iosevka problem
Yeah, I noticed that too. Apparently which glyph goes where isn't a settled thing.
13:53
why are there two phis?
one uppercase one lowercase?
phi and varphi I guess
(in LaTeX at least)
φ and ϕ (code: φ or ϕ)
or is it a LaTeX \varphi kinda deal
By me, the two render swapped in text vs code.
@Adám oh wow I see what you mean
13:55
The closed circle is for the capital, and open for lowercase
φ is "greek small letter phi", and ϕ is "greek phi symbol"
if you disagree you are wrong
Nope. Captial is Φ
@Adám I’m talking about writing it, not the actual codes
@pxeger Yes, everyone agrees on that, but how should they look?
13:56
different?
mischievous_face
no. they should look the exact same
Greeks should just use the latin alphabet, that would be simpler
completely indistinguishable except for a single pixel
@Fatalize well then do I have the code golf challenge for you
that's how they should look
13:57
@Fatalize Capital stands on the line like I. Lowercase descends below, like p
We should all standardize on a single written alphabet. Latin is too eurocentric, and the rest are too domain specific, so we'll have to invent something new. Since we're doing that, we can go ahead and add support for built-in error correction and compression algorithms. We can abolish all of Unicode and use a single SBCS for everything.
Braille?
Good luck finding a middle ground between chinese and latin
IPA?
@pxeger What if we invent new syllables?
14:00
can we invent a new class of phoneme which is neither consonant nor vowel?
@Adám Still eurocentric but also unreadable and mixing pronunciation with spelling in a way that wouldn't work for a lot of languages
Wait, wait, I have it. Let's create a mapping for each of our existing letters to a pattern of 32 bits.
@lyxal Good morning!
@Adám great idea!
@NoHaxJustRadvylf thank you
14:01
and then we could compress them into one or two bytes for the most common letters!
@NoHaxJustRadvylf I was really hoping you'd remember that
I wonder what we should name this new universal code...
maybe "codeuni"?
@pxeger Nah, to conserve space by skipping lots of all-0 bytes, let's devise a scheme where initial bits determines if subsequent bytes are included in the current character.
@NoHaxJustRadvylf cyrillic with W would fit the bill, I think
@pxeger nah nah WTF-32 is a much better name
14:03
@pxeger JUC: Joint Universal Code
@Seggan Fitting in tonality would be a lot of work
@pxeger WTF-8 if using Adám's idea
@NoHaxJustRadvylf tonality as in...
no, we should call it "the 8th Codeuni Format of Transformation". "8-CFT"
Tone is the use of pitch in language to distinguish lexical or grammatical meaning – that is, to distinguish or to inflect words. All verbal languages use pitch to express emotional and other paralinguistic information and to convey emphasis, contrast and other such features in what is called intonation, but not all languages use tones to distinguish words or their inflections, analogously to consonants and vowels. Languages that have this feature are called tonal languages; the distinctive tone patterns of such a language are sometimes called tonemes, by analogy with phoneme. Tonal languages are...
E.g., Mandarin
á != à != ā != ǎ
(Not sure those are the right diacritics but w/e)
14:05
I will never get ǎ
Sometimes it renders correctly
othertimes it just doesn't
Ah, normalization issue.
Your font doesn't handle that combining diacritic right
But the precombined character works
@NoHaxJustRadvylf ah, we use those sometimes in russian
@NoHaxJustRadvylf gotta love SE
why does my keyboard layout give me "â" ("a with circumflex") instead of "ǎ" ("a with caron") when I type "dead caron" + "a"?
Someone should make a language where the data is encoded by the way each diacritic is normalized. C = 00 D=01 KC=10 KD=11
14:08
is there a language which has an all-diacritics codepage yet?
Even copy pasting would most likely destroy the data
@pxeger Ah, so every piece of code would be a single character?
@pxeger maybe, let me check
a single grapheme
I know there's one with zalgo-like stuff
it had zalgo text as a SBCS, but still had ascii in it
I say had, because the repo source is deleted now
14:13
> ◌͐
< ◌͑
+ ◌̂
- ◌̌
. ◌̇
, ◌̉
[ ◌̀
] ◌́
@pxeger It’s called Vietnamese
@Adám diacritif*ck
With appropriate mapping, Vietnamese should be executable as BF.
@Adám Maybe some langauge is executable without special mapping. The original BF compiler had only ASCII support so it's likely some other symbols would also collide for byte values, thus be executable brainfuck
not in UTF-8
14:19
Use UTF-32
UTF-8 trying to be backwards comaptible ruining our plans
14:33
@mousetail just remembered; i also did this because its an easy way to allow arbitrarily many pointers to exist :P
14:48
ooh youve got a memory unsafe golflang?
LDQ: Useful infinite list operators?
All list operators should work on infinite lists
as in...
@pxeger Well sure, but the reverse is not true
generating infinite lists or what pxeger said?
14:50
And since I'm used to regular old finite lists, I might miss important or useful infinite list operations
@Seggan Anything involving infinite lists
I can't think of any operations that work on infinite lists but don't work on finite lists
generate from function, cycle
other than things that only output infinite lists, like "repeat" or "give me every positive integer"
@pxeger "get last item"? :P
that's the opposite
14:52
hmm cant really think of many
@pxeger There's also operators that work on finite lists, but aren't really necessary, but are much more important with infinite ones. Like seeing if an item is in a monotonic list.
@pxeger i beg to differ, i think you said it backwards
"get last item" works on finite lists, but doesn't work on infinite lists
Yeah, and you said finite list operators should work on infinite lists, and that doesn't
It was a counterexample
yeah, well, insofar as is possible
agree
despitethe counter
maybe it should just do something else in that case
it's not possible to detect whether an arbitrary list is finite or not
itd be solving the halting problem
oh right, i forgot a generated list could just, not be infinite :P
14:58
Not necessarily, if your language only supports known-finite or known-infinite lists
right thats what i imagined
@NoHaxJustRadvylf such a language wouldn't be very useful though
Why not?
Most useful infinite list operations don't require generators/iterators being able to stop
You couldn't do any kind of filtering on infinite lists
Yeah you could
14:59
just make a generator that only yields items that satisfy condition
It'd just be an infinite list that infinitely loops after a certain point
And if it was a monotonic filter, you'd return a known-finite list
00:00 - 15:0015:00 - 00:00

« first day (4183 days earlier)      last day (957 days later) »