« first day (3708 days earlier)      last day (1138 days later) » 

5:00 PM
 
"Ten programs that manipulate strings in ways YOU WON'T BELIEVE"
 
Yeah, but most titles aren't that clickbaity :P
 
Lol
 
Someone needs to make a Buzzfeed-ifier AI
 
Call it Fizzfeed
 
5:22 PM
poor old @xnor... always posting answers a day or two late to challenges because he optimises them so much, and then misses the upvote wave
3
 
It's not the upvotes that matter, it's the golfs you make along the way.
 
@pxeger I've got whiteboard tape on the wall next to it
It's ugly and I don't even use it anymore
 
Is it ok to accept an answer for no reason other than for the +2 rep to get you to a nice round number?
 
@pxeger of course! What could possibly be wrong with that?
 
@pxeger Yeah, but I typically avoid doing so on challenges
Find a code-challenge or CnR to do it on, or a closed challenge :P
 
5:30 PM
oh great I've got a nose bleed
TMI?
 
@pxeger You all right?
 
I use my old KotH challenges as a way to offset downvotes
 
@pxeger me too this morning. It's ugly and I don't even use it anymore.
 
Ask Digital Trauma for advice if you need any.
 
@Wezl what is? your nose?
 
5:31 PM
@Wezl Yeah, I lost my sense of smell a few days back myself.
@pxeger Or maybe their blood?
 
Is Wezl a vampire?
2
 
yes, yes, and no
 
we don't even have lips, we'd need straws
that is the most disgusting sentence I've ever said
 
You can't just use suction? That's what I do
Or use gravity to your advantage and let it flow out.
 
5:35 PM
@OriginalOriginalOriginalVI what species are you of?
 
Yeah, this is getting dark
@Wezl Uh, I'm human.
Why would you think otherwise?
 
@OriginalOriginalOriginalVI it's hard to use suction without lips
 
@Wezl So use gravity (you'd need a big hole, of course, but it's manageable)
 
>| is like a weasel, )| is like a human. They're flatter and have lips
 
5:37 PM
Just to double check: I'm still awake, and not having a fever dream right? :P
 
Can't be that hard to obtain straws, I used to take them from fast food places all the time
 
@ChartZBelatedly I can't make any guarantees myself
 
@ChartZBelatedly Tell me where you live and I can check for you
 
47 mins ago, by pxeger
confirmed: ChartZ is british!
:P
 
@OriginalOriginalOriginalVI not any more than a normal weasel (IRL I'm vegetarian)
 
5:39 PM
Jeez
@ChartZBelatedly Hmm, could you be a bit more specific? ;P
(that was supposed to be a creepy looking emoji)
 
@OriginalOriginalOriginalVI they must live in britishland, then
 
@OriginalOriginalOriginalVI Oh yeah, sure. Galactic coordinates 13452.328 mark 3 :P
 
@Wezl Thanks, looks like that's just a few minutes away
@ChartZBelatedly Sorry, I only use imperial units :P
CMP: Would you consider 7 am to 12 am a good sleep schedule?
 
For an owl, yes
 
@OriginalOriginalOriginalVI there is no am
 
5:44 PM
What about part-time bats? (asking for a friend)
 
@OriginalOriginalOriginalVI No, you need more hours.
 
@Adám How many more?
@Wezl ?
 
3
 
10 hours is a lot of sleeping
 
I assume that by 12 am you mean noon (i.e. 12 pm)
 
5:46 PM
@Adám I meant midnight (inverted, so my very real friend is awake from 7 to 12)
 
@OriginalOriginalOriginalVI :)
 
@Wezl I still don't understand what the Prolog chat room has to do with am
 
@OriginalOriginalOriginalVI nothing, except for I can easily see how many people clicked my link ::::)
 
@Wezl Huh, how do you do that?
 
if I make a programming language where NaN === NaN, what are IEEE 754 gonna do about it?
 
5:48 PM
@pxeger Excommunicate you, perhaps
 
@OriginalOriginalOriginalVI they show up in the user list
 
6:00 PM
@rak1507 extra bonus points if Never Gonna Give You Up solves the halting problem
 
@OriginalOriginalOriginalVI Starting on a Jelly version :P
My Enigma program becomes:
equal zipwith fourth head each pop 1 concat rotate swap zipwith 1chain register fifth tack ualpha index atindex 3dyads reduce2 1chain retrieve reverse index swap atindex ualpha 3dyads reduce2
leftarg copy right stdinraw last1 each
 
Very readable :P
 
Will you also add parentheses and stuff later?
 
6:03 PM
Maybe. RN it's just going to be a direct transliteration, and I can work from there
 
@OriginalOriginalOriginalVI Are you writing it using HTML 5? It's very secure.
 
@ChartZBelatedly at least more so than Malbolge
 
@OriginalOriginalOriginalVI And the original article
 
what's the requirement for submitting solutions in Racket
can i just write a lambda and do i need the #lang racket / #!racket
 
@HyperNeutrino Red solutions often have the Red[] so the #lang might be needed
but noone will mind if you don't put it
 
6:14 PM
Okay. I found a couple of submissions and all of them seem to include it, so I think I'll just keep it in
 
@Wezl actually I think that was just for full programs
 
@OriginalOriginalOriginalVI "The entire infotainment system is made in a Google Docs Quantum Computer. That's the standard programming language for computer programmers around the world."
 
this one is the first one i found that seemed to be a good reference
 
Might as well make the infotainment center in .txt, it's much more compatible and secure
 
if you're going to make just a lambda I don't think the #lang makes sense. That's never going to happen with actual code.
 
6:18 PM
that's true
 
@RedwolfPrograms Define "secure."
 
I've never seen a virus written in .txt, have you?
 
there's probably been a virus in txt files that wasn't actually in the text language
 
You can run a file with any extension, right?
 
6:21 PM
@HyperNeutrino racket runs with -f without erroring when I don't put a #lang. Is that enough proof?
@OriginalOriginalOriginalVI depends on the program
and OS
 
Say a batch file renamed to .txt
 
most interpreters/compilers don't require a specific extension
 
I don't think this is actually golfier to do with a lambda (at least with my approach) so i think i'm going to (define) some functions in which case idk if I need the #lang
 
@HyperNeutrino you don't
racket will accept it, I tested
 
6:24 PM
 
@OriginalOriginalOriginalVI Thoughts on this instead (for the same program):
register (zipwith (equals) fourth each (head) pop 1 concat zipwith (swap (rotate))) fifth tack reduce2 (ualpha index atindex) mu retrieve reverse reduce2 (swap(index) atindex ualpha)
copy (leftarg) right stdinraw each (above)
 
jellisp
 
Quicks now go prefix with their links in brackets
 
I would use this for general purpose programming
 
@ChartZBelatedly It's somewhat better
 
6:28 PM
that is, if it wasn't python and I did general purpose programming
 
'mu' is a bad name
 
Do weasels have something against snakes?
 
@rak1507 It's either mu or 1chain, mu is the shortened version
 
ah ok, 1chain is better
 
@OriginalOriginalOriginalVI weasels are snakes with fur
 
6:29 PM
Yeah, the chain separators are 0chain 1chain (or mu), 2chain and rev2chain
 
but nothing against snakes in general
 
I'm working on designing my undocumented programming language
 
@RedwolfPrograms You could take over Hatred from ChartZ
 
Designing the I/O and error messages is difficult, since I have to make them descriptive enough to be useful but vague enough not to reveal how it works
 
Or you could just say something like Segmentation fault (core dumped)
 
6:38 PM
for this challenge we could just brute force all 2^50 states. this seems like a good idea
 
@HyperNeutrino The issue is that you have to have a cut-off point of generations as a number of them never reach a fixed state, so it's very possible that the answer is above whatever cut-off you choose
Either that, or you solve the halting problem :P
 
@ChartZBelatedly not necessarily
instead of completing one configuration
you store all 2^50
and then going through them, run each one by one generation
once one reaches a fixed state, remove it
and then just keep running them like that until only one remains
ez
 
Parallelization would require a ton of memory, wouldn't it?
 
But there will never be just one, unless you detect infinite patterns such as gliders
 
well, enough memory to store 2^50 GOL games so, yeah just a bit
oh yeah true ;-;
i mean detecting infinite patterns is probably a bit easier than uh
 
6:44 PM
Only a million gigabytes or so per cell
 
having the resources to brute force 2^50 GOLs in parallel
 
Could you do it like cryptominers?
Run it on other people's computers?
 
@HyperNeutrino I don't think so, because wouldn't that be a form of the halting problem? You can't tell, from any given pattern that it'll be infinite or not
 
wait yeah you're right i'm stupid
 
You'll be able to rule out obvious ones that spit out a glider that's never caught, but there could be ones that aren't :P
 
6:45 PM
i was thinking you could just run it until you detect that every block is a shifted version of a previous block (so, spaceships)
but like, you don't know how long until it produces said spaceship
you could just keep running these in parallel
every time a new one reaches a fixed state, you edit your answer to the new improved one
 
So all you have to do is solve the halting problem and have millions of gigabytes of memory at your disposal, and you've solved the challenge :P
ez
 
We're all missing the obvious solution here: List every possible state that becomes empty, then every possible state that creates those, and so on until we find the PPCG one :p
 
My strategy: oh look, a pattern
That's literally all I did to get the 797 iteration one: click cells on and off until it looked nice :P
 
@RedwolfPrograms right, but the fixed state it reaches may not be empty
 
Cool, more places to start with!
It's definitely a viable strategy
 
6:48 PM
yeah, that'll increase our chances of finding a PPCG state!
wait but you'd want the state that takes the longest to reach
so this doesn't actually make the problem more solveable
 
s/finding/founding/ :P
 
Hmm, how would it be governed?
 
Minimally
Of course, it'd need to be smaller than the Vatican
 
It'd be run by moderators with a reputation system
People would be rationed food by their code golfing ability
 
6:52 PM
With more reputation, you get more privileges (being able to earn money, being allowed your own house, etc.)
Those with very high reputation get to access other people's information and site state analytics.
 
They can also delete them for spam
 
Wait, what exactly does deleting a person do?
 
._.
We can just delete their property instead
 
Okay, that's better
And people who don't play nice get suspended/exiled
 
For 30d
 
6:55 PM
Everyone must have a name shorter than 4 letters and should have at least one non-ASCII character in their name.
⌽Å«⌹
 
mine can be ⍴⍺⌸
 
I'll just put an ȧ where the a is in my first name and that'll be my name :p
 
⍴⍺'?
On my keyboard, Alt+k does '
 
I'll be ‮Wzl
 
Are those homoglyphs?
 
7:07 PM
@OriginalOriginalOriginalVI no
 
There's an RTL override
 
I can be ​​​​
(That's three U+200b characters)
 
I'll be ∪⌈∊⍴
 
or maybe I can be ⸻⸻⸻⸻
Or ̣̣̣̣
 
7:10 PM
@OriginalOriginalOriginalVI oh true, ⌸ is a cooler character though
 
Jesus that was horrifying
@rak1507 Looks like the symbol for a database or something
⍨⍥⍤⍣
 
@OriginalOriginalOriginalVI it's key
 
tojp?
@Wezl he knows
 
@rak1507 Nah, I just chose them because they look somewhat like emojis
 
ah
 
7:13 PM
I'll be ⢄⠔⠑⢄
 
Apparently there's a shell with the same name as me
@RedwolfPrograms I wonder what that is in Braille
 
My money's on "Mountain" :p
 
@OriginalOriginalOriginalVI braille's an alphabet >:|
 
The ones with the 2x4 dots can be words, right?
 
@Wezl Like if you took what the Latin equivalents were
 
7:15 PM
@RedwolfPrograms oh, maybe, didn't know that
 
Looks like some aren't defined though
 
7:49 PM
I love excuses to post links
 
8:07 PM
I made a function in JS to draw black and white bitmap images with braille
 
How well does it work?
 
it takes input as a 2d array
I haven't tried any large images yet
I'll generate one
 
I wonder if there's some way to draw any image with Unicode characters (given a certain font and size, I guess)
 
Oh wait it doesn't work
This is embarassing
Okay, now it seems to work
 
lemme go get suffrage real quick ᵃⁿʸ ˢᵘᵍᵍᵉˢᵗᶦᵒⁿˢ?
 
8:22 PM
@Wezl Is suffrage some kind of software or are you talking about voting rights?
 
@OriginalOriginalOriginalVI suffrage badge
 
> Use 30 votes in a day
Go one further and go for Vox Populi
 
one at a time
 
If you get Vox Populi, you automatically get Suffrage. And it's probably best to start earlier in the day, as you have 3.5 hours to do so :P
 
:( I don't get Explainer from answering my own question ):
 
8:26 PM
Nope :P That triple (Explainer, Refiner, Illuminator) is the hardest badge triple to get IMO
When only 7 people have the silver, and no-one the gold, you know it's hard :P
 
Hey, is it all right with you guys if I make an offensive question to get Peer Pressure?
 
No
That sort of completely ignores the point of Peer Pressure :P
 
I don't get the point of Peer Pressure
Disciplined I get, but this encourages people to post bad answers/questions.
 
I'm going through the bottom of the active question pile
some of them are hard or closed, but some of them look nice
 
@OriginalOriginalOriginalVI The point IIRC is that if you post a blatantly wrong answer, for whatever reason, then at least you get a "consolation prize" for deleting it and helping clean up the site
 
8:31 PM
so I upvote them :)
 
It's not a badge to aim for :P
29
A: Please get rid of the peer pressure badge

mhlesterI disagree. One purpose of badges is to teach users about good actions to do on the site. While posting a bad question is, well, bad, deleting it is still good. The number of people who post bad questions just to delete them is vanishingly small. But the number of people who don't delete because...

 
I feel like the people who can get that badge rarely know about it.
 
on the other hand, then I can do a helpful flag :)
 
@Wezl Careful, older questions didn't follow the same standards of quality we demand now, and so can be confusing or poorly worded
 
7
A: Please get rid of the peer pressure badge

IsaiahAnother solution could be to change the action that triggers the peer pressure badge. Rather than having "Delete an answer with -3 score" which encourages deleting bad content / posting bad content because you can delete it, I would recommend changing it to become "Have an answer with a score of ...

^ I prefer this
 
8:34 PM
Plus, irritatingly outdated I/O formats, time limits and the possibility of being closed if they get bumped
 
This one's not bad.
 
@OriginalOriginalOriginalVI I like that, but I think it should be a different badge :P
Similar to Lifeboat but on your own answer
A good indicator of the point of Peer Pressure is that it isn't an Answer, Question or Participation badge; it's Moderation badge
 
Made something interesting with the braille program: gist.github.com/RedwolfPrograms/…
 
@RedwolfPrograms interesting, doesn't look like a square :)
 
I'm bad at naming things :p
It made a square at first
Now it doesn't
 
8:40 PM
squares aren't that interesting anyway
 
This one lets you watch it grow: gist.github.com/RedwolfPrograms/…
 
Interesting name
 
> ngjabngiebgiubiu.js
 
2 mins ago, by Redwolf Programs
I'm bad at naming things :p
Wait you might want to delete those console.logs from it before running it on a big input
Forgot about them
Updated gist
 
ooh that's nice
 
9:17 PM
Is there a neat way in regex to get any prefix of a string? E.g. for format I want to match f and fo and for and form etc. Anything better than f(?:o(?:r(?:m(?:at?)?)?)?)??
 
if you're generating the regexes with a program it might be easier to do f|fo|for|form|forma|format
 
* Wezl screams at the backspace button being close to the power button
and at there being a button instead of a switch
 
lol, for me the annoying thing is that f1 for some reason turns the screen off or puts it in sleep or something
 
Physical keyboards should have standards
Like the Ctrl key should always be at the bottom left
I hate that Lenovo swaps it with the Fn key, and on older laptops, you can't do anything about it without a modded BIOS or whatever
 
9:34 PM
Does anybody know wether it is okay if i used some TIO's code to create TIO urls.
can't ask dennis, since he is currently in need of rest.
 
@Alexbries It is. All TIO code is FOSS.
 
what is FOSS?
 
Free Open Source Software
 
Alright, thank you :p
 
@rak1507 Ah, of course. Though it would be better in reverse, no?
 
9:37 PM
yeah, probably
idk regex very well
 
Although | means the engine has to backtrack, while (?: means it can stop as soon as it hits a non-match, so the latter might have better performance.
 
Good morning everyone. Y'all sure know how to have a long conversation!
 
@Adám what does (?: mean as an emoticon?
 
@Adám You could append #format to the end of your input string, where # is some character that will never occur. That would allow a more fancy way regex to be used.
 
@Wezl No idea.
 
9:44 PM
@Lyxal you can skip between 5:30 and 5:40
 
@Deadcode How so?
 
@Adám Can you use PCRE2?
Well never mind that, it doesn't need PCRE2, PCRE will be enough...
 
@Wezl all the accusations are false
 
PCRE
 
something like (string+"#format").match(/(.+).*#\1/)
 
9:47 PM
Ah, clever.
 
:-)
 
@Wezl too late I read the whole conversation before saying you had a long conversation
 
@Adám And if you had PCRE2 available you could use regex101.com/r/kbZcXe/2 which executes in far fewer steps.
 
@Lyxal they were false whether you read them or not
 
@Deadcode What is it here that is missing from PCRE?
 
9:54 PM
@Adám Non-atomic lookahead. But silly me, it can be done without that, by prepending "format#" instead of appending "#format"...
 
:-)
 
And in fact then you're free to even use # in your string.
And as long as your search word doesn't have repeating substrings within itself, you can just do regex101.com/r/kbZcXe/4 without the # at all
Oh, and if this is for golf, regex101.com/r/kbZcXe/5 is better, using a newline instead of #
 
@Wezl Accusations?
 
@OriginalOriginalOriginalVI is being a vampire not an accusation? I consider it to be one. ꗨ|:<
 
@Wezl It was a statement. An accusation has the possibility of being false.
 
10:08 PM
@OriginalOriginalOriginalVI nonsense
 
It also has a negative connotation.
 
@OriginalOriginalOriginalVI so do vampires
 
Being a vampire is something that you cannot control - how can one protect oneself from being bitten by a superhuman being?
 
so accusing someone of being a vampire is an accusation
@OriginalOriginalOriginalVI why would you want to? They do it cleanly.
 
It's like saying "ha, you're so evil because a shark bit off your arm"
@Wezl Right, but no one ever phrased it like that; it was merely a question: "Is Wezl a vampire?"
 
10:11 PM
@OriginalOriginalOriginalVI "is something you cannot control" Provide evidence.
 
@Wezl Um
What kind of evidence do you need?
 
@OriginalOriginalOriginalVI a statement from a proven vampire
 
just ask yourself then
 
@rak1507 I did and he said no
 
that settles it then
 
10:14 PM
@rak1507 no, because I'm not a proven vampire
 
Okay let's settle this once and for all
@Wezl are you vampire?
 
@Lyxal of course not
 
@Wezl okay then there we go
 
that's exactly what a vampire would say
 
We have our answer
 
10:16 PM
@Lyxal which is?
 
Wezl is decidedly not a vampire
 
yay, and don't trouble my kind any longer
 
@rak1507 sounds like you're trying to hide the fact you might be a vampire yourself.
 
oh no
 
lol
 
10:17 PM
Attempting to shift blame is very sus
 
amogus
 
Exactly
That's the take home message
Always has been
So what's our next item on the list of things to discuss today?
 
I golfed an additional 4 bytes off my Enigma machine! :P
 
nice
crossed out 42 is not 42
 
@ChartZBelatedly this is very good!
I was about to upvote only to realise the button was already green
 
10:22 PM
I'm still annoyed by the second µ, cause I reckon I can get rid of it, but meh :P
 
And SE mobile chat thought it would be funny to send my message twice
 
5 more to go for suffrage badge!
 
Also, I now have exactly 600 answers and 95 questions, so I think I need to post 5 questions before my next answer :p
 
Do you want to know what would be cool: Java setting instance variables of a class based on the arguments of the constructor called
e.g.
String something;
int anotherThing;
public ClassName(String something, int anotherThing){}
instead of
String something;
int anotherThing;
public ClassName(String parameter, int anotherParameter){
    something = parameter;
    anotherThing = anotherParameter;
}
and, uh, inb4 someone tells me it's actually possible/there's a better way to do things
 
that precious moment where you deserve a badge but it says 29/30 because delays
 
10:30 PM
Dynamic typing ftw :P
 
Best is to drop java
 
@Wezl Been there :P
 
@Alexbries agreed
 
DROP TABLE JAVA;
 
I love it when a new user joins the site and begins answering. Not because it means that we've got more interested people, but because the First Posts, VLQ and Late Answers queues actually have stuff in them for once :P
2
 
10:32 PM
@ChartZBelatedly understandable
 
How else will I get the 572 more First Posts reviews I need to get the Steward badge??? :P
 
Exactly.
I couldn't agree more
 
Speaking of the Steward badge, I'd be surprised if any ever gets it in the Late Answers queue. Even WW is over 500 away, and there's been a total of 3.4k reviews there since the site started
WW's 45% of the way there, and has been reviewing for 4.5 years now, so I'll expect him to get it in Oct 2026 :P
 
@ChartZBelatedly who is this "any", and why are they so slow at reviewing things? ;p
 
@Lyxal "any" is what "anyone"'s friends call them :P
 
10:43 PM
@Alexbries Add CASCADE and you essentially drop all JVM languages :P
 
@Bubbler, idk is it only my generation that really hates JAVA, maybe we are just too lazy for the long names.
 
Well, you're on code golf and we aren't exactly known to be fans of long code related things...
5
:P
 
@Alexbries dang I feel old now
 
@Lyxal If there's one thing that can make even an 18yo feel old, it's someone younger than them :P
 
true, i feel same and i am 19
 
10:52 PM
Man, that's ironic :P
IIRC Lyxal's 18 (or thereabouts)
 
oh wow that's even more ironic
I'm younger and feel older because I kinda like Java
 
Liking Java is probably a good thing, because it means you still have lots to learn in the ocean of programming languages :P
 
* Wezl just misspelled friend as fiend
 
@Lyxal Check out Java 15 records
 

« first day (3708 days earlier)      last day (1138 days later) »