« first day (1919 days earlier)      last day (2916 days later) » 

12:08 PM
how did a guy come from inside of the plane 6 min in the video?
he didn't look like the pilot.
 
@NewMainPosts Thanks in advance.
 
@KennyLau "I SURE DO LIKE IT WHEN PEOPLE PING ME IN MY FREE TIME"
 
lol
 
"NO PROBLEM"
 
@Doorknob's blog only has one entry and it's about the software his blog runs on
 
12:17 PM
0
Q: Find the number of ways to choose `n` objects from `r` objects with repetition so that every object has a matching neighbour

Kenny LauFor example, if n is 5 and r is 2, it would mean the number of lists below: [1,1,1,1,1] [1,1,1,2,2] [1,1,2,2,2] [2,2,1,1,1] [2,2,2,1,1] [2,2,2,2,2] which is 6. If n is 4 and r is 3: [1,1,1,1] [1,1,2,2] [1,1,3,3] [2,2,1,1] ... [3,3,3,3] which is 9. where each item has a neighbour whose val...

 
@NewMainPosts Thanks :D
@NewMainPosts Could I bother you again?
 
didn't someone get in trouble a long time ago for insisting on thanking @NewMainPosts
well, "got in trouble"
was asked to stop
 
@undergroundmonorail What kind of trouble?
lol ok I'll stop then
 
i mean i don't mind
just heads up, you might be asked to stop :P
 
ok, thanks :)
 
SFRUITW'd //o\\
 
@undergroundmonorail SFRUITW is second fastest runner up in the West.
 
0
Q: Counting triangless

Kenny LauMary has given John two sticks of lengths a and b respectively, where a and b are positive integers. John is very curious. He would like to know how many triangles with integer perimeter can be formed, by having one addition side. Please help him find it out. (This is my first time composing ...

 
12:35 PM
@KennyLau seriously though, what is the point of posting 8 challenges in a day? (and a Sunday on top of that)
also meh about the bonus on the combinatorics challenge
 
> This is my first time composing this kind of stupid stories in coding problems
if you find them stupid, leave them out? I personally don't think they improve the clarity of a challenge specification at all. instead, the challenge could use a "worked" example, i.e. a list of all triangles for some input.
 
But.... but it is traditional...
 
[citation-needed]
 
have you ever googlecodejam?
or any coding puzzle sites
 
12:46 PM
PPCG is neither of those sites
people do occasionally include these stories, but it's nowhere near traditional here
 
is @KennyLau on crack or what? Ten billion challenges in one day
 
@Fatalize Nice to meet you.
 
Nice to meet you to. So, are you? :p
 
@KennyLau That's about as relevant as "have you ever project euler? or anarchy golf?"
 
@Sp3000 truedat
@Fatalize I am fine, not on crack, thank you.
 
12:51 PM
0
Q: Polygonal numbers

Kenny LauA polygonal number is the number of dots in a k-gon of size n. You will be given n and k, and your task is to write a program/function that outputs/prints the corresponding number. Scoring This is code-golf. Shortest solution in bytes wins. Testcases Can be generated from this Pyth test suit...

 
@MartinBüttner Gonna add soon
@Agawa001 hai
 
@KennyLau hello, ur activity is remarkable today
 
To be fair green points are addictive
 
> [Test cases] Can be generated from this Pyth test suite.
@KennyLau please include some in the challenge itself
 
@MartinBüttner Done.
 
12:59 PM
yes it is, please if someone can decrypt this answer i fail to deceipher those talismans
 
@KennyLau oh I meant polygonal numbers but okay
 
yes the first was needlessly clear
 
@MartinBüttner Done.
 
@EᴀsᴛᴇʀʟʏIʀᴋ monring
 
1:05 PM
@EᴀsᴛᴇʀʟʏIʀᴋ ohai
 
how is that o(n) complexity algorithm works ?
 
6:00 on sunday = brain went awol
but somehow I can sstill code.
 
map(lambda d: "coding is "+d , ["love", "life"])
 
@Adnan ...
ಠ_ಠ
 
Hahahhaa, sorry :p
 
1:06 PM
and life is coding
 
@Adnan It's okay.
But @NewMainPosts deserves to be thanked.
Tʜᴀɴᴋ ʏᴏᴜ @NᴇᴡMᴀɪɴPᴏsᴛs ғᴏʀ ᴀʟʟ ʏᴏᴜʀ ʜᴀʀᴅ ᴡᴏʀᴋ!
 
@EᴀsᴛᴇʀʟʏIʀᴋ ಠ_ಠ
 
EᴀsᴛᴇʀʟʏIʀᴋ @ಠ_ಠ
 
ಠ_ಠ
^_^
>_<
 
1:08 PM
|     |
| ^_^ |
|     |
Happy treemote.
 
@MartinBüttner Kudos for finding the algorithm.
 
@KennyLau added proof to the Jelly answer
@EᴀsᴛᴇʀʟʏIʀᴋ not this again...
 
sorry, just once
not planning on restarting
 
FGITW'd \o/
 
1:21 PM
have you played Fez?
 
1
Q: Random word-sentence-story generator

CJ DennisThis question got me nostalgic: Build a word generator! In the '80s I wrote a simple word generator in under 42kB (code and working memory) that would take a collection of strings and use them to create new words and phrases. Your task is to recreate this program in as few bytes as possible, wi...

 
@MartinBüttner no, but I want it.
never got around to buying it.
rofl
> not Kenny
 
@EᴀsᴛᴇʀʟʏIʀᴋ I told him to change his name lol
he really followed
 
Have I broken the record?
 
1:28 PM
for?
 
@KennyLau This is definitely not a record you should be trying to break. Your latest one is basically chameleon challenge.
3
 
@Sp3000 Too many chameleon challenges xd
Like this
2
Q: Counting triangles with integer perimeter

Kenny LauMary has given John two sticks of lengths a and b respectively, where a and b are positive integers. John is very curious. He would like to know how many triangles with integer perimeter can be formed, by having one additional side. Please help him find it out. (This is my first time composin...

 
Chameleon challenges aren't interesting, prepare for downvotes.
 
1:30 PM
That one wasn't a chameleon challenge in the sense that it didn't come down to a non-obvious trick in the test data
 
kenny hold on ur horses man
 
Preparing down votes...
 
@EᴀsᴛᴇʀʟʏIʀᴋ Prepared.
 
@EᴀsᴛᴇʀʟʏIʀᴋ Re: your comment though - "is input in this set" is interesting sometimes (e.g. regex golf), but just not when there's a trick you have to get
 
0
A: Sandbox for Proposed Challenges

user81655How Many Colours? Take grid of ASCII art rectangles as input and output the minimum number of colours you would need to colour it in so that no two rectangles of the same colour are touching. Rules Input can be any type of grid format (multine string, array of strings, etc...). Rectangles onl...

 
1:33 PM
@Sp3000 yeah, but this challenge really comes down to inputlength%2
 
okay I'll come up with a more interesting challenge xd
 
No. Stop posting challenges.
 
@KennyLau I think we're good for now.
 
-1
Q: Am I happy or sad?

Kenny LauYou are trying to guess my emotion. I will give you an adjective, as the input to the function/program. Your task is to output my emotion, either :) for happy, or :( for sad. Details For these adjectives, you must output the happy face :) contented delighted merry overjoyed pleased blessed c...

 
Eight is plenty enough for a week.
 
1:34 PM
I think we're at 10.
 
@KennyLau s/interesting/well-written and well-thought out/, the latter of which takes time
3
 
[↓↓↓]> >="==-
  [↓↓↓]>="==- @KennyLau
 
Oh, downvote blaster?
 
@El'endiaStarman Yup. :P
 
@EᴀsᴛᴇʀʟʏIʀᴋ Where is our consensus on chameleon challenges?
 
1:38 PM
20
A: Things to avoid when writing challenges

xnorChameleon challenges Chameleon challenges look like they're about one thing but are really about another. In doing the challenge, most of the effort is spent on something peripheral. Fix this by being honest about your challenge in the title and description, or by simplifying or removing the non...

 
@KennyLau idk
allowed but not interesting
 
@El'endiaStarman I've red it. Sure my question was a chameleon but those examples in your page seem to have a lot less to do with my question...
 
Oops, stock out.
 
@KennyLau this is a dupe then.
of any parity-print challenge
 
@R.Kap Re: your comment on Adler-32 - maybe it's just me, but when I see something like S=sum I expect S to be used at least 4 times (or similarly, 3 times for E=65521). Otherwise it's unnecessary obfuscation that makes it harder to tell what's actually helping and what's not.
 
1:52 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Please go find one.
 
> @VTCAKAVSMoACE we don't try to filter through proxies; it doesn't really work if they're encrypted. For now you'll have to avoid using your proxy to use SelfControl.
Apparently it's a [status-wontfix]. :-(
 
You guys are in luck
I won't post any more question before I finish this:
1
Q: Random word-sentence-story generator

CJ DennisThis question got me nostalgic: Build a word generator! In the '80s I wrote a simple word generator in under 42kB (code and working memory) that would take a collection of strings and use them to create new words and phrases. Your task is to recreate this program in as few bytes as possible, wi...

 
@KennyLau i know of one, but I can't find it right now.
minecraft mirrored
 
@VTCAKAVSMoACE You'll say "Ikr", right?
 
2:04 PM
Apple's bug reporter site is down for an "unknown cause".
@zyabin101 It kinda defeats the purpose of SelfControl, I'll admit.
 
cool
but you have been ninja'd
 
ninja'd: When posting on a forum, you submit a post only to find that someone has posted the same thing only seconds earlier.
You could have just said that Easterly already posted that
 
well "ninja'd" is quite popular here
 
"seconds earlier" :/
 
2:10 PM
alright
 
Hi @NewMainPosts
 
Hi @NewSandboxedPosts
 
@MartinBüttner can we say hi to the feed bots if we don't thank them?
@CᴏɴᴏʀO'Bʀɪᴇɴ FOG ANSWER THAT ISN"T NON_COMPETING!!
0
A: Am I happy or sad?

Eᴀsᴛᴇʀʟʏ IʀᴋFuzzy Octo Guacamole, 22 bytes ^!_2rm{':('0}i{':)'1}_ Gets input, finds length%2, prints :) vs :( for on a remainder of 1 or 0.

 
I thought someone just said they don't like chameleons
 
yeah, I don't.
But I like FOG.
 
2:33 PM
@EᴀsᴛᴇʀʟʏIʀᴋ I don't like fog, it makes it too hard to see when driving...
 
...
Q_Q
@Downgoat if you don't like it, learn to like it.
 
@EᴀsᴛᴇʀʟʏIʀᴋ how do I learn to like fog?
 
0
Q: Can you allow ASCII-only and Unicode answers in the one challenge?

CJ DennisI have a question that is intended to allow Unicode. No-one has posted an answer yet but someone has asked if it can be ASCII-only. That would drastically change which languages were competitive. Can I have the same challenge but score ASCII-only against ASCII-only and Unicode against Unicode? I....

 
by learning to like fog
 
0
Q: Automatic house-builder

SolverAutomatic house building nanobots have been fabricated, and it's your job to code them. Here is the house created by input 7 4 2 /-----/ / /| |-----| | | | | | | / |_____|/ The input is a string containing the house's dimensions. 7 is the width. |_____| ---7--- 4 is the he...

 
2:51 PM
@Solver WELCOME BACK TO PPCG!!!
 
@EᴀsᴛᴇʀʟʏIʀᴋ Back?!
 
yeah
his account got nuked for being < 13
SE says you have to be at least 13 to participate on any sites.
 
I see
 
@Solver what do you mean bounty?
nvm
@KennyLau what does (...) do in Lua?
 
args
 
@EᴀsᴛᴇʀʟʏIʀᴋ BACK?!
I should lobby Stack Overflow, Inc. by mail to nuke it again.
 
0
A: Sandbox for Proposed Challenges

user81655Wheels on the Bus Go... Scenario There are a number of buses heading for an intersection. There's a bomb on every bus. The bombs blow up if the speed of the bus they are on falls below 50 miles-per-hour. Find out what speed each bus needs to travel at for none of the bombs to blow up. Input ...

 
@zyabin101 D:
 
user207712
Hi!
 
user207712
@zyabin101 what's up
 
3:16 PM
@Solver Hello!
 
user207712
did you figure out how to use gulp?
 
@Solver I thought your account was nuked...
But you returned?
 
@Solver are you the real Solver?
how can we be sure?
 
@Dennis How is that not a duplicate?
 
@Optimizer The real Solver uses an identicon instead of an actual avatar.
Looks like he cut out his previous avatar from chat.
 
3:29 PM
@KennyLau The sequences in the other challenge are infinite, with an infinite number of trailing zeroes. That's not a big difference, but enough for me not to unilaterally close it.
If I still had a close vote, I probably would have cast it though...
 
@MamaFunRoll I very much wish there was a Katbot for Slack. Are you planning to implement Katbot for Slack? ;-|
 
@Dennis I think my questions followed this:
2
Q: Tips for writing good code golf questions

xnorI think the code-golf tag wiki doesn't have enough on writing a good code golf question. I'd like to collect advice on these, and perhaps the most well-liked can be incorporated. What makes a code-golf question good? What are some pitfalls to avoid?

But how to make them better?
 
ohai @Solver
i gtg, can't stay
bai!
 
@zyabin101 I should make a Chatgoat for slack...
 
@EᴀsᴛᴇʀʟʏIʀᴋ BAI
@Downgoat But without the copycat stuff.
 
3:33 PM
@zyabin101 what copycats stuff
 
@Downgoat The associations.
 
?
 
Chatgoat listens for associations with messages he says.
(Well, that's my own vision of Chatgoat's internals.)
 
Yeah, I've created a experimental version of Chatgoat that can construct his own sentences but it doesn't work
such citation
 
@Downgoat Link?
 
3:36 PM
Guys
Does O(Fib(n)) count as O(e^n)?
 
@zyabin101 link to the citation or the source?
 
@Downgoat Source.
 
@KennyLau there is a formula for fibonaci iirc
non-recursive
 
Deep learning (deep structured learning, hierarchical learning or deep machine learning) is a branch of machine learning based on a set of algorithms that attempt to model high-level abstractions in data by using multiple processing layers, with complex structures or otherwise, composed of multiple non-linear transformations. Deep learning is part of a broader family of machine learning methods based on learning representations of data. An observation (e.g., an image) can be represented in many ways such as a vector of intensity values per pixel, or in a more abstract way as a set of edges, regions...
 
@KennyLau I'm probably the wrong guy to ask. I haven't posted a lot of questions.
 
3:37 PM
@Dennis But the one you posted received 25 upvotes
@Optimizer I mean O(Fib(n)), like the time complexity is Fib(n)
 
that's what i am saying
 
@KennyLau That's probably because Mark Adler answered it.
 
@Optimizer It's approximately phi^n
phi ~ 1.618
so does it count as O(e^n)?
@Dennis Your opinion? Or should I ask it in meta?
 
1
Q: A Non-recursive Fibonacci Sequence

Adhiraj MandalHow can I determine the general term of a Fibonacci Sequence? Is it possible for any one to calculate F2013 and large numbers like this? Is there a general formula for the nth term of the Fibonacci Sequence? If there is a combinatorial formula, that is more preferable; some formula like Fn = xC...

 
@KennyLau Ask what on meta?
 
3:41 PM
Does O(phi^n) count as O(e^n)...
@Optimizer You're still not answering my question...
 
but if its a formula, doesn't it make it constant time?
 
....
 
apart from power calculation
 
if n=1
I would need 1 step
if n=10
I would need Fib(10) = 55 steps
 
@Downgoat YES
oohhhh @Downgoat I have one going
 
3:42 PM
@Optimizer Do you get it
 
jsut a simple framework thouhg
needs a better messaeg system
 
@KennyLau yeah.. now that i consider multiplication..
 
@EᴀsᴛᴇʀʟʏIʀᴋ niec spieling. I geuss paws aer aslo dificlut to tpye wiht
 
@Optimizer ...
The time itself is Fib(n)
not the problem
the problem is not to find Fib(n)
 
ohh
yes its exponential
 
3:43 PM
@Downgoat yeah
bot is python code with selenium, will send you later.
you can port to js if you want.
 
@Optimizer So maybe you could help me convince this guy:
0
A: Find the number of ways to choose `n` objects from `r` objects with repetition so that every object has a matching neighbour

proud haskellerHaskell, 12.9 (43 bytes) r#n|n>3=r*r#(n-2)+(r-1)*r#(n-3) r#1=0 r#_=r Usage: evaluate r#n This uses recursion without memoization, as it uses two decreasing calls per call, so it uses less than O(2^n), which is low enough (it also uses less time than O(phi^n) = O(Fib n), but it doesn't really ...

 
@EᴀsᴛᴇʀʟʏIʀᴋ :D of course I'll port to JS
 
@Dennis Sneaky, taking that answer from my Mapping of Primes question
 
user207712
@Downgoat I wasn't there, did you figure out gulp?
 
user207712
@Optimizer I can prove that I am the real Solver
 
3:49 PM
ok prove
 
@Solver I'm still using grunt as it has more plugins
 
user207712
The silence reigns on.
 
@Downgoat quality over quantity man!
 
@Quill Nice catch on string escaping. I was thinking of the (albeit slow) approach of iterating through each property and seeing if it starts with on. I currently have this:
function stringifyHTML(element){
	var result = ("<" + element.tagName.toLowerCase() + " ").trim();
	var attr = [];
	for(var i = 0; i < element.attributes.length; i++){
		var cur = element.attributes[i];
		attr[i] = cur.name + "=" + '"' + cur.value + '"';
	}
	result += attr.join(" ") + ">";
	result += element.innerHTML;
	result += "</" + element.tagName.toLowerCase() + ">";
	return result;
}
 
@Optimizer they don't have really any difference in quality, just usage.
 
3:51 PM
wrt number of plugins
 
user207712
i'm trying to run a git server so intermittently in this room.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ what was wrong with .outerHTML?
 
@Downgoat ... I don't know, I haven't tried that yet
 
this might also work:
2
A: Get the whole document's html with JavaScript/JQuery

DowngoatThis is a function which has support in IE6+, it does't use outerHTML for even more support, it adds the doctype and uses a few tricks to get the html tag and its attributes. In order to receive a string with the doctype, and doesn't use outerHTML so it supports every browser. It uses a few trick...

 
user207712
@zyabin101 You're right. I only had one last window open, and I snipped it out.
 
3:53 PM
0
Q: Smallest groups in an array

AdnanIntroduction Let's observe the following array: [1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1] A group consists of the same digits next to each other. In the above array, there are 5 different groups: [1, 1, 1, 2, 2, 1, 1, 1, 1, 2, 2, 2, 1, 1, 1] 1, 1, 1 2, 2 1, 1...

 
@Downgoat outerHTML does most of what I want, except that it doesn't retain all things that can be in the HTML tags
 
user207712
@CᴏɴᴏʀO'Bʀɪᴇɴ Hiya!
 
@CᴏɴᴏʀO'Bʀɪᴇɴ what does it not retain?
 
@Downgoat onclick.
 
3:53 PM
Thank you @NewMainPosts.
 
@Adnan ಠ_ಠ
 
That was really quick though
 
wait since when did you have more rep than me
 
"I thought thanking feed bots is discouraged."
 
@CᴏɴᴏʀO'Bʀɪᴇɴ :)
 
3:54 PM
Actually, it's not. :-)
 
All you newcomers are surpassing me in rep >_< First Luis Mendo, then (Downgoat?), now Adnan XD
 
@Downgoat Cite the message(s) because I don't participate in cheddarlang.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I've only been here 5 less months than you so I wouldn't call myself a newcomer :P
 
@Downgoat Relative newcomers.
 
3:56 PM
> somebody [11:29 PM]
D: @easterlyirk is infecting you with bad spelling
 
@Downgoat Oh, I can't see that because I have to log in
 
@Downgoat Danke schon.
 
@Downgoat what's spelled wrong?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ bye
 
@Downgoat bye?
what?
 
3:57 PM
@Adnan You have to participate in cheddarlang and ask for permit from @Downgoat to log in.
 
here's a transcript:
 
@LegionMammal978 Oh, I didn't remember that one. Yes, that's exactly the same idea.
 
@El'endiaStarman Cool!
 
Oh hahahaha
 

« first day (1919 days earlier)      last day (2916 days later) »