« first day (1935 days earlier)      last day (2899 days later) » 

8:01 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Julia, 31 bytes: x->filter(n->sum(1:n)==x,1:100)
 
no tio link? XD
 
Returns a single element list that contains K
 
@VTCAKAVSMoACE Hint: quadratic formula.
 
@Doorknob I used it, but I didn't get the right formula. :c
Actually, I derived by just replacing sequence members. :P
 
@CᴏɴᴏʀO'Bʀɪᴇɴ I don't know how to get input on TIO.
 
8:03 PM
y(y+1)/2=x, y^2+y-2x=0, solve for y.
 
@EᴀsᴛᴇʀʟʏIʀᴋ oh
 
@EᴀsᴛᴇʀʟʏIʀᴋ Hit the pencil
If you mean STDIN
 
no
how to get it from in the script
>_>
 
but in the code, how do I access the input from the textbox?
@quartata I know I could do that.
 
8:08 PM
@Doorknob Hah, nice ... that's 7 bytes shorter than the "plain" method ... ([math]::Sqrt(8*$args[0]+1)-1)/2
 
@CᴏɴᴏʀO'Bʀɪᴇɴ equality check in jolf?
 
sum of list?
 
hm
list comprehension?
 
like iterate through the list
 
~m, then golf it to capital Mu
 
okay
@CᴏɴᴏʀO'Bʀɪᴇɴ but how does that work?
 
@VTCAKAVSMoACE \o/ Vitsy's back!
 
I want a if statement.
 
8:10 PM
~m<list><function>
if is ?<if><true><false>
 
@VTCAKAVSMoACE pursedog.tryitonline.net alias ;-)
 
okay, i know that.
@TimmyD ಠ_ಠ
 
@TimmyD no
 
@TimmyD ಠ_ಠ
 
@zyabin101 It was never "gone". I've just stopped updating it for a bit.
 
8:12 PM
>_> @CᴏɴᴏʀO'Bʀɪᴇɴ forced print?
not implicit output
 
a, but I think you must be doing something wrong >_>
 
@EᴀsᴛᴇʀʟʏIʀᴋ julia.tryitonline.net/…
 
oh thanks
@CᴏɴᴏʀO'Bʀɪᴇɴ wait nvm
 
@CᴏɴᴏʀO'Bʀɪᴇɴ how do I access the item in the map?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ you borked jolf on chrome again.
Not my fault.
 
How can I not auto-eval input?
 
show me your code
 
oh looks like it doesn't eval the code as a function before trying to map with it
~muzx?=HxaHa
 
8:17 PM
Well, there's your problem. Your code is laughing at you.
9
 
map(sum(unaryRange(x)), (equals(H, x) ? alert(H) : alert(x)));
you're alerting the last element...
 
what are you trying to do?
 
alert H if H=x
 
8:19 PM
you're mapping the sum of the array (a number) without a function
 
yeah
how do I make it a function?
 
without a function
d<x>
 
@EᴀsᴛᴇʀʟʏIʀᴋ Only in jest! :D
 
What are S and n in the function @CᴏɴᴏʀO'Bʀɪᴇɴ?
 
8:20 PM
index and the mapped array
 
okay
@CᴏɴᴏʀO'Bʀɪᴇɴ a forced no-op?
 
Like suppress the auto-fillin of x
 
why would you want that?
 
Ʀ
 
8:23 PM
^ XD
 
Ʀ is a no-op
 
I know what that does
 
I'm not sure you do
 
@quartata very no-oppy.
@quartata never gonna let you win this arguement.
never gonna let you lie about this.
 
8:24 PM
Try ¶ then
 
never gonna give you up
 
never gonna let you down
 
never gonna run around
 
@quartata eyy you remember that :D
 
8:25 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ close enough
 
oh did I get it wrong?
 
only a little bit :]
 
run around not turn around
 
not bad
I could've sworn >_>
 
o_O you don't listen to that daily for fun?
:P
 
8:26 PM
@EᴀsᴛᴇʀʟʏIʀᴋ But in all seriousness can you give a bit more context?
 
you can admit you were just transitioning to Total Eclipse Of The Heart
 
Bonnie Tyler
 
Never mind, I give up.
 
Show me teh code
 
8:27 PM
Ʀ
/s
~muzxd?=HxaH¶
! /s
 
Oh, do you just want regular if? Not if-else?
I swore we had that...
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ...
 
Anyways just do E
 
8:30 PM
okay
 
Idk if it's short-circuiting
If not, I'll do that
 
Ah, right.
 
Overheard work discussion: "Just turn warnings off and turn them back on after that code block. That fixes it."
 
Yeah I think it short-circuits
 
aaaaaaaahhhh
 
8:31 PM
@Poke o______o
 
@Poke As in @SuppressWarnings?
 
E BORKED EVERYTHING
 
@EᴀsᴛᴇʀʟʏIʀᴋ What? It's just empty string
 
~muzxdE=HxaH¶ crashed the browser
 
8:31 PM
Get rid of the pilcrow
 
I meant in place of the pilcrow....
 
and you have the E in the wrong place >_>
 
@quartata Not actually sure what language they're using. It was the "That fixes it" part that got me
 
@Poke heh yeah
I suppose they subscribe to the ostrich definition of "fix"
 
@CᴏɴᴏʀO'Bʀɪᴇɴ You seeing the Laura wiki going up?
 
8:32 PM
I feel like I agree with that but enlighten me on the ostrich definition
 
@VTCAKAVSMoACE I will see it
 
@Poke As in stick your heads in the sand. (Yeah, it was a weak joke)
 
okie
I haven't gotten to the technical stuff yet, just outlining so far.
 
wasn't that the dodo
 
8:33 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Jolf, 14 bytes: ~mzxd?=uzHxaHE
 
@Poke The dodo's fault was being too friendly, IIRC.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Is that someone you know?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ oh shit you just got roasted
 
@CᴏɴᴏʀO'Bʀɪᴇɴ wtf
 
8:34 PM
>.< :D
 
what question?
 
@Adnan idk. it's a guest >_>
@EᴀsᴛᴇʀʟʏIʀᴋ my most recent one
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 13 bytes: Mzxd?=uzHxaHE
seems to work
 
You'd think he'd at least have the courtesy of making it a comment. No sense of manners these days
 
8:34 PM
I thought M was math though?
 
@CᴏɴᴏʀO'Bʀɪᴇɴ calculus ∈ comp sci?
 
@EᴀsᴛᴇʀʟʏIʀᴋ That's ASCII M
This is captial mu
 
/me stars cough
 
@Maltysen I guess. :p
 
@VTCAKAVSMoACE @cᴏugh cough
 
8:35 PM
@EᴀsᴛᴇʀʟʏIʀᴋ lowercase m is math
 
okay
??? Mzxd?=uzHxaH won't compile
 
@quartata TIL ... that thing is called a pilcrow
 
@TimmyD Yeah.
> The word pilcrow originates from the Greek word paragraphos. This was rendered in Old French as paragraphe and later changed to pelagraphe. The earliest reference of the modern pilcrow is in 1440 with the Middle English word pylcrafte.
Funny how a word can become so mangled
 
@mınxomaτ approximate quantum fourier transform:
input/output is the same as earlier
 
Someone should start answering CG answers in this new quantum language.
 
8:39 PM
It replaces the (massive) control-T gate with an unconditional sqrt(T) gate.
 
/me does the "not it" nose touch.
 
/me follows suit
 
/me also touches finger to nose
 
This approximation is actually more accurate than the "real thing" because it's so much shorter, so fewer errors build up.
 
The only problem is, I'm not sure how we count bytes. It's not very comparable.
 
8:41 PM
Same problem as with Minecraft blocks, huh?
 
@VTCAKAVSMoACE It has a code output.
 
@PhiNotPi Are you going to try to do Shor's algorithm?
 
@quartata There's not enough room to do modular exponentiation, as far as I can tell.
 
Or are you using the transform for something else
@PhiNotPi Ah
 
Qubits / 8
 
8:43 PM
@mınxomaτ eh
That's not my concern.
How many states can each "qbit" have?
Or whatever they're called. :P
 
They're called qubits, and each one can have a practically infinite number of states.
 
O.o Hwat
 
To be more realistic, this 5 qubit processor can be described by 64 times [desired precision] bytes.
 
@PhiNotPi can you explain what H does?
I understood it for the basis vectors, but not in the general case
 
I assume it's the Hadamard gate
 
8:49 PM
^ that
 
@Mego I'm almost done with a submission to the Actually Meta Golf Challenge!
 
@quartata yeah, but what does it do?
 
Let's see if I can make an example...
 
Ugh, I wish chat had latex.
 
It does if you have the MathJax extension.
$x = \frac{-b \pm \sqrt{b^2-4ac}}{2a}$
 
8:52 PM
> The size of the Planck length can be visualized as follows: if a particle or dot about 0.1 mm in size (which is approximately the smallest the unaided human eye can see) were magnified in size to be as large as the observable universe, then inside that universe-sized "dot", the Planck length would be roughly the size of an actual 0.1 mm dot.
O.o
 
That's probably the best visualization I know of for the Planck length.
 
Oh hey, Wikipedia has a version of it rendered. How considerate
 
@Maltysen Actually, does this help:
> it is the combination of two rotations, pi/2 about the Y-axis followed by pi about the X-axis.
 
@El'endiaStarman Just blows my mind. Like, I literally cannot understand that. I mean, I intellectually understand it, but I don't understand it.
 
kinda
 
8:55 PM
@TimmyD Likewise with Graham's Number. And its smallest cousin, $g_1$. :P
 
@PhiNotPi actually, that leads me to a question I had about the bloch sphere. if |0> is 0,1 and |1> is 1,0 why are they related by a rotation of pi and not pi/2?
(from the pauli-x gate description)
for some reason |1> seems to be at 180°
 
I'm not sure what you mean by 0,1 and 1,0
 
@El'endiaStarman Graham's number? Pshaw. I can't even comprehend the distance from here to the nearest star.
 
|0> is at (0,0,1) and |1> is at (0,0,-1)
 
@PhiNotPi The computational basis for a single qubit (two dimensions) is |0> = (1,0) and |1> = (0,1).
 
8:57 PM
aka the two poles of the sphere
 
@Maltysen Yeah. |0> and |1> are diametrically opposite each other
 
@Maltysen Oh, that's actually talking about something different.
 
Hold on, are |0> and |1> the spin-down and spin-up states?
 
oh so the bloch sphere is talking about a different coordinate system, not the C^2 one?
 
@El'endiaStarman I think so, or something like that.
 
8:58 PM
@El'endiaStarman They're the basis states for a qubit
in this case
 
@Maltysen yes
 
that helps, thanks
so the Y axis on the block sphere is talking about the conjugate axis, then?
 

« first day (1935 days earlier)      last day (2899 days later) »