« first day (1835 days earlier)      last day (1480 days later) » 

4:01 AM
@ZachGates steveverrill's comment seems a good template for explaining vertical
@ZachGates One other thing occurs to me: It might help to explicitly state which way up the parabola is. For example, Wikipedia shows the curve the other way up to yours. Is it your intention that people can assume the parabola will always be your way up?
A parabola (/pəˈræbələ/; plural parabolas or parabolae, adjective parabolic, from Greek: παραβολή) is a two-dimensional, mirror-symmetrical curve, which is approximately U-shaped when oriented as shown in the diagram below, but which can be in any orientation in its plane. It fits any of several superficially different mathematical descriptions which can all be proved to define curves of exactly the same shape. One description of a parabola involves a point (the focus) and a line (the directrix). The focus does not lie on the directrix. The parabola is the locus of points in that plane that are...
 
@Cyoce omg how u do that
 
@phase "that"? you'll have to be more specific ( ͡° ͜ʖ ͡°)
 
@trichoplax My intention was that "up" is increasing z values, and "down" is the opposite.
 
@ZachGates That covers the input. People may assume different requirements for the output, so I recommend defining how many significant figures are required in the output too
 
@Cyoce highlight all teh things
 
4:05 AM
@trichoplax The output is a truth/false value
 
Can anyone tell where a bug report about Microsoft's C++ implementation can be submitted?
 
@ZachGates Of course - my apologies. That is perfectly clear in your question I'm just tired...
 
@trichoplax No problem :P
& ditto
 
@phase mostly regex
 
@feersum Are you sure it's a bug and not a deliberate difference? Microsoft doesn't follow the C++ standard.
 
4:06 AM
Yes.
 
@Cyoce too much tech 0-0
 
@phase See the discussion around here.
 
@feersum you could search there github if it's open source, otherwise just try contacting them from their website
 
> Microsoft
 
4:08 AM
@ZachGates That still doesn't cover it.
 
The C++ compiler/standard library is definitely not open sounce.
 
@ThomasKwa For output?
 
What if we're given three irrational-coordinate points, which all lie on the same parabola when unrounded but are rounded to 6 sigfigs?
 
@feersum best thing you can do is support.microsoft.com/en-us/contactus
 
@ZachGates I think the same is true of the Wikipedia diagram, but they have a u shape instead of an n shape. Both are valid parabolae, so you'd have to mention if you only want one or the other.
 
grc
4:09 AM
@feersum btw I think I worked out what was causing it
 
@grc What is that?
 
@ThomasKwa Input will only be whole numbers
 
grc
I think it used a 4096 byte buffer, and lost any newline that fell on the 4096th position (presumably when converting \n to \r\n)
only happens when piping though
 
@ZachGates Okay, say we get very large whole numbers, which lie on the same parabola but not when rounded to 6 sigfigs.
 
@ThomasKwa I removed the sigfigs requirement and I'm about to add an upperbound to input
and lowerbound
@trichoplax I believe I've fixed it
 
4:18 AM
@ZachGates I was just looking: vertex has the maximal z value seems to cover it
 
Awesome
 
@ZachGates The only other thing I can think of is people might like a few more test cases - covering some false, some true, and any edge cases you can think of.
Will the parabola ever be degenerate? If not, best to mention that. Otherwise, degenerate test cases will make sure people cover it.
For example, if the point on the parabola is vertically directly below the vertex, so the parabola is of zero width everywhere (a half line).
 
Oh, will two of the points be the same?
 
Actually, I'm not sure if that degenerate example I gave is possible for a parabola
 
@ThomasKwa The third may be the same as one of the others, but the vertex and arbitrary point on the curve will be different.
 
4:23 AM
@ThomasKwa As long as the two given points are distinct, I don't think it will matter if the point in question coincides with one of them
Ninja'd
@ZachGates Can the parabola be of arbitrary width? Specifically, can it be zero width (a vertical half line) or infinite width (a horizontal line)?
 
@trichoplax You'll get that particular case when a = infinity (as in, ax^2+bx+c).
Infinite width would be y = 0x^2+0x+c.
 
@El'endiaStarman Thanks :) I was doubting myself because I couldn't reconcile "all parabolae are similar" with one of them being a line/half line...
 
@trichoplax "The parabolic curve will continue infinitely by all axes (x, y, z)." How does that sound?
 
@ZachGates I don't know what it means :)
 
4:27 AM
Is it to address the width?
 
Well, by definition, the curve will continue infinitely downward (z axis)
@trichoplax yeah
im confused
 
@ZachGates That's another thing which makes me wonder if the degenerate case of a vertical half line counts as a parabola - all other parabolae extend infinitely wide if you move infinitely downwards
 
I'm confused on what width you're talking about
 
I mean how quickly the curve gets wider as you move downwards
As El'endia Starman mentioned depends on a
 
It will always be a conventional parabola /:
Infinitely expanding with respect to at least two axes
 
4:33 AM
So you can just say "the parabola will never be degenerate"
The two cases I mentioned are extremes which wouldn't normally be called parabolae, so excluding them seems fine
 
chat mini-challenge: given a bracket from the set ()[]{}<>, output its matching bracket
 
CJam, 14 bytes. lc_i30/_3<\6?^
 
@Sp3000 outgolfed by @Dennis :P
 
Ninja'd
@trichoplax Alright I'll add that
(added)
 
4:47 AM
@ZachGates Looking good. I can't think of any edge cases now that you've excluded degenerate cases.
 
I hadn't thought of that in the first place :P
 
Still no mention of the parabola axis being parallel to the z-axis.
 
Javascript, 35
x=>(c="([{<>}])",c[7-c.indexOf(x)])
 
Pyth, 11 bytes. Xz"([{<>}])
(removed)
 
@Cyoce ¯\_(ツ)_/¯
 
4:58 AM
That's the first time I've seen too many arms
 
CJam, 10 bytes. lc_iG/2|(^
I'd add an explanation, but this text area is too narrow.
 
It's pretty self-explanatory :)
 
@Dennis okay Fermat
 
:P
 
@feersum Does the axis of the parabola will be vertical cover it?
 
5:02 AM
Boring Perl, 21 (-p flag added): y/([{<>}])/)]}><{[(/
 
@ZachGates You still need a few more test cases.
 
@ThomasKwa What kind?
 
@trichoplax That's not very clearly stated and it's in some run-on sentence.
Parallel to the z-axis would be unambiguous.
 
@ZachGates Sundry cases, both truthy and falsey.
 
@feersum @ZachGates for your attention
 
5:04 AM
I saw; adding
 
@Dennis Monadic 1,2,1,2,1 parses as ((xF) g (xH)) j (xK), right?
 
Yes.
 
Okay, just making sure.
 
@Dennis For sheer hilarity: lc_iK+37/m!^
 
OK, I did not see that factorial coming.
 
5:11 AM
It's too expensive and 4->3 is too hard :/
 
@Sp3000 How does this work?
I don't know CJam.
 
Few do. It's a very inside joke
 
Basically, for Dennis' ones it's () -> 1, <> -> 2, [] -> 6, {} -> 6, where the number is what to XOR by
I was just toying with the fact that the offsets are all factorials :P
 
I guess I'm not going to report this C++ bug because it's too hard to figure out where to report it.
 
@feersum a bug in g++?
 
5:15 AM
@Lembik No, Microsoft's one.
 
ah...
 
I still can't believe this. A compiler bug in an elemental cat program...
 
I just found this joke in the comments of a youtube video:

Schrodinger and Heisenberg were speeding down a highway. A police officer pulls them over.
"Do you know how fast you were going?" asks the officer
"No." Heisenberg says, "But I know exactly where I was."
The officer thinks this odd response is grounds for a search, and upon opening the trunk, he finds a dead cat!
"Did you know that there's a dead cat in your trunk?!?!" exclaims the officer
"Well," Schrodinger retorts, "I do now!"
 
@ZachGates Will the parabola ever lie within a plane parallel to the xz-plane or the yz-plane?
If so, test cases; if not, add it to the question.
 
What is this parabola question?
 
5:19 AM
@ThomasKwa Yes, or a plane parallel
2
A: Sandbox for Proposed Challenges

Zach GatesTask Write a program or function that will determine if a point in 3D space lies on a 2D parabolic curve. Input 3 points in 3D space vertex of a 2D parabolic curve arbitrary point on the curve arbitrary point in space Input may be taken in any form (string, array, etc.) provided no other...

 
@feersum is this visual c++?
connect.microsoft.com/VisualStudio/content/… has something that might be relevant
 
Actually I found it a couple of minutes ago
Um nevermind, looks like I didn't
> Create an incident - select a payment option
 
??
they can't need you to pay to report a bug!
 
What!
 
vsconn@microsoft.com exists too
 
5:25 AM
idea: create lots of bugs
 
is there a way to make a regex capture any number of repeats of a string, but put each repeat in a separate capture group (so as to be able to count how many repeats there were)?
 
I found another "Report a bug" link...
> You are not authorized to submit the feedback for this connection.
 
@feersum randomascii.wordpress.com/2013/10/14/… people do claim it is possible to report bugs!
does the "report a bug" link at connect.microsoft.com/VisualStudio just not work? I don't have a M$ account to test sadly
 
@Lembik That's the one I just mentioned.
 
:(
the point being that it looks like one can at least ask on SO about how to report a bug
 
5:36 AM
rofl
Let's just call 1-800-MICROSOFT
OK, what is your code? g-e-t-c-h-a-r-open parenthesis...
 
@feersum g-e-t-c-h-a-r-wax...
 
@feersum cool! I wonder how they reported it :)
what is Universal CRT ?
 
C(++) runtime library
 
aha..thanks
 
6:40 AM
Does anyone want a full chat transcript (up until yesterday)? I scraped, parsed, and combined one for general use. Uploading now, will add link. It's around 68MB uncompressed.
 
@Geobits How much for two?
 
I can let you have them for free. Because it's you and all. Don't tell the others.
 
Maybe we can have a grand to identify the poster of every single message.
 
The lack of timestamps sucks, yes. Blame the terrible inconsistencies of the transcripts for that. They are in chronological order, though.
@ThomasKwa Yea, I figured we could make good use out of a full one for various challenges.
I may take a look at cleaning up the onebox links later. They're pretty ugly right now.
 
Hm, I wonder if I could use that for Jelly's word frequencies.
 
6:47 AM
For general purpose word frequencies I'd probably rather use something like the Billion Word Corpus.
But be my guest :P
 
If the language's purpose is to answer PPCG challenges, it makes sense to use a corpus based on the utterances of the challenge authors.
 
A recent windows update installed a wrong driver for my display. The screen backlight literately burned. Which damaged everything else, so now it's dead. (╯°□°)╯︵ ┻━┻
 
Damn.
 
Ouch.
 
@feersum avocado, ninja'd, carrot :P
 
6:50 AM
I bet there's at least one challenge where I could use those.
 
Well anyway, I gotta head to bed. Have fun injecting the chatroom into Jelly.
 
Good night!
 
@Dennis What's your timezone, out of curiosity?
 
UTC - 3
Hm, 4:00. Why am I awake again?
 
@Dennis ?!?
Do you live in a code-golfing bunker on the Atlantic ocean seafloor?
 
6:57 AM
South America. :P
 
What's the difference?
 
hahaha
 
... oops :/
 
7:16 AM
Did you implement those yourself?
 
Yeah, got my __eq__s all messed up :P
 
First thing that came to mind was a __req__ function, but I'm not sure that's a thing.
 
Hmm not sure, I don't think so
 
7:34 AM
Anyone know the "W" blue and white symbol on the video thumbnail here? (It's like a Vevo logo but not?)
 
Wuaki.tv is a video-on-demand (VOD) streaming service, offering thousands of hours of high quality movies and TV series for subscription (only in Spain) rental and purchase. Wuaki.tv’s extensive catalogue includes content from major Hollywood studios including Warner Bros., Disney, Sony Pictures Entertainment and Twentieth Century Fox Home Entertainment, and local distributors and independent labels, giving consumers access to new releases, blockbusters, classic movies, local independent movies and TV series on the device of their choosing. Wuaki.tv’s content can be streamed to Internet-connected...
Close but not quite :/
Actually, there seems to be quite a few W logos with that three-stripe look :/
@Calvin'sHobbies I think it's just Warner Music
 
Ah, yes!
thanks
 
8:16 AM
Why GOLF CPU when we have Redcode?
 
-1
Q: Determine if a given loan payment return schedule is weekly or daily?

user2876962You are given a set of payment schedules, some of which represents a daily return schedule and some represents a weekly schedule. Each payment schedule is in its own file and you need to segregate the files with at least 90% accuracy in 2 buckets, daily and weekly. No payment would be received on...

 
8:58 AM
(for paren matching)
 
@Geobits I've never seen Notepad is not responding before...
 
9:16 AM
I want to give monaco menlo's sexy @ sign
 
9:39 AM
0
Q: Difference of three input integeres

MirImplement a function diff that takes as input three integers x, y, and z. It should return whether subtracting one of these numbers from another gives the third.

 
9:53 AM
@NewMainPosts Waiting for OP to make this not a function...
(their last edit's phrasing is still a little unclear)
 
Why GOLF CPU when we have Redcode?
 
like
the language from core war?
i don't know what redcode is but that's what wikipedia pointed me at
also to the best of my knowledge GOLF CPU challenges never really went anywhere
i think there might be one
 
10:24 AM
it might be recency bias but also death of a bachelor might be the best p!atd album
you know what's eerie? when you put a song with vocals into one of those horrible mp3 -> midi converters and play it with a piano soundfont or something, and you listen carefully, and you can still kind of hear the vocals
i heard it explained to me as any sound being representable as the sum of sine waves and you can approximate that with a piano so it makes sense
it still weirds me out
 
@CᴏɴᴏʀO'Bʀɪᴇɴ \o/ LimpSex now has interpreter!
 
10:46 AM
Redcode can be used to fastest code challenge by providing 2 warrior that is fought together separated by CORESIZE/2 addresses.
 
11:09 AM
crypt of the necrodancer is pretty fun
 
0
A: Sandbox for Proposed Challenges

tehtmiSloppy Shuffle Write a program that will shuffle the numbers from 1 to 52. Rather than from your language's random facility, the result will be determined by the input. But not in any particular way -- however you choose! The shuffle does NOT need to be uniform. The Rules Each submission shou...

 
I just bit into a moldy sandwich. o-o Mistakes have been made.
 
my friend once ate a loaf of moldy garlic bread over the course of a week without realizing it
he thought it was seasoning
 
11:25 AM
That's very not okay. xD
 
every day he was like "i love this garlic bread. i wonder why no one else is eating any." and also every day he was like "fuck, i have a stomach ache again??? why is this happening to me"
 
> I wonder why no one else is eating any.
That should be the thing that tips you off. xD
 
i mean, i can't fault him too much
i've done stupider things
 
I think the stupidest thing I've ever done was when I asked someone how you spell the word "a".
 
i've got to admit, that's a good one
 
11:36 AM
1
Q: Apply Kirchhoff's law

Sixty-sixLook at the following diagram: Using Kirchhoff's law, you can see that i1 + i4 = i2 + i3. Given two lists, one with all the currents entering the junction and one with all the currents leaving the junction except one, output the last one. Testcases: [1, 2, 3], [1, 2] = 3 [4, 5, 6], [7, 8] =...

 
0
A: Sandbox for Proposed Challenges

Christian IrwanShow me your OOP popularity-contests Your task is to implement OOP that have this feature: Inheritance (Single dispatch) Class Your submission have to translate this pseudo-code into your languages. class Animal{ Animal(string name){ printLn("An animal has summoned " + name); ...

 
12:08 PM
@Lynn nice idea with the pairwise difference there :P
 
Actually, I’m not sure it works, now...
 
maybe Jelly does pairwise stuff on unequal-length lists like CJam by simply retaining the extraneous elements from the longer list?
 
Oh, that seems to be the case. I can flip my arguments back around and it’ll work
I thought it was padding with zeroes
 
12:24 PM
Chat Micro-Challenge: Find the FullForm of this without using Mathematica:
0
A: Inverse function

LegionMammal978Mathematica, 19 bytes 1&#@pxE+0&0+Log@#&1 Reversed: 1&#@goL+0&0+Exp@#&1 This was interesting to golf! Mathematica has no line comments / implicit sting endings, so I couldn't take the simple route. Instead, I used the fact that 0 + x == 0 and that 1 x == x, no matter what x is! Testing: In...

 
12:40 PM
0
A: Sandbox for Proposed Challenges

user2876962Determine if a given loan repayment schedule is a weekly or a daily schedule? Problem scope Its a real life problem which I recently fixed with >90% accuracy but wants to know if there can be near to 100% accurate result. Winner will be the one that can show using datasets that his solution wil...

 
1:03 PM
0
Q: Let's make some noise

BálintCreate a program, wich generates and prints out a pseudo random noise, like perlin or simplex noise. Anything goes, value noise, perlin noise, even implementations of the voronoi noise is okay. Rules You need to take in the size of the noise with stdin (if your language doesn't have one, e.g....

 
1:25 PM
0
Q: Etch Escher in 1k of code

NathanielThis is a virtually identical challenge to Paint Starry Night, objectively, in 1kB of code, but with a different image. Starry Night is quite blurry in appearance and has large areas of fairly uniform colour, whereas this one has lots of high-contrast detail. Will this change the nature of the mo...

 
2:17 PM
"This creep's m.o. is simple: Netflix and...kill." -- from my unfinished screenplay BINGE MURDERER
morning
 
2:52 PM
183
Q: Trolling the troll

Erel Segal-HaleviA troll has captured you and is forcing you to write malware (defined as a program that damages the computer that runs it). The troll can read and understand code, but is not so good at spotting bugs. Your goal is to write a program that: Looks like malware; i.e., a beginning programmer readin...

Trolling the troller of the troll.
Trolling the troller of the troll trolling troller.
And... Nobody's online.
 
Currently doing some Latex
Here's one line:
\begin{axis}[width=1155/4pt,xlabel=Time Spent,ylabel=Price,title=Payment Rates,axis x line=bottom,axis y line=left,xticklabel=$\pgfmathprintnumber\tick~\mathrm{hours}$,yticklabel=$\$\pgfmathprintnumber\tick.00$,x tick label style={rotate=90},xtick={0,6,...,48},ytick={0,18,...,144},grid=both,minor tick num=2,major grid style=thick]
 
3:08 PM
Any golfing suggestions? :p
 
Payment Rates -> Pymnt Rts
 
Tm Spnt/Prc?
 
pi@vtcpi:~ $ crontab -e
no crontab for pi - using an empty one

Select an editor.  To change later, run 'select-editor'.
  1. /bin/ed
  2. /bin/nano        <---- easiest
  3. /usr/bin/vim.tiny

Choose 1-3 [2]: 2
crontab: installing new crontab
@Doorknob Nano is superior.
 
0
A: Sandbox for Proposed Challenges

randomraSort by Multiplying Your should write a program or function that given a list of positive integers multiplies each element with the smallest positive integer possible to create a strictly increasing list. For example if the input is 5 4 12 1 3 the multiplications will be 5*1=5 4*2=8 12*1=12...

 
3:26 PM
@Quill *monking
 
this isn't CR
 
4:21 PM
Yes, and I am glad for that.
2
 
-__-
*dies inside*
 
Sorry.
 
how is this room so slow with 31 people in it
 
'tis a weekend
 
@Quill CR questions are at least less annoying than ones from WorldBuilding (and some from Academia)
 
4:29 PM
Meanwhile I'm getting awesome speeds of 130 kB/s trying to run an apt-get upgrade
 
plz help how do i speed 19th byte i tri with 31 people but no messags
 
Kirchoff's current law — Luis Mendo 3 hours ago
Did he have a different one before? Wait...
 
haha
 
@quartata bi juic avacado adn pt on sinmin role
 
@quartata needs moar jquery
 
4:32 PM
@Quill pls no
 
@Doorknob I know you're being sarcastic, but 130 kB/s is what I get on a good day.
 
I'm still trying to LaTeX
 
@RikerW $("#ohYes")
 
i once had my internet drop to literally below 1 byte per second
 
Tikz matrix alignment is annoying...
 
4:32 PM
@quartata post a conversation starter: toilet glue
 
i could have yelled ones and zeros faster than i was receiving internet
 
@Dennis Same.
 
my bluetooth headphones were not playing nicely with my laptop
 
@Dennis I feel sorry for you.
 
66% [439 texlive-latex-extra-doc 29.7 MB/332 MB 9%]       141 kB/s 1h 10min 51s
Well, suddenly this doesn't seem so bad. :P
 
4:35 PM
@Dennis will there ever be a tryitonline API?
 
@Doorknob 332 MB of docs? Why are you downloading that?
 
@Dennis uhh idk it's part of the texlive package ¯\_(ツ)_/¯
 
@Downgoat For snippets and such? Probably. There are other things that I want to get done first though, such as a byte counter, image output, etc.
 
@Downgoat No need; it's literally one simple POST request
 
@Quill This 1.5 Mb cat gif just took 12 seconds off Dennis' life
 
4:37 PM
@quartata The problem is CORS...
 
@Calvin'sHobbies imagine how much longer it took for me to upload that with worse upload speeds
 
upload speeds are always slower though (for normal plans)
 
user image
2
@Quill see? ^
 
@Dennis XMLHttpRequest cannot load http://brainfuck.tryitonline.net/. Origin http://codegolf.stackexchange.com is not allowed by Access-Control-Allow-Origin.
 
4:40 PM
> $(this).val()
 
And as proof of our nerdiness, 'minecraft' has 734 results in geobit's 19th byte dump, and 'nethack' has 504.
Those are not the same proportions as minecraft players and nethack players worldwide, so we must be more nerdy.
 
That's what Doorknob gets for not starting a competing Nethack server
 
Everyone knows Neopets is not a shining example of web design. It still largely runs on 1999 tech. It uses tables for layout, inline <font> tags, etc. But the following is, I shit you not, a line that I see if I Ctrl-U on the Neopets home page: <td align="left"><b><font color='green'><b>13 / 13</b></font></b></td> I don't think it's ever been correct to use <b><b> two bold tags </b></b> for emphasis.
 
@aditsu is it intentional that set intersection doesn't use the same equality semantics as =? (the latter seems to do some type coercion but the former doesn't)
 
I was thinking about a nethack koth where you try to get as many points as possible, but IDK if anybody would care about nethack like it.
@undergroundmonorail oh god no
 
4:43 PM
It's from a different time.
 
YOu have cool random facts to post in here a lot, I like them.
 
i am almost always barely holding myself back from just pouring a stream of consciousness into chat, so if it's quiet I might as well let loose a little bit :P
 
Go for it.
 
@undergroundmonorail Tell us about your parents. Were they rail guided transport as well?
8
 
one of the rules of improv is to say "yes and" but i'm bad at improv and having trouble with the part after the "and"
3
i also didn't sleep at all last night
 
4:54 PM
Why improv?
 
because i don't chat with a script
 
I chat with vimium.
 
@Downgoat My bad. I needed a second one for the scripts. Try now.
 
@VoteToClose what do you use to run the PPCG design userscript?
 
@Dennis Hm :/ still getting XMLHttpRequest cannot load http://brainfuck.tryitonline.net/. Origin http://stackoverflow.com is not allowed by Access-Control-Allow-Origin.
 
4:58 PM
@RikerW I'm not VTC, nor am I at all involved with the PPCG design stuff, but iirc you use tampermonkey on chrome
 
@RikerW Tampermonkey for Safari. c:
 
Okay, I am trying to test it with safari on my computer.
 

« first day (1835 days earlier)      last day (1480 days later) »