« first day (1750 days earlier)      last day (3097 days later) » 

11:00 PM
I've been fencing for almost 10 years, although I quit about a year ago because I didn't like my club anymore.
 
@AlexA. 0^-1
 
@quartata I built a fence once.
 
In quartata was always my favorite move, and I thought it would make a cool username when I decided I didn't like my old Steam username
Now I use it everywhere
 
If I fix a typo in my interpreter will that disqualify my answer?
 
Anonymous
11:01 PM
@AlexA. fair enough
 
@quartata ...yes, unfortunately. >.> Vitsy had this problem more than once.
 
@quartata Yes
 
damn
 
Anonymous
Really? I would think not
 
11:02 PM
Alright I'll do it anyways.
 
@quartata You can still answer as long as you mention the change. But you can't be the accepted answer
 
Stupid semicolon
 
Because I'm the buggiest princess in all the land, la la la la la...
 
Anonymous
There's a difference between fixing an implementation error and adding additional behavior
 
It's still using a version of the language newer than the challenge.
 
11:03 PM
^
 
@Mego Seriously?
 
Anonymous
Granted, I'm in the camp of the spec defining the language, not the interpreter
 
-2.5 -> -0.013168421022317536
:(
That's not right...
 
Feil
 
@quartata Add 1. :D That always fixes it.
 
11:04 PM
@AlexA. &;WpS*21/~-~P*~_2*-V*
 
lolwut
 
If you are so good try debugging this thing then
 
Holydamn.
 
@AlexA. What do you have feil?
 
Anonymous
I wonder who will get the Seriously answer for this
 
11:05 PM
@AlexA. That's already been fenced ._.
Need some present tense fencing
 
@quartata At what point did I claim to be good at anything? I'm very careful to avoid that lest I be asked questions about things. :P
 
@AlexA. I do that when I'm hanging out with more mathy friends. It's a good strategy
 
@Mego Your question is a subset of codegolf.stackexchange.com/questions/41333/… =)
> Python's built-in Gamma function will be used for determining the actual value.
 
@quartata I tutored a friend in multivariate calculus and it went okay but I tried to tutor a friend in basic algebra and I failed miserably.
 
11:07 PM
What if Python is wrong?
 
I think you mean "What if Python is Alex?".
What if Alex was a Python? D:
 
What if Alex is a python?
 
Oh, yeah. Present tense fencing.
 
@AlexA. Better
 
11:08 PM
Has anyone else ever seen Hot Fuzz or is that too British? o.o
 
Is that a show, product, or person?
 
Ah, I found the issue.
 
@VoteToClose I love that movie
 
Anonymous
@flawr Related, but dissimilar enough to be interesting :P
 
@Calvin'sHobbies Have you seen Shaun of the Dead?
 
11:10 PM
@Calvin'sHobbies Product? 0.0 Uh. Wut?
 
Anonymous
@flawr Silence, heretic
 
@AlexA. Yuus.
 
Anonymous
@VoteToClose Like Brawndo. It's got what people crave. It's got electrolytes!
 
@AlexA. Yes
 
And yet it somehow still manages to still not work
 
11:10 PM
> yet it someone
 
Anonymous
@quartata
2
 
@VoteToClose Saving cream? idk
 
@Calvin'sHobbies Hot Fuzz is another Simon Pegg and Nick Frost comedy.
 
Anonymous
> saving cream
 
&;WpS*21/~-~P*~2*~-V*
 
11:11 PM
How am I in the top 2% this month? I haven't done anything!
 
This is terrible why am I doing this
Oh, you know what?
My program works perfectly.
 
@VoteToClose Well, 90 percent of users probably never do anything, literally. I have loads of SE accounts with 101 rep.
 
The formula seems to be wrong.
The approximation is very off it seems.
Guess that method doesn't work then.
hmmm
 
Mini challenge: Can you write a program that outputs your numeric chat user id or PPCG user id in decimal in fewer bytes than the digit count?
 
@Calvin'sHobbies Yeah, sure one second
 
11:16 PM
@Calvin'sHobbies How do we find this number?
 
It's the number of your user profile
 
My number is 2 primes. -.-
 
@VoteToClose :(
 
Hey guys
I have it running in the bot testing room
 
11:18 PM
Actually, BOTH OF MY NUMBERS factorize to 2 primes. -.-
 
@VoteToClose So is mine
My SE ID at least.
My chat ID doesn't though.
 
Anonymous
My PPCG id is 2 primes :P
 
We've found the method that they used. D:
 
@Mego no way
Calvin's is too
 
@SuperJedi224 y u golf ur code
 
11:19 PM
@VoteToClose Nah, Peter Taylor is 194
 
Anonymous
45941 = 7*6563
 
@Calvin'sHobbies It still is two distinct prime factors
2 and 97.
If this is their method
 
Anonymous
So our PPCG IDs are weak RSA private keys
2
 
Anonymous
Cool
 
wat da fak
 
11:20 PM
Well ok :P But I'm pretty sure id's are incremental
 
Anonymous
My chat ID is 3 primes
 
Anonymous
3**2 * 109 * 173
 
Alex = 3 * 6823
 
Vitsy, 5 Bytes, 3 Characters: 'N꺩
For PPCG.
 
I am back!
hello!
 
11:24 PM
Welcome back!
 
@VoteToClose But that's the same as 44713
 
So what was finally decided?
 
@TanMath Alex is indeed wrong.
 
@TanMath We're going to eat quartata.
 
flawr's is completely prime.
24877
Hmmm
 
11:25 PM
Goodbye for now.
 
@AlexA. Wait what
 
What was decided about starring?
 
@quartata What?
 
I haven't showered, at least let me shower and garnish myself first.
 
@Calvin'sHobbies um, I think that was known for a long time...
 
11:26 PM
Maybe some parsley?
 
@SuperJedi224 bye!
 
@Calvin'sHobbies Oh, damn.
 
@TanMath I don't think anything was decided beyond "don't spam stars."
 
@AlexA. why?
@AlexA. really?
 
@TanMath Yeah. Was there something else you were expecting to be decided?
 
11:27 PM
What was to decide? "Don't spam stars" is the SE standard.
 
@TanMath He's tasty.
 
@quartata Put garlic cloves in all your dead life cells
 
@AlexA. yes.. I was expecting a solution to why messages like this was starred:
2 mins ago, by quartata
I haven't showered, at least let me shower and garnish myself first.
 
@Calvin'sHobbies mm delicious
 
Solution? Someone found it funny and starred it..
 
11:29 PM
@Calvin'sHobbies What does that mean...
 
@TanMath Was it starred? I didn't see.
 
there was a heated debate about this stuff...
 
@AlexA. Because I'm a glider.
He means my dead grid cells.
 
@quartata it was
 
@Calvin'sHobbies I can't do it. ;c
 
11:29 PM
Well you made someone go and unstar it jeez
It was funny. That deserves to get starred. What doesn't is hello and goodbye messages, random shit etc
 
@quartata yeah..
@quartata not funny.. or wa it?
If it is, then people would star it!
 
Anonymous
So I implemented this approximation in Seriously
 
Anonymous
I got 2 correct sigfigs for t=12
 
Anonymous
I recommend not using it
 
@Mego cool!
 
Anonymous
11:32 PM
And by recommend not using it I mean don't do it, it's not accurate enough to be an acceptable answer
 
@Mego You need to believe
 
@Mego why don't you write a Seriously solution to my challenge? or should I?
 
Anonymous
@Calvin'sHobbies Believing isn't going to poof 4 sigfigs out of the aether
 
Anonymous
@TanMath I've actually been working on one. It's not easy
 
@Mego 10^-6 is a bit harsh, isn't it?
 
11:33 PM
@Mego My little approximation program (&;WpS*21/~-~P*~2*~-V*) is really really bad...
 
Anonymous
@flawr <3
 
It's usually off by like 1
 
@Mego yes... well, you need a for loop, that is why...
 
I think it was because it was an approximation for ln(gamma(x))...
There the difference probably wasn't noticeable
 
Anonymous
Guess you people will need to find better approximations
 
11:34 PM
But when scaled up...
@Mego :(
 
Anonymous
@TanMath There are two ways of emulating for loops
 
@Mego really?
 
This is actually really tricky
Partially because I'm an idiot but still
 
Anonymous
:n:W<code>-W will execute <code> n times, with the caveat that <code> needs to make sure n is on top of the stack
 
Anonymous
:n:R`<code>`M will also work
 
11:36 PM
Anyone found any good approximations?
 
@quartata You could just approximate the integral directly.
 
@Calvin'sHobbies But there has to be something shorter...
 
print "Γ(t)"
 
@Calvin'sHobbies Ooh, that's a good one.
 
*involves belief
 
11:41 PM
@Calvin'sHobbies is this a "starable" message? :P
 
@Mego Did you realize how big gamma(10^7) is?
@Mego If you use double values you will not be able to represent gamma(t) for t>172...
 
@AlexA. right now I am looking at your julia code (thanks for the description) to possibly write a Seriously or Python answer to my own challenge (just for fun!)... There is one thing I don't understand...
what is the point of d = reverse(digits(m^2))
in particular, why do you reverse it?
 
Rats I got beaten to the punch
 
Anonymous
@flawr If you read on, you will see that you may assume |gamma(t)| < 10^9
 
But why do you ask for an upper limit of 10^7 then????
 
11:45 PM
@TanMath The digits function in Julia returns an array of the digits of its input in reverse order. Thus it has to be reversed to get it in the desired order.
 
@AlexA. oh...
@AlexA. and this? x = map(i -> parse(join(i)), p)
 
@Mego Flawr has a point. The t limits and gamma(t) limits are conflicting rules
 
I mean then you could make an upper bound of t<14...
 
Anonymous
@Calvin'sHobbies They're not conflicting, per se, but they are confusing. I'm going to clarify that.
 
gamma(14) = 6.2270e+009
please provide a range for t wher |gamma(t)|<10^9 ...
 
11:49 PM
@TanMath p is an array of arrays corresponding to partitions of the digits. For example, if you have [[1,2],1], this corresponds to the partition [12,1]. In order to get to that, you have to join the digits, so you map join to each element of [[1,2],1], yielding ["12","1"]. But we need them as integers, so we parse them as well, yielding the desired [12,1]. Does that make sense?
 
@AlexA. yep! thanks!
 
No problem :)
 
Now I remember why I hate Octave
@AlexA. Do you know Octave?
 
A bit.
 
@quartata why..
 
11:50 PM
@(t){quadcc(@(x){x.^(t-1).*exp(-x)},0,Inf)}
 
3
A: Count up forever

TheDoctorMarbelous, 11450 4632 bytes Printing decimals is a pain!! Definitely not winning with this one, but I though I'd give it a shot. I hope it's ok that it pads the output to 40 zeros (to fit 2^128). 00@0..@1..@2..@3..@4..@5..@6..@7..@8..@9..@A..@B..@C..@D..@E..@F..@G..@H..@I..@J \\++..00..00..00....

fixed it (only 4 thousand bytes now!)
 
Throws
error: quadcc: integrand F must return a single, real-valued vector
Y
 
For one I don't think you need the curly braces in the inner function handle
(I don't think that'll help the error though)
 
It actually did....
 
Also the squiggly braces need to match
 
11:52 PM
But now it says the integral was divergent which it wasn't
Hmm
 
Oh really? You removed the braces and it worked?
 
@mego Please also provide a reasonable lower bound!!!
 
@AlexA. I don't think it is doing what it is supposed to be doing now though.
 
@quartata It diverges close to 0. Try using a small number rather than 0 as the lower bound.
 
How about eps
 
11:53 PM
Yeah I was just about to ask if Octave had epsilon
 
@TheDoctor does the interpreter actually require all those trailing empty cells?
 
@quartata It does, it's eps.
 
It's doing some strange stuff now though.
3->2
 
i think so, too busy to test atm
 
Btw though, "You may not use a built-in Gamma function to solve this task, nor may you use built-in numeric or symbolic integration functions."
 
11:53 PM
-2.5->5.4445e+38
@AlexA. Wait, whattt?
Oh nevermind then.
bleh
I have to implement a integration rule myself
How is this C one 85 bytes
 
hey, is there like a taylor series for the gamma function?
 
Anonymous
@quartata It uses the explicit formula. I'm running it on the test data; I'll check back in a few weeks.
 
@Mego Please also provide a reasonable lower bound...
 
@Mego yeah...
 
I suggest a lower bound of 0 as the gamma function does pretty wild things...
 
11:56 PM
@flawr For input?
 
Anonymous
@flawr Then you lose half the fun :)
 
@Mego That approximation is so slow, I wonder if it should even count as valid
 
@Mego Comon, YOU said you do not want to spend time finding those intervals, but you expect to do so from the participants??????
 
@flawr Math
 
@quartata It's unfair to go changing rules now
 
Anonymous
11:58 PM
@flawr For every consecutive set of negative integers, there is an open set between them that contains t values for which |Γ(t)| < 10^9 . There are 1 billion of them. Enumerating them would be costly, both in time and in text. You do not need to know the exact ranges - just assume that the input will be in them.
 
@Calvin'sHobbies I know, but we have no way of validating it because it is so damn slow
 
Anonymous
If the input would produce an output x such that |x| >= 10^9, I don't care what your program does.
 
I'd steal it but...
 

« first day (1750 days earlier)      last day (3097 days later) »