« first day (1945 days earlier)      last day (2895 days later) » 

12:00 AM
@NathanMerrill Oh, sorry, it should be
 
@NathanMerrill Use language you want. "Invariant" could be used when discussing symmetry but it doesn't have to be.
 
"A shape is symmetrical, if there exsts a line, to wich the image mirrored is invariant"
That's the official definition
 
@Bálint That's rather unclear language imo
 
@HelkaHomba It's 2 AM here, it's hard to translate then
 
for a multi-line input, do I just say "accept a string"?
are there other possible input methods
 
12:02 AM
That's reflectional symmetry - invariant under reflection
 
2d char array
 
@HelkaHomba A shape is symmetrical if there exists a line (called the axis of symmetry) such that mirroring the shape across the line doesn't change the shape.
 
Have we had a zig-zag product challenge?
 
Is that clearer?
 
@AlexA. Better
 
12:03 AM
What brace and indent style is most idiomatic for bash functions?
function() {
    foo()
}
 
The "doesn't change the shape" part is what invariant means
 
function()
{
    foo()
}
 
@DrGreenEggsandHamDJ 3 spaces? Good god.
 
> Invariance is specified mathematically by transformations that leave some quantity unchanged
 
@AlexA. Did you put the previous version through auto translate -2 times?
 
12:04 AM
lolwut
 
@NathanMerrill Probably good enough. Depends if you want to allow array-style input which may give some languages a leg-up
 
@AlexA. That was not intentional.
 
( ͡° ͜ʖ ͡°)
 
@DrGreenEggsandHamDJ Then make it intentional
 
@AlexA. maybe it was e spaces but got rounded
 
12:05 AM
@DrGreenEggsandHamDJ IMO open brace on the same line as the definition and indent 4 spaces
 
No, it was pi spaces, but got rounded down.
 
My stomach always has spaces for pi
 
In between the two there's an array of strings:
1. 2d array of chars
2. 1d array of lines
3. Single multiline string
 
Whoa, round(e) == round(pi)
using the standard >= 0.5 go up, otherwise down rule
 
@AlexA. They're the same person!
 
12:07 AM
Whaaaaaaa
t
 
@HelkaHomba Sounds like
Wow, that onebox looks terrible.
 
> Image not found
You're right, it does :P
 
Hmm, for a challenge would it be best to let the programs take input as either an adjacency matrix or an adjacency list?
 
There, I fixed it.
It only took me like 80 tries.
 
I'm gone for five minutes and alex arrives.
remind me not to close the tab again
 
12:09 AM
Oh hey, is not a tag here?
 
@Quill that was way more than 5min
 
@trichoplax Ah, right. Maybe we should make a tag synonym
 
@HelkaHomba sqrt(-1) 8 Σ π, and it was delicious
 
12:10 AM
@DrGreenEggsandHamDJ no one tells Alex what to do
 
@quartata Sounds good. Although actually applying graph-theory to a challenge would result in graphs showing up as long as you don't type too quickly
 
@HelkaHomba it was like 5 minutes after I closed the tab
 
@trichoplax I don't have enough rep in graphs to make it I don't think
 
@quartata If we put our rep together we probably have enough
 
@DrGreenEggsandHamDJ Fight the power
 
12:12 AM
I mean in
You have to have like 5 upvotes in the tag I think
 
Pretty sure I have zero in graphs
 
Same.
 
@trichoplax just like power rangers, you guys should form to become a giant robot rep enabled
 
I have 0 in graphs.
 
@DrGreenEggsandHamDJ There aren't a lot of graph challenges
 
12:13 AM
@Quill Hmmm. Should we become quartataplax or trichotata?
 
those are actually both really good names, I can't pick
 
Hmm, both sound pretty good
 
@trichoplax quartaplax actually sounds cool
 
@Bálint Yes that's a bit shorter but still reminds me of both - I like it
 
@trichoplax To do what? If you're making a tag synonym, I can automodically do it for you.
 
12:14 AM
Deja vu
I've heard this pun before.
 
@trichoplax I vote for Triquartataplax
 
@AlexA. Tag synonym to
 
( ͡° ͜ʖ ͡°)
@quartata Do both currently exist?
 
I thought that mod votes on those weren't binding
@AlexA. doesn't exist
3
 
12:15 AM
@quartata They are.
 
@AlexA. doesn't
 
And now I'm trying to think of anything that mod votes aren't binding on...
 
@El'endiaStarman Upvotes?
 
If I vote on a proposed synonym, it's just a vote.
I have to manually make the synonym.
 
Oh. Well, I never voted on any synonyms on C.SE, I just made them... :P
 
12:16 AM
@El'endiaStarman kicking Downgoat out of chat... oh wait
 
@trichoplax Depends on how you define "binding". :P
 
@El'endiaStarman Instant gold badge...
 
Yeah, SE wouldn't make it that easy for mods. :P
 
I thought you were saying "instant gold badge" to "kick Downgoat out of chat"
2
+1 for that idea
 
Context is glorious
 
12:18 AM
@Quill ಠ_ಠ ;_;
@El'endiaStarman on elections
 
'Sup
 
3 mins ago, by Alex A.
If I vote on a proposed synonym, it's just a vote.
Ninja'd
 
we talk 2 much
 
Hello @ev3commander!
@AlexA. :(
 
Aw. My laptop just randomly died and won't turn on. =(
 
12:20 AM
@Downgoat Do you mean ಠ;_;ಠ ?
 
@DrGreenEggsandHamDJ D: did u juic it
 
@ev3commander in a chatroom?
 
@trichoplax no
 
this one
 
I meant ;ಠ_ಠ;
 
12:21 AM
I checked once.
 
@trichoplax that looks like a spider
 
@El'endiaStarman Idk, I was ahead of Martin in golds at one point before he became a mod... ¬_¬
 
5 min later, 100 new msgs
 
@HelkaHomba I read golds as goats ._.
 
@Downgoat idk how since it's running avacadOS
 
12:21 AM
@HelkaHomba Wasn't Martin one of the first pro-tems?
 
@Downgoat goldengoats
 
@Quill With the many eyes?
 
@trichoplax like the tears look like pincers
 
////ಠ;;ಠ\\\\
 
@DrGreenEggsandHamDJ i tink u can clik the avocad an it wil juic yuor computr
 
12:22 AM
@El'endiaStarman No. There was a long period when it was just Doorknob and Chris (and gnibbler and dcmkee I guess)
 
Ooh, okay.
 
@Quill why would we kick out the goat when we can kick the evil code reviewer >:)
 
@Downgoat I tried to, but 30 min and no juic
 
@HelkaHomba yeah, wasn't Martin chris' choice when he got employed?
 
@Bálint ;_;
 
12:24 AM
@Downgoat I admit to having ∫[0 to 2pi]sin(x)dx goats.
 
@Downgoat I haven't posted there in 9 weeks
 
@HelkaHomba i don't speak greek letters
@Quill :D
 
@Quill yep
 
@Doorknob yay for knowing things :)
 
12:26 AM
@Quill I read the title as MARVIN - WHAT'S MY NAME? for some reason...
 
@Quill And once we graduated, he was overwhelmingly the community's choice
 
@AlexA. I was there for that
 
Who are you?
 
@AlexA. He is Quill.....
 
@AlexA. You should know that.... I'm standing right behind you after all
 
12:28 AM
@Quill Birds have short memory spans. (Or is that only fish?)
 
It would've been funnier if Alex said that.... because subtle puns
 
poor Alex
 
Um wur
um wut
Um wut
Why doesnt
exist
 
@PhiNotPi For some reason I thought you were the author of the tetris challenge - only just realised it's Joe Z...
 
@ev3commander ?
 
12:30 AM
starboard
3rd on the list
 
@ev3commander It made sense in context, but it got starred because it causes confusion out of context
 
@ev3commander because do
 
@ev3commander why all the Um wats
 
misspelling. also dont ping me
or star me
 
@ev3commander you can edit...
 
12:31 AM
Just press up
 
@Downgoat He's trying to say Tum-water
 
@trichoplax Also, the challenge is 3 years old, so I don't envision it getting suddenly closed.
 
and also,
do you know why water's number is lucky?
 
@Downgoat it was also a new user
 
12:32 AM
@Downgoat No, it's upvoted because it's a first try.
 
@PhiNotPi I mentioned the possibility of a winning criterion to you because I thought it was your challenge - just realised my mistake...
 
And it was mentioned here in the chatroom too
 
but that's JavaScript, so it balances the love/hate
 
@Downgoat me neither
 
12:34 AM
@Quill ಠ_ಠ
 
@Bálint fyi you can reply to specific messages. Mouseover them and click the arrow at the far right
 
@Downgoat It was mentioned here in chat, so it got a little attention
 
@Bálint ah ok
 
@HelkaHomba I actually know that, but the @ way is faster, and people usually understand what I speak about
 
@ev3commander Did you know you can turn off the pings using the speaker icon at the top right of the chat?
 
12:36 AM
Hey, a cool new user (who also happens to be a fellow upsidedown goat) posted a sweet JS answer:
 
4
A: 5318008 - Fun with Calculators

DowngoatJavaScript (ES7), 73 bytes This can be done in ES7 a mere 73 bytes: s=>[for(w of s)'oizehsglb'.search(w)].reverse().join``.replace(/^0/,'0.') Ungolfed: var b = function b(s) { return s.length < 10 && /^[bglioszhe]*$/.test(s) ? s.replace(/./g, function (w) { return 'oizehsglb'.sea...

 
Es7?
 
@trichoplax there's another good way to do that where you smash your computer with a hammer
 
@Downgoat Seriously? (no pun intended)
 
12:37 AM
@Quill Good to know both ways in case you don't have a hammer to hand
 
Smart thinking. That's the kind of thinking that earns you those sweet rep points on LifeHacks.SE
 
@Downgoat Enough goatshilling ._.
 
Is it ES7 or ES6?
 
@ev3commander there's both
 
hmm
es7 exists?
ididntknowthat
Oh i did
Just confusing meself
 
12:40 AM
It's just commonly called ES2015
 
@Downgoat The guys post was actually badly golfed, your one isn't
And apparently that makes people feel empathy
 
@ev3commander Java 10 is the thing to watch out for
 
Java 9 exists?
 
@ev3commander no
 
then java 10?
 
12:41 AM
@ev3commander but if microsoft can count in base 9, why couldn't java do the same
 
what about win95 or win98
 
@Bálint s/empathy/pity
 
@Quill thanks
@Downgoat you know what? I upvoted it
 
press option-cmd-escape
 
12:45 AM
Just realised that this doesn't have a winning criterion other than "first to post". Once the first solution is posted, it may lower the barrier to entry and result in more solutions. Maybe it would be worth adding a winning criterion before the first solution comes in. Like starting position that fits in the smallest rectangular area, or fastest run speed in terms of arena ticks. That would allow for a basic first solution using existing components for pixels and logic gates, but still leave the competition open for more innovative customised solutions later. — trichoplax 2 mins ago
 
@quartata @trichoplax has been created as the master tag for the synonym .
3
 
Thank you :)
 
Another google easter egg
Maybe I should nag a goat--close enough
 
true
!nag Chatgoat
 
1:03 AM
Given a square grid of 0s and 1s is there an efficient algorithm for turning it into a checkerboard with the least 0->1 or 1-> 0 replacements?
I guess you need to look at every space anyway so it's O(n^2) no matter what (n = square side length)
 
@HelkaHomba there's only two possible options, right?
 
right
 
Although, there's other ways to measure efficiency, like number of read/writes to the board.
 
yeah
 
I think the most efficient algorithm is to look at square until there is a clear "winner" (which can take anywhere from half the board to the entire thing), and then only edit squares that you need to.
 
1:09 AM
Most efficient in absolute terms, yes. Still an O(n^2) algorithm.
 
Absolute terms are the terms that matter.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Do you know the recursion one?
 
@Bálint :D :D :D
 
0
Q: Which number formats are acceptable in output?

trichoplaxComments on this loophole meta answer suggest that more than a simple yes or no answer is required. Which number formats are valid for output? Is there a difference between code-golf and other tags? If a challenge doesn't specify which are acceptable, which should be valid by default? For examp...

 
1:21 AM
@ANerd-I Do you know the recursion one?
 
Do you know the recursion zero?
 
1:36 AM
PPCG Minecraft server anyone?
 
One of the all time great software stories: Windows 95 was hardcoded to check if SimCity was running. https://t.co/4kBcTVX3Ux
2
 
@Quill I read about this in Joel on Software.
They were overly concerned with backwards compatibility
 
Makes sense. SimCity was better than Win95, so it should have priority on these kinds of things.
 
Welcome back @Meanbits :)
 
But... I was trying to be nice there.
To Maxis anyway.
 
1:40 AM
@RidiculouslyNicebits what have you done with Geobits D:
 
"Ridiculously nice bits"? Not sure whether to ?? or ( ͡° ͜ʖ ͡°)
 
It's ambiguous on purpose, so feel free to choose one ;)
 
@AlexA. Don't get involved. Don't subscribe to the .*bits cult. o_o
 
@HelkaHomba brb changing name to goatbits
 
Where's Irksome Bits when you need him? :(
@Downgoat If you ask Marky, he can change you to goat bits.
 
1:44 AM
@RidiculouslyNicebits ...
 
While I wait for meta consensus to develop, does anyone here have an at a glance opinion of whether fractions should be valid number output in a golf? Example
 
@trichoplax That answer I think had to explicitly cast to a float, which I seems to be redundant so I definitely think fractions should be allowed.
 
@RidiculouslyNicebits I have no clue.
 
 
@Downgoat That reasoning is swaying my opinion
 
1:48 AM
solution level tabs-to-spaces-convert :D
 
@trichoplax what would be a reason to not allow fractions?
it is most probably shorter in languages to do a/b that a+"/"+b anyway
 
@Downgoat I'm against expressions, like 1+1 or 3*3, so I'd just lumped 7/4 in with those. But I can see the argument for an exception for fractions now
 
@Quill NOOOOOOOOOO
 
What of mixed numbers? 1 3/4
 
@HelkaHomba Wasn't planning on it. Alex Bits just doesn't sound good.
 
1:50 AM
@Quill what language?
@HelkaHomba ew, who uses mixed numbers
 
C#
 
@RidiculouslyNicebits You are still Bitsy to me
 
What about really mixed?
3.562 1/4
 
3.562 1.5/4.99
 
arghh!
 
1:52 AM
> 508330 results found in 1982 files for \t
 
I'd say no to those
 
@Quill microsoft themselves use spaces for indenting so i think spaces are better in c#
 
@Quill I hope you were replacing it with 4 spaces
 
@Quill Why do you have a multiple of 4 tabs? I think you're using them wrong :P
 
^^
 
1:52 AM
@CᴏɴᴏʀO'Bʀɪᴇɴ @VTCAKAVSMoACE @Sherlock9 did any of you guys build that room at the back of my floor/house?
and you are unpingable from teh PPCG server room.
 
@EasternBits you could probably mention minecraft house to avoid people being very confused reading that
 
@EasternBits D: -1 for not using up/downgoats
 
@Downgoat no.
@Downgoat They no work... D:
 
@EasternBits D:
 
1:54 AM
3.56π2/12e
 
They glitch out 75% of the time.
 
:( well that sucks...
 
ikr
I think it's my wifi.
I gtg for a while/night, bye!
 
@EasternBits bai!
 
@trichoplax wat
 
1:55 AM
@Quill Your edit spoiled my awful joke
 
still wat
 
Using 4 tabs for indentation
 
Given a digraph where each edge can be traversed only once, find the minimal number of paths that, if traversed, enforce a Hamiltonian path
 
@NathanMerrill No
 
@NathanMerrill 12
 
1:57 AM
@NathanMerrill In other words, what's the fewest pieces a graph can be in after a Hamiltonian path has been removed?
 
I'm not sure
 
Mini-challenge: Take in a single printable ascii char and output this guy with that char for the eyes. e.g. x:
x_x
 |
-|-
 |
/ \
 
@NathanMerrill So for this one we'd output 1?
 
Or @:
@_@
 |
-|-
 |
/ \
 
1:59 AM
@trichoplax no
 
:29933381 :P
 
@Mod pls halp:
 
@NathanMerrill The typo was funnier :)
 

« first day (1945 days earlier)      last day (2895 days later) »