« first day (4972 days earlier)      last day (28 days later) » 

12:22 AM
I'm gonna try to make an "add two numbers" program in Qdeql
I sure love tampermonkey jumpscares
one second, I have lecture slides open, next minute I look up and there's an update for a userscript showing
@Bbrk24 that's my guess
Attempt #1: &\=/-=\=\/\/=--/&=\=\/\/=--/\=/-=\=\/\/=--/*
that is... surprisingly short
that didn't work
Oh I have some extraneous =s apparently?
nope, not too many, just in the wrong places
Corrected program is &\=/-\==\/\/=--/&=\==\/\/=--/\=/-\==\/\/=--/*
The core of this is the loop \==\/\/=--/, which computes the difference between two values. I then compute 255 - (255 - x - y)
Weirdly, as written this program breaks if the first input is zero but works fine if the second input is 0
Wait actually I can make this shorter and fix that issue in one fell swoop by changing the beginning from &\-/= to -&=
I thought this would be harder tbh
12:57 AM
@rydwolf Ahaahaha that’s so good
1:12 AM
With a couple more golfs, posted to the add two numbers challenge
@lyxal imagine having updates work correctly
Just read up on that language, that's terrible I love it
What language, Qdeql?
Aye, Qdeql.
You'll never guess what language I implemented my interpreter in
1:27 AM
...PHP?
Before that I had theorized but not proven that Trilangle is Turing-complete
I realized earlier this year that a queue-based language would be easier to implement than a stack- or tape-based language, and so I began my search for a TC queue-based language with as few instructions as possible
and I found Qdeql
I sketched out the plans for a Qdeql interpreter over the summer, but I only laid it out into Trilangle code on Friday
In order to test it I needed Qdeql programs, and I found exactly two online: cat and hello world
So I learned to program in Qdeql
All three Qdeql programs currently on this site were written by me from scratch
2:26 AM
Although Qdeql is TC, I haven’t figured out how to do modulo yet, so no prime tester
thank god, a sane conversation
how exactly does qdeql work
2:44 AM
Qdeql has the following commands:
& queue a byte from input
* dequeue a byte to output
- dequeue, decrement, and re-queue
= dequeue and re-queue (rotate the queue by 1)
\ begin loop: if front of queue is zero, pop it and skip to end of loop. Otherwise, move it to the back of the queue and add two 0s behind it
/ end loop
All values are u8 and - is wrapping decrement
dequeueing from an empty queue spontaneously creates a 0
That’s it. That’s the whole language.
It’s TC because it can simulate Brainfuck with 3 unbounded cells
actually, you can translate brainfuck with any number of unbounded cells, but it has to be a fixed number at compile time
Ørjan wrote a Haskell program to do this translation and that’s why I was messing around with Stack this morning
neat
the resulting Qdeql program tends to be a couple orders of magnitude longer than the Brainfuck program that generated it
3:19 AM
CMC: Wait 1 second (+-100ms)
Your own brain (provided you read at a normal pace), 0 bytes
@Ginger Hah, that took me a second
10
Loop until current time - start time > 97
because of how the Trilangle time commands work, there are approx. 97 units to the second
3:58 AM
@ATaco Vyxal, 1 byte: { (note: solves the CMC, and then does it all over again, 15 times over again)
@ATaco s/&/And no more
well it solves it 15 different times back to back
just to demonstrate it really works
4:13 AM
does vyxal really have a “wait 15 seconds” builtin
the online interpreter has a "timeout after 15 seconds" flag :p
I could have left it flagless and claimed 10 times, but that wouldn't have gotten the joj done
 
2 hours later…
6:48 AM
@ATaco JavaScript, 28 Bytes: setTimeout(function(){},999)
att
att
6:59 AM
isn't that async
7:35 AM
it isn't
att
att
7:52 AM
non-blocking
Actually blocking: await new Promise(r=>setTimeout(r,1e3))
i have exactly 14k rep, pretty cool!
Nice :p
8:35 AM
0
Q: I cant figure out how to make this python function shorter but I am convinced it is possible. Does anyone have any idea how I can achieve this?

Miroslav Smolathe code itself: if j==0: CSC_index=0 if i in [0,3,4,8] else 1 point3D=[point3D[0], (point3D[1]-CSC[CSC_index][1])*math.cos(rotation_speeds[j])-(point3D[2]-CSC[CSC_index][2])*math.sin(rotation_speeds[j])+CSC[CSC_index][1], (point3D[1]-CSC[CSC_...

8:51 AM
@ATaco shorter than js B) Bash, 7 bytes: sleep 1
att
att
9:28 AM
ah right
 
1 hour later…
10:33 AM
Random challenge idea that I might make a spec for at some point: Output uiua's transpose builtin
10:54 AM
codegolf.stackexchange.com/questions/275430 Why 2 vote SO and 3 vote CR and close reason say SO?
 
2 hours later…
12:27 PM
@l4m2 because it isn't a challenge, it's a programming question to be asked (and probably massively duplicate there) on SO
 
2 hours later…
2:38 PM
the New Vyxal 3 Online Interpreter is now available! try it out and tell us what you think and what's broken
2:54 PM
I think the air force is trying to create some sort of time paradox
So they tell us class is at 06:00 right, but they have an expectation that everyone's there 15 minutes earrly
which is already annoying since just say 5:45
but then they start expecting we're there at 5:45, and starting at 5:45 instead
So we're expected to get there early by 15m, so we have to be 15m early to being 15m early
So now we're expected to be there at 5:30
do you see the problem
i don't think asking the military to make any sense is a reasonable ask tbh
3:35 PM
@rydwolf And then that repeats to the point where you’re expected to be for the class at the time the previous class finished
3:54 PM
@Ginger :O it looks so cool
@rydwolf on small screens, should a list of tabs which is too wide for the screen scroll horizontally or wrap onto two lines?
I'm inclined towards the former
Scrolling makes more sense to me
Dropdown with additional options is what probably gets used most IRL
but that requires JS
actually you could probably do it with CSS if you had no life
I just did scrolling :p
wow, the new interpreter actually loads faster than the old one
on my laptop with cache disabled the new one fully loads in about a second, and the old one loads similarly fast but takes an additional second or so before the CM editor appears
on mobile the difference is even more apparent
4:16 PM
@Themoonisacheese I ask about close reason it shows, not reason it is closed. Actually I am one of the closers
4:26 PM
@NewPosts Really guys? Three downvotes?
I've seen spam get a warmer reception than this, and it's a real person asking a real question that's at least decently relevant to our site, and they clearly put in some effort to understand the purpose of the site and tagging and stuff
Not very welcoming
I don't downvote off-topic posts
4:42 PM
sad
 
1 hour later…
6:00 PM
@rydwolf Yeah, and it doesn’t seem even from the oneboxed version like there’s anything wrong with it that separates it from other tips questions like that that wash up and do fine
@ATaco …it took me several hours to actually get this
Any function that ask for longest possible sequence like TREE, and is finite but uncomputable because of infinite possible choices on some step?
 
2 hours later…
8:05 PM
Wouldn’t it be nice if you could do something like ?"banana" instead of ClassName("banana") in Python?
8:17 PM
wait since when is the smell of isopropyl alcohol "sliightly fruity"
> Isopropanol (or isopropyl alcohol) is a clear, colorless liquid with a slightly fruity odor and bitter taste.
why don't you try some and find out
oh fuck it tastes nasty
4
ಠ⁠_⁠ಠ
yeah the smell isn't fruity at all to me but it tastes like fruity murder vodka
and yeah it's def bitter
hard to notice under all the subtle cough medicine overtones
(Don't worry, I'm a pro. I've also tasted HCl and sodium hydroxide, within a few minutes of each other so it would cancel out)
lemon juice and murder pretzel, before you ask
is what they taste like
another day, another reason to be concerned for rydwolf's well-being
8:23 PM
I've made it this far
Using bayesian something something, I should make it to at least 30
and you may make it no farther
Why are you all so foolish on SE
I googled what a russian word meant from one of my assignments and google gifted me with this
so cute
Apparently some guy on Maths.SE had to go to the ER after putting their hand on the stove I think, wait or was it in a pan of oil… well they certainly burnt it
as Pierce the Veil vocalist Vic Fuentes once said, probably in reference to science, "if you didn't come home injured, would you say it was a good show?"
8:35 PM
@rydwolf yes I would say it was an amazing show
9:27 PM
Do anything in chemE without greenwashing for exxonmobil challenge (IMPOSSINLE)
I should've known
(Context: tried to join a club that designs a cube that performs a chemical synthesis thing)
But their task two years ago was "water filtration" and their task this year is "direct air capture", at that point they don't even need to have slapped ExxonMobil in thr corner in small fobt
"Get our shit out of the oceans" and "get our shit out of everything else" basixally
The whole carbon capture bullshit is so transparent, too. Like, straight up out in the open
...is "straight up out in" four prepositions in a row?
Wait no I'm stoopid
9:47 PM
[straight up] is one preposition
Trying to figure out how to write isMultiple(of:) in Qdeql so I can do a primality test. I figured out subtraction and the language provides "loop while not 0" and that's all I have to work with
Also the fact that there's only wrapping decrement means that unironically the easiest way to get 1 is 0 - 255
Off the top of my head I want to say -\=/\--\/\/=/
@emanresuA you
*you can still split it into two words
"straight" (adv.) "up" (noun or prep)
@rydwolf I agree. me.
10:04 PM
noitisoperp A
@Bbrk24 Just used this trick to shave off more than half the bytes in my truth machine
att
att
10:37 PM
@lyxal they're really doing the first one ever with only one day's notice?
That's 31 days from now
October 10th
att
att
ah
that makes a lot more sense
@lyxal finally, a chance to tell them to fix chat in person
att
att
it's funny golfing this most recent old answer
I'm impressed by my old ideas but at the same time I got it down by so much
@lyxal Shame I'm not in NYC tbh :(
10:52 PM
same
Actually, I guess I do have enough time to buy a train ticket lol
what day of the week is that
oh it's a thursday
Sep 2 at 23:13, by rydwolf
Aw man, I realized I went to new york city and never once thought to try to go on an adventure and find the SE headquarters lol
You were a month too early :p
Honestly would be willing to travel 1-2 hrs to meet SE high-ups, if they ever do one in Europe/UK, but the US is slightly too far, and it would've been the wrong side of the country when I was living out there
11:05 PM
I think I have the breakthrough I needed to make a primality tester in Qdeql. I have subtraction, I have while (x != 0), and now I have this:
-&&\--=\/\/=\===/\==\/==\==-\/\/==/=*/=/
This code prints only when the second input is greater than the first
11:35 PM
@rydwolf Yeah what???
I can maybe see that descriptor for ethanol but that's also bias from mostly smelling ethanol in... rather impure solutions :P

« first day (4972 days earlier)      last day (28 days later) »