<kmath_>
<ctrlcreep> dragongap: spacetime holes that only manifest as map lacunae; named for the cartographic custom of labeling unknowns with "here be dragons"
icefire has quit [Read error: Connection reset by peer]
<egg|zzz|egg>
!u `
<Qboid>
U+0060 GRAVE ACCENT (`)
<egg|zzz|egg>
!u {
<Qboid>
U+007B LEFT CURLY BRACKET ({)
<egg|zzz|egg>
!u ^
<Qboid>
U+005E CIRCUMFLEX ACCENT (^)
<egg|zzz|egg>
!u -
<Qboid>
U+002D HYPHEN-MINUS (-)
Lyneira has joined #kspunofficial
egg|zzz|egg is now known as egg|principia|egg
Lyneira has quit [Quit: Quit]
Lyneira has joined #kspunofficial
Thomas is now known as Thomas|HERE
Thomas|HERE is now known as Thomas
<egg|principia|egg>
Thomas: so, it seems we found a solution
<Thomas>
I saw it, but I cant say that I really like it
<egg|principia|egg>
Thomas: also if you want to speak to whitequark directly they might still be awake and are in ##openfpga
<egg|principia|egg>
which I turned into another kspacademia clone >_>
<egg|principia|egg>
Thomas: it's a bit odd, but it works (it still leaves the option of using %2f if you want, as I remarked), so it would solve the problem, and allow that to be forever buried (and then I can get rid of that channel with the stupid name :D)
<Thomas>
Yes, but then I have to fight with regex :P
<egg|principia|egg>
Thomas: poor regex :-p
<egg|principia|egg>
Thomas: yeah that particular scheme is a bit tricky isn't it
<egg|principia|egg>
because you want to turn ~~ into ~, but not ~h~~h~ into ~h~h~
<egg|principia|egg>
since that should be ##
<egg|principia|egg>
wait no that should be invalid
<egg|principia|egg>
well no, that's valid
<egg|principia|egg>
but ~h~h~ would be invalid
<egg|principia|egg>
Thomas: so you need to split on the ~, and look at the groups with odd index: if they're 1 char long it's an escape, if they're 0 char long it's an escaped ~
<Thomas>
Nothing against whitequark, but: Whyyyyy
<Thomas>
%-escapes are perfectly fine :D
<egg|principia|egg>
dunno
<egg|principia|egg>
Thomas: but the method I describe should work, right?
<Thomas>
Actually, I am not quite sure
<Thomas>
!csharp var escaping = "~~~h~".Split('~')
<Thomas>
!c escaping
<Qboid>
{ , , , h, }
<Thomas>
!csharp var escaping = "ABC~~~h~DEF".Split('~')
<Thomas>
!c escaping
<Qboid>
{ ABC, , , h, DEF }
<Thomas>
egg|principia|egg: Makes sense to me
<egg|principia|egg>
you have ABC even, fine, then empty so ~, then empty even, fine, then h so #, then DEF even...
<egg|principia|egg>
Thomas: so splitting and keeping empty things even at the end appears to be your_string.split('~', -1)
<Thomas>
!csharp var escaping = "~~ABC~~~h~DEF".Split('~')
<Thomas>
!c escaping
<Qboid>
{ , , ABC, , , h, DEF }
<Thomas>
ok
<egg|principia|egg>
!csharp "zygote"
<Qboid>
zygote
<egg|principia|egg>
!csharp "yolk"
<Qboid>
yolk
GreeningGalaxy has joined #kspunofficial
<egg|principia|egg>
o/ GreeningGalaxy
<egg|principia|egg>
!wpn GreeningGalaxy
* Qboid
gives GreeningGalaxy an ovoid diagram
<UmbralRaptor>
!wpn GreeningGalaxy
* Qboid
gives GreeningGalaxy a boat
* UmbralRaptor
? bodies. Why do you need to eat an sleep so much?
GreeningGalaxy has quit [Ping timeout: 201 seconds]
<egg|principia|egg>
UmbralRaptor: yeah the sleep thing is annoying
<egg|principia|egg>
UmbralRaptor: in other news 4 new people are now following me, one of which is a quark
<UmbralRaptor>
A quark without color charge. o_O
<egg|principia|egg>
UmbralRaptor: and I may have turned ##openfpga on freenode into a kspacademia clone
<egg|principia|egg>
Thomas: review's in, with a way of making it look nicer :-p
GreeningGal has joined #kspunofficial
GreeningGalaxy has quit [Ping timeout: 206 seconds]
<egg|principia|egg>
Thomas: so, whitequark says /~([^~]?)~/ as the regex that works to replace the loop, let's do that and wrap this CL up, because this is getting long
<egg|principia|egg>
Thomas: yeah, checking, gsub(/~([^~]?)~/) { |m| map_char(m[1]) } should do the job
<egg|principia|egg>
well, CHANNEL_MAP[m[1]] in that case I guess
<egg|principia|egg>
CHANNEL_ESCAP
<egg|principia|egg>
s/$/.
<Qboid>
egg|principia|egg meant to say: CHANNEL_ESCAP.
<egg|principia|egg>
s/$/e
<Qboid>
egg|principia|egg meant to say: CHANNEL_ESCAPe
<egg|principia|egg>
whatever >_>
<Iskierka>
Pinkbeast, Carradice panniers fit the first steps of being hyooge and feeling tough being swung around after filling everything in just one of them (not previously possible). You didn't directly recommend them but would've been a while finding them without mentioning, so tyvm
<Iskierka>
now onto the long-term test of how they survive commuting
<Thomas>
egg|principia|egg: Seems to work on the egg channels and bin/sh, but the weird channel is borked
<egg|principia|egg>
yes, gsub doesn't return empty groups, looking into that
<kmath_>
<whitequark> "actually solar eclipses are a TODO"
GreeningGal has quit [Ping timeout: 201 seconds]
<Thomas>
!wpn
<Thomas>
Awesome
<Thomas>
what have you done now
<Thomas>
:P
<egg|principia|egg>
Thomas: your server is doing the legacy mapping atm for ..eggs?
<Thomas>
No
<Thomas>
It is doing nothing
<Thomas>
Oh awesome...
<Thomas>
Waaah
Qboid has joined #kspunofficial
<Thomas>
egg|principia|egg: Good, this was me being dumb and running git reset before having pushed anything
<egg|principia|egg>
Thomas: :D
<Thomas>
!wpn
<Thomas>
!wpn
<Thomas>
The bot is *done* too as it seems
* egg|principia|egg
pets Qboid
<egg|principia|egg>
you're a good bot
<Thomas>
!wpn
<Thomas>
It...ignores us
<UmbralRaptor>
The bot demands better working conditions?
<Thomas>
xD
<egg|principia|egg>
!wyn
<egg|principia|egg>
!wpn
<egg|principia|egg>
!tell egg egg
<egg|principia|egg>
huh
egg|principia|egg is now known as egg
<egg>
but it's logging alright
<Thomas>
!wpn
<Thomas>
!wpn
* Qboid
gives Thomas a commutative cat
<Thomas>
Ok
<Thomas>
When I run it manually it works
<egg>
!wpn
* egg
commutes with a cat
<UmbralRaptor>
!wa egg*cat == cat*egg
<Thomas>
!wpn
* Qboid
gives Thomas a state-of-the-art cocycle/explosion hybrid
<egg>
!wpn
* Qboid
gives egg a primitive antimony bundle
<egg>
\o/
<Thomas>
egg: I nuked the testing channels in the db
<egg>
Thomas: :D
* Thomas
downloads a game where he can nuke something because he has aggressions from writing ruby
<egg>
Thomas: tbh whitequark has the same opinion of ruby >_> <egg|egg> and I have never written a line of the thing either >_> <whitequark> yeah keep it that way tbqh <whitequark> I stopped writing Ruby after I wrote a Ruby parser <whitequark> it includes the first and, I believe, only reimplementation of the Ruby lexer from scratch, in existence <whitequark> it also seems very likely to *stay* the only reimplementation of