#Code elements
1 messages · Page 2 of 1
yeah just wanted to let rubiks now
It just likes to become the opposite
Very useful.
at least it's a real thing
Sounds like it wouldve been fun
Dead Factory Inc.
last one and bottom middle one are dead
Dead Inc.'s latest productions
Are these actual things?
wasn't sure since I know that in java its just int or double or something and not number
this is typescript
Nothing stopping you from making a number class, unless that is a reserved word.
oh damn turns out i dont have '[]'
but i do now
big brain play
[]; + Append U+0027
How to get [];
my route is random
i have ![]; but i dont think it helps
i had to use string.append to get that configurations lol
wellive got some bracket nonsense but i cant control whats in them or quote type, and they are all inside snigle curlies
but at least its something
wake up its []:[]:[] o'clock
leys get the symbols for legacy computing digits
and put them in there
digital clock ftw
it's equivalent to just writing []
Nata you don't even live in a federal state what the fuck
Eh does not matter
Did anyone here ever get <!-- or something close to that?
i have some pretty messed up things like that
but not that itself
this is all from when i tried to simplify +0
like >$+0
--> was easy tho
?
Huh
Well I'm trying to get ![ - esque outputs and XML comments seemed like a start
Either that or <img src
I don't think that one was me
Actually now I think about it under the right conditions you could have {something} + <img src =
Yeah, a lot of them do that
The first working image we found was a fortune cookie
In total there were less than 20 working images in the end
oh was there a project
Yeah, when we first discovered ![ back in February I set up #hyperlinks in Beyond English
It was a wilder time
lol
Well when PB first found ![
Funny looking back now
Y'know there used to be a translator role? Only perk was that I could create new boards in Beyond English
need a lineage for array.rotate() if anyone has it
?
yeah i got all this - so how can i change quote type or maybe control whats in those arrays? like did you get anything similar to this
like similar to the split and join (and the arrays too - i dont like that quote type lol)
i want whatever fun you got there
Why was I unfollowed from this post
oof
Anyway, I never managed to get "[arrays]". As for controlling what's in them, the best I had was combining Put This In Brackets outputs
hmm
i dont have many of those, but i did get those single curly quoted stuff you sent
Just play around with whatever special characters and code stuff you have
That's how I went about mine. I didn't even know what an array was until like a month ago
may need some samples but you said on road so
I can just say the stuff I suppose
No recipes though. Just existence proof. So not really useful
Do you have Prepend Bracket though?
ah yes
this one is "delete all characters except letters and numbers"
which, would be really useful if it wasn't dead
ood
oh shit
Does that replace 's' with nothing?
What was the recipe for this one
Not lineage. Recipe
I'm just curious how much effort it would take to make the alphabet
Plus it would take a while for a lineage to be made I presume
not really
i got it by accident
the two ingredients are available in discord search
one of them has been optimized by AWWO
well you can already guess by no
Well there you go
i havent a clue im afraid but cool
idk people with string.replace seem perhaps a bit secretive but i do get why lol
What is this Riddler-ass puzzle you're doing
i mean idk not exactly unusual these days
oh you wanted the colon version?
it autocorrected from here
rest was building with "letters" and -
got this one but with different apostrophe so old one isnt revived
another one… one by one, they fall
delete the sheet!
how
idk seems that replaces are only for some people.... /s
lol
's' is not that bad
but the others idk
i'll only get the first 5 letters or so to see if it works
the clues don’t really help any more than clue: ingredient 1 is not dead
(To me anyways)
i need recipe
now what
why the fuck does it just removes the space
Fun fact: Natasquare has e blindness
i have string.append('e', '')
I guess if I ever figure out how to make replaces on demand… hmm what would I do then
lol
out of the first 5 letters only 'e' worked
so i guess i'm not making String.replaces
for some reasons the breve gets hoisted way up
what were they thinking when designing the collation algorithm
since i can't progress, it's just String.replace('#', '') + unplural
could try next/previous alphabet/letter on Mr variant maybe?
problem is
that seems to work well for appends
they don't react to Mr.
ah damn
oh lmao yeah thats unfortunate
do we have the mr variant of this?
let me see
no
also shit that needs string.append already
but only String.append('#')
can still minimize the use of other String.appends
Well apparently nobody went down the "string.replace" + Append Parenthesis path
i bet it'd be easier to construct the regexes separately then use existing string.repalces
That was my thought
Which is why to prove it I stuck / inside parentheses and stuck it on
And tube
I'm gonna keep making these
"string.repeat" + Append Parenthesis + (/)
Then have fun
why the fuck do i have (/) fd
It just kinda lets you stick stuff inside
ah ok
hmm interesting so from there it let you control both input fields
cool
Or at least influence
What
although they were quoted which is the one caveat
this one also makes SlowMotion
"string.replace(/a/g, 'b')" + Prepend Mr. = Mr. Bbbrrbbb
Now what is this chicanery
be be be right right back back back
oh wait nested quotes
Best I can get you is this abomination
replace comma with
you organising them or just making random rn
oh
Ah
all my .replace elements (top left are all dead)
Replace spaces with nothing right
Neat
In the process of trying to hashtag a string.replace I ended up reviving "Mr. Add Hashtag"
mazing
hmmm
any takers?
String?
didnt someone want string before .prototype. ...
Excellent
We can now arbitrarily attach String to things
Should be Prepend String.
Targeted random? o.o
Basically breadth-search then depth-search on interesting outputs, if you want to get technical
oh great now i get jumpscared by this guy every time i search for (
i still don't get why the breve is so high up
is it because it doesn't have a weight so it doesn't get count
just to make sure I’m not missing some fancy search you are doing - are you just searching like (a then (b etc and if you don’t have parens do you then go like "a etc
i noticed that
Honestly?
I type ( into my searchbar, then just do the ones that'll be alive down the list
and yes rtl does not have any weight associated with it in the table
such a weird thing
Okay, I'm gonna do something dangerous
I'm leaving my searchbar empty
And sorting by *name (idiot)
Easy
Oh wait
lag inc
Yeah I had that on till 20k elements but then it became unplayable
Hm
It appears trying to load 50k elements is giving my browser problems
I wonder why
not 100% succes rate tho
react 🤓 so it can be top 🤑
💀
tomorrow will be rough to catch these up I’ve been meaning to but kinda leaving the sheet alone - but most of the fun stuff here won’t be on it
every time i try to work with replaceit turns into replaceAll
I've got FD on String.replaceAll I think
thank you so much
Victim number 100000
I have perhaps 100 recipes for it
it does that to anything it doesn’t like
at least you got normal ones
😭
so in the last few days Brent what is the main sets of elements you’ve got? those there are U+0022 quoted replaces with 2 input fields
Programming but your mouth is full of bees
holy hell
google it
Another thing of note is that ' is before "
Whyyyyy 😭
that’s like putting L before G
Why couldn’t they be normal for 5 seconds
And also that every variant of a letter is positioned as the letter itself
true
Ignore that
'nother element has fallen to .kiss.replace(/./g, '*')
“I hate directly next to the White House” - llama after combining I Hate Directly Next and U+1f3e4
But Eisern said no censorship!
god damn it i resized side bar
- 5 minutes
Ah, using Ctrl + F to search
Reminds me of the good 'ol days
There must be a much better way to do the sidebar
that doesn’t involve rendering everything - not sure what the pros do these days though
even if it has to be purely ascii I don’t care
like running in a cmd window with ASCII art
Oh hold on
Nata, it ignores diacritics
that's one way to say agriculture
dammit i cant read
how exciting
Like so we can add stuff into it?
Yeah if you can’t get quotes inside it, it will be hard to add to
it'd be better if we had a space in the single quotes
that’s also a goal
we do have that
ah yes replace nothing with comma
aaqw -> a,a,q,w
usually 0020 or some other string method or " " helps
yeah those are good
and now replace nothing with nothing
If there is an empty string between every character
Then what’s between the empty string and the character
I have it unquoted
i know
I have "replace two backslashes with an underscore"
escape character
two backslashes?
it might mean 1
String.replace('\\', '_') or something like that
Huh
0 also has no weight in this sorting
remember escape has actual use
4 < 05
yes
that is one backslash
in replaces if you see 2 backslashes it means 1
ok wait im dumb
like it will only replace 1 backslash
there's a setting to consider numeric values rather than sorting by 1 > 2 > 10
Omg what
Ah, correct
neal doesn't use it in the sorting code though
that’s like sorting Z before A!
wonder what's up with that
8kun < 16 Squares
what
100m world record
dammit
😆 12 years a banana
😨 12 years a racist
it's helper's doing
Shit
neal probably doesn't do it because localeCompare doesn't have any more arguments in the vanilla site's source
Makes sense
Does Helper also affect other orderings?
Kanji remain below quotes currently
no it only enables numeric sorting and nothing else
Sorted before what
what would this do
Why did you make it
now does this mean neal doesn't use collator on the server
Would certainly imply as such
Curly before straight
but we still can't explain how the breve is hoisted above everything else
illegal!!
that only happens because collator doesn't weigh it
Also note that Collator only weights curly in the absence of any other ordering
Yeah
Like here
curly is weighted the same as normal it seems
normal is [*0332.0020.0002] and curly is [*0332.0020.0004]
curly "a" is treated equivalent to "a" unless directly compared, in which case the straights win
(i still don't know how to read this value)
What does that array mean what
Primary, secondary, tertiary weights
For "base" letter, "accent" difference and "casing" weights respectively
332…
First is 16-bit, second is 8-bit, third is 6-bit for some reason
what does that mean
I see 0020 and 0002 for normal and I know normal is 0022
but then that falls to pieces with curly
Higher numbers mean later ordering
Yeah I just the values themselves
0020 and 0002 seems too sus to not be connected to codepoint
So because 0332 and 0020 match in weight in straight and curly, the difference is treated as a "casing" difference (with lowest priority)
Thus its also why the list [apple, Apple, Appear, appear] would be sorted as appear, Appear, apple, Apple
I think
Why the fuck did I put the list in an array
an array is an ordered list
Yeah but it's not ordered
That's the whole point of the example
I should've put list 2 in an array
that is, uh, something
He fell asleep
replace nothing with hyphen?
surely it works
yea it keeps giving me hyphenated strings
-W-h-a-t-?-
-I- -d-o-n-'-t- -s-e-e- -a-n-y- -i-s-s-u-e-s- -w-i-t-h- -t-h-i-s-.-
Fuck I missed one
although unquoting it will be a problem
Mr no work?
you could try my original route of getting a 0 in front and removeing 0
this shit is too reactive
Prepend Hashtag Lowercase?
i don't even have tha
ell i was not expecting that
surely it happens again if you prepend another semicolon
Replace ; with -?
oh screw you
"string.replace(/c/g, 'b')" + Prepend Hashtag Lowercase = #bob
What
now i can replace the semicolon with everything
it actually unquoted lol that's cool
another one in mr. at least
im going to be so behind on replaces by the time i get back
i suppose that's a start
"//g" + "string.replace(g, )" = "string.replace(/g/, )"
Huh
imagine if global regular expression actuzally worked as intended
How would it work as intended
oh i see
add the /g flag
Ah
..replace space with comma?
"string.replace( )" + (“//g”) = “replaceAll( )” oh come the on
how curious
llama might be onto us
It put the g outside
hell
anyone got just "#" ?
why the fuck does it unquote
i mean idk
oh nice so it works
i'll test with some other stuff
Oh wait that's correct?
yea it is
I mean this isn't useful but I have a lot of them
its over even laurasia is using string stuff
only niko left
that /a/g can probably be used to make String.replace(/a/g, '');
how rude
Plus this is actually quite optimised
string.append fans vs string.replace enjoyers
so is append 😢
new war just started
lmao
also you should post this in the string channel so it can go on the sheet
it works like a delete tool
not much better
but being able to target specific letters is still quite nice
better than Delete The C
Oh yeah, so the comma is possible but it for some reason removes one of the quotes
"string.replace(/a/g)" + Comma = "string.replace(/a/g,",")
So it makes " when combined
What
you think you could get 0? that could be useful
"collo" + "string.replace(/c/g, 'b')" = "bello"
It kinda works
"colloquialismsngta" + "string.replace(/c/g, 'b')" = "bobloquialismsngtab"
Don't ask about element 1
probably
do we have /numbers/
i have /4/ and nothing else
maybe dates with / could be used?
i don't even know why i have 4
also I apparently have this (FD)
i mean
"bello" + "string.replace(/a/g, '.')" = "b.ll.o"
Apparently it just deletes things at leisure
Aha
fantastic
accidental? cuz
yea i just need to remove the quotes without it reacting to stuff
new censoring tech just dropped
this does some strange things
double apostrophe
ugh this would be way easier if it wasn't functional
then what would be the point lmao
oh great let's kill all circumflexes
Ay
"string.replace(/a/g, '.')" + Delete The Period = "string.replace(/a/g, '')"
nice
What do I test it on
you unquote it first (will be a pain)
does it work on unenquoteds?
"string.replace(/a/g, '')" + Abortion = "ortion"
It puts them in quotes I think
yeah then should prob try to get the unenquoted replace
unless we want this to be new ptiqm tech
real
should post a 4LW with that tech in #1239217855581519992
and tell them to verify it by hand
lol that thread died
interesting that it actually changes the caps to keep Title Case
and I'm all for it
M'bodia tips hat
I was so confused for a second until I remembered the tool I was using
"mr. Add Hashtag" + "string.replace(/a/g, '')" = "mr. D Hashtag"
Huh
hashtagtaghashtag
Fuck
someone really hated vodka
was accidental combine
Good news
You can spam Next Alphabet on /a/g, '' to get the letters
mazing
bad news: its still in quotes?
yes absolutely
🔥
how do i delete the a
use laurasias /a/g ‘’
what the fuck i don't need this
I'm going to make a lineage then
delete the "a"?
didn't work
I'm well and truly stuck
Eliminate The A
holy hell
if i get a chance later today i can try to unquote it
maybe nata or someone else will by then though
no it's 0 am already
FD but haven't tried collecting them all/checking to see if they work
i need to wake up at 6 for something
What the hell is 0 AM
saying it's 0 already feels weird
dw the og string.appends were stupid
just like everything else in this thread
remember when this thread only had like 5 people
yea and the <script> lineage was bad
crazy how much thats been optimized lol
dammit wrong position
does anyone have /#
i have #/ but not /#
would you look at that
gg
tried getting it via append/prepend unicodes but got this instead
Append #/ (worked on "test")
actually i wonder if it performs better with or without the semicolon
3 comes before f, you could try append 2f and prepend 23
(occasionally works)
or the opposite and hope it gives the chars
great it deleted the /g
Do you over look at a lineage you're building and wonder what choices you've made in life to get to this point
and there's a fucking space after the g
every day i ask myself why i still play this game
clearly ive made some great choices in life
I just try shit. I don't look at alphabetical order unless its quoted
lmao fair enough
??
hashtag slash space
what was the first thing again?
What was the first what
cool ill come back to this should i get time later
Aw, I just optimised it accidentally and now you don't need [/a/]
:[
oh straight forward
amazing give better lineage
.
i am stupid
I thought it'd give /a/g/ like the other one did
wait was the one on the right just replace(/) + u+0020 or something?
wait hollup can i just skip that part altogether if i just get (a,g,)?
You still need "string.replace(/.)'
yeah apart from that though
cool, surely that will not end up being harder !!
That final comma will not survive anything you throw at it
only one way to find out ig
fuck i resized the side bar again
that's all for today i suppose
also, what
LMAO
Hey I have that
string.replace(/alphabet/g, ‘alphabet’) all combinations when
it's the same as two letters
676 again woooo
(also this IS A JOKE ASD)
although this is trickier
WOOOOOOOOOOOOOO
I can spam A to E in quotes
I think
Oh wait it's 676 - 26
new Prepend D
Because some of them otherwise would just be Replace Letter with Letter
who wouldn't want to replace a with a
But what if
'A' and 'a'
datsquare
I'm glad you did this while he's asleep
just in case he sees that
quick, erase all evidences
Delete this thread
it's over neal can shut down the game
@mods
Neal secretly pressing the on and off button of infinite craft and watch as the chat goes "is anyone’s game lagging?"
it advances both
well theres the first 25/26 assuming previous works
Weirdly getting past 'e' seems impossible
rip
I enjoy how we all let that go past without comment
that's a lot of h
new zombie just dropped
Slay this one Ballzybro
Oh nevermind
Apparently it just was soulmates with Prepend Hashtag
"string.replace(/a/g, 'b')" + Prepend Hashtag Lowercase = #bstringreplacebggb
One more for the road
okay i guess we got pretty far - when i get something to add a character between every character ill finally be like yes i won
this is actually so insanely reactive lmao
I'm aware
were you able to get it into curlies?
Replace e with nothing
Remove the e
No
I did get a different one into curly but I forgot which one and how
i killed it
Sad
For some reason /e/ is where it fails
Try using Next Alphabet on /a/g, '' in quotes
Very classy
not a joke to me 🤷♂️
More unquoting failures
What did you do to get yours out Nata?
i hashtagged it with only the first argument
then i conbine it with a Mr. String.replace with the second argument that i want
if you have two arguments in quotes it's really hard, because, well, they work
failed quine
ah when i finish work i need to get these - im noting down a list of the "classes of elements" that i should get all the variants for
Do you also want Mr. .obama?
It does nothing but I find it conceptually funny
how do you even get Mr. .obama from String.replace
You tell me
i thought the ingredient would at least be something related to obama
Obama is male. That's close enough for the AI
Apparently turning Obama into Unicode makes him the psychopath emoji
"string.replace(/c/g, '')" + Cambodian = "hmer"
How outre
does it work on "cambodian"
"Cambodian" + "string.replace(/c/g, '')" = "mobian"
No
"Cambodian" + "string.replace(/c/g, 'b')" = "bambodian"
"Cambodian" + "string.replace(/c/g, 'd')" = "bombodian"
amazing
now we can use this to respond to people who want to "replace this letter with that" in #help
if Previous Alphabet worked on my replaces it'd be great
You got to /z/g?
no i went to sleep
What does that do
it didn't work on /c/g, '' at least
gives your combinations more chance to succeed
Wow
How often do you use that strat
maybe once in a while
i heard it is more effective when done in certain times of day
I don't understand Neal's code at all
Anyway
Anything I should be looking for in particular?
/[]/g
[^] would be interesting too
or any letter after a backslash
although that would run into \S \W and stuff which is kinda annoying
how fissapointing
america + b = Bama
so
i have this
so if ever your replace doesnt work.... maybe backup
?? "string.replace" + Append Parentheses
nataa what does it mean
💀
hmm well ill try to get up to there but rn i am at .replace(/)
searching ( isnt of much help to me lol
Untrue
You scar that something for life by briefly taking it to the regex dimension
bare parentheses means a capturing group, and $1 is referencing the first capturing group
well that just means you're replacing comma
yeah well the point is i want a second field
hence the attempt
like to catch up to you guys with those reactive replaces
i need 2 fields
i dont have that yet
add comma
you should hashtag it before adding the second field
otherwise it will be trapped in quotes forever
well thats what laurasias stuff is, but it works well it seems
it also attempts self-replication
Is that really so bad an existence
does this imply that you are now dead
god why am i struggling with this - "error-500-" is where it ends for me rn, but maybe thats cause im trying and failing to make internal in quotes
is this in any way related to code? (i got it trying to get append left parenthesis &append right
(no)
only the left one seems to work
close enough
another "fun" function we can make is String.slice
String.slice(0, -1) is equivalent to deleting the last character
slice(1) is delete first
the thing about these is that we can also chain them
String.slice(0, -1).append('h')
imagine
ah that is 31 characters
how unfortunate
tht shall give us SyntaxError
Counterpoint: 🦙
"inter" + "nal" = "intern" thanks game
yeah what is with those - i dont have much [].anything
make "internaluminum" then add shorten obviously
If you can make sense of this I'd give a path
how did you know what would work lol
that works?
Does Internal + PTIQM not work?
"intern" + ~a = "extern" fd
clearly the model knows its shit
"intern" + ~a + 'a' + ~al + "l" = "internal"
What
trust me
Me when I want to make "internaaall"
my least ambiguous lineage
yeah i dont have that
oh well
well i didnt want internal + ptiqm
cause i know thats gonna make dead version
and i am not interested
and yeah thats exactly what it does
"intern" + Full Stop + 'a' + Full Stop + 'al'
full stop? wh
average "intern.a.al"
Touche
A few days ago I found out fullstops and other punctuation can prevent unquoting *with 'alphabet'
It's never been used since though and I forgot about the tech
hmm ok
wait we have string.slice?
funny cause yesterday i experienced a good 95+% unquote rate with "who.is"
and not the good kind
"intern" + en dash + 'a' + "l"
Aha, "intern–al"
intern–Al??
"intern–al"
did the game see you and was like ah yes i know what they want lol
it's interna
but yeah it was weird
if it randomly switches to extern then it surely can switch to intern
i guess
i just wouldnt have tried such a roundabout alt alphabet - if i go down the list it would be like 13th or 14th thing to try
well thats not what brent did to get the 500 though
oh well
when i get stuck i switch to curly
yeah but brent didnt so
of course i'm not brent
or are you
what does that imply
im just asking
implied meaning is all in your head
the recipe used was "error-500-internal-server" and i dont know of another way to get that - like as soon as i switch from " arent i cooked?
hmm well i am getting somewhere now
brent's way is surely not the only way to get it hashtagged
i guess
ok finally got it
okay more replace work to do
ah nice
got 2nd field
"string.replace(/ /g, 'i');"
oh never mind not quoted
What
What do you mean not quoted
i thought it was
its just string.append(/ /g, 'i');
no not append
replace
grr
How'd you make it leave
Oh
searching ( doesnt get me much, i dont have (alphabet) so its all code elements lol
is that two apostrophes or one quote
2 apostrophe
oh wait it not in quotes because i was combining it with the string.replaces i got from string.append...
yeah no wonder
stuff surrounded in brackets are put in a character class
oops
essentially an OR condition for characters
so [#-] matches # OR -
unless you get a caret as the first character in the class
then it will match everything excluding the characters in the class
match all non-utf-8
well you can just put [^] and match everything
Did we ever get one with \s in it
oh
well erm technically
i dont think i have one
Correction
damn so much fun
Did we ever get an alive one with \s in it
how to get there
where
Wait hold on C:\Windows
that fun stuff
it's just the source of String.prototype.trim and trimend
can get with standard ' '; or " " or '</s>' or <script>
and then there's this one
How do you get / /?
Amazingly it actually is
damn it i caused the board removal bug
my finger slipped and i clicked
and now elements dont interact with each other, rip
it's gone through awwo actually
Ah
Discord search is unhelpful
em dash actually
hmm well the (alphabet) is giving me all fd... so i guess you got to the point where you had 2 input fields before you started more bracket stuff like that
Reset? As in clearing board or file?
ah i had a bug happen
had to refresh
lol
i guess i have 2 fields now?
(m) + (n) = (m+n)
and that i guess split up
surely it'll Uncaught ReferenceError: m is not defined
If 🦙 responds with that I will fight you
what dot is that
really?
it looks almost like middle dot with how high up it is compared to the underscore
Well it worked for me
Maybe by coincidence middle dot also works
lol i search up "//" and only result is Mr. "//"
not gonna question
but ill take it
i did get fd on \\ iirc
funnily enough
Well I got one of them in now
“//g” + "string.replace(/a/g, '')" = “string.replace(/a/g, '')”
curly //g nice
“string.replace(/a/g, '')” + #Canada = #canad
As expected, it's removing stuff from the end now
ah yeah i see
i have to have dinner but hopefully i can get that second argument
and not (/,/g)
"//g" is just "//" + "g"
Curly uses curly "."
I've been sitting on this long enough now.
Here's a schema outlining my tech for making almost any String.replace, with any quotes, in pretty much any order.