« first day (1711 days earlier)      last day (3126 days later) » 

12:27 AM
0
Q: Generate the Temple Skyline Sequence

Calvin's HobbiesConsider the following process: Take some non-negative integer N. e.g. N = 571 Express it in binary with no leading zeroes. (Zero itself is the only exception, becoming 0.) e.g. 571 = 1000111011 in binary Break apart consecutive runs of ones and zeroes in this binary representation. e.g. 100...

 
@Sp3000 There you go ^
 
I thought about attempting that challenge in Befunge. For about five seconds.
 
Oof sorting, damn wouldn't have thought of that
 
....is there a 'sort this list of arbitrary integers' catalog challenge?
 
Not sure, but Martin was struggling to work out whether any sorting algorithm should be allowed or we should have catalogs for each major sorting algorithm
 
12:34 AM
Mmm, that is a very valid consideration.
 
1:08 AM
has there been a "semigraphics"-based ASCII art competition yet?
 
2:06 AM
I have 0.008 bitcoins. What can I do with them?
 
Dunno, are they worth anything any more? I cashed the couple I had out when they hit $1k a couple years ago.
 
Looks like they're worth $243.41 (USD) now.
@PhiNotPi So you have $1.93 worth of bitcoins.
 
So, maybe a cup of coffee?
Maybe you could buy an avatar from a starving artist?
 
@xnor Not sure if you've seen, but huzzah shorter way to format string > 1 elements (PEP498)
 
@Sp3000 Oooh, this looks awesome. And not just for golfing.
 
2:17 AM
@PhiNotPi Why do you have Bitcoins?
 
I think Ruby has a similar thing? Or was it Perl?
Either way, it'll be nice to have indeed :)
 
@AlexA. I got them a while back from a contest I participated in.
 
@Sp3000 Perl has a similar thing.
 
The OP gave out some hard, cold, BTC.
 
Oh, one of the challenges here?
I remember someone offering monetary rewards. There was some meta discussion about it.
 
2:18 AM
yeah
 
Answer: Both of them have similar things :P
 
I'm kinda thinking just donate it to the PPCGMC server.
 
I can't figure out how to turn my next weekend project into a challenge, but there's gotta be something there...
 
> Sticky. I have too little time and too many things to do.
I see no reason to precede that information with the word "sticky."
> Sticky: Mr. Richard Cooper
Take a shower, Richard. Jesus.
 
You don't know what Mr. Richard has been through. Maybe he has a good reason for being sticky.
 
2:35 AM
We both know he has no exuse.
@Doorknob Vim question for you.
 
Very important, mysterious.
 
@Calvin'sHobbies Are you sticky?
 
uh oh. turns out you can only change your name every 30 days :|
 
Has anyone on here ever used OpenShift (by redhat)?
 
@Vɪʜᴀɴ Haha yeah, Digital Trauma once changed his username to Maria Tidal Tug, an anagram of Digital Trauma, for April Fool's Day. He learned the hard way about the 30 day limit.
2
 
2:46 AM
@AlexA. Okay, but don't tell me the question, because I can read your mind.
 
Okay, I won't. I await your answer.
 
(that's what I always say to people who tell me "I have a question" and don't tell me what the actual question is...)
 
Oh, I do that to announce to someone that I'd like to ask them something other than the usual dumb shit I say in here.
Do you use pathogen and am I supposed to have a ~/.vim directory?
 
Yes and maybe.
For question #1, my dotfiles repo is available on Github for you to peruse if you please. :P
For #2, it depends on whether you need one or not.
 
Oh, so it isn't there by default then?
 
2:49 AM
I'm not sure whether it exists by default.
But nothing bad will happen if you delete it, presuming there's nothing in there anyway.
 
Okay. I don't have one, which is why I ask.
I'm considering this, or at least experimenting with it, but it requires more Vim setup than I understand.
 
Oh, that's not too hard.
Just create an empty .vim directory, and create an empty bundle directory inside of that.
Then git clone the repo inside the bundle directory.
Once you've done that all you need to do is install Pathogen and you're good to go.
 
That's it?
 
Yep.
 
Oh.
I was expecting all sorts of pain and torture.
 
2:52 AM
Instructions on installing Pathogen here.
 
I already have that page open. :)
 
You could also use Vundle or some other plugin manager, but I prefer Pathogen because of its simplicity.
 
Yeah, it seems really friendly.
I have a feeling that things like this require ritual sacrifice, pain, and other sufferings when used with Emacs.
 
Uhhh... yeah, sure. :P
 
Or maybe I just assume that because I understand Emacs even less than I understand Vim, which is really saying something.
I used to think it wasn't possible to exit the man pages in the terminal.
@Doorknob How do I change the settings so that julia-vim doesn't default to using tabs when it autoindents?
It's a regular Pathogen thing
Or is that something I configure specifically in my .vimrc?
 
3:04 AM
@AlexA. :help 'tabstop', :help 'softtabstop', :help 'expandtab', :help 'shiftwidth'
 
@AlexA. Somebody claimed that you can change your username as much as you want using different sites
 
this is true
 
So let's test that
 
(Well, only as many times per month as there are sites in the network)
 
@ChatRelay How did you change your name back? Has it been 30 days?
 
3:11 AM
No
 
hau u do dis
 
1 min ago, by Calvin's Hobbies
@AlexA. Somebody claimed that you can change your username as much as you want using different sites
 
2 mins ago, by Doorknob
this is true
I thought I'd made it perfectly clear that I'm an idiot.
 
And now...
 
... for something completely different...
caching ruins the suspense
Here, I'll refresh your chat profile for you. :P
There!
 
3:14 AM
Woah
 
Oh no it's Dr. Creep
 
You made my screen reload from afar :O
 
I can make everybody's page refresh by hitting the "freeze room" button. :P
(Giving someone room owner privileges also refreshes them, even if they're already a mod.)
 
I remember that!
That was a special day.
Congratulations to Mr. Creeper for having a son!
 
Thing is, I keep changing my name on PPCG and SO and it's never not letting me or mentioning the 30 day limit.
 
3:18 AM
Huh. That I didn't know.
 
And I should be Geoborts now
2
 
Maybe there's a time of when usernames "lock in"
 
I'm gonna go to sleep now. Maybe if you bother @AlexA. enough, he'll refresh your profile for you. :P (or you can just wait for the cache to expire)
 
Goodnight, Scooby @Doo!
 
3:19 AM
.___.
 
@AlexA. Evolve me please
 
Ok
Haha! Geoborts.
 
There we go
 
"Geoborts"? I miss all the exciting things.
 
@Geobits evolved into @Geoborts.
 
3:25 AM
Oh, that makes perfect sense. Pokemon, anyone? :{
 
Has anyone on here ever used HerokuApp? How exactly does it work?
 
@Calvin'sHobbies and @isaacg have.
Pyth runs on Heroku
And the informational site about the PPCG Minecraft server is also on a Heroku app IIRC
Can you confirm, @Geoborts?
 
Yeah (though that's just basic html, you can have fancier things)
 
Like Pyth
That's a fancy thing.
 
@AlexA. Can you refresh me one last time :)
 
3:27 AM
I can do it as many times as you want now that I figured out how.
 
Is Pyth just a javascript interpreter?
 
No
 
So when does this become libel?
 
Pyth is a Python shorthand, essentially.
 
3:28 AM
(I know CJam is)
 
It's written in Python. The online version runs the Python on the Heroku server.
@CᴏɴᴏʀO'Bʀɪᴇɴ That's how it started. It's evolved considerably since its inception.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm talking about what the interpreter is written in.
I didn't know if cross-compiling was involved.
 
@Geoborts Never.
 
@AlexA. Huh. I haven't followed Pyth much
@PhiNotPi Ah, I see.
 
@PhiNotPi It's a place to freely host web apps (the free one aren't that powerful afaik, lots of traffic might break them). You download their toolkit and make a site using one of their languages (they have python, ruby, php, and more). You can do server side stuff and all, not just client-side.
 
3:30 AM
@PhiNotPi Nope. Just Python.
Phi loves Perl.
 
@Geobits Hello
 
Isn't that a pretty ancient meme?
 
@Geoborts ROFL YOUR AVATAR
@PhiNotPi What meme?
 
What do you meme?
 
Way to ruin the memes.
 
3:31 AM
XD Da avatar is real
 
Well I need to stay like this for a few days and then see if I can change back.
 
@PhiNotPi Random question: Why phi not pi?
 
make sure you annoy Geobits in the meantime
3
 
@Geoborts Why does everyone like to pick on Geobits?
Not nice man
 
Well this isn't awkward at all.
 
3:33 AM
Nope
 
I can't tell which one is the original.
 
It's like I've died and gone to chat heaven.
3
 
@PhiNotPi I am, ask me something only the true Geob-users know!
 
That's easy. Geoborts' Avatar looks worse >_>
 
3:35 AM
Almost as if it's... worthy of downvotes.
 
Geoborts + Geobits = 0/0
 
@Geobits Hmm, it does
 
Anyway, have fun being weird. Time for sleep.
 
user image
3
 
@CᴏɴᴏʀO'Bʀɪᴇɴ No particular reason.
 
3:39 AM
@PhiNotPi Cool ^_^ I like phi because FIBONACCI
 
Although φ != π for real.
 
:24534425 .__.
 
Don't worry about it.
 
What's a Fibonacci number
 
3:42 AM
My avatar should be better now (or soon)
 
It's a number in a series that is produced as thus:
f(0) = 0
f(1) = 1
f(n) = f(n-1) + f(n-2)
 
ಠ_ಠ
 
So, f(2) = 0 + 1 = 1, f(3) = 1 + 1 = 2, f(4) = 1 + 2 = 3, f(5) = 2 + 3 = 8...
(The result of adding the previous two results in the series: 0 1 1 2 3 5 8 13...)
 
/me has degree in math, is fucking with you
 
xD well then. And e ^ (pi * i) = -1.
 
3:44 AM
@Geoborts Yes, looks better now.
 
not HerokuApp
although I'll probably try that too
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Yep. Because e^(i*theta) = cos(theta) + i*sin(theta). Plug in π for theta and you get cos(π) + i*sin(π) = -1 + 0 = -1.
 
wtf are sin and cos
 
@AlexA. Nice!
@Geoborts Trigonometry.
 
3:47 AM
sins are bad things that people do. cos is slang for "because"
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't think so...
 
@AlexA. Quiet you!
 
I dint say nuthin
 
... :(
 
3:48 AM
That's not nice
 
That's really nice
 
Okay, sorry guys.
 
:)
that was actually a very harsh tag, I'm impressed by myself
 
... I've had my daily dose of people. Good night ^_^
 
3:50 AM
bye!
wow, Alex actually left
I give him 5 minutes
 
@AlexA. How about: what does the plot of y = sin(sin(sin(...sin(x)))) look like (where there are arbitrarily many sins)
 
@AlexA. bye bye birdie
 
RIP pigeon
 
@Geoborts Sorry, my computer beeped. I saw your comment. It would look like this. DESMOS FTW shuts down computer
 
@AlexA. If you ever come back, I've finished my explanation:
1
A: Counting groups of a given size

DennisCJam, 73 bytes 0ri:Re!Rm*{:Tz0=R,=[R,Te_]m!{~ff{T==}e_}/=&},{:T,e!{:PPff{T==P#}}%$}%Q|,+ The time complexity of the above code is worse than O(n!n). Input n=4 is already to much for the online interpreter. Using the Java interpreter, input n=5 could be possible, if you have enough RAM and pa...

@Sp3000 12 tasks and still 94 bytes to spare. Impressive!
 
4:06 AM
I swapped Labyrinth back from is_power_of_two to divmod_by_7. But the TRANSCRIPT/Rail problem hurts :/
 
(I'm trying to decide if my tag actually was too harsh, or if Alex actually needed to leave)
Perl actually seems an easy way for me to make a webpage
I made a simple edit to the default here: koth-phinotpi.rhcloud.com
It gives a new random number every time I reload the page.
 
4:30 AM
(Damn you can't do "a""b" in Perl :/)
 
To concatenate? No, that doesn't work.
 
0
A: Sandbox for Proposed Challenges

Liam NoronhaMachine Learning I want to see how well you can build a simple AI that learns. The challenge is to create a program which: (1) outputs 20 integers (1 at a time) and waits for input after each. The input given will be 1 or 0 depending on whether the number is "good" or "bad" based on a predet...

 
It'd be a nice one to fit in since it has heredocs like Ruby... hmm
 
Is it possible for HerokuApp to be running things in the background? Like, not when called by a page load?
 
4:49 AM
0
Q: Create a 'calculator interpreter'

m654Your task is to create an interpreter for a calculator. It has to parse commands like 5 + 5 and return the answer. It has to be able to add, subtract, multiply, and divide. The interpreter only needs to accept two numbers (ex. 9 * 5 and 3 + 3) Examples: Input: 5 * 5 Output: 25 Input: 8 /...

 
5:02 AM
aww yesh
probably doesn't look impressive, but this is me writing a perl program that calls another program (which has the default page)
I also print some miscellaneous debugging stuff.
 
@Geoborts The limit as the number of sines go to infinity is 0, no matter what x is. It's because the only fixpoint of sin is 0.
 
^ agree
 
@ThomasKwa That doesn't preclude a loop though.
But sin(x) < x, always. So as you chain more sines, it goes to 0.
 
Okay, fine. abs(sin(x)>x)<1 for all X, so
wait, no. We don't know it doesn't have a different limit...
 
Err, yes, |sin(x)| < |x|.
... true...
 
5:15 AM
/*
Um, maybe use the Maclaurin polynomial?
 
I feel like that would be just too messy and make things worse.
Wait, I know there's a theorem that you can use to prove the convergence. I don't yet remember what it is...
But it has to do with iteration and fixed points, stable/unstable equilibria, etc.
Well, most specifically, slopes.
 
Why not the good old substitution y = sin(sin(...)) -> y=sin(y)
 
...I think that's rigorous enough. Yeah, that would do the trick.
And then you prove that y=sin(y) has exactly one solution by noting that |sin(y)|<|y| except when y=0.
And you have to prove |sin(y)|<|y|, perhaps by using the Taylor series or something similar.
And then you have to prove THAT...
 
Problems could occur when the limit itself isn't in the domain of the function, but in this case sine is defined everywhere.
 
Aaaaaand the conclusion is that 0 exists, and 1 is the successor of 0.
 
5:32 AM
@ThomasKwa TBH Geoborts (me) was misremembering a math problem from long ago - something like: What does z=(sin(x)*sin(y))^(2n) look like as n -> inf. (Ans: a bed of nails.)
 
In the meantime, I'm actually starting to figure out some of this whole "web development" thing.
 
@Calvin'sHobbies And low n looks like egg cartons!
 
@Sp3000 Not really, since the 2n is there ;P
 
... where n=0.5! :D
 
Speaking of which, is there a notation for things like f(f(...f(x)))? I'm sure I've seen some sort of su.*script used for that.
 
5:43 AM
f^(n) (x) ?
Or maybe f^n (x). I can never remember if I need the parens or not
 
Maybe. But that could get confused with high order derivative notations (en.wikipedia.org/wiki/Notation_for_differentiation)
 
fⁿ(x). Parens would mean the nth derivate.
 
So no parens, right :P
 
But (n) = n in all other situations :P
 
Math is confusing that way. I can think of at least 4 different meanings of (a,b).
 
5:47 AM
Yeah, but this is notation, where |x| means 5 different things depending on what you're doing
 
How about ⁿf(x)? Or is that tetration..
 
@Sp3000 abs, magnitude, bitwise or on both sides... what else?
 
Cardinality and determinant
 
Alright, but it's usually a measure of size of some sort
Well, not determinant
But nobody likes 1x1 matrices :P
 
5:51 AM
0
Q: Sum of multiplication of all combination

pallabSuppose I have an array {1, 2, 5, 4} and m = 3. I need to find: 1*2*5 + 1*2*4 + 1*5*4 + 2*5*4 i.e Sum of multiplication of all combination of m element from an array of n elements. Note i need to find for m=2,3,4. i.e. from m = 2 to n. One of the solution possible is to find all combination a...

 
Trying to think for Dennis' one - tuple, gcd, er...
Open interval...
 
Two arguments -> f(a, b) (borderline)
 
In geometry, a line segment is a part of a line that is bounded by two distinct end points, and contains every point on the line between its end points. A closed line segment includes both endpoints, while an open line segment excludes both endpoints; a half-open line segment includes exactly one of the endpoints. Examples of line segments include the sides of a triangle or square. More generally, when both of the segment's end points are vertices of a polygon or polyhedron, the line segment is either an edge (of that polygon or polyhedron) if they are adjacent vertices, or otherwise a diagonal...
 
N choose k in at least one textbook I'll bet
 
~ is a pretty good one (from the list): has probability distribution, row equivalent to, similar to (geometry), same order of magnitude, asymtopically equivalent to, is in the same equivalence class as
(n, k) does seem like something a textbook might do. I've seen C(n,k) and P(n,k) at least
 
5:57 AM
@Sp3000 ~ always meant row equivalent in linear algera
I guess that falls under "equivalence relation"
 
Challenge idea: "Given a mathematical expression, can you tell which field of mathematics it is meant for?"
 
Too broad :P
 
Pssh not without a proper spec it wouldn't be :P
 
x + i*sin(dx/dy)
 
diff eq
 
6:04 AM
see! not too broad
 
@Optimizer Well, you could mean d*x/d*y, making it algeabra
 
(Looking at that article, I swear and are always "whatever the lecturer wants them to be")
3
 
Why do I need to escape asterisks? d*x d*t
 
That's pretty much the point of those symbols.
 
6:06 AM
I get confused because I see ⊕ as XOR a lot too
 
then ⊗ is xnor?
Who is @Geoborts
 
⊕ is also direct sum and ⊗ is also tensor product. Forgot about those.
 
@Optimizer I'm Geobits. Don't you recognize me Octimizer?
 
@Optimizer Don't trust that guy
 
6:19 AM
@MartinBüttner I feel ashamed that I didn't realise that ,_2,*> was totally unnecessary...
 
@Dennis it's Geobit's new alt
 
6:40 AM
:)
Goodnight!
 
@PhiNotPi I'm the one he uses for upvotes. That is to say, never.
 
How come Alex gets away with creating so many sock puppets?
@Dennis first line is incorrect
pfff
 
7:26 AM
Why do some people not have shadows behind their avatar images in the users page?
 
...that's a really good question. I can't discern a pattern either.
 
Is it that card popup privelege?
This one, I mean
 
But those are the max rep users. They have all privileges, no?
 
"An expanded usercard is only available if there are at least 28 characters in the "About Me" section of your profile."
 
7:40 AM
ah-ha, indeed
 
8:37 AM
user image
3
 
huh
i like that so many people have the "about me" section in their profile filled out with "i've been a hobbyist PHP and C programmer since 2006 and now I'm employed at blah blah blah" or "I developed x y and z and you may know me from blah blah blah"
and my about me section is a screenshot of an anime and the words "whoever has the other half of these scissors is the one who killed my dad"
 
9:16 AM
Welcome to the group of people having totally unprofessional looking profiles.
Why don't you invent a careerpath?
I am looking for something like this, but for a career=)
 
Reminds me of Matlab's why
 
9:43 AM
@undergroundmonorail
> PhD student in applied numerical noncommutative ring theory and abstract pointless topology. After finishing my masters degree I worked as an intern in the Google Y project, where my I could really use my experience as former area 52 test flight engineer.
I used to work with experimental aircrafts after being honourable discharged as a veteran of the vietnam war where I lost both my legs and part of my occipital lobe. This meant that I could not pursue my career as a trapeze artist that I started in the great depression,
Nobody will ever notice.
It's a bird! - It's a plane!
 
@Dennis Can task 5's input be read the other way around (i.e. check first in second)? I think it's the only task you specify an order for, so just checking
 
grc
why do questions get protected on PPCG?
I understand why it's important on other sites, but aren't the popular questions here the best/easiest ones for new users?
 
10:04 AM
@flawr considering your reputation with planes i am worried for this dog
i nearly typed dawg by accident. i guess this is the kind of person i am now.
 
 
3 hours later…
1:24 PM
I'm trying to figure out how one could make an MMOKOTH
7
 
@Status Thanks for the extra info. Do you happen to recall an example of input image dimensions and key image dimensions for which it fails?
 
Did I say something funny?
 
I don't even know what your are talking about.
 
A KOTH that is run as a single trial over some large period of time, as opposed to one that is run in many short trials.
 
@Sp3000 That's just for the explanation. The additional rules say you can read them in any order.
@Sp3000 That's just for the explanation. The additional rules say you can read them in any order.
 
1:31 PM
Oh... okay. Makes things a bit easier then :)
 
Did my edit just cause a double post? o_O
 
Yeah maybe
 
@PhiNotPi Stars are not only for being funny, they are officially for things that are "useful/interesting". It may be that people just really want to see a MMOKOTH.
 
@Dennis Happens sometimes when the first request times out just a few milliseconds.
 
That plus my crappy internet connection would explain it.
 
1:34 PM
Last night, I created an OpenShift webpage. (as far as I can tell, OpenShift is pretty similar to HerokuApp, except that OpenShift supports Perl scripting).
 
@Dennis BTW, are you by any chance from paraguay?
 
@trichoplax That's why I starred it :)
 
@minxomat I live there, yes. Did the crappy internet connection give it away? :P
 
@Dennis No, but a security notice I received from the CDN today. Your Java requests finally arrived :)
 
Anyone here happen to know a language where multiline comments start with a #? :D
 
1:38 PM
@Sp3000 AutoIt.
 
pound question smiley face, or just pound?
 
That's what I meant. Those requests were made by my crappy internet connection. :P
 
@minxomat That looks... pretty useful actually. Will check it out :) (hope there's still something I can fit in these ~50 bytes...)
 
@Sp3000 Every line that starts with # is treated as a preprocessor definition. If the code behind the # doesn't make sense to the PP, it's dropped. Multiline comments start with #cs and end with #ce
 
Can you have stray strings like "a""b" floating about?
 
1:42 PM
?
# this is ignored
#cs
	this is ignored
#ce
ThisIsCode()
 
I mean, if my first line was something like "a""b" before the #cs, would that cause a syntax error?
 
Yes. Unless it starts with ; (the real comment operator) or #.
 
Hmm this might be tough, but I'll check it out thanks :) (downloading atm)
 
I have to get a flu shot in 15 minutes and I'm wearing a long sleeve button up with no undershirt
 
Also (shameless self-plug), Recall uses # as comments. And everything but letters is ignored either way.
 
1:47 PM
Flu shots usually go on your shoulder
It seems unprofessional to take off my shirt at work but I don't see a way around this
 
@minxomat When was Recall made?
 
Went public 7 days ago.
 
@Rainbolt I've had a flu shot on my thigh before. Taking off your shirt (or even just halfway off) doesn't seem so bad in contrast ;)
 
Too new, unfortunately :/
(also "a""b" seems to work fine in AutoIt, amazingly... except msgbox is the only output method I can find so far?)
 
You could also see if they have the flu mist thing available. Nasty sinus draining taste for the rest of the day, but no shot (so no shirt issue).
 
1:50 PM
You can use ConsoleWrite to write to stdout.
@Sp3000
Or ClipPut to write to the clipboard.
 
Ah thanks
 
@Geobits Me too :)
 
... oh the escape character for strings isn't backslash. That might make things trickier hmm
 
@Geobits I'd rather take off my shirt than have nasty sinus draining lol
 
@Sp3000 Depends.
You could use StringFormat to eval a printf-like string.
 
1:52 PM
@Rainbolt Me too. That stuff tastes horrible :D
 
Wow. The folks on SO used to post code with test cases. stackoverflow.com/a/30629/3224483
 
... oh you double up on the quote signs, that's new
 
Or just use different quotes (' or " - no difference).
 
I can't use ' for quotes in my first line, unfortunately :/
 
Then 1) use double double quotes 2) store the quote char in a var 3) use Chr() and an ASCII code or 4) Do 2) and flip the Opt() switch to enable direct references to vars in strings.
 
1:58 PM
Anyone know how to pop an element off of a list in Stuck?
 

« first day (1711 days earlier)      last day (3126 days later) »