« first day (1971 days earlier)      last day (2875 days later) » 

11:01 AM
@Upgoat can i be gaot jr
 
11:12 AM
@miles Did you do that algorithm just because it is fun or because it is the shortest?
 
Use the fact that totient is multiplicative to make another solution in J using recursion :) — Leaky Nun 45 mins ago
@LeakyNun That sounds kinda painful, actually - since you need GCD anyway
 
It was just for fun
 
(or factoring, as miles says)
Ah k
I was doing the mobius version in Mathematica, waaaaay too long :P
(also for fun)
 
mobius version?
 
It's like the n*product(1-1/p for p prime dividing n) formula, except it's n*sum(mobius(d)/d for divisors d dividing n)
 
11:18 AM
I see
what's mobius?
 
It's related to your favorite squarefree numbers :P
For the rational functions defined on the complex numbers, see Möbius transformation. The classical Möbius function μ(n) is an important multiplicative function in number theory and combinatorics. The German mathematician August Ferdinand Möbius introduced it in 1832. It is a special case of a more general object in combinatorics. == Definition == For any positive integer n, define μ(n) as the sum of the primitive n-th roots of unity. It has values in {−1, 0, 1} depending on the factorization of n into prime factors: μ(n) = 1 if n is a square-free positive integer with an even number of p...
 
Oh, nice
 
@DrGreenEggsandIronMan When you become DJ Seuss, make your avatar the Cat in the Hat with headphones :d
 
500 Internal Server Error

Sorry, something went wrong.

A team of highly trained monkeys has been dispatched to deal with this situation.
If you see them, send them this information as text (screenshots frighten them):

    AB38WEMkRdCjBAsIUPCeePbQsN6U5LFvo8SIghKwS4D9CVRFWn_FiNFY
    WD7kNoFRk7xIGI0qVVhIsC38w7dy3F1spae1KBYI6Yik4vm17uDrNDym
    wnZQcYyiXC1FvTJWIZYsj5ZSqOmFWrus1gLFiDTsIjgYDQqKjoFv8b3Z
    zG7nCXBgt8sY4RtYx--smB8mbL5bfv40eo8uUB1SlG4-Te6Qw6-rX5Hk
    yL7lLpOqc8fsjUVF0gmzXBof3hN-FVnUogszDSV1Sz6SjljMQh-SqoQz
^ From YouTube
 
11:34 AM
@LegionMammal978 Send the URLsafe™ base 64 data to the monkeys.
Why will they bring you the page for else?
:P
One thing... how to contact them?
By email? IDK if monkeys ever have email. Struck out,...
...by phone? IDK how to parse their answer. Struck out,...
 
..by monkey-messenger, obviously
 
... by Urbit by Twitter by Facebook ...
 
you don't have a resident messenger at your house?
 
@EᴀsᴛᴇʀʟʏIʀᴋ I don't know what their handle is on the monkey messenger.
@EᴀsᴛᴇʀʟʏIʀᴋ I don't have a messenger man. I only have myself at home.
... by Google+ by Reddit ...
._.
 
@zʏᴀʙiɴ101 oh it doesn't have one
feed a slip with the info (i.e. adress) to it (through the mouth)
and give it the message, nd it takes it.
 
11:38 AM
I don't see the monkeys.
 
you have problems then
go get monkey
 
@rolfl
He doesn't repond.
 
yah
other monkey without se accout
 
11:57 AM
Currently trying to get my old Nexus 7 to boot after being dead for 3 months
 
12:12 PM
@LegionMammal978 2012 or 2013?
 
@DrGreenEggsandIronMan Hmm... yeah, that would be difficult. I can't think of a non-terrible way of doing it other than by modifying neovim's source code. I guess you could have 0 mapped to "map every motion to "do nothing and restore the normal mappings""... :/
 
@LeakyNun Obligatory Jelly: ÆF*/€
 
@Lynn Nice use of reduce!
 
:)
 
^ I don't even understand what it's supposed to be
 
12:57 PM
@Fatalize Do you know FM radio? If used correctly, it may be a decent random number generator.
So, I used this form of RNG to generate variable-sized bit packs.
Want one? Go to the Sandbox.
@Kek eke
Welcome to Stack Exchange chat!
 
@isaacg Feature request: swap the parameters of a pf2, e.g. /.~NY becomes /YN
 
What to do with my FM radio bits? Throw them away?
 
@Upgoat COME JOIN THE GOATNESS
 
1:14 PM
@Mego Seriously, actually how do I do the equivalent of [a]*b?
Looks like it is ;n@╟ or something similar
 
@Fatalize congrats :)
 
@Fatalize Fe/licitations!
 
@Adnan For wasting my work time here? Thanks I guess :(
 
> Great minds waste time alike —PhiNotPi
 
1:18 PM
@Fatalize yes
 
Reputation on PPCG: 6066. Reputation on Mythology.SE: 1011. Cool. :P
 
brb upvoting your answers on ppcg 60 times
 
^ wat
 
then 6666
i'm not actually though
 
@Fatalize Tu créerais un "cheatsheet" pour ta langue?
 
1:23 PM
can't access dropbox
reason: "wasting my work time"
 
ninja'd
 
NINJUIC NINJA'ED
 
1:25 PM
what would a cheatsheet contain for a natural language?
 
@Fatalize Je veux dire brachylog
Well,
 
@Fatalize This was pretty useful to me even though it's for Python 2 and I was working in Python 3: rgruet.free.fr/PQR26/PQR2.6.html#SpecialMethods
 
I think he means french.
 
Wait, you said natural, not mainstream. Nevermind...
 
@LeakyNun Oh, langue isn't used for programming language, we use langage
 
1:27 PM
@Fatalize Ah, merci pour enseigner
 
@LeakyNun What would be the point, I'm the only one to use it :p
 
(dit-on "apprendre" aussi pour "enseigner"?)
@Fatalize Not really. If you could provide a quick-ref then I may use it
 
@LeakyNun enseigner means to teach something, not used for "you taught me this small fact"
 
Oh, thanks
what would I say instead?
 
@LeakyNun Hmm, I could but I don't see how I would explain the overall flow in a cheatsheet
since it's not stack or procedural based
 
1:30 PM
@Fatalize Maybe just a quick-ref of all the commands
 
@LeakyNun It would be "Merci d'avoir pris le temps de me l'expliquer"
 
those with prolog background could understand
@Katenkyo Merci pour expliquer?
 
We generally don't thanks people for teaching us something, but for the time they "wasted" for us
 
I see. That's strange
 
@LeakyNun Merci de me l'avoir expliqué
 
1:31 PM
@Fatalize That's golfier
 
Even shorter: merci
 
@Fatalize Sounds strange to me
 
or merci pour l'info but that's less formal
 
@Fatalize that's even golfier
 
@Katenkyo to me too, sounds very formal
@LeakyNun Also how would I effectively describe on a cheatsheet the overloaded nature of built-ins?
 
1:33 PM
@LeakyNun In order : "I'm thankful that you took time to explain that to me"; "Thank you for explaining that to me"; "Thanks"; "Thanks for the intel"
 
e.g. + on a single integer is absolute value whereas + on a list is sum of elements
 
@Fatalize We have a language when we can use everything very formaly, but we usually never do that, that's sad D:
 
@Katenkyo Merci, je peux les comprendre.
 
@LeakyNun De rien mon ami :)
 
@Fatalize Well, that's your business :p
 
1:36 PM
@LeakyNun Also, why do you want a french cheatsheet?
 
@Katenkyo no, I didn't. C'e/tait une miscompre/hension
 
@LeakyNun I'll see what I can do, remind me in a few days if I haven't said anything
 
@LeakyNun I love your és ^^. Also, we usually say "C'était un quiproquo", as miscomprehension doesn't exist in french :)
 
@Katenkyo Merci
@Fatalize D'accord
 
too much french
 
1:41 PM
@Fatalize Une que/stion.
Je vois ce mot souvent
 
. o O ( « Merci pour l’explication » ? )
 
@LeakyNun (no acute on the e of question)
 
Oh, right
 
@LeakyNun Which one?
 
@Lynn thanks
@Fatalize "Unify".
What on earth does it mean?
 
1:42 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Yeah, it's like Greek to me!
 
X = Y in Prolog unifies X with Y, which means that X and Y are the same thing
 
@El'endiaStarman looks more like italian, but whatever
 
and they will always be the same from this point, unless you backtrack to before that statement
So if you say X = Y, Y = 'test'
then X = 'test' immediatly
 
@El'endiaStarman υελλ, ιτ ις νοτ γρεεκ
 
@zʏᴀʙiɴ101 gotcha
 
1:45 PM
but X = Y, Y = 'test', X = 42 will return false
 
@ArtOfCode Yeah, the instance is currently down.
 
@Fatalize What does X = X do?
 
@LeakyNun Always true, because X is always X no matter what value it has
so it does nothing in a sense
 
@Fatalize So before Y= 'test', both X and Y are nil?
 
@LeakyNun They have no value
once they are unified, they cannot change value
 
1:46 PM
How to test if a variable has no value?
 
@LeakyNun There's something so wrong about writing one language with the alphabet of another...
 
var(X) is true iff X is not unified
 
@El'endiaStarman It's called transcription.
@Fatalize You write var(X) in Brachylog?
 
The power of unification is this: X = [1,Y,3], Y = 2, will result in X` being [1,2,3]
@LeakyNun No that's in Prolog
 
How do you do it here?
 
1:48 PM
@Lynn It would be correct, but never heard someone using it
 
Try to unify it to something that cannot be its value and if it succeeds that means it was a free variable
 
@LeakyNun (Ça m’étonne que tu puisses écrire tous les symboles drôles de Jelly etc., mais tu bâcles les é :D)
 
Do you guys use do...while loops? I just used one, and I think it was my first one.
 
@LeakyNun question is transparent, no accent in french :)
 
@Lynn Bon je juste les copie de le "tutorial"
 
1:49 PM
@Bálint happens to me some times
 
@Katenkyo Mmm. Language is so tricky. I wish I was better at French!
 
@LeakyNun Unification is basically pattern matching equality
 
@Bálint where?
 
@Bálint I’m making a PICO-8 game, and I’ve used two of them so far!
It’s surprising when they show up, though.
 
@Lynn French is a pain, and the worst of this language comes from the French people, because we always go for the hard way of saying something
 
1:51 PM
@LeakyNun in a convex hull algorithm
 
@Katenkyo Haha, so I’ve noticed :D
 
@Fatalize Quels sont : . et ??
 
@LeakyNun I'm not sure if you're joking or not, but I don't think that's called transcription. The way you wrote it with Greek symbols looks like the English version, but does not sound or mean the same in the slightest.
 
@Lynn You're making a paid game afterall?
 
@LeakyNun List separator and list appender, . is the Output variable of the current predicate and ? is the Input variable of the current predicate
 
1:52 PM
Because you must pay for PICO-8 :/
 
@Bálint I think the most common vague pattern I use them for is
do
    randomly generate some thing;
while (the thing is invalid)
 
@El'endiaStarman It doesn't look like the English version, each letter corresponds to the English alphabet
 
You can play PICO-8 games for free! The editor is well worth the $15
 
@LeakyNun Well, okay, but it'd still sound very different.
 
> The editor is well worth the $15
 
@El'endiaStarman The only mismatch for sound would be the "εε" vs. "ee"
 
@Bálint Can you think of a good reason to use a do-while-false loop? x: Think C++... or bad coding standards :D
 
I wouldn't pay 15 dollars just to make a game. I'll use anything except PICO-8 for that.
Like BASIC.
 
2:00 PM
@zʏᴀʙiɴ101 And would you use ASM?
 
@Katenkyo Assembly is way too hard.
 
@Poke Those make sense if you put continue in one, I guess
To restart the loop
(Aside from the popular/freaky use in C macros)
 
@Lynn the continue would end the loop since it would jump to the condition, i think. You're correct about the C macros though. Gold star
 
So it's been 3 months since I last asked this, and now that I've got shiny new stuff: is there anyone in this room who wouldn't mind (re-)breaking/testing a website?
 
@Katenkyo But you may help make a game by splatting ASM over Basic and the Screen 12/13 layer. :3
 
2:03 PM
Oh, you’re right. Some languages have redo though; I was confusing it with that
 
But you're also correct that you can break or continue out of it
which acts like a poor man's goto
hence "bad coding standard"
 
@Poke label is love, goto is life
 
bleh
 
@zʏᴀʙiɴ101 I would only touch ASM again if I have to work on embedded things :)
 
@ArtOfCode I signed up.
 
2:06 PM
@Lynn Ah. So I see we have a problem :)
 
Well, goto isn't as bad as it's made out to be. It's easily able to be easily horribly abused, and that's the problem.
 
I'm (179-250)*-1 rep away from closing questions.
 
I was sooo tempted to paste in the entire script to Bee Movie.
 
@TimmyD Yep, the problem doesn't lie in goto itself, but in the bad habits people had with it, and how it can make a program's flow hard to read
 
2:12 PM
I'll sign in too
 
Challenge idea: Game: Even or Odd?
 
@zʏᴀʙiɴ101 What is that?
 
Gameplay: The player is prompted to enter Even (2) or odd (1)? and answers with one of two numbers -- 1 or 2, then the computer randomly chooses one of those.
The result of comparison of the entered number with the factual is displayed. The object is to guess their equality.
If both numbers are equal, the player wins, and a truthy value is returned. Else a falsy one.
 
@ArtOfCode the length of question body is broken
 
@EᴀsᴛᴇʀʟʏIʀᴋ oh?
 
2:17 PM
it says "error not under 30,000 chars" but it's 29,999
 
@ArtOfCode probably don't want debugging in production goo.gl/dkVJlM
 
in Mos Eisley, 1 min ago, by Himarm
http://i.imgur.com/b4Ooqum.gifv THIS IS SO ONTOPIC WATCH
you have to watch that
 
@ArtOfCode probably don't want to reveal all of this info in the server response header Server:WEBrick/1.3.1 (Ruby/2.2.1/2015-02-26)
 
@Poke not massively worried, this is dev not prod, but yeah
 
oh it does say stage.
i'm dumb
 
2:20 PM
Buttons don't work for me
only on this page
 
@zʏᴀʙiɴ101 qhO2
 
@ArtOfCode why
that's mean
no mod elevens
 
@EᴀsᴛᴇʀʟʏIʀᴋ eh? I haven't elevened anything yet today...
 
somebody did
@ArtOfCode no on qpixel
 
@EᴀsᴛᴇʀʟʏIʀᴋ eh? I'm not even on it right now :)
 
2:23 PM
hm
who has rename privs?
 
Oh, renames. Yeah, that was me.
because they were seriously slowing things down
 
2
Q: Rube Goldberg Hello World

SteeveDrozFor this golf, you will need to use more than one language. The task A Rube Goldberg machine is a contraption that takes an enormous number of complicated steps in order to execute a very simple task. The goal of this golf is to output Rube Goldberg... but not directly. The machine Your "mach...

 
Rebooting the server because y'all ran it out of memory somehow :)
 
Lua : print"Even (2) or Odd(1)"return io.read()%2<1
@zʏᴀʙiɴ101 ^
 
@ArtOfCode that was me
 
2:25 PM
@ArtOfCode oh don't flatter yourself, you don't get that much usage. It was simply a memory leak.
:P
 
it doesn't like 80,000 char usernames
 
@Optimizer yeah, I think I actually do have one somewhere
 
@Katenkyo Nope.
 
@zʏᴀʙiɴ101 Why nope?
oh, forgot the random part xD
was distracted xD
 
First, the prompt must be Even (2) or odd (1)? or be absent altogether (thanks @LeakyNun).
 
2:27 PM
@ArtOfCode are you allowing the use of html markup? stage.artofcode.co.uk/questions/78
 
@Poke yeah, markdown
Similar set to what's on SE
 
@zʏᴀʙiɴ101 Lua: return io.read()==math.random(2)
 
@EᴀsᴛᴇʀʟʏIʀᴋ This is one of the greatest things I've seen on the Internet.
 
for ease of testing you can use print(io.read()==math.random(2))for the same byte count :)
 
2:29 PM
For everybody who didn't see it:
9 mins ago, by Eᴀsᴛᴇʀʟʏ Iʀᴋ
http://i.imgur.com/b4Ooqum.gifv
You have to watch it. It is too good to not watch.
 
I finally have 1k rep! \o/
 
0
Q: Write a chicken interpreter(or a compiler) in Code golf

Matthew RohIf you have seen the language "Chicken", You will be impressed. If you didn't, Do It. You will be impressed. Anyway, This Code golf is about it.(Yes, the "Chicken" thingy) You have to write an interpreter for that! What you have to do is simple. Get a file name from user input. Read the fil...

 
> You will be impressed.
You don't get to tell me whether or not I'll be impressed!
 
@MartinEnder the tag is no longer used. Burninate it?
 
@El'endiaStarman Exactly what I thought
@mbomb007 Thanks for the edit!
 
@zʏᴀʙiɴ101 I don't think there's anything to burninate.
 
@EᴀsᴛᴇʀʟʏIʀᴋ what about it?
 
@ArtOfCode Clicking on "edit" on this page just gives me a blank page :)
 
@ArtOfCode i might play more later. work to do
 
OBTW it won't let me edit in more than about 100 chars...
 
2:40 PM
1 minute 22 seconds in and I'm sharing this video in here:
IT'S SO COOL
 
@Katenkyo norepro
 
Ah wait, norepro.
 
@EᴀsᴛᴇʀʟʏIʀᴋ it's probably too long already
 
it worked though
 
@MartinEnder The tag is, because it's no longer used and created without meta consensus.
He should create a meta post before adding the tag: "Should we have [multiple-languages]?".
 
2:43 PM
... that's completely different
 
No there isn't. The closest thing is but that's sort of meant to be a winning criterion.
(although it has the same problem as multi-part challenges)
 
@MartinEnder Largest answer ranked by programs?
 
anyway, yes, he should create a meta post before creating the tag, no a tag without any answers does not require SE staff intervention. the tag will be roomba'd automatically soon enough.
 
@EᴀsᴛᴇʀʟʏIʀᴋ yeah, it's just about under 30k
 
with the ====?
 
2:50 PM
@EᴀsᴛᴇʀʟʏIʀᴋ Wait, that's a thing in JavaScript?! </derailment>
 
@El'endiaStarman Yes.
Both items give DNA samples to ==== to check if they are equal.
 
@MartinEnder Now every point is thanks to you xd
 
0
A: Rube Goldberg Hello World

BálintPython -> Batch -> Javascript -> Java -> PHP -> C++ -> Foo -> Brainfuck 31 points Python print'@echo alert`void f(){System.out.println("echo\"void f(){cout<<\\"\\\\"-[--->+<]>---.----[-->+++<]>.+[->+++<]>.+++.--[--->+<]>-.+++[->++<]>+.[--->+<]>++.---.--------.--.+++.+++++++++++++.-----------.\\...

 
Oh hey cool I had an answer ready for that
Ah, he changed the rules. Good.
My answer was complete bullshit anyways
 
3:04 PM
Pyth -> pl -> cat -> Chaine -> PHP -> ///
"Rube Goldberg
 
@quartata Where is the PHP in it?
 
@Bálint With no <?php tag PHP just outputs its source
 
0
A: Rube Goldberg Hello World

zyabin101Python → Ruby → Bash, score: 35 / 2 = 17.5 print"puts'echo \"Rube Goldberg\"'" when executed in Python, gives puts'echo "Rube Goldberg"' with the \"s escaped. Next, this, executed Ruby gives echo "Rube Goldberg" and lastly, executing this in Bash gives Rube Goldberg which is the expec...

 
Same for literally everything else on that list
 
@quartata Post it, you get 3.5 points
Still isn't the shortest
 
3:05 PM
No, it's not allowed.
 
What?
 
It's allowed, but it only counts as one language
I mean two languages
 
> NOTE: Languages that outputs their input can't be used. That would be an extra language with absolutely no additionnal byte.
 
so you get 14 points
 
That's why I said it was complete bullshit
I know about 15 other languages I could add
Plus I could compress the string and make the first language Jelly
 
3:06 PM
But that's technically not the input
 
I know it's poorly worded but this is his intent
He meant source code
 
You could also add Foo
It's just a "
 
True true
 
Batch would be a plus @echo before it
 
I think that would make the ratio worse (too many chars)
 
3:09 PM
Yeah, if I think it trough again, it would
Then reverse it, put 2 "-s around it and boom, Befunge
@quartata !v"<source here>"r! <- Fish
 
0
A: Sandbox for Proposed Challenges

uoɥʇʎPʎzɐɹCRender Simplified Markdown code-golf Your boss is bored so he wants you to golf him a text-to-html markdown editor. Fortunately, he only uses a few of markdown's syntax. Simplified Markdown Specification Lines that start with # should be enclosed in <h1> and </h1> Lines that start with ## ...

 
3:27 PM
@El'endiaStarman yes
totally
very much so
 
3:47 PM
ok now this is gonna sound really stupid, but I'm drawing a blank
 
(We all know @Fatalize doesn't want to, so @Fatalize you can safely ignore ^.)
@AshwinGupta Which blank?
 
which slope is "least". A negative slope (like -5) or a posituve decimal slope (like: 0.5)
I mean negative slopes are always less then even though the slope is steeper right?
 
Updated link: choose
 
@AshwinGupta Depends upon what you're trying to measure.
If you're looking at the actual curvature of the slope, to see which is more "steep", use the absolute value (i.e. the magnitude), so |-5| > |0.5|
If you're looking at the raw numbers, say for use elsewhere in a derivative chain or something, then -5 < 0.5
 
Alright now, no one wants the FM radio random bits. :| What should I do with them? Throw away?
 
3:59 PM
eBay
 
kek
 

« first day (1971 days earlier)      last day (2875 days later) »