I found a hard problem: Design a Turing Machine to generate a copy of a string with symbols {A,B,C}. For instance, given the input “bAABCAb”, the resulting input tape would be “bAABCAAABCAb”, where b represents the blank symbol.
Fmalbuena: Hello
lyxal: Hello, World!
Fmbalbuena: Are you AI enthusiast?
lyxal: Yes
Fmbalbuena: I am
Fmbalbuena: I am a bot
lyxal: I am a bot
Fmbalbuena: I am a bot
Ok, last one:
Neil: I love Charcoal
Neil: I think I will do Retina to post A answer to a CGCC Challenge
[Posts Retina Answer]
Neil: And i will post a Charcoal answer
[Posts Charcoal Answer]
New Posts: codegolf.stackexchange.com/questions/1678/…
Fmbalbuena: @NewPosts TLDR: I'm not sure if this is the best way to do it, but I think it's the best way to do it.
> Ginger: Lyxal... How do I begin to explain Lyxal? > Redwolf: Lyxal is flawless. > emanresu: I hear their hair's insured for $10,000. > hyper: I hear they do car commercials... in Japan. > user: One time they punched me in the face... it was awesome.
Redwolf: What do you think Lyxal will do for a distraction?
Razetime: They’ll probably, like, make a noise or throw a rock. That’s what I would do.
*Building explodes and several car alarms go off*
Razetime: ... or they could do that.
I think I'd be neutral good in that I generally aim to do what I believe is morally good, but my morals don't necessarily align with what people generally assign to "good"
a discord server recently put me down as TN at least in comparison to other staff but also they have conspiracy theories that i'm either a robot, part of anonymous, or bill gates, so ¯\_(ツ)_/¯
as far as I remember, lawful/chaotic refer to alignment with a particular moral code regardless of if it's "good" or not (so mafia members would be lawful because they follow their mafia's code / rules) and good/evil refers to willingness to sacrifice oneself for others or vice versa
@GingerIndustries Honestly, I'd place Redwolf as NE ("Watch me do some crazy stupid shit with JS") and user as TN (tbh, it seems as tho whatever the topic, user will go along with it)
500-2500 reputation for a non-trivial answer to Pristine Polyglots
The current - and only - answer is fairly trivial, exploiting the fact that multiple shell languages have almost identical behaviour for the echo.
I offer 500 reputation for an answer that uses 3 or more different languages such t...
Ooh, TIL you can add a few lines to your SSH config, so that ssh xyz is a shortcut for ssh -p [port] [user]@[xxx.xxx.xxx.xxx] (or whatever command you usually have to use)
Dealing with Nginx + Certbot + SELinux is so much fun, especially when the original config was done by 6th grade redwolf who had no clue and liked PHP way too much
I've moved away from both the www. prefix, and PHP
Unfortunately I had no clue how to do the redirects properly, so my configs did some horrible, like war-crime level, stuff to get it to work for all the permutations of http/https, www/no-www, and the different websites I had
@emanresuA Just take advatage of the security vulnerability I discovered in one of my sites
A CSRF+XSS+directory traversal+bad file permissions, for quadruple points
(I had some weird HTML file that allowed you to inject arbitrary cookies, with all CORS/CSRF protections manually disabled. You could use that to do an XSS, and change a cookie relating to some image locations, which allowed directory transversal to some important unprotected files that would let you SSH into the server)
Because if someone gets access to your web root, in theory all they can do is mess with the HTML, images, JS, that sort of stuff. But with PHP, they can inject arbitrary code onto your server.
Doing it with something like Node is much saner, where all the moving parts are isolated from the web root
(Everyone would upload their pfp to a google drive folder or something, and then we could use a consensus RNG system to decide who becomes who, without even knowing who fake-us actually is)
Maybe I'll just post a short program that generates a deterministic shuffling, and we can just choose not look at anyone's results but our own if we don't want to spoil it
Brainfuck is an esoteric programming language that is Turing Complete, meaning you can't tell whether a given program will halt without running it. It's cell-based and has an infinite tape of cells, values containing an unsigned integer from 0 to 255, but if you give it arbitrary-size cells, just...