I probably would undelete to use the isomorphism one if I actually knew the math well enough to feel confident that the weird hacks are correct in principle
I'm wondering how to handle multiple inputs properly in a semi-golflang.
Easy way it to just input an array and have a few "unwrap 2", "unwrap 3" etc. buitins to turn arrays into N stack values. This allows me to know the stack size at all times and allows other optimizations
But it would cost a byte for every program that takes multiple parameters
Another option would be just to assume every program takes like 20 parameters then set them to null if you pass less. This may make some operations less efficient since they can behave differently on empty stack
Or I can just push them seperatley and don't allow any of the operators that require knowing the stack size at compile time at top level, they would need to be inside groups
In the last month or so, an abnormally and extremely large number of my answers got deleted. There was no reason for deletion, it happened just because the question(s) with which my answer(s) were posted to was deleted for one reason or another. The "reasons" for the deletion of the questions ran...
From experience, zipped inputs are rarely needed. And when you do need to perform an operation on zipped pairs, a zipwith function or modifier provides more control over the processing
Defaults should always be the thing that is shorter or more convenient in 99% of cases
It's semi-golf, which is hard to get advice for because that's a nebulous concept.
Basically I want for the CLI to have a option to run the program on multiple inputs at once. Either that could be -- [test_1_param_1, test_1_param_2] [test_2_param_1, test_2_param_1] or transposed
Recursion is actually quite powerful, sometimes its doesn't look like that child problem of itself exist, but recursion is just helpful.
One case per answer.
@lyxal I'll think I'll have two variants of if, one which takes two full expressions and requires paranthesis, and one that just selects one of two stack values. I do wonder for the later what the best order of the arguments is? Condition on the top of the stack or the options on the top?
Options on top makes sense when they are constants but condition on top makes more sense when the condition needs to be computed based on the options
this is also not guaranteed to eventually reach 0, as there could very well be a cycle
(and yes, you can trivially get longer by using a more powerful hashing algo, i just used the first one i thought of that i knew could output all zeroes)
Goal
Input is a Brainfuck program for 8 bit cells, output it for 1 bit cells.
Explanation
We all know Brainfuck, normally it uses 8 bit cells. But there are implementations where a cell is just 1 bit, sometimes called Boolfuck.
A Brainfuck program that is written for 8 bit cells most likely does ...
@TheEmptyStringPhotographer That miiiiiiiiiiiight be because we are
@rydwolf OOOOOH
Please keep us posted on how things go with them LMAO
I assume an actual TNB regular who’s also an undergrad at CMU would have long since mentioned it, but they could also not want to dox themselves, and be specifically planning to connect with you in person
Possibly by separately befriending you IRL before mentioning that they already know you online much later if at all
ඩ
Honestly that kinda seems like the sort of shit I would pull LMAO
…minus the part where I’d have to actually introduce myself as a stranger instead of just being desperate like “HI YOU ALREADY KNOW ME PLEASE HELP”
But I would plan on it
And then actually just never talk to you at all instead
If you didn’t already know where I am I would probably have decided to play into pretending it’s me for the bit then gotten frustrated after like a week with how unfunny the bit actually turned out and been suspiciously silent about anything related to it for another few weeks before eventually coming clean in the middle of an unrelated conversation
@UnrelatedString Just realized this is a big part of why I can get so hung up on this stuff—it’s almost like culture shock. Like I usually forget that flirting exists, but the idea that people around me are navigating interactions with hidden motives that everyone else tacitly understands just weirds me out because it makes it feel like I can’t actually understand people the way I convinced myself I did. So I panic and try to claw that understanding back
To this day I still often have to look up Jelly buttons that I clearly remember using tens of times, and I imagine with Vyxal’s overloads it’s even more like that
@mousetail I was going to suggest MD5, but apparently there isn't a known zero-hash for it, to my surprise (I think I was mixing it up with the mersenne twister)