« first day (1945 days earlier)      last day (2896 days later) » 

1:01 PM
What about 15?
 
@LeakyNun We can ignore 15, and all other numbers that are not of the form p * 2^n for some prime p.
 
oh nice
 
@LeakyNun |stzz
 
@orlp nice, you post it :)
 
I already did
 
1:04 PM
@orlp But it only contains 10 galaxies...
 
@LeakyNun no it doesn't
10 -> 10
 
What are the fixed points?
 
20 -> 20
100 -> 100
200 -> 200
 
oh, nice!
 
lambda n:[n/2,n]["0"in`n`]
does that work?
the fixed points are obviously the numbers with zeroes in them
nah, this doesn't work, since 100 -> 200, so 100 only has one element in it
lambda n:[n/2,n][n%2]
unless I'm mistaken that's i * 2^j for all uneven i
 
1:10 PM
lambda n:n>>n%2
which is already there
 
does the precedence work that way?
oh
@feersum ninja'd me :(
 
Well, since feersum posted it, I would say yes
 
A new cURL logo https://daniel.haxx.se/blog/2016/05/27/a-new-curl-logo/
 
@Quill were you born with that headset?
everytime I look at your picture you're wearing it
 
@Quill Hacker-News-flooded, apparently. :P
 
1:18 PM
@orlp You might want to post that in Jelly: æ»Ḃ
 
@orlp I'm basically always listening to music... usually the specific headset changes in each photo nowadays
 
@orlp oh, in his solution, every even integer is a fixed point
æ»ḂC$
 
@Quill Coolest. Logo. Ever.
^ for the starships to ship stars.
 
That blog doesn't load for me at all.
Ironically.
 
0
Q: Maze traversal with limited memory

GabbekI would like to ask for help. I'm trying to solve a task on checkio site, where I'm learning python. Link to the task: https://checkio.org/mission/forgetful-prisoner/ I've successfully solved the previous part but I'm totally stuck on this one. We're thrown into a dark labyrinth, 12x12 in size - ...

 
1:22 PM
@mınxomaτ If you look at the tweet itself, you can see a bunch of other people have the same problem.
 
Well, someone needs a CDN...
 
@mınxomaτ Same, actually.
 
Wow. That was quick. ;D
 
I had a challenge idea
but with a twist
you need to implement a calculator
 
@orlp What's the twist?
 
1:29 PM
@NewMainPosts /me lands the final blow.
 
that has +-*/^, sin cos tan pi and e
 
like rust-lang.org?
 
the twist is
your program must produce infinitely many digits for any expression
 
so for 5 * 3 your program outputs 15.000000000000000000....
 
1:31 PM
oh
 
for pi it outputs 3.141592..........
 
I don't know of any language that is capable of outputting infinitely many characters...
 
but it should also be able to handle 3*e^(pi - sin(5))
 
so, doing some statistics: there's an .84 correlation between stars and votes
 
@NathanMerrill correlation or causation?
2
we'll never know...
:P
 
1:32 PM
correlation
 
you don't know that
maybe 84/100 stars cause upvotes
 
causation is a type of correlation
 
even if it was causation, there's still a correlation
 
Wait, what on earth, how are there that many stars and that few up votes?
 
1:33 PM
I can definitively say there's a correlation
 
@VTCAKAVSMoACE It's super effective!
 
that's not a ratio, that's a correlation coefficient
 
Question put on hold!
 
OH
Okay. Whoops. I was about to say. o_o
 
1:33 PM
anyways, interestingly, that correlation goes down as the number of upvotes goes up
if we select the top 50 questions, we only have a .799 correlation
 
@NathanMerrill I don't understand what you mean, my stats are fuzzy.
 
and the top 10 questions have a correlation of -0.1077186897
 
VTCAKAVSMoACE obtained 25 experience points for closing the question.
 
@zyabin101 lol, okay then
 
**orlp** obtained 20 XP for closing the question.
**Emigna** obtained 15 XP. \/
 
1:35 PM
@LeakyNun Is that a limitation of the language or of the universe?
 
@VTCAKAVSMoACE it means how closely related the two variables are. If they are identical at every point, then they have a correlation of 1. If they are opposite (1 to -1, -50 to 50), there there is a correlation of -1
 
@El'endiaStarman both
 
**Adnan** obtained 10 XP.
**feersum** obtained 5 XP.
Code Golf obtained 5 quality for winning.
 
@NathanMerrill Oh, I see. How do you get negative stars?
 
@LeakyNun I'm pretty sure most languages can produce infinite output.
 
1:36 PM
@VTCAKAVSMoACE You cannot.
 
@El'endiaStarman What does this mean?
 
@zyabin101 Final Fantasy music plays in background
 
@LeakyNun while 1: print("3")
 
@LeakyNun main(){for(puts("0.");;)putchar(57);}
 
oh... right...
 
1:37 PM
golfed 1 character
 
Noice
 
@VTCAKAVSMoACE no, what it means, is that for the top 10 questions, if you got more upvotes, you were more likely to get less stars
 
Ah, I see.
Okay.
 
but only by a factor of .1
so, what it really means is that there's little correlation
 
1:57 PM
On Math.SE, what's the tag for Euler's number?
 
1. You should have real images. 2. You need a clear definition of "dominant", you can just have it be inferred from test cases. — Eᴀsᴛᴇʀʟʏ Iʀᴋ May 22 at 10:52
 
It has the Euler-Mascheroni constant, but not e.
 
> you can just have it be inferred from test cases.
Yes, I'll try it. Thanks.
 
@Upgoat Can you please come to the zyabinVI beta room?
 
2:08 PM
Ok
 
gasp It's Downgoat's good twin!
 
@El'endiaStarman no it's not
it's an evil disguise
used to manipulate voters
 
I made a wallpaper of my avatar: imgur.com/a/20Lej (768, 1080 and 2160).
 
@orlp & for;
dammit autocorrect
 
@Upgoat But still, I in have
@mınxomaτ I can't set it as the wallpaper for my desktop.
It says, a type of BMP is required.
 
2:23 PM
@zyabin101 What the hell? Do you run Windows 95?
 
@mınxomaτ I run Windows Vista, and it requires a BMP, JPG or DIB.
 
@zyabin101 For the love of everything, please upgrade your system. You don't get to complain about anything not working if you are using Vista.
How did you even get Vista in the first place?
 
@mınxomaτ Vista is the only Windows system I have install drives for.
If I use any other system, I don't have drivers for using my USB modem on it.
 
@zyabin101 What's the modem?
 
@mınxomaτ "MTS", 4G.
They only provide drivers for Windows, and I don't want to waste money for an Ethernet connection.
 
2:27 PM
0
A: Sandbox for Proposed Challenges

BassetCode me music Challenge Write a program that will play music based on input. Input When your program is run it will be given a small song. Each note in the song will have 3 components: [octave][pitch][duration] where octave is the octave for the note to be played in, pitch is the key of th...

 
@zyabin101 And how is Windows 7 (or 10) not "Windows"?
 
@mınxomaτ It is Windows, they do provide drivers for it.
 
So? Then what is the problem?
 
Just that I don't have a sane enough computer to install 7 (or 10) on it.
 
If it runs Vista, it will run 7. Faster.
 
2:29 PM
At the very least, I converted the wallpaper to BMP and installed the BMP as the wallpaper on the computer.
@mınxomaτ Cool wallpaper, I say.
 
0
Q: Written Integers

7H3_H4CK3RTask is to write a program that takes an Integer and outputs it's spoken form as a String. Examples: 12 outputs twelve 416 outputs four hundred sixteen 72135 outputs seventy-two thousand one hundred thirty-five Input: A positive Integer up to including 2^31-1 (if your language is limite...

 
@NewMainPosts Why you post dupes?
 
\o/ 22!
 
I was wondering why chat was so dead (there weren't any numbers showing in the tab) ... turns out I was still sitting on the main page and hadn't actually clicked into chat ..
 
2:40 PM
Chat mini-challenge: Determine what the following script does:
#!/bin/bash
trap : 2
export SDL_VIDEODRIVER=dummy
cat $1 ->a
dosbox -c "MOUNT A ." -c "A:" -c "A.COM<A>B" -c "EXIT">&-
cat B
rm B a
export -n SDL_VIDEODRVIER
 
chat-mini challenge: count the seconds before @LegionMammal978 is kicked for posting suspicious bash code
4
 
@Quill ‾\_(˙ᘧ̲˙)_/‾ 29944566s maybe?
 
@Quill Pyth, 8 bytes: -.!5*FS5
chat mini-challenge: output 65536 (2^16) without numbers.
no input
 
Can it be a snippet?
 
yes
but no cheating
 
2:44 PM
@LegionMammal978 are we allowed to run it to test?
 
@Upgoat Sure but you'll need DOSBox with SDL
 
@LegionMammal978 Just read "DOSBox with SQL"...
 
And a file named A.COM in the current directory
 
@LegionMammal978 I have a CARDBOARDBox will that work?
 
Pyth, 11 bytes: ^F*/TJhhZ]J
 
2:46 PM
@Upgoat That'll only work with cat.
 
@LeakyNun PowerShell v2+, 32 bytes -- $false+"$([int][char]'@')kb"|iex
 
@TimmyD How does that work?
 
Mathematica, 89 bytes: E/E/Log@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@Sqrt@S‌​qrt@Sqrt@E
 
@LeakyNun @ is ASCII 64 when converted to an int. PowerShell has built-ins for powers of two (KB, MB, GB, TB ... and PB in v5) ... that results in $false + 64kb which is then piped to Invoke-Expression (similar to eval)
 
Mathematica, 48 bytes: a=Sqrt;E/E/Log@a@a@a@a@a@a@a@a@a@a@a@a@a@a@a@a@E
 
2:51 PM
@LegionMammal978 a=E/E;b=a+a;Nest[b^,a,b+b+a]
 
Actually, now that I think about it, don't need the $false at the beginning, since iex will execute a cast
 
Mathematica, 23 bytes: E/E/Log@Nest[Sqrt,E,16]
 
16
 
@LeakyNun That doesn't work
 
@LegionMammal978 How to make it work?
 
2:52 PM
Learn your pure functions and then come back
 
PowerShell v2+, 22 bytes -- +"$([int][char]'@')kb"
 
@LegionMammal978 Well, b^#?
 
Oh well
 
@LegionMammal978 a=E/E;b=a+a;f[x_]:=b^x;Nest[f,a,b+b+a]
 
2:54 PM
'cause the original site is still down.
 
a=E/E;b=a+a;Nest[(b^#)&,a,b+b+a]
@LegionMammal978 Does this work?
Also, your 23-byte solution has a number
 
@TimmyD Nice!
 
@LeakyNun It outputs a number near 10^10^4.3
 
@LegionMammal978 How to make it work?
 
2:56 PM
(It's 19729 digits long)
Mathematica, 44 bytes: Nest[#+#&,E/E,a=E/E;a=a+a;a=a+a;a=a+a;a=a+a]
 
oh, alright
 
Mathematica, 42 bytes: Nest[#+#+#+#&,E/E,a=E/E;a=a+a;a=a+a;a=a+a]
Mathematica, 41 bytes: a=E/E+E/E;a a a a a a a a a a a a a a a a
 
@LegionMammal978 How does this work?
 
@LeakyNun Implicit multiplication
Mathematica, 40 bytes: Nest[#+#+#+#&,E/E,a=E/E+E/E;a=a+a;a=a+a]
 
oh, right
a=E/E+E/E;b=a+a;b b b b b b b b
 
3:03 PM
System of a Down: I-E-A-I-A-I-O
 
a=E/E+E/E;a^a^a^a
 
Mathematica, 31 bytes: a=E/E+E/E;a=a a;a a a a a a a a
@LeakyNun Wow that actually works
 
That was my pyth answer
well, sort of
 
Mathematica, 17 bytes, CW: a=E/E+E/E;a^a^a^a
 
Pyth, 11 bytes: ^F*/TJhhZ]J
@LegionMammal978 Do you speak python?
 
3:05 PM
@LeakyNun Kind of
 
@TimmyD What is "System of a Down"?
 
@LegionMammal978 Then that would translate to reduce(lambda a,b:a^b,[2,2,2,2,2])
 
@LeakyNun I know
 
Oh, you speak Pyth?
 
Or in Mathematica-speak, Power~Nest~{2,2,2,2}
 
3:07 PM
oh, nice
 
@LegionMammal978 Here's the literal translation from that code into PowerShell ... ready?
$a=[math]::e/[math]::e+[math]::e/[math]::e;[math]::pow($a,([math]::pow($a,([math]::pow($a,$a)))))
 
@TimmyD no reduce?
 
@TimmyD AHH MY EYES
 
@LegionMammal978 What is CW?
 
@zyabin101 video
 
3:08 PM
@LeakyNun Community Wiki
 
@LegionMammal978 @TimmyD Meanwhile, in Jelly...
 
@LeakyNun The ^ operator is "Reserved for future use" -.-
 
Jelly, 2 bytes: ⁹²
(No, they are not numbers)
5 bytes: ØHŒPL
 
@LeakyNun You could golf it using a variable assignment for the first [math]::e call, and then using an iex trick to golf out the egregious [math]::Pow() calls
 
@TimmyD nice
@TimmyD @LegionMammal978 Let's try it in Python?
 
3:13 PM
No, not too Python-savvy
 
@LeakyNun Here
$a=($b=[math]::e)/$b+$b/$b;"$a*"*("$a*"*("$a*"*$a+1|iex)+1|iex)+1|iex
 
Better at reading it than writing it
 
@LegionMammal978 what languages do you speak?
@TimmyD nice
 
@LeakyNun Mathematica, C#, C, l33tsp34k, American English, JavaScript (if I have MDN open), Coq proofs, and a few others
 
a=not[]
b=a+a
print(b**b**b**b)
Let's do it in JavaScript
 
3:15 PM
Oh yeah, ** isn't a valid operator in PowerShell, either
 
@TimmyD What languages do you speak?
a=not[]
print(a<<(a<<a+a+a+a))
@TimmyD What about this?
 
Programming -- PowerShell, VBScript, BATCH file, some Java ... I can read most other mainstream languages (Python, C/C++, etc.) but can't code them
 
if you can read it.. you can code it!
 
@LeakyNun That's not the same
 
Spoken -- American English, British English (passably well), some Spanish, and a tiny bit of Russian
 
3:19 PM
Oh yeah I also speak some Java
 
@LeakyNun Well, sure ... I mean "code effectively" ... I'd be looking up syntax every 3rd character as I'm writing.
 
@LegionMammal978 It's almost impossible to do it in Java
 
I can read every main stream language, and can code in PHP, JavaScript and Java
 
public static void kitchen-sink main(String[] args){}
 
3:22 PM
And I know c++ up to classes
 
@LeakyNun a=+[];b=++a+a;b=b*b;b=b*b;b=b*b;b*b
@CᴏɴᴏʀO'Bʀɪᴇɴ Try my challenge!
 
Oh yeah, I suppose I nominally know CSS and HTML.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ output 65536 without numbers
 
3:22 PM
J: '65536'
 
well, without numbers in your code
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Boo
 
@TimmyD Yeah, those are basic if you know any web language, but they aren't languages
 
@LeakyNun o. that's a little different :p
 
JavaScript, 30 bytes: a=+!![]+!![],a=a*a*a*a,a*a*a*a
 
3:23 PM
@LeakyNun J, *:#a.
 
@Bálint HTML+CSS is Turing-complete
 
@TimmyD no it's not
 
@TimmyD It isn't
 
it's a pumped automata or whatever
 
@LeakyNun 😷🔟😜➕😑😨 23 bytes in emotinomicon, 19 if you don't need to clear the output field
 
3:25 PM
@LegionMammal978 25 bytes: a=+!![],a<<(a<<(a+a+a+a))
 
@LeakyNun CJam, 3 bytes: YG#
 
@Bálint What is a byte?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm of the opinion that the human "pumping" the automata is the equivalent of electricity flowing into a computer. It doesn't do any evaluation on its own.
 
@LeakyNun it depends on emoticon, what it takes up
 
@TimmyD .. that's a true point
 
3:26 PM
@Dennis How to do it in Jelly, without using the <sup>92</sup>?
 
Additionally, you could easily program a completely dumb browser to do the clicking required.
 
@LeakyNun 🎲 is 4 bytes, ❗ is 6
 
@Bálint Can't you set up a different code-page?
 
@LeakyNun Ask Conor
 
@CᴏɴᴏʀO'Bʀɪᴇɴ
 
3:28 PM
@LeakyNun Nope.
It's emotes.
 
@Bálint What encoding is that? is 3 bytes in UTF-8.
 
@Bálint you may have copied a ghost byte
 
@Dennis Again, ask @CᴏɴᴏʀO'Bʀɪᴇɴ
@CᴏɴᴏʀO'Bʀɪᴇɴ Your interpreter says that
❕ this is 3 bytes
 
"️❗".split("")
Array [ "️", "❗" ]
 
But it is really 23 bytes
 
3:30 PM
There's an unnecessary ghost byte before it. I need to fix it
 
😀 is this 4 bytes?
 
Ghost bites are the worst. You have to watch out for infection.
 
F0 9F 98 B7 F0 9F 94 9F F0 9F 98 9C E2 9E 95 F0 9F 98 91 F0 9F 98 A8
 
Yeah, every emoticon contains a ghost byte
 
@Geobits \o/ you're back! I think your family decided to take residence in the nineteenth byte
@Bálint not every one, some don't
 
3:31 PM
U+1F637
U+1F51F
U+1F61C
U+2795
U+1F611
U+1F628
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Oh?
I was just having a drink with Marky:
 
F0 9F 98 B7
F0 9F 94 9F
F0 9F 98 9C
E2 9E 95
F0 9F 98 91
F0 9F 98 A8
 

Does Marky drink?

6 mins ago, 3 minutes total – 26 messages, 2 users, 0 stars

Bookmarked 2 mins ago by Geobits

3
Well, kinda.
 
JavaScript, 20 bytes: a=+!![],a<<++a*a*a*a
 
3:33 PM
How should I go about picking out a circle from a grid in the most efficient and small way?
 
@Bálint make sure you aren't using python
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm doing an entry for js1k 2017
 
Holy crap. @Quill changed avatar.
 
So no, I doN't
 
is that java?
 
3:34 PM
@TimmyD See? I didn't make it up. Not at all >_>
 
@Fatalize 🇺🇸
 
@CᴏɴᴏʀO'Bʀɪᴇɴ javascript
 
jQuery
 
@LegionMammal978 19 bytes: +!![]<<atob("MTY=")
 
3:35 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ You don't know it? It's actually a cool contest js1k.com
@CᴏɴᴏʀO'Bʀɪᴇɴ 2013 was the best IMO
And not just because of the ~700 dollars and 2.5 bittokens prize
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Nice.
 
@LeakyNun thanks
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 2016 had 3000 EURO for prize
 
JavaScript, 17 bytes: +!![]<<atob`MTY=`
 
3:37 PM
@Bálint why so much??
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Appreciation
@CᴏɴᴏʀO'Bʀɪᴇɴ js1k.com/2016-elemental/demo/2552
 
> WebGL not supported
 
@zyabin101 That's a shame
I want to participate in the 2017th, and currently, I have this: jsfiddle.net/nk5k4j42/2
I want to make it to a first person island exploring demo
 
Golfscript, 11 bytes: ,)).*.*.*.*
 
is there a max bytes size?
 
3:40 PM
@zyabin101 js1k.com/2015-hypetrain/demo/2311 Try this, this is my favourite
@CᴏɴᴏʀO'Bʀɪᴇɴ 1024 bytes
 
@Bálint cool! is it supposed to do something interesting?
>_>
@Bálint can it be es6?
 
@Bálint <3
 
@LegionMammal978 Ok, I can't surpass it.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Last year it was forbidden because of the lack of support, but was mentioned, that it may be allowed nect year
@CᴏɴᴏʀO'Bʀɪᴇɴ And most of the sane people use regpack to further optimize it
 
3:47 PM
atob`NjU1MzY=`
@Bálint do I look sane?
 
Sorry for the small gap BTW, my tablet for some reason
 
totally fine
 
@CᴏɴᴏʀO'Bʀɪᴇɴ semi-sane at least
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 1
 
@Bálint I'm a golfer. :p
@LeakyNun ?
 
3:49 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ atob`NjU1MzY=`
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I'm too, I got like -5% (5-10 bytes) from regpack
 
@LeakyNun oh
@Bálint \o/
atob`MTMxMDcy`>>-~[]
 
My tablet still won't turn on, I'm little bit scared
 
@Bálint who makes it?
 
HP
 
It's ⅓ years old, so it should be okay
 
@Bálint Dead battery, or something more serious?
 
I don't know, it's mayve the screen, because it started crumbling before it went off
 
@CᴏɴᴏʀO'Bʀɪᴇɴ that's 3 bytes more than his answer
 
crumbling? I'm not sure what that means in this context.
 
3:52 PM
@LeakyNun I still wanted to try it
 
@LegionMammal978 16 bytes: -~[]<<atob`MTY=`
 
I can't really explain, it was like when you fiddle around the cable in a tv
 
Oh, then yea, that doesn't sound good. Warranty time!
 
I had important things on it sadly
 
Hmm. Can you plug it into a computer to see if it mounts? You may be able to do a backup if the problem is just the screen. Not too likely, but it's worth a few seconds to try it out.
 
3:55 PM
I miss that you could hear, when a ckmputer is on
@Geobits it needs a mini-HDMI and no one has one if those
 
I've got one, but I'm not sure how helpful that is at the moment.
There's no USB-type connection?
 
If it can reach at least 1000 KM-s, then it can be
 
@Bálint Sorry, it's only about 2m :/
 
There's, but how could I use it
?
 
If there's a USB (like mine has a micro), you should just be able to plug it straight into the port on your computer with a cable.
 
3:58 PM
I have a another idea actually, I try to plug my phone in and see, if it picks it up
 
Assuming it's a data-enabled cable, instead of one of the cheap charging-only ones.
 
2
Q: How was the difference of the Fransén–Robinson constant and Euler's number found?

VoteToCloseI recently ran across the following integral: $$ \int_{0}^{\infty}\frac{1}{\Gamma(x)}dx $$ Which I learned is equal to the Fransén-Robinson constant. On the linked wikipedia page for the Fransén-Robinson constant, it states that the difference between Fransén-Robinson constant and Euler's numbe...

 
@Bálint Yea, that might work too.
 
@VTCAKAVSMoACE this is why you learn sane math, like set theory :p
 
It doesn't, so it's actually off
 

« first day (1945 days earlier)      last day (2896 days later) »