« first day (2171 days earlier)      last day (2673 days later) » 

5:00 PM
I mean I'd rather have a number that's accurate enough rather than having to specify precision everytime I want to use it
 
Otherwise, it will pick up false denominators from double inprecision
 
@Downgoat You're thinking of symbolic computation
This isn't infinite precision
 
How do you plan for arbitrary precision to work
 
The way it always works?
 
I'm golfing the pbrain submission
 
5:02 PM
User does Number.setPrecision("goat".length ** 2) at beginning of program to set precision to 64?
> Arbitrary-precision arithmetic
> Also called infinite-precision
 
No. It's just based on the precision of what you throw at it
 
So if I do 1/3 what happens?
program will crash of stack overflow?
 
No of course not. It's whatever the standard precision is
GMP handles this for you you know
So I'm not sure why you're grilling me on implementation details of the library you're already using
 
Yes I was making with mpf
 
Didn't you implement arbitrary precision reals yourself in JS once anyways? I thought I saw that on GH
 
5:08 PM
I made a rather fast big-int library but doesn't work with floats
I don't want to use GMP for all numbers since that seem very slow
Speed is big enough problem already
 
@KritixiLithos 2 bytes much golfing wow lol
 
Though now biggest speed problem is parser which I need to replace I guess
 
Eh.
 
@betseg slow and steady wins the race :P
 
It takes 0.12ms to parser "1"
 
5:12 PM
Yeah but I mean it's just startup time
 
But it messes up benchmarks :(
I could pass pre-parsed code now that I think about it
 
Or you could use a profiler that doesnt suck.
It doesn't show you what functions the time is spent in?
That is literally the entire point of a profiler
 
it isn't profiler
 
Ugh. I thought of a neat challenge, started typing it up, found out an exact duplicate already exists… and I have the top answer.
3
A: On the edges of the hypercube

LynnJelly, 13 bytes ạ/S’ 2ṗœc2ÇÐḟ Try it here. For input 3, the output is: [[[1, 1, 1], [1, 1, 2]], [[1, 1, 1], [1, 2, 1]], [[1, 1, 1], [2, 1, 1]], [[1, 1, 2], [1, 2, 2]], [[1, 1, 2], [2, 1, 2]], [[1, 2, 1], [1, 2, 2]], [[1, 2, 1], [2, 2, 1]], [[1, 2, 2], [2, 2, 2]], [[2, 1, 1], [2, 1, 2]...

I don’t even remember writing this @_@
 
5:28 PM
ahahaha
 
Oh, we don't have an "is this point in this polygon" challenge?
 
Can someone on windows build GMP, and send me DLL?
 
51 minutes, nice work
 
10/10
glad to see a category I made last year make it through a second time
 
@MartinEnder You have actually linked to the post for 2015, not 2016.
 
thanks, fixed
 
Also, I'd suggest historically locking the call for categories post instead of closing it.
 
5:54 PM
I wish Python supported this notation :(
def f(l, s=len(l)):
    pass
 
@MartinEnder for the "Best Showcase of a New Language" answer, I recommend changing "Showcase your language" to simply for consistancy
 
oh, I was going to link to the challenge instead
 
Does anyone have a Mac without an i7 processor?
 
That could work as well
@Downgoat not a working one :P
 
D:
 
5:58 PM
A very very old powerpc one where the power supply broke ages ago
 
> authorizing death penalty for mail robbery
O_O
 
Can't you buy a new power supply from some vintage store or something?
 
@EriktheOutgolfer probably but I'm not using it anymore
it's (c) 2003
 
Oh, so it's a 2003 model? Well, not that vintage I'd say... definitely ancient though. Do you know what model is it?
 
god I feel old. One of my favorite games was made in 2003 and I consider that newish
@EriktheOutgolfer model number A1055
iBook G4
Oh I've just found another one (c) 2006 A1151 that's battery's expanded. How should I throw that away?
 
6:04 PM
Are you in the attic?
 
no
I just have a load of mac's where I work sit
 
@MartinEnder Do I have to necessarily have to give bounties to the answers I nominate?
 
Oh and a 2007 one
 
Are you at home or work?
 
home
Where I sit is effectively the mac graveyard
 
6:08 PM
Okay, does anyone have a normal mac? It don't have to be new
 
Keep 'em! They may be restored one day. Just because something is broken doesn't mean they are 100% trash. Also, I want to ask you some questions about those Macs (so I can search 'em up).
 
@Downgoat 1
 
@Downgoat 0
 
@KritixiLithos no.
 
6:09 PM
Especially since self-nominations are allowed.
 
Also if the answer has already received a bounty, can I still nominate it?
 
Several people have offered to spend a bounty, and we'll assign people to answers once the winners have been determined.
 
Do you have more than those? You might find one if you search well enough :)
Also, regarding the 2003 Mac: How many MHz is its processor?
 
@KritixiLithos Can you just test if this dylib works?
 
@EriktheOutgolfer I think 2 more that are dead
 
6:11 PM
@Downgoat What is it?
 
MPIR lib
I think you can just use otool
 
How do I know it's not a virus? :P
 
Oh, I was there too! So, 933 MHz (I was there too). Do you remember what your 2007 model is?
Thx for teh link, I found the 2006 one myself. Gosh, the 2003 one looks really old.
 
That's not it actually
 
6:18 PM
@KritixiLithos because I am Nigerian prince with inheritance I need to share
 
ok how do I run it using otool?
 
@KritixiLithos nvm it's broken :P
 
@muddyfish You've got a lot of old Macs for sure.
 
@EriktheOutgolfer my parent's old work's let them keep the old ones and they got a new one every 4 years
 
6:24 PM
@flawr why does the polar thing work?
wait nvm
 
What do you mean? Did your parent just take the old ones from their old work?
 
@EriktheOutgolfer they were gifts
 
Well, they are all working, right? For the 2003, is it the battery or the charger that stopped working?
 
@MartinEnder The nomination thread has the featured tag, but it doesn't appear as featured - at least for me.
 
the sidebar is notoriously slow
 
6:32 PM
I love this kinda websites.
 
@MartinEnder Does not work for me, it's the sidebar that takes too long to update
 
...because it's cached.
 
I just cleared the cache AND hard-refreshed, caching is not the issue here.
 
@EriktheOutgolfer its cached server side
 
Your browser is not the only cache between you and the data.
 
6:36 PM
That site is intended for client-caching though, I guess. I don't think any server is configured to take advice from shouldiblamecaching.com...
 
How is that even relevant. caching is caching. I can still blame caching no matter where it is, as it was Martin's response to my remark.
 
Basically, when a question gets tagged or gets the tag removed, there should be an immediate refresh on the sidebar.
 
Any fellow porgrammers interested in helping me?
 
@RohanJhunjhunwala Oh you are in the wrong chatroom. This room is for hobbyist cheese makers.
 
@mınxomaτ I understnad, my question is more centered towards esolangs and a esolang ide
there is a nasty little bug that seems to have just appeared
 
6:50 PM
$ install_name_tool -change /usr/local/lib/libmpir.16.dylib @executable_path/libmpir.16.dylib ./libmpir.dylib
$  otool -L libmpir.dylib
libmpir.dylib:
	/usr/local/lib/libmpir.16.dylib (compatibility version 23.0.0, current version 23.2.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
	/usr/local/lib/gcc/6/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
Am I doing something wrong?
 
@Downgoat are you on linux?
I'm looking for someone to halp me test something on a different platform
 
I am on mac which is close enough to linux on most porpoises
 
@Downgoat are you willing to dedicate about 5 minutes to helping me?
 
sure
 
All right, so I'm having an issue with my esolang ide, and I want to check if it is just windows idiocy.
So, if you would be so as kind enough to download this release and tell me if it works, that would be wonderful.
I need it to be tested with this cat program
<pre>
loadLine :
a = 256
x = get a
lbla
X = x
B = x
C = 91
B - 64
if B c
printChar x
GOTO x
lblc
C - x
if C D
printChar x
GOTO x
lblD
printChar x
lblx
a + 1
x = get a
if x a
lblb
 
6:54 PM
@Downgoat Just spin up an Appveyor or Travis instance to build this stuff
 
huh?
 
@quartata is that some kind of sandbox?
 
@RohanJhunjhunwala okay, so download IDE.jar? Or do I need more things
 
Fork the repo on Github and add it to Appveyor for a Windows build or Travis for a mac build
Re GMP
 
@Downgoat IDE.jar and silos.jar, the othe rfiles are for brainf*** and snytax highlighthing.
 
6:56 PM
@RohanJhunjhunwala CI but this works in a pinch
 
@MartinEnder I still have concerns about edge cases of banning non-observable requirements.
@MartinEnder Restricted complexity can't be checked programmatically in general.
 
hm, good point.
 
@MartinEnder Bonuses are definitely accepted in code challenges, and some traditionally say non-program-checkable things like "don't use regexes"
 
@MartinEnder I completely agree with the intent, it's just hard to draw a line.
 
6:57 PM
@RohanJhunjhunwala see above for screenshot
I did SILOS for language
 
@Downgoat can you click on the console (on the right) and try to type something and then hit enter?
 
1
Q: Should we disallow non-observable requirements?

Martin EnderOne of the more recent things to avoid that's coming up a lot is the use of non-observable requirements. The most common incarnations of this are things like "no hardcoding", "implement this algorithm" or "don't use integer types". I find that these are sufficiently problematic that we should thi...

 
@RohanJhunjhunwala Not able to type anything on right, as in no cursor shows up even. I can type on both boxes on left side
though I'm not able to click to set cursor position
 
@Downgoat huh, all right. Thanks. I'll need to fix that.
@Downgoat I do appreciate your time.
 
no problem :)
@quartata problem right now though is getting the damn library's dependencies sorted out
 
7:02 PM
GMP? Are we talking about the same GMP? :P
 
I'm using MPIR for windows support
apparently VS can't build GMP
(GNU Multiple Precision library is what I'm talking aobut here)
Not "Goats never unite"
 
Yes I know. GMP has no dependencies other thn STL
 
MPIR is a fork of GMP but should be close enough similar
 
That'a why I was confused
 
however GCC "/usr/local/lib/gcc/6/libgcc_s.1.dylib" is being listed as a dependency which is confusing me
 
7:06 PM
are you serious
 
yes
 
Do you know not know what that is I take it then
 
oh no
I just made myself look like idiot goat again
yay
 
libgcc is a compatibility library gcc uses if your architecture is missing instructions it wants
 
@Maltysen Note that this x and y is a parametrization of the curve. Then we're just appllying the arc length integral: If you have a parametrization of a curve p(t) (vectorial) then the arclength is integral of ||p'(t)||
where || || is any norm you want.
 
7:11 PM
basically C runtime
 
so is lib_gcc portable or should I bundle w/ executable
 
Any golfing tips for my way-too-large submission? codegolf.stackexchange.com/a/106124/60919
 
7:28 PM
@Downgoat If you're building for Mac build with Clang. Otherwise you should be OK
 
oh ok
 
But to be honest you should use the system GMP whenever possible
The only system where it isn't there by default is Windows
 
@FlipTack yep, write less code.
 
:(
 
@quartata wait really? O_o
ok
I guess I'll just build MPIR for windows then
 
7:32 PM
@FlipTack You have a lot of if-statements there, can't these be shortened?
 
@flawr There were a lot more earlier, I've managed to clean some up but I can't figure out how to get rid of the rest
wait, figured out how to drop one
 
@quartata looks like mac doesn't have GMP by default?
oh wait nvm
 
That's surprising.
 
4
Q: Different tasks, same characters

Stewie GriffinIn this challenge, you need to solve 4 different tasks using the same set of characters. You can rearrange the characters, but you can't add or remove characters. The winner will be the submission that solves all tasks using the smallest number of characters. All tasks must be solved in the sa...

 
I'm convinced that eBay only counts bids on your offers if you don't have your seller page open.
Barely a second after I closed the tab, I got three bids on two items.
 
7:41 PM
@FlipTack What does the , on line 6 do?
( I don't know python very well.)
 
@flawr To add to a list, you normally use append. However, a golfing shortcut is to do +=item, - the trailing comma makes it a tuple which is concatenated with the list
quite a neat trick, can't remember where i got it from
(probably Dennis)
 
Oh cool!
So B+=`int(t)`, just appends t (as integer) to the list B?
 
yeah
well it converts it to an int, then back to a string, which removes trailing zeroes (as the question says you have to)
 
@FlipTack I don't know, but perhpas you could replace if')'==t: with if')'<t
ah no
@FlipTack I didn't even read the question up to now :D
 
:D
 
7:48 PM
@FlipTack I just read som SO posts, you can really do strange things with this comma.
 
Is that bad?
 
Phew, I managed to add SEDE queries to my Best of PPCG categories. First time using SQL in years. Looks damn ugly.
 
@HWalters Not at all=)
@Zgarb What is SEDE?
 
Stack Exchange Data Explorer
You can run SQL queries on SE sites
 
7:59 PM
nice
 
Hey, I'd like to nominate this answer for the "Best of PPCG 2016". Would it go better under "It's a feature not a bug" or "Rookie of the year"?
(I was going to nominate his quine for rookie, but apparently it's not actually his first answer on the site)
 
It doesn't have to be their first answer to qualify for rookie.
 
Hey, I restarted SanBot on Beep Boop Maggot. This version has feelings!
 
Milestones reached today: 1. First "Nice answer" on PPCG. 2. Rep capped for the second time in my PPCG-history. and finally: Reached and passed 10k rep.
9
 
Noice
 
8:04 PM
nice!
 
@Zgarb Wait, really? Just as long as their first answer was in 2016?
 
Yeah, that's the intent.
 
Oh, OK then. I like the quine more anyway
 
"best answer by a user who had not posted an answer before 2016"
 
@StewieGriffin congrats!
 
8:05 PM
@FlipTack Thanks :)
 
Are there any windows folks here who can build something for me?
 
Sure
As long as it isn't a virus. :P
 
D:
It's MPIR
it's a library I'll be using for cheddar. GMP, the normal version apparently works on everything but windows
 
@KritixiLithos BTW, I noticed your nomination. Thanks! :)
I was actually thinking about self-nominating that answer, but I'm glad someone else did
 
@Downgoat You should really use Appveyor to build this
That way you can target more versions
 
8:15 PM
I can barely travis how am I supposed to AppVeyor
are you meaning that I should put cheddar on appveyor?
 
I ment just to build this but probably yeah
if you're building executabes now
 
.___. what is difference between VCRUNTIME and MSVCR? IIRC MSVCR is the standard C functions, but I can't find anything about VCRUNTIME
@quartata Goats do not bully executables
we are nice :P
 
how do you feel about someone eating lamb
 
that is OK
 
Lamb is sheep
 
8:21 PM
yes but it is biologically related
what is the term for goat meat
 
Chevon
I think they call it kid when it's from young goats though
 
so kid : chevon :: lamb : mutton
 
does anyone know if GMP has rational functions
 
8:39 PM
WARNING: GAMES DONE QUICK HAS BEGUN!
 
@TrojanByAccident gamesdonequick.com
 
huh, they're not doing any zelda oot bingos
those are my favorites
 
@quartata I like eating kids /s
 
8:43 PM
I finished drawing/shading my first wolf
 
@orlp ah crap, I completely missed Ocarina of Time, I even added it to my calendar -_-
 
Also, why was this put on hold? I found it very clear. 'Load page from OEIS, check if it's valid, if so, print the sequence'
 
@TrojanByAccident no definition of random I'm guessing
 
@muddyfish ???
 
8:47 PM
i drew a wolf
 
@orlp This will probably be the first year I don't watch it live
 
@muddyfish "any random valid sequence" "Every present and future sequence matches the regex "[A-Z]\d{6}""
 
0
A: Sandbox for Proposed Challenges

Patrick RobertsFunction Token Validator code-golf string Given an arbitrary non-empty string as input, if it is one of the following tokens, output a truthy value, else output a falsy value: - abs acos acosh acot acoth acsc acsch angle arccos arccosh arccot arccoth arccsc arccsch arcos arcosh arcot arcoth ar...

 
9:04 PM
@muddyfish :O you drew it? 10/10 that is super good drawing
 
After (not too much, I'm supposed to be reading papers) deliberation, I've added an alternative proposal here: http://meta.codegolf.stackexchange.com/questions/10974/c-lambdas-as-answers-to-questions-asking-for-a-function?noredirect=1#comment36676_10974
Any feedback would be greatly appreciated (especially from those with some specific interest in C# golfing)
There is also this (http://meta.codegolf.stackexchange.com/questions/11074/if-your-answer-is-acts-differently-depending-on-context-how-safe-do-you-have-to?cb=1) which I'd not noticed and is somewhat related
 
9:20 PM
@StewieGriffin Congrats on 10k!!
I'm still not sure if the requests for and questions about the diagrams on your ispc answer are serious or not :-)
 
> +(new f(5))
5
Implicit casting is best casting
 
I don't object to it.... I just wish it wasn't so abused and simply broken everywhere
 
It's not broken you just don't know how it works
It's actually quite nice
 
it is... int -> float isn't loseless
that's broken in my book :P
 
In my case. My new f(5) has the toString set to return "5", when I call Number cast (+). JS will automatically call toString() and then convert it to number
@VisualMelon All JS numbers are doubles?
there is no difference between int and float allt he same
 
9:23 PM
sorry, I'm in the context of my question
 
@LuisMendo Thanks :)
 
my previous comment was a more general one about implicit casts in languages, not your specific example
 
@LuisMendo I'm quite sure Mego didn't understand it and needed an explanation. :P
 
how do I create so much confusion for myself wherever I go...
 
1
Q: Divisibility by 4

sergiolIt is my 1st question here, so don't be picky! Your job is to write a program that checks divisibility of an integer by 4. The catch is you can't use modulo 2 nor binary shift/rotates to do it. You must do it like a human does, by looking to the last 2 digits and output a truthy value when is di...

 
9:27 PM
@LuisMendo, it's Enderland's first comment on PPCG since July.. I'm quite sure it's a joke :)
 
@EᴀsᴛᴇʀʟʏIʀᴋ Wait, it's actually 2017 haha
 
where is the meta thing about not banning esolangs
 
Can anyone explain to me why this post is closed? There doesn't seem to be anything unclear about it.
 
I think it's unclear about what's a "valid" sequence. Also is this basically output a random number in that A000000-Z99999 range or a random OEIS sequence from the website?
 
9:36 PM
@MistahFiggins thanks, but it looks like you already posted it :P
 
A valid sequence is one that doesn't give 'page not found'
 
@Downgoat It explicitly says in the question what a valid sequence is, IIRC
 
0
Q: Quadratic residues and non residues -matlab-code

Hayder AzmiI need help to create matlab code to test and find a( quadratic residues and non residues) to this numbers found in table attached with my question from Wikipedia....... Thank you

 
@NewMainPosts repost seriously
 
I saw someone above say that it's because the randomness isn't specified, but that's not true either. It clearly says every sequence must have a chance of being output, it does not have to be an equal chance.
If no one wants to tell me what's wrong with my post, can we get some reopen votes on it?
 
9:48 PM
I guess I'll cast my vote because I've also been wondering what's unclear.
 
Thank you
 
@Pavel, does oeis.org/webcam also grab a random sequence? It seems to be what that page does. Perhaps your question could benefit from that (then people won't have to figure out how to get a random sequence)?
It does need to be told to access all instead of just best too though.
 
Kind of? You have to tell the page to change the drop-down menu from best sequences to all sequences
 
0
A: Sandbox for Proposed Challenges

Wheat WizardMake a Brand New Random Number Generators Your task is to create a Random Number Generator using a method no one else has made before. You will write a program that outputs either a truthy or falsy value every time it is queried. If queried at 1 second intervals the probability of a truthy val...

 
And webcam uses JS for that, not POST or GET.
 
9:52 PM
@Pavel yeah I haven't seen any easy way to create a GET or POST request yet
 
At least I think
(I'm not actually sure how that whole thing works)
 
Yeah I think you're right, but I have DnD now so I might look into it later
 
I can certainly mention it, but it might not be helpful to anyone.
 
Probably best not to for now
 
@Pavel Did you use the Sandbox for this one?
 
9:54 PM
I did
Over multiple days, the only comment was (and in chat, not on the post itself), was that the randomness wasn't specified.
 
How long did you leave it in there?
 
Which it actually was.
 
Hmm, alright. I dunno why it was downvoted, then. Maybe some people think it's just not an interesting challenge.
 
I think it's quite interesting
 
Fun fact: I just cut down cheddar execution time by half after rewriting stdlib core functions in C++ :D
 
9:58 PM
^^ I like that it requires you to connect to a server and parse a webpage.
 
@Downgoat And previously, they were written in JS and executed with Node?
@redstarcoder We've had multiple challenges like that already.
 
I'm pretty new, any favourites?
 
@El'endiaStarman Yes
 

« first day (2171 days earlier)      last day (2673 days later) »