« first day (2064 days earlier)      last day (1902 days later) » 

7:00 PM
o_O ProgramFOX is the RO of the sandbox
@TùxCräftîñg was that really necessary?
................................ no
in The Sphinx's Lair, Aug 22 '14 at 14:28, by Feeds
I have achieved sentience.
CMC: repeat every character of input rand(10,20) times and print
are those bounds inclusive/exclusive/mixed?
7:08 PM
@DJMcMayhem Ruby: puts gets.chomp.chars.map{|c|c*rand(10..20)}.join
there's *'' for join
also that's ruby repl, not ruby :P
is p acceptable?
just do $><< inside the loop and you won't even need join at all
@DJMcMayhem vyTÝT+.R×J
7:10 PM
Random good idea: create a bot to play the wiki game.
@MartinEnder works
@BaldBantha isn't that the standard crawling exercise?
@MartinEnder uh, I'm not sure. How about same as python, so [10, 20)
10 in CJam, then: q{AmrA+*}/
PowerShell v2+, 48 bytes -- -join([char[]]$args[0]|%{"$_"*((Random 10)+10)})
Ugh, why do people not even test their code before they submit it as an answer?
from random import*
print("".join(randrange(10,20)*c for c in input()))
That's way too verbose
> The GNU website states "Obfuscated 'source code' is not real source code and does not count as source code."
@TùxCräftîñg has that ever been contested in court?
@DJMcMayhem x=>x.repeat(Math.floor((Math.random()*20)+10))
man javascript is verbose
At least you don't need an import for randomness
7:25 PM
1 ??! 2 is a valid C code.
@DJMcMayhem you could use randint instead of randrange
ZzZ work on a friday isn't very exciting
@DJMcMayhem you could also do the multiplication backwards to remove the space before the for
It would have been so much better if import random from random actually imported a random module every time the statement is executed.
7:32 PM
CMC: Implement ^^
Converted mana cost?
Caloric Metal Converter
chat mini challenge
really rainbolt?
No, not really
2 green, 1 white, and one of those godawful explicitly-colorless
7:34 PM
Color Machine Converter: Create a program to find funny meanings to CMC
@TimmyD We call it "grey" at my store, because it's the sixth color that WotC won't admit to.
Hah, that's fair.
print("".join(c*(hash(c)%10+10)for c in input()))
@TùxCräftîñg Done!
def __init__():
 eval("import " + random.choice(modules))
def __init__():eval("import "+random.choice(modules))
7:39 PM
@TùxCräftîñg Cat's Meow Cat
CMC: ಠ_ಠ
Classy Magnificent Cat
CMC: Star this
@TùxCräftîñg Done.
CMC: Solve this CMC
7:41 PM
@TùxCräftîñg Reminds me of a rock I saw that had "Flip me over" painted on top and had "Haha, you took orders from a rock" painted on the underside
Q: common logging api using Flask (python)

hirok biswasIs it right to use common logging api for python, php and NodeJs.??? is it also right if i want to use same schema/table for every request data storing???? how can i distinguish themselves.... (i am processing json data)??? i am using this from flask import Flask from flask import request, jso...

i am sure they try to do a weird thing with trigraphs
7:53 PM
ಠ_ಠ in two CR answers for C++ i have seen “return 0 is unnecessary”
return "0";
@TùxCräftîñg yeah, they're right
@Mego I use netBeans, and I have only once before gotten create project with existing sources to work.
8:12 PM
Q: Prime counting function

PavelIntroduction The Prime Counting Function, also known as the Pi function π(x), returns the amount of primes less than or equal to x. Challenge Your program will take an integer x which you can assume to be positive, and output a single integer equal to the amount of primes less than or equal t...

Q: BrainF*** interpreter

TùxCräftîñgI recently wrote a simple BrainF*** interpreter in Ruby: require "io/console" $VALID = "+-<>.," def parse(code, level=0) ast = [] while !code.empty? do c = code.shift if c == "]" then if level == 0 then throw Exception.new "Unmatched brackets...

;_; no builtin allowed
8:30 PM
:32515937 Maybe I should send this to CR :D
(btw i didnt received the ping wtf)
@mınxomaτ Gah, please can you update those links?
only 9 views on my cr question ;_;
yay a upvote
8:43 PM
@BetaDecay What links? There's only one link not working and it's not even important to the answer.
it's a link to the specs of the lang
I know.
and the link is dead
I want to see the spec though :|
8:46 PM
minxomat.github.io/Recall OMG FANCY ANIMATION +1
Can you not post the same thing two times?
@EᴀsᴛᴇʀʟʏIʀᴋ it says WIP for a reason
@flawr: This Math.SE question just reminded me of how, yesterday while I was tutoring a student in Differential Equations, I decomposed a fraction into three parts (Wikipedia). I then had something like an epiphany where I realized that the denominators of the resulting fractions were basically basis vectors.
West in Peace
9:05 PM
Unfortunately, the student didn't know Linear Algebra, but man, that was a cool realization.
The fraction was $\frac{x^2+1}{x-x^3}$, incidentally, which decomposes to $\frac{1}{x} + \frac{1}{1-x} - \frac{1}{1+x}$. Since these are linearly independent, it immediately follows that any polynomial with $x-x^3$ in the denominator and a numerator that is at most degree 2 can be decomposed into fractions with denominators $x$, $1-x$, and $1+x$.
261 workhours, 38 minutes, and 35.238 seconds as of the start of this hour
That's how long I've waited for Amazon.com Customer Support.
@El'endiaStarman You could consider this as an example of a K[X]-module within the field K(X)!
@El'endiaStarman Cool idea=)
@flawr That too!
9:14 PM
CMC: Output a random existing YouTube video URL. All public videos must have a non-zero chance of occurring.
@El'endiaStarman PS: EEEWW, DE's are so GROSS
@flawr I know, I never did like diff eqs.
@ΛεγίωνΜάμμαλϠΟΗʹ youtube.com/watch?v=dQw4w9WgXcQ chosen by a fair dice roll
back down to 39 rep out of nowhere...is it possible that the question I had answered earlier today was deleted?
@El'endiaStarman They are not math, they are analysis.
9:15 PM
@TùxCräftîñg You caught me :p
@TùxCräftîñg You delete a lot of your messages
Haha, my alg.geom. prof. just recently said math is part of geometry =)
@ΛεγίωνΜάμμαλϠΟΗʹ really? o_O
you have been caught by an obvious rickroll
don't need no character limit when I've got a three-em dash
9:19 PM
wait your dash is bigger
or 1908+ idk
wtf the ad is borked
@TùxCräftîñg wtf le ad est borkée
s/le ad/la publicitée/
Q: Brainfuck with C# operator overloading

Adrian IftodeI overloaded some C# operators to get a pseudo version of the Brainfuck symbols in the effort of understanding the flow of this language. I got this version: void Main() { /* * Write `Hello World!` * using operators overloading for brainfuck symbols */ var _ = ne...

je ne sais pas beaucoup de français
9:31 PM
@TùxCräftîñg that looks like it tried to attack you?
it's visibly java that went mad becuz a xml file is malformed
Nice of you to post here rather than some other site. — 200_success ♦ Feb 29 at 1:05
huh avocado KOTH + quine
9:56 PM
Idea: avocado tree Koth!
@uoɥʇʎPʎzɐɹC then don't make a PR
Close it, address the changes in some other way, then reopen.
@EᴀsᴛᴇʀʟʏIʀᴋ ^ better than not making a PR.
10:14 PM
@zyabin101 that's pretty dumb
@zyabin101 why not just keep it on your own branch
and only make a PR when you are finished
But he already did the PR
@Adnan Nice idea, Oasis! I'm eager to see some OEIS challenge
Oh, wait, now that I've written that I know where the name comes from :-D
10:32 PM
@EᴀsᴛᴇʀʟʏIʀᴋ I've seen internal and external people send WIP PRs. There's even a extension that disables the accept button if WIP is in the title
@MartinEnder If that helps, my alternative to Evernote is a bunch of plain text files in Dropbox, conveniently placed in a folder called "Notes" :-D
Where can I get a nice humanoid shape for POV-Ray 3.7?
@LuisMendo Thanks, I've gone with Google Keep for now. Looks promising so far :)
@zyabin101 tf3dm.com
It should be editable, as in, you can easily move the humanoid's hands/feet.
I also found makehuman.org, however I'm not sure if it works on my system, and also if it exports to POV-Ray.
10:41 PM
What I don't like about Evernote (I never used it, so I may be wrong) is that it seems to be one of those apps who wants to do everything: notes, calendar, OCR, and probably more. But then, I'm probably wrong, as everyone seems to like. What was your experience with it? Why are you moving away?
@MartinEnder ^^
> You will need about half a gigabyte of free disk space.
I do have a few gigs, but apps can't be so bloated.
> In general, your graphics card should support OpenGL Shading Language (GLSL) version 1.2 or above.
No. Just no.
Doesn't sound that bad
@zyabin101 I loved to use POV-Ray 4 years ago, before I really got into programming :) Maybe I should download it again sometime...
10:47 PM
That's actually what I created the first version of my avatar with (it had shadows an a very sharp perspective compared to the regular version)
Show it to me :3
I was going to, but I can't find it :(
I think it's on another computer, lemme check
@LuisMendo it does try to do everything but I didn't really mind that (I just ignored the features I didn't use). I'm moving away from it because they've changed their business model so that you can now only use it for free on two devices and I don't use it so actively that I feel like paying for it.
@MartinEnder Oh. That's a very good reason. Thanks for the info!
@zyabin101 You don't have OpenGL 2.0?
GLSL 1.2 is a pretty moderate requirement considering it's 13 years old
10:54 PM
@zyabin101 That's small. For comparison: A full Visual Studio install (w/ all emulators) + R# + Intel Parallel XE comes close to 45GB.
It's pretty impressive (the disk space) for something that probably has a metric ton of bundled assets actually
@zya gtg, but I'll ping you when I find the avatar
@ETHproductions Okai :3
If your GPU doesn't support it, just get a 5450. It's dirt cheap, handles PCs from the stone age very well and can be OC'ed with no limits.
Just realized that we're coming up on Winterbash 2016 then realized that the first thing that comes to my mind when I think about the winter season is Winterbash and not Christmas
is that a bad thing
11:03 PM
@mınxomaτ One question: I can't afford one.
It's <$15.
And that's not a question.
Not just a pricing issue, but: pricing, will it work on my PC, how to set it up, ...
Well, if you don't even want to spent a few seconds googling that, you don't get to complain about it.
Do you have a GPU? I'd be surprised if it doesn't have GLSL 1.2
Nearest I could find is ASUS Radeon HD 5450.
11:06 PM
@zyabin101 So what?
And it's 2300 RUR here.
That's still cheap.
What is you current GPU?
@zyabin101 Then how would you know it doesn't support 1.2!?!
11:08 PM
Download this and post a screenshot of the window.
Does Windows not come with something like glxinfo
Most users would never need it.
I suppose but I figured it would be crammed in with all the other system info stuff
11:12 PM
@mınxomaτ Okay, I'll just download GPU-Z and send you a screenshot of this. Okai :|
Keep in mind to select the dedicated GPU (i.e. the faster one) from the bottom dropdown if you have one.
(Oh look, I stumbled upon framsticks.com, which is a cool artifical life software, is open source, shareware, but has a free command line interface. WANT.)
Shameless advertisement.
Q: Become the Champion

Rohan JhunjhunwalaTic-Tac-Latin! This is a true story, so names have been altered. My latin teacher, Mr. Latin, created his own proprietary (no joke) tic tac toe variant let's call it tic-tac-latin. The game is simple, it is essentially tic tac toe played on a four by four grid. Formal rule declaration A line...

@NewMainPosts is going to be mad
@Dennis is Jelly parsed with RegEx?
11:22 PM
@zyabin101 ^^
@ConorO'Brien Yes. If there's a better way to parse Jelly's literals (which can get rather complex), I'm not aware of it.
@zyabin101 yes, I have the code in front of me.
@Dennis maybe I'm just niave, but couldn't you just do a simple loop with a readToken function?
11:27 PM
CMC: Shortest code to reverse an array without built-ins
isn't that the -26 challenge
@zyabin101 ?
@ConorO'Brien I thought that allowed built-ins
A: Reverse a 1-dimensional array

Conor O'BrienJelly, 1 byte Ṛ Try it online! It reverses an array. (yay this is my first Jelly answer!)

11:28 PM
^^ built-in
my first and currently only Jelly answer :P
J, 8 bytes: {~i.@-@#
I got 25 bytes in JS, can you figure out how?
11:33 PM
I have 27...
> Give a man a fire and he's warm for a day, but set him on fire and he'll be warm for the rest of his life
Q: Become the Champion

Rohan JhunjhunwalaTic-Tac-Latin! This is a true story, so names have been altered. My latin teacher, Mr. Latin, created his own proprietary (no joke) tic tac toe variant. Let's call it tic-tac-latin. The game is simple, it is essentially tic tac toe played on a four by four grid. Formal rule declaration A lin...

17 mins ago, by ETHproductions
@NewMainPosts is going to be mad
wrong message :P
@ConorO'Brien What's your solution?
11:36 PM
I tried that
but I forgot the [...x] bit
> x = [5, 3, 9, 2]; x.map(_=>x.pop())
[ 2, 9, ,  ]
@RohanJhunjhunwala I have more questions.
CMC: Input is a number, n. Output is {Fibonacci(n)} + {Sum of prime factors of n} + {(n+n)}

Max "n" value is ten million, you'll never get anything more than that. No builtlins, no cheating, no loopholes, etc.
@xnor I opened up a chat room invite. Or you can ask them here
@TheBitByte builtins for fibonacci, prime factors, addition, and doubling? Or what?
you didn't answer my question.
The answer is yes.
11:47 PM
To all of those functions?
yeah that's not fun.
It's a bit interesting.
Which is sort of fun.
@TheBitByte Sum of unique prime factors? i.e. sum of prime factors of 12 -> 2+2+3, or 2+3?
no, it's actually really boring. implementing addition is just useless and has been done for; doubling is basically the same thing.
11:49 PM
@ETHproductions By definition, every integer has a unique prime factor. I don't understand what you mean.
@TheBitByte unique prime factors versus all prime factors.
@ConorO'Brien What if allowed builtins? Would you easy it's easier and then solve it?
@TheBitByte I mean sum of all prime factors, or sum of all unique prime factors?
@TheBitByte yes, I would solve it then.
I wouldn't.
11:50 PM
@ConorO'Brien Every integer has only one unique set of prime factor. It doesn't matter how you arrange it.
@TheBitByte that's false. 6 has two.
It's still just two existing challenges slammed together
@ConorO'Brien By "prime factor" I mean "set of prime factors"
@quartata call it three
@TheBitByte so you want a prime factor set?
@TheBitByte He's asking if you want prime factors with multiplicity
11:53 PM
@ConorO'Brien Look. The set of prime factors of 1,000,000 are: {2^6*5^6} There is no other possible set of prime factors, by definition. Arranging numbers but not changing them doesn't count, because the arrangement isn't labelled as unique in this case.
@TheBitByte typically, prime factors are without exponents. which is why I asked the clarifying question. So you want {2. 5}?
also, proofread your messages before you send them.
@ConorO'Brien Oh, now I see. I want them with multiplicity.
This has nothing to do with the question. Is 12 mapped to 2+2+3 or 2+3
OK there
No I mean plus since you were asking for sum
@quartata Ohh, okay then.
how about a test case?
11:59 PM
OK, I'm building this one part at a time. Here's sum of prime factors in JS:

« first day (2064 days earlier)      last day (1902 days later) »