« first day (4394 days earlier)      last day (439 days later) » 
00:00 - 22:0022:00 - 00:00

12:16 AM
standing on the pull requests of giants
6
 
12:47 AM
@JoKing and you'd lose the privilege of naming a type FatRat :P
 
1:12 AM
ok so ive got good news for yall
the first release of Rol has been released
7
partly due to the fact that i finally decided to redo the UX and so i added an interpreter mode
so you dont have to mess around with the stdlib and linking lua files and whatnot
 
@Seggan the beginning of a long journey :p
 
0
A: "Hello, World!"

SegganRol, 24 bytes println("Hello, World!") Rol is a new language I'm creating for the purposes of replacing Lua (because who likes Lua). I was gonna post this when the language was much more mature but I felt like reworking the CLI so I added an interpreter mode. That means you don't have to mess ar...

 
1:30 AM
smh 98.66% likely to be GPT generated
 
... my answer?
 
can't believe you've done this
 
lol
whats that userscript
 
GPT detector
let me see if I can find the link real quick
one second
 
ty
> It is likely that this text was generated by a human and not by a language model like GPT-3 or ChatGPT. The text contains specific information about a new programming language called Rol, its purpose for replacing Lua, and how to run it with a jar file. This level of detail and technical information is not typical of text generated by language models.
thats what chatgpt said :P
 
2:19 AM
> ... (because who likes Lua)
I Like lua
 
i'm ambivalent towards lua
it certainly has some design decisions
 
it sure does
 
ok, i dont exactly hate lua
just its verbosity + the entire metatable thing just puts me off
dynamic typing is not exactly something i like either
 
my favourite blunder is gmatch -> global match, match -> single match, therefore gsub -> global substitution and sub -> ?
substring of course
 
2:37 AM
yikes that's a design choice alright
 
coulda at least called it subs
 
One of the keyword mappings ever used
 
Or replace
 
@lyxal huh
that sentence doesnt make sense
 
@RydwolfPrograms time to grep lace
 
2:49 AM
it's one of the sentences ever written
 
I think Seggan's subs is probably best yeah
Then you can use gsub for "global substring" which would be a substring of the system RAM as a string
 
an iterator of every substring of length n?
 
3:26 AM
Fun fact: The interpreter for my new esolang is current sitting at over 120 KB
Most of which is a bunch of data (compressed using a custom algorithm that I designed as part of a different in-progress language)
Get excited, the most challenging part of the online interpreter is now finished :D
 
How many in-progress languages do you have lol
 
Way too many
I'd guess in the low dozens but most of those will never see the light of day
I'm actually really impressed that all that data decompresses with my very unoptimized code instantly
I guess 100 KB isn't actually as much as it looks tho for a computer
 
Well, it's not that surprising
unless the decompression algorithm itself is borked and is actually quadratic, or the data is huge like some hundreds of megabytes
 
Well, part of the decompression involves working bit-by-bit and storing a few at a time as a string, which feels really unoptimal, but yeah, still a pretty small amount of data for a computer
It just looks big and scary when I scroll through it in my editor I guess :p
 
lol
 
3:37 AM
Can I invite anyone to mess around with my In-progress web-app for BrainChild?
 
Score: 16
so this is all compiled to brainfuck?
 
Feels a little disorienting at first
Also I don't like the scroll behavior being overridden in the editor, if you have a way to disable that
 
@lyxal designed with the intent to compile to brainfuck, although interpreted at the second highest level to make it execute in reasonable time
@RydwolfPrograms I’m not sure I have much control, the editor is Ace.JS
 
I think my thumb is permanently deformed from pushing in RAM sticks
it's had a dent in it for like a month now
Those things suck
 
3:48 AM
The ASM is also trivially transpilable to x86_64, so it can at least be used as a Prac lang, theoretically.
 
it's a little laggy kind of with a lot of code
also, why doesn't the following update the snake position?
function moveTo(int x, int y){
    this.Pos = pVec2.Make(x, y)
}
 
It looks like it should?
 
I placed it in the Body class, called it in the frame update thing and it doesn't move it to 0 0 I think
if(snake.Pos.X > 63){snake.moveTo(0, 0)}
if(snake.Pos.Y > 31){snake.moveTo(0, 0)}
if(snake.Pos.Y < 1){snake.moveTo(0, 0)}
 
That'll move the head, but not the tail.
 
if(snake.Pos.X > 63){snake.moveTo(4, 4)} works
it keeps going in a loop
just like I wanted :p
 
3:52 AM
@lyxal If it's really laggy, try pausing the interpreter. That uses a LOT of machine time
 
oh
yeah that makes it better
 
4:31 AM
Shortest quine I've managed is include term.bc;macro('t'(expression)){{$1;Term.Write(#1)}}t{Term.Write("include term.bc;macro('t'(expression)){{$1;Term.Write(#1)}}]t")}
 
5:07 AM
Slightly shorter, include term.bc;macro(':'(expression)){{$1;Term.Write(#1)}}:Term.Write("include term.bc;macro(':'(expression)){{$1;Term.Write(#1)}}]:")
 
 
1 hour later…
6:23 AM
CMC: Infinite loop. Never reach same state. Take log(elapsed time) memory.
 
6:38 AM
So pretty much for(i=0;;i++) with arbitrary-size ints?
 
Yeah, so RAM model used
 
x=0
while 1:x+=1
(python)
 
 
2 hours later…
8:15 AM
this is upsetting
(does anyone know what determines the order of the Linked Questions list?)
 
Seems to be mostly sorted by votes with the exception of 2021 which is further up for no reason
 
8:36 AM
might be some starboard order type thing
a bizarre compromise
 
9:22 AM
@UnrelatedString Yeah I think you're right
 
 
3 hours later…
12:18 PM
Hey, @RydwolfPrograms, the Discord invite at area51.stackexchange.com/proposals/127456 has expired — mind linking me to a new one, please?
 
er, I didn't know we had a Discord invite there :p
 
same
 
when proposing a new community, the system asks for an existing community — a link to this chat room and a Discord invite were posted there
 
huh
 
this is visible only to mods (which, for Area 51, means SE staff)
 
12:20 PM
@lyxal any idea what said Discord could be?
 
oh yeah that's right
no
 
hmmmmm
 
I only remember there was a community link requirement thing
 
we forgor 💀
 
I don't think we ever knew
 
12:21 PM
Maybe Redwolf will remember, since they provided it
 
Probably the nineteenth byte discord?
 
we have a Discord?
 
Could also be the programming languages discord: discord.gg/GPHB5V2W
 
@JNat is the link you're trying by any chance discord.gg/WevqpTe6
 
@lyxal it is
 
12:24 PM
one second
I reroll you a new one
 
thanks~~
would language design questions be off-topic on SO?
 
Would probably be closed as opinon based or need more focus
 
do any of y'all know if they've ever been discussed on MSO and officially off-topic'd?
@mousetail looking through a few MSO posts, it looks like discussion often points in that direction, yeah
 
Ninja'd lol
 
yup — just read that
 
12:30 PM
There is this: meta.stackoverflow.com/questions/399215/… but there is no conclusive consultion
 
yeah, that's what I meant — all point to them being disallowed due to vagueness etc., but no discussion outright concludes "yes, these specific questions should be off-topic"
 
hi
 
In any case, if I'm reading the proposal correctly, it wouldn't so much be for "why" questions for existing languages, but moreso for questions folks might be designing themselves, right?
 
Both, but yes focus on the latter
 
12:33 PM
@mousetail ^^
and Software Engineering wouldn't work here, because it is specifically about software, and a programming language is not software...?
I'm currently assessing the level of overlap with existing sites, in case that wasn't clear ^_^
 
A compiler and or interpreter is technically software, but the language itself is more of a abstract concept
A lot of questions won't be about a specific implementation
 
Software Engineering doesn't appear to allow stuff only specifically about implementation, though. The tour page says software development methods and practices; requirements, architecture, and design are on-topic
 
What I mean by implementation here is software that compiles or interprets a language
 
gotcha — you mean that talking about language design, in general, would fall outside the scope of software design, unless it specifically applies to the compiler, for instance?
 
Yep
 
12:43 PM
'cause "programming language" per se is higher level than software?
 
There are basically 3 levels:
Designing the language in terms of syntax, built-ins, etc. This wil be on topic for langdev.

Designing the software that will run it, in terms of design patterns, arcitecture, etc. This would be on topic for both langdev and software engineering

and then really nitty gritty details like using some library to manage stacks, which would be on topic for stack overflow.
 
that's helpful, ty~
 
Also, PLDI could cover programming languages that don't run on software, like mathematical notations
 
Not 100% sure about that one but maybe
 
E.g. APL was originally a mathematical notation for manipulating arrays
 
12:48 PM
@lyxal I feel like that is a topic for private beta
 
it wasn't originally a "programming language" as such, but it was still capable of writing "programs"
 
It's not really a "programming language" if it doesn't run on software
 
@mathcat I know, but for the sake of overlap exploring
@mousetail would you consider a turing machine software or hardware?
 
Both I guess? I'd consider languages for specifying turing machines as programing languages
 
that grey area should be enough to make it so that PLDI is more than just software :p
 
12:53 PM
Hmm woner if there are any stack overflow questions on accomplishing specific tasks on a pure turing machine
 
Probably closed, however.
 
just a quick diversion:
user image
2
what the hell copilot
 
Web developers hate this one weird trick
 
Step 1: Download more ram
 
You won't need any ram after this, time to upload your excess ram
0
Q: How to construct binary multiplication turing machine?

Shinn ChannI think I have trouble figuring it out. Can someone please tell me how to construct binary multiplication Turing machine?

 
12:58 PM
RIP zero answers
 
To be fair it's a very low effort question, but it's' not closed (and shouldn't be)
 
Actually odd that "the workspace" has ~100% answered, guess people just love drama
 
In other other news, copilot knows about vyxal flags
 
@mousetail I am surprised that Puzzling just has 99% of the questions answered.
 
1:09 PM
Me too, and my one question there is unanswered. Guess I just like to break the mould
 
rebellious! I like it :p
 
@mousetail All Star plug? :d
Oct 13, 2022 at 18:16, by Ginger
time to go into my nuclear bunker
 
Hey now
 
you're an all-star
 
Get the show on
 
1:13 PM
Get paid
okay we probably do not want this to escalate lol
 
All that glitters is gold
 
val ⭐ = Seq(1, 2, 3, 4)
⭐.foldLeft(true)((a, b) => a && b)
that is what y'all mean by all(star), right?
 
If you write this in PHP we could get paid $ too
 
Y'all know that goofy github clone website that tells you what "functionalities" a repo has using "AI"? Well turns out the list there isn't the full extent of just how goofy it is
I requested the full list and well it gets better
let me quickly gistify my results
 
@lyxal real pros use forall
val ⭐ = Seq(1, 2, 3, 4)
⭐.forall(_ > 0)
 
> Execute vxal
ah yes, vxal
 
Vyxal and Jelly have some truly groundbreaking features, like "Splits the needle in the array", "Implementation of the REPL", "Shift a number left to right" and "Returns True if the generator has at index"
I do love how Jelly can "Join a list together together"
because joining it together once isn't enough
and I love how it "Makes the given shape of content"
 
AI revolution.
 
Why doesn''t worldbuilding have a twitter?
 
@Staff who decides which sites get an automated Twitter account?
 
1:39 PM
no one gets bots
there are no automated twitter accounts for any SE site
 
… are the challenges manually posted?
 
23
A: Are the various site Tweetbots affected by the upcoming Twitter API changes?

CatijaNot to put too fine a point on it but… Yes. Regardless of whether Twitter allows "good bots" to continue to post for free, it seems reasonable to assume that some amount of work would have to happen to get that "good bot" designation, and with over 100 Twitter accounts, that's a lot of work for w...

They disabled them a few days ago :p
28
A: Why is it so difficult to find the twitter account for a Stack Exchange site?

Adam LearUpdate: Twitter bots for all Q&A sites have been shut down. See here for more details. Not all sites have Twitter accounts. We stopped creating them for all public beta sites by default because a) Twitter sees very little engagement for us; b) Twitter-the-company started blocking new accounts fo...

worldbuilding must have been created after they stopped making new automated accounts
 
@lyxal In the all sites page some sites list a twitter account and some don't
 
the joke was that no one gets them anymore now
because they've been stopped altogether
the second link explains why some do and don't
 
Thanks
 
1:44 PM
@TheThonnu your challenge is the last tweet that'll ever be posted by the Code Golf Twitter bot
 
Press F to pay respects
 
F
 
F
 
@lyxal what does that say?
 
@NewPosts get dupe hammered nerd :p
 
1:55 PM
also jesus elon can't you go three weeks without pissing somebody off
 
@NewPosts Can I get some close votes please?
 
already done
 
1 min ago, by lyxal
@NewPosts get dupe hammered nerd :p
 
Thanks
 
I sure love it when I can't vtc as dupe on code golf questions 99% of the time because it'd be instantly closed :p
Makes that 1% of times all the more worth it
 
1:57 PM
kachow
 
Hope y'all like salty cakes lol
 
mmm crumchy
good stuff
 
Thank you
I'm glad you appreciate my cooking skills
 
👍
 
That totally exist
o/
 
2:00 PM
Does serving a baked pile of salt count as cooking?
 
it sure does!
anything is cooking if you say "COOKING!" loudly enough while doing it
the same thing applies to science
 
Remind me never to come within 1000 square parsecs of Vyxal
 
imagine not having a Lyxal In Direct Air Range sensor :p
 
Lyxal is from Australia right? They'd be more likely to come burrowing up through the floor. A air range sensor would not be able to detect that
 
good thing I also have a Lyxal Infrared Defense Automated Robot
 
2:04 PM
@RydwolfPrograms im excited
 
no, you're Seggan
 
I'd like to buy that but that would mean coming within 1000 square parsecs of Ginger which I don't want to do either
 
@RydwolfPrograms rol is 22 MB :P
 
@mousetail shame I pervade the entire universe :b
 
Ah but not a infinitely thin disc with a area of 1000 square parsecs
It has no volume so you can't pervade it
@cairdcoinheringaahing can you feature the voting post for best of 2022?
 
2:12 PM
added some test cases
Also, the way mathematics finds an integer solution by leaving a rational number of apples behind is just beautiful.
(testcases #5 and #6)
 
@lyxal Or maybe things like UML?
That doesn't really "run", it's more for talking about software, but could probably be on-topic
 
UML would probably fit better on SoftEng
 
Well, the design of something like it. I don't really think that'd be on-topic for SE, but yeah, it'd probably be pushing it on PLDI
I actually think that a rule that a "programming language" must be something designed to give instructions to a computer would make sense
 
@mousetail lol same
 
It rules out a lot of things that don't feel like programming languages to me, but includes pretty much everything that does
 
2:21 PM
There is a open question on meta on whether mark up langauges would be on topic
 
APL as a mathematical notation wouldn't be on topic, but as soon as it was a programming language it would be
@mousetail IMO the answer should be yes, fwiw
 
It's still instructing a computer in how to display something
 
Maybe, I do feel like they should be included but struggle a bit to come up with a concise definition that would include those but exclude things we want to exclude
 
What's an example of something we might want to exclude?
I'm struggling to think of counterexamples but know there's probably tons
 
2:24 PM
Like APL as a mathematical notation
 
But that's not to instruct computers. Programming is explicitly for computers.
 
@cairdcoinheringaahing You probably want to lock it again
 
Locking it stops votes
 
@RydwolfPrograms What about non-human readable data transfer languages like msgpack or protobuff?
 
I'd be fine with those, but they're def. worth discussing. "Non-human readable" can't be a criterion tho, since wasm and bytecode and stuff.
"Data transfer" could be considered more of "providing information to the things that tell a computer what to do" than "telling a computer what to do" but as soon as we get into that, everything is the former depending on how far you abstract the idea of "computer"
What about human readable data transfer/storage/representation? JSON/XML/YAML?
 
2:30 PM
Good question, I don't know what I'd prefer
 
IMO they're fine. Many of the same questions about syntax, parsing, etc. would be relevant
 
True, but those questions are not really specific to the category
What if your question is "What are the disadvantages of having both opening and closing tags on fields of my data transfer language", would that be on topic?
 
I think so
You can draw parallels between that and issues you'd have when designing human language
I wouldn't call it a programming language, but I think the same sort of people would be able to answer it, and it's close enough that arbitrarily excluding them seems pointless
 
Fair enough
 
Did the color of links in chat change recently, or has the gradscript finally died?
 
2:34 PM
This is how it's always been for me
Gradscript issue probably
 
All the links are blue for me now, even after turning the gradscript off
 
They are green for me, I'll reload
 
Maybe try disabling all userscripts/userstyles?
If you have any others
 
Okay, looks like its from the Chat Improvements script, weird
 
@cairdcoinheringaahing same
wait it's green again nvm
I'm pretty sure it was blue yesterday
yeah I've got tampermonkey turned off
 
 
1 hour later…
3:57 PM
0
Q: Generate an emoticon

PeterYour task is to generate an emoji of three characters, the first character being one eye, the second the mouth, and the third another eye. Each eye is a random one of these characters: $'*+-;O^`ox~, and the mouth is a random one of these: ,-._coux. All eyes and mouths must have an equal chance of...

 
0
A: Sandbox for Proposed Challenges

UndoneStudiosTime to shortest transposition code-golfmath Yesterday, as part of a IQ-style test, I got this interesting question: The time on a 24-hour clock is 11:43. What is the least number of minutes I should wait before the same digits are on the screen again (in any valid 24-hour time order)? The answ...

 
4:13 PM
@lyxal F
That is kinda cool though
 
Congratulations, you just acquired a CGCC world record!
2
 
@mathcat what other world records are there?
 
6
Q: Questions with the longest shortest answers?

Steve BennettI'm just curious about any pure code golf questions (ie, not ones that build on other answers, just straight up, solve the problem with fewest bytes) where even the shortest golfed answers (especially in golf languages) are particularly long. Do any problems stand out as ones that were particular...

 
@TheThonnu ⁽ᴵ ˡᶦᵏᵉ ᵗᵒ ᶠˡᵉˣ ʷᶦᵗʰ ᵐʸ ᵐᵒˢᵗ ᵘᵖᵛᵒᵗᵉᵈ ˢᶜʳᵃᵗᶜʰ ᵃⁿˢʷᵉʳ ʰᵉʳᵉ ˡᵒˡ⁾
 
 
1 hour later…
5:29 PM
0
A: Sandbox for Proposed Challenges

PeterGenerate an emoticon Your task is to generate an emoji of three characters, the first character being one eye, the second the mouth, and the third another eye. Each eye is a random one of these characters: $'*+-;O^`ox~, and the mouth is a random one of these: ,-._coux. Each eye and the mouth must...

 
5:42 PM
How strong is an ideal Mathematica(every expression get evaluated even if undecidable)?
 
 
1 hour later…
6:53 PM
@TheThonnu "Shortest code" is a pretty popular one around here :p
We should start calling our OWCs "world records" instead to get people interested :p
2
 
this is way overdue for how long ive been programming, but im starting to use logging :P
 
I prefer not to, to reduce my carbon footprint and save rainforests
 
7:05 PM
@mathcat You're not crazy:
Seems there's some CSS floating around that's making things blue
That's a :hover but it's usually not there
 
uh wtf
ffs SE
 
Yeah same
 
@l4m2 Mathematica's TC, right?
 
yes iirc
 
So if every expression got evaluated instantly you'd have a solution to the halting problem
If I rubbed a lamp a genie came out I'd ask it for a black box that solves the halting problem. Then after we sit down in front of a whiteboard and I explain what the halting problem is, we'd probably go scare little kids and buy donuts
 
7:14 PM
chaotic neutral
 
@RydwolfPrograms huh good to know
@RydwolfPrograms what does that stand for again? :d
 
objective winning criteria
 
“The shortest answer gets a code golf world record.”
 
Only if we can verify the same question hasn't been asked on any other golf sites ;)
 
7:32 PM
true
 
Or that we're objectively smarter
I thought of something interesting while waiting in line for lunch
"Exploding lizard solution to the halting problem"
Remember Mayube's story about a lizard that would only eat papers with halting programs written on them?
Well, imagine a lizard that, if the program doesn't halt, will violently explode after consuming it
It eats all programs indiscriminately
 
@RydwolfPrograms oh yeah, the one that you accidentally moved to DBA.SE :p
 
But once one foesn't halt, it's gone
You have a single lizard. What do you do with it to maximize the information you retrieve?
You could solve any problem in 2sqrt(O) time where O is its complexity
But that would get slow quickly since the constant factor of a lizard eating paper is pretty big
You could repeatedly ask it questions we're pretty sure are true, to verify them
You could extract an arbitrary amount of information from the lizard, actually, it would just take O(2^n) time (and paper)
Where n is the number of bits of output data
You would just take a program that returns a number, then repeatedly make the lizard explode (with an infinite loop in an if loop) only if it's x where you increment x until you get the answer
That does actually leave you a teensy little chance the lizard survives, tho (if the very last option is the true one)
Does information theory have a way to deal with probability? Like, if I'm 99% sure that something is true, and I'm told it's true, is that still 1 bit of data?
If you only ask the lizard problems which either halt or don't with 50% odds, you get an average of 2 bits of data from it
But I'm curious if that's more, less, or equally optimal compared to asking it questions we're fairly sure about already, or fairly sure we're wrong about
 
7:47 PM
I am confused
 
Abiout what part
 
yes
I lost track at the bit where you began talking about time complexity
 
11 mins ago, by Rydwolf Programs
You could solve any problem in 2sqrt(O) time where O is its complexity
This was a bit of a jump in logic but basically how I got this is:
Imagine we're trying to find a collision with a SHA-256 hash
It would take guessing 2**128 numbers to find one
Instead of guessing all 2**128, we could, e.g., ask the lizard if there's a collision in the top half, or the bottom half (pretend it's only one of the two idk)
That would cut it down to 2**127+1 operations. Pretty good, but not optimal
Let's say you ask it if the collision (once again pretend we know there's exactly one) is in the first 2**64 options
You can do that 2**64 times, then you only need to iterate another 2**64 times to find the answer
So 2**65
And that would generalize; any decision problem that takes x steps could instead be done in 2sqrt(x) steps using the exploding lizard
 
TNB should build a quantum computer and name it Exploding Lizard :b
 
Now let's say you had a second-order exploding lizard, that could eat exploding lizards
 
7:54 PM
I'll provide the quantum, you provide the computer
 
You could nest it, cracking the hash or whatever in 2**33.5 operations
 
@RydwolfPrograms You've officially summoned Douglas Hofstadter
 
strange while loops
 
8:19 PM
@RydwolfPrograms just etch all the answers to this question onto vinyl and call it the World Record :b
 
I may actually be able to release my esolang tonight :D
 
:D
 
noice
 
Another random piece of code from it for y'all to ponder
 
> In your own interpreters, please do as I say and not as I do.
gold
(source: Crafting Interpreters)
 
8:30 PM
@RydwolfPrograms base 256 encoder?
 
something related to compression?
 
Close, checksumming
 
ah
 
why have that
its design is to be shorter, no?
why add a checksum
 
 
1 hour later…
9:45 PM
@DLosc We have our answer, and it's 0
4
 
@Seggan No, this isn't at all for golfing
@Seggan The checksum isn't over the program itself, it's used for determining part of the encoding
For a purpose which is not redundancy/integrity
 
00:00 - 22:0022:00 - 00:00

« first day (4394 days earlier)      last day (439 days later) »