« first day (2461 days earlier)      last day (2382 days later) » 

7:00 PM
@AdmBorkBork No.
 
Dang, there goes my solution. :/
 
I am sure Dennis will come up with a staggering math approach to your challenge though @Mego.
 
Anonymous
Probably
 
Anonymous
Posted
 
@Mr.Xcoder PowerShell, 103 bytes
yeesh
 
7:04 PM
Nice!
 
Stupid [math]::abs()
 
@NewMainPosts What the hell?
 
@NewMainPosts What the hell?
@cairdcoinheringaahing WTH?!?!?
 
lol wut
 
7:06 PM
@cairdcoinheringaahing what?
 
@ThomasWard @Riker
 
@Riker Did you edit it?
 
@Mego I think I will follow your hint :P
 
Anonymous
@Riker That was completely unnecessary and an abuse of your mod powers
 
y'know
I could have Shog chastise you
 
Anonymous
7:07 PM
There was absolutely no reason to edit the feeds post, because that challenge had not been linked in here yet
 
but I'm lazy :)
 
Who's Shog
 
@Mego It got us talking about it :P
 
epic overlord SE employee with otherworldly godly dev access
 
@Mego I left a link to the question /shrug
 
7:08 PM
@Mego your "hint" seems to produce some longer solution than pyth though
 
@Mr.Xcoder Golfed to 94 bytes ... don't think I can get much shorter
 
welcome @ThomasWard though
 
@Riker i've been lurking here for the past seven days how the heck have you NOT seen me be here :p
 
@AdmBorkBork Given that it's Powershell, that's quite brilliant +1
 
@Pavel one of the SE employees, iirc he's a community manager (i.e. he keeps in touch w/ users)
@ThomasWard ... because I'm not in here much anymore :p
 
Anonymous
7:08 PM
@Riker That doesn't matter. You don't get to use your mod powers on a whim to edit others' messages (even feeds). Only when it's necessary should you use them.
 
busy IRL
 
@Riker explains that much. Modabuse is abuse.
 
@Mego I AM BOT FEED ME BUTTER
 
@Mr.Xcoder lol, you can follow what's happening?
I barely can
 
Anonymous
@Pavel The previous times that mods have edited Feeds messages is when the post in question had already been posted and oneboxed in here, to save vertical space. Riker editing that Feeds message was pointless and an abuse of mod powers.
 
7:10 PM
No I mean 94 bytes in a regular language is amazing @AdmBorkBork
 
Wait, not toroidal? Dang, my solution doesn't work.
 
@AdmBorkBork Riker abused his mod powers, you're golfing your Powershell solution and Riker's saying hi to Lazer Eyes
 
> Lazer Eyes
 
@AdmBorkBork I'll accept that for Powershell's sake.
 
@ThomasWard name change request
 
Anonymous
7:11 PM
@EriktheOutgolfer I never said anything about other solutions being shorter. I only hinted that I knew of another language that used 0s as digits for unary.
 
@cairdcoinheringaahing Not in chat, goof, with my code.
 
@Riker Denied.
 
@Mego Why doesn't ⌠ß▀π⌡╓ work?
 
Anonymous
@Mr.Xcoder Because of ß and . makes an entirely new stack frame, without access to the outside frame's inputs.
 
oh... dang I have to use register right?
 
7:13 PM
@Mr.Xcoder Yeah, it's because $a[-1] refers to the last element of the array.
 
Anonymous
@Mr.Xcoder That's one solution.
 
Anonymous
There's another approach, but I think it's longer
 
codegolf.stackexchange.com/a/146312/60919 can any Python nuts help me golf this down?
 
Any of you have the displeasure of using skype for business?
 
@Riker ...
 
7:19 PM
It's actually terrible
 
@Poke For purely a person-to-person IM client, it's average
 
I don't mind skype proper
but the business variant which is just lync in disguise
 
@FlipTack is this basically jsfuck, but pythonfuck?
 
@FlipTack saw that coming...
 
also, if would be nice if you could provide a standard python version
 
7:20 PM
...okay, @Shog9, I do like waffles with syrup
 
@Riker essentially, yes. There's an eval function to make it usable, and _ is printed at the end, but other than that it's just using symbols to create values
What do you mean by provide a standard Python version?
 
@Mithrandir you can't ping him here :D
 
@EriktheOutgolfer he could if he abuses mod privs :P
 
7:22 PM
@EriktheOutgolfer i meant a special ping, but you're not wrong. That said, Shog is present :)
 
but I can't seem to be able to ping him
 
even after refresh
 
right, he's not actually in the room
but editing a message makes your avatar pop in
 
heh
 
7:23 PM
@EriktheOutgolfer No mere mortal can ping Shog.
 
Anonymous
@NewMainPosts Now I have more questions...
 
@Mego Why doesn't ;╗⌠;╜▀π⌡╓ + first element built-in not work...
 
Anonymous
Did Shog add a redirect for that URL?
 
Anonymous
@Mr.Xcoder expects two arguments.
 
@Mego no only the ID matters
 
7:24 PM
anything after /questions/number works
 
(ninja'd ;P)
 
Anonymous
Oh
 
Doesn't seem to work anyway
 
try codegolf.stackexchange.com/questions/1/this-is-random-text https://codegolf.stackexchange.com/questions/1/this-is-random-text
 
Anonymous
@Mr.Xcoder Oh, it's because doesn't do what you think it does.
 
7:25 PM
Ahhh...
 
@Mithrandir if it mattered then every title edit would invalidate links
 
Anonymous
It pushes ("0123456789"+string.ascii_uppercase+string.ascii_lowercase+"+/")[:a]
 
Got it...
 
CMP: Should factorial(-n) give product(-1, -2, -3, ..., -n), product(-2, -3, ..., -n), or -factorial(n)?
 
@HyperNeutrino The first seems quite non-sensical, as it is not very consistent depending on the parity, i'd go with the last.
 
7:29 PM
so is the final part there just so you can search it with ease in your history?
 
@Mr.Xcoder ok
 
Anonymous
@HyperNeutrino I was going to say Gamma(-n) but then I remembered that the Gamma function isn't defined for negative integers
 
:P
so I guess factorial(n) = Gamma(n + 1) = sign(n) * Gamma(abs(n) + 1)?
 
Anonymous
factorial(-n) is illogical, so do whatever you want. Make the CPU catch fire - it's all the same :P
 
7:31 PM
@Mego How short/long do you estimate the optimal Actually submission to be?
 
Also, 0! = 0 or 1?
 
Anonymous
@HyperNeutrino 1
 
@HyperNeutrino 1 definitely.
 
@HyperNeutrino 1 from me too, it's how it's defined
 
7:33 PM
ok just making sure
 
Anonymous
@Mr.Xcoder I have a 12-byte solution. I'm not sure if it's optimal.
 
@Mego What does ╓N do?
Nvm.
 
Anonymous
@Mr.Xcoder Retrieves the last element of the list returned by (which takes a function f and an integer a, and returns the first a values of map(f, count()) where the output is truthy)
 
Yeah just figured that out.
@Mego Yuppe 14 bytes \o/: ;╗⌠;╜¡'0@cY⌡╓F... any tips?
13 bytes.
I don't actually need the second ; do I?
 
Anonymous
One way to look at the challenge is to approach it from a generating function angle. You have a polynomial n = a_i * x**i + a_(i-1) * x**(i-1) + ... + a_0, and you want to find the minimum x where 0 ∉ {a_i, ..., a_0}.
 
Anonymous
7:43 PM
@Mr.Xcoder You don't need either of them
 
oh my god... Wouldn't that make it longer?
@Mego I seem to need the first one.
 
Anonymous
Why? <...>⌠<...>⌡╓F is the same as <...>1⌠<...>⌡╓
 
Oh duh... really right.
@Mego Wouldn't that return [N] instead though? Is that allowed?
I am confused now...
 
Anonymous
6
A: Default for Code Golf: Input/Output methods

MegoInput and output of a single value may be represented as a singleton list For example, if the value was 4, [4] would be an acceptable representation (using Python list syntax).

 
Ok thanks.
 
Anonymous
7:47 PM
You've got a bit of work to do to match my 12-byte solution :P
 
@Mego Mine is also 12 bytes...
 
Anonymous
Oh, I can't count
 
Anonymous
I reached 12 bytes a different way
 
Anonymous
I originally had 13 (the solution you also came up with plus i to flatten), which I used to make the test cases. I thought of an alternative that got it down to 12 without returning a singleton list.
 
I posted my solution, trying to find the thing you are talking about...
 
Anonymous
7:50 PM
Let me know if you give up
 
Anonymous
It should be shorter than 12, but there's a bug or two in the base conversion code that makes it not work as it should
 
@Mego It doesn't save bytes, it just makes things prettier :P. Also, is it obvious?
 
Anonymous
It's somewhat obvious
 
(i will probably give up when I go to bed though)
 
@Mr.Xcoder out of interest, why do you dislike Firefox?
 
7:54 PM
Right, I know CMC = Chat Mini Challenge, but then what is CMP? Chat Mini Politequestion?
 
@Neil 1) It is buggy 2) Mac compatibility sucks 3) This one is highly subjective: The design is not really intuitive 4) IMO it has some useless features, while CMD/CTRL+F is broken (searching for å returns all as as well)
 
@FlipTack Chat Mini Poll
 
Anonymous
With a bugfix, my solution is down to 11
 
ok... that one was kind of obvious.
 
@Mego You fixed a bug rn or something?
 
Anonymous
7:59 PM
@Mr.Xcoder Yep
 
I think I give up. Should be going to sleep soon.
 
Anonymous
@Mr.Xcoder Here's a hint: you're right - there is a shorter way to check for no zeroes
 
@Mego Does the 11-byter work on tio?
 
Anonymous
@Mr.Xcoder Not yet. I'm waiting for the builds on Travis to succeed before I ask Dennis for a pull
 
Anonymous
There we go
 
8:02 PM
then I cannot test it :-/
 
Anonymous
Do you not have bash and a git client?
 
Nah, I am way too tired to do more than click "Run" on tio, sorry.
 
Anonymous
git clone https://github.com/Mego/Seriously.git && echo <input here> | ./Seriously/srs -c <code here>
 
Anonymous
Or pip3 install seriously && echo <input here> | seriously -c <code here>
 
Ok, will try
ಠ_ಠ you cannot move the cursor on the Mac terminal
@Mego Can you please at least reveal the algo you use for the check?
 
Anonymous
8:06 PM
So '0@cY is too long
 
Yes, something should be 4 bytes
 
Anonymous
Yep
 
I thought of comparing each to 0, like, 0> + All...
 
Anonymous
In Python, strings are comparable and sortable
 
Oh...
 
Anonymous
8:07 PM
So if a string is comparable, then it must have a minimum
 
Yup...
@Mego Wild guess: ╗1⌠╜¡m'0=⌡╓
?
 
Anonymous
Nope, because that would return the smallest base where n contains a 0
 
@Mego ╗1⌠╜¡m'0>⌡╓?
I wonder whether this would work...
 
Anonymous
@Mr.Xcoder Wrong way with the comparison
 
Anonymous
ab> is b>a
 
8:10 PM
@Mego Oh so it treats them as 0 > N... Then < it is.
 
Anonymous
Yep
 
Anonymous
╗1⌠╜¡m'0<⌡╓ is my 11-byte solution, which will work on TIO here once Dennis pulls Actually
 
well, I can't vouch for Mac compatibility, and I don't like the design of any modern browser, and I can believe it has some useless features, but I'can't reproduce your search claim
 
@Mego I updated my solution accordingly. Can you please remove the *-notice once Dennis pulls it? I am probably going to sleep.
 
Anonymous
Do you want me to edit in the correct code, too? You have = instead of < :P
 
8:14 PM
@Neil I'can't reproduce your search claim – That is probably caused by Mac compatibility too.
Addressed.
 
Anonymous
Ok :P I'll edit in the link when Dennis pulls
 
@Mego And the notice :P. BTW, out of cheer curiosity, what is the bug?
 
...I was trying to reproduce it on a Mac...
 
...Strange...
Gtg now o/
 
Anonymous
@Mr.Xcoder Unary wasn't working properly, and 0-ary was producing nonsensical results
 
Anonymous
8:18 PM
So now 0-ary returns an empty string
 
8:29 PM
Sounds fun
 
9:25 PM
@HyperNeutrino 0! = 1! / 1 = 1 / 1 = 1
 
Anonymous
@Uriel Also, 1 is the multiplicative identity, so therefore the null product is 1
 
Anonymous
Just like 0 being the additive identity means the null sum is 0
 
Is TIO broken?
 
@HyperNeutrino I don't think so
@Uriel @Mego also, gamma(1) = 1 :P
gamma(1) = int(x=0, infty, e^-x dx) = -e^-infty - -e^-0 = 1
 
Anonymous
@LeakyNun The Gamma function is an extension of the factorial function, so that's a chicken-and-egg argument
 
9:29 PM
@Mego but it isn't circular as the definition of gamma stands on its own
being the analytic extension of [int(x=0, infty, x^(n-1) e^-x dx) for Re(n)>0] to the whole complex plane
 
Anonymous
@LeakyNun The definition of a factorial stands on its own, too. Is Gamma an extension of factorial, or is factorial a special case of Gamma?
 
@Mego hmm...
 
Well, x^0 goes the same way - x^0 = x^1 / x = x / x = 1
 
I need to retake maths :P
 
Anonymous
The answer is that two things that weren't chickens mated and laid an egg, out of which hatched something that was a chicken, for some threshold of chickenness
 
Anonymous
9:31 PM
@Uriel Assuming x != 0
 
@Mego or creationism
@Mego well, knuth would not like you
 
Anonymous
@Uriel Yeah but that stance doesn't use the phrase "threshold of chickenness", so that's not nearly as entertaining :P
 
Anonymous
@Uriel There are good arguments for defining 0^0 = 1, but that is not one of them :P
 
@Mego surely golfing is one of them
 
Where did we all land on the rules for non-competing
 
9:34 PM
and that's knuth we're talking about
 
.Did they ever change?
 
@Mego 🐔
@MagicOctopusUrn I believe the right term would be completely gone, people are just not aware
 
@Uriel I feel like my only [edit]good[/edit] [edit2]meta[/edit2] post was asking the question "should we really bother?"
But I can't find it.
 
@MagicOctopusUrn btw was ur previous nick carusocomputing?
 
@Uriel waves a USB stick wand and the letters of his name magically form carusocomputing
Yes >_>, why?
 
9:43 PM
Anagram names are kinda a PPCG tradition.
 
I posted a list of anagrams in here one day and Dennis said "Magic Octopus Urn" was his favorite. Plus the previous has my last name in it.
 
Unfortunatly I went and used my own 5 letter name for my display name.
 
@Pavel Yeah, I chose a really bad, DOXable, brand-name...
 
@MagicOctopusUrn nothing much, just went over old post of yours that I suspected to have seen associated with your previous name
 
I could anagram "Phoenix" into "nix hope"
 
9:45 PM
Your name is Pavel?
 
@Pavel U lier
 
VapeL(ord)?
Yeah... that's prolly not a good one.
 
@MagicOctopusUrn Yes, @Uriel Wat, @MagicOctopusUrn pls no
 
> No anagrams found.
 
9:47 PM
I needed to split mine in segments two at a time b/c the server only accepted 10 chars lol
 
Yeahhhh
 
@Pavel UrielU lier
 
oooooh
Dur
 
@Pavel that one is for singleword anagrams.
@Pavel the one I linked is multi-word.
 
It accepts multiple words
 
9:49 PM
Accepts but only solves to one I think
 
Anonymous
 
Anonymous
Real helpful
 
G( )OME
Go Me!
One of the anagrams was explicit >_> for mine.
 
Oh good, I can be ACoat
In other news:
 
9:56 PM
No anagrams for my new name or for the old one
 
Contiguous Cramp LMFAO
7
I think that's my new favorite.
 
Anonymous
2 days ago, by Mego
@HelkaHomba Gome, my evil twin
 
I honestly want contiguous cramp now >_>
B/c I got a charlie horse last night that lasted like 4 minutes and had me almost crying lmao.
I feel like less people ask questions nowadays than 1 year ago.
Can we move the sandbox to PPCG and out of meta?
FakeInternetPoints for attempting to write a question?
 
10:17 PM
0
Q: Deal an ASCII Deck

Magic Octopus UrnThere's never really been a definitive ASCII-cards challenge AFAIK. So, using the following deck of ASCII cards: .------..------..------..------..------..------..------..------..------..------..------..------. |2.--. ||3.--. ||4.--. ||5.--. ||6.--. ||7.--. ||8.--. ||9.--. ||J.--. ||Q.--. ||K.--....

 
@MagicOctopusUrn Well, at the same time, you should be able to downvote a meta post you think shouldn't exist without causing the user to lose rep.
 
@Pavel meh... We just need ideas to attract people lol.
 
Mego is planet confimed
@Mego why'd you go for "Mego" as your name, anyway?
 
wonders why anyone does anything
 
¯\_(ツ)_/¯
 
10:26 PM
I used to use a username that me and a person, that I no longer talk to, randomly created, for animal crossing, when we were 14.
Literally for 9 years. No idea why I did it. The word means absolutely nothing.
 
justice for all = cult of jailers
 
:O
 
@MagicOctopusUrn My username is something that my roommate randomly came up with and I stole
I have no idea how he came up with it, or even if he remembers it lol
 
@DJMcMayhem I want you to know that I then went and stole it from you for my Uplay username.
 
@DJMcMayhem well, it makes me picture you (as a stick figure because IDK what you look like) going ham with the mayhem; well, DJing mayhem.
 
10:28 PM
I'll come up with my own at some point, but I can't think of anything.
 
@Pavel :O How could you do exactly what I just admitted to?
I don't know if I'll ever be able to trust you again
 
My steam name is "TheImmortalRod" because I was pretty erm drunk when I downloaded steam to play besieged.
 
@MagicOctopusUrn You can change it, tho
 
@Pavel you're right, I forgot, it originally was ThaFantastic
 
@MagicOctopusUrn I look like a stick figure in real life too
 
10:29 PM
ThaFantastic is an AWFUL name though, my god. Prolly better than Rod though... tbh...
 
@DJMcMayhem And here I thought you looked like a cat in the fanciest fucking hat ever.
 
Ehhh
 
@MagicOctopusUrn What is the "pbs" in that url? I doubt it's public broadcasting service but I always think it is
 
@HelkaHomba I was lolzing about that too, no idea.
 
10:33 PM
twimg = twitter image I guess
 
@HelkaHomba I'd assume so. The last relevance PBS had to me was... Well, never. That coffee mug I got when I was 20 has half the label washed off lol.
 
Except they're not all profile pics I believe
Also, Steam's twitter profile image is off center.
 
@HelkaHomba I love how you've randomly researched this for 10 minutes ;P
I should be more inquisitive like that. Instead I just say "lol. pbs." and move on like a simpleton :(.
 
Anyone know how to revoke write access to a GitHub repo?
 
@HelkaHomba Kinda sad that I had the exact same question but no drive to answer it myself >_>.
 
10:43 PM
No idea why that pinged DJ
 
@cairdcoinheringaahing you owner of the repo?
 
Removing collaborator permissions from a person contributing to a repository
On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings.
In the left sidebar, click Collaborators & teams.
Next to the collaborator you want to remove, click the X icon.
Unless you have a public repo, then you have to make it private or read-only.
 
@MagicOctopusUrn Thanks, that worked
 
Also, you're not part of an "orginization" are you?
Github uses inherent access rights if you claim yourself to be an org
 
10:45 PM
Nope. Not many companies employ people my age
 
you can make an org yourself, j/s I did it by accident the first time I was on github.
 
10:58 PM
bah, @ASCII-only changed Minus([1, 2, 3], 1) - it used to return [2, 3] but now it returns [0, 1, 2]
 
got first employed by a company when he was 15 to do stuff for them. It was interesting
 
0
A: Sandbox for Proposed Challenges

Stan StrumApproximate my squares Inspired by this video by tecmath. The square root of a number is the number that mutliplies by itself to equal number in the radical. One way to find the square root of a number is to put it to the power of the reciprocal of the root (1/x). Another (easier) way to find a...

 

« first day (2461 days earlier)      last day (2382 days later) »