« first day (2425 days earlier)      last day (2498 days later) » 

Anonymous
8:00 PM
@BernardoMeurer 23 and 32
 
@BernardoMeurer anything more than \$1500 will hurt. That's including tax, so \$1350.
I need everything except for keyboard, mouse, and OS.
 
@0celo7 Alright
Are you interested in a small form factor machine?
You can make a bomb-ass gaming pc with m-ATX or ITX nowadays
No need for ATX and E-ATX like back in the day
 
As long as it fits the 1070 and the CPU cooler I'm fine
I don't think the form factor matters
 
@0celo7 Alright
 
I'm not flying it on a plane
 
8:02 PM
@Blue What's going on here? Why all these Java imports?
 
Anonymous
@BernardoMeurer That was given by default on the HackerRank site. Check: hackerrank.com/challenges/30-data-types/problem
 
Anonymous
I was actually typing it directly on that IDE
 
@JohnRennie Then take it off the heat and stir in grated parmigiano reggiano and it's alfredo sauce which will generally impress a date.
 
Anonymous
I don't think the extra imports should affect the code
 
Though I usually do chicken marsala as "date cooking".
With fresh steamed whatever-veggies-are-in-season.
 
8:04 PM
@Blue Try printing the types of your variables to debug
duck typing can be a bitch
With that said I'm super rushed right now and can't take a deeper look
my assumption is you're mixing types
and then your + operator in the end is being nasty
 
Anonymous
scan.next() seems to work fine. scan.nextLine() is just neglecting the input somehow! :O
 
Anonymous
@BernardoMeurer Sure, we can get back to this later if you wish!
 
@dmckee Any clue here? Maybe some line ending brouhaha?
I don't know whether or not python is subject to that
@Blue If all you want is to read user input why not use input()?
 
Anonymous
@BernardoMeurer Ah, right, that's another way...will try. Anyhow, I want to find what's wrong with the Scanner class :P
 
8:08 PM
@BernardoMeurer I don't speak java to any appreciable degree, so subtle things will probably go right over my head.
 
@Blue Don't be like me. Just pick the easy way out :P
@dmckee I missed one question in my exam because I couldn't remember the syntax for fgets() and strtok() by heart :(
Because I use getline() and strsep()
 
Hard luck, but you're doing the right thing.
 
Anonymous
Lemme try asking on Stack Overflow. (Though I'm sure they will rain downvotes on my silly question :P). Still....
 
@Blue The trick is to figure out what the general question is, rather than "What's wrong with this code?".
Then search for the general question before posting.
Your general question is likely about either the difference between scan.next() and scan.nextLine() in the handling of line endings, or about how they interact with one another.
 
@BernardoMeurer check your phone
family drama
 
Anonymous
8:13 PM
@dmckee I'm framing the question like: "Why scan.nextLine() seems to neglect the string input while scan.next() works fine?"(Followed by my example code) Does that sound okay?
 
It will at least show the milling horde that you've thought about your problem. Odds are you'll get an answers or a link to a duplicate.
 
@0celo7 I am destroying this family
 
@BernardoMeurer you're like a woman who tears a family apart
 
I have blown up a few families
in my algebraic geometry days
 
@0celo7 It's not my fault if I'm the only person in it that communicates with everyone
and I'm not even truly in it
 
Anonymous
8:30 PM
0
Q: Why scan.nextLine() seems to neglect the string input while scan.next() works fine?

BlueI was solving 30 Days Of Code: Day 1 Challenge on HackerRank. Here's my code: import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { int i = 4; d...

 
Anonymous
Marked as a duplicate in 10 secs. Lol! :D I got the answer though :)
 
Given that a vector $|\psi \rangle$ is not in the span of the basis vectors $|p \rangle$ which diagonalize a density operator given by $\rho = \sum \lambda_p | p \rangle \langle p |$ with corresponding eigenvalues $\lambda_p$, it apparently follows that $\langle \psi | \rho | \psi \rangle = 0$.
How do we show this? I thought that maybe we can use that $\langle \psi | \rho | \psi \rangle = \sum_p \lambda_p|\langle \psi| p \rangle|^2 = 0$ and if $\psi$ is not in the span $|p \rangle$ then $\langle \psi|p \rangle =0$ for all $p$ but I'm not sure this is true, that would imply that any vector not in the span of the $|p \rangle$s would be orthogonal to the space spanned by the $|p \rangle s$ .
 
@dmckee I have a bit of a complaint about a user; how should I go about explaining it to you or one of the mods?
 
@heather find their IP then show up with a weapon, clearly.
 
@JohnJack Uhhh...how could that vector not be in the span? If the $\lvert p\rangle$ are a basis then that vector is in the span, or it's not a basis.
@heather Raise a mod flag on one of their posts that exhibits the problematic behaviour.
 
8:42 PM
@0celo7 heh, tempting, but no.
@ACuriousMind thanks.
 
@heather I will do it for $1,500
 
@ACuriousMind Sorry I forgot to mention that it's non-zero eigenvalues $\lambda_p$. Hence not including zero eigenvalues.
 
So...the $p$'s are a basis for the space on which $\rho$ is nonzero?
 
@JohnJack Then it's a) not a basis and b) if you defined the $\lvert p\rangle$ to span the space on which $\rho$ does not act as zero, I do not see what there is left to show.
 
@ACuriousMind, okay, flagged.
 
8:45 PM
@ACuriousMind That's what I just said!
 
@0celo7 So we are in agreement!
 
@0celo7 So you are saying that any $|\phi \rangle$ outside this space spanned by $|p \rangle$ implies that $\rho | \phi \rangle = 0$?
 
That's what you said
"Sorry I forgot to mention that it's non-zero eigenvalues λpλp. Hence not including zero eigenvalues"
That's imply that there are zero eigenvalues, but the associated $|p\rangle$ is not included in the list
 
@0celo7 Yes I know, I'm just trying to confirm my original query as to why $\langle \psi|\rho | \psi \rangle = 0$. But I understand now, any $|\psi \rangle$ outside will be written in the span of eigenstates of $\rho$ (those which correspond to zero eigenvalues) henceforth the result follows from that...
 
@BernardoMeurer He doesn't need 16, the improvement is marginal at best right now.
 
8:56 PM
@JohnJack In the notation of linear algebra, the $|p\rangle$'s span the complement of $\ker\rho$.
So if $\psi$ is not in that span, it's in $\ker\rho$, hence $\rho\psi=0.$
 
@0celo7 that's not nice.
 
@0celo7 Yes I recall that now, thanks.
 
and I'll do it for $1,000
$1,200 if they're using a VPN
 
@Justwinbaby suspected of what? And what gag order are you talking about? I'm not aware that any such thing exists.
 
Well, you said it was a general policy.
Pardon me policy "principle"
15 hours ago, by David Z
@Justwinbaby It's inappropriate to imply that someone (JR) did something (get Ron suspended) which you have no way of knowing that they actually did. Kind of a general principle, but especially when it comes to discussing suspensions.
That reads, to me: when it comes to discussing suspensions, don't.
 
9:10 PM
@Justwinbaby You read it incorrectly, then.
 
So let's just all forget it ever happened?
 
Forget that what ever happened?
 
Any suspension.
 
@Justwinbaby No, it reads: Don't claim to know things you don't actually know. What's your point?
 
@Justwinbaby You can do that if you like. (But you don't have to - I mean, there is no policy that requires you to do so.)
 
9:12 PM
My point is clarification of this "general principle." @ACuriousMind
 
@Qmechanic Why am I seeing a bunch of edits on quantum interpretation questions from you all of a sudden? My front page is whited out now. ;)
 
@DavidZ thank you that answers my question
 
9:32 PM
my investigation is complete
 
9:59 PM
0
Q: Are request-learning-path questions off topic? Why are them?

Physicist137A sequence of accidents made me arrive here. Why to exist on meta if you can use the time to learning physics? So, I am rarely on meta. Well, this question made me produce my first comment on meta, which made me produce my first question ever on meta. Yay! Anyway.. The question linked above seem...

 
10:30 PM
@ACuriousMind : Ups. Did I overdo it? I was trying to research if this question had been asked before.
 
any mods around?
3
Q: Path integral formulation of quantum mechanics

user774025I'm a mathematics student with not much background in physics. I'm interested in learning about the path integral formulation of quantum mechanics. Can anyone suggest me some books on this topic with minimum prerequisite in physics?

should this still be locked?
24
Q: How do you start learning physics by yourself?

PhaDaPhunkI think this question has its place here because I am sure some of you are "self-taught experts" and can guide me a little through this process. Considering that : I don't have any physics scholar background at all. I have a little math background but nothing too complicated like calculus I am...

this could be locked, on the other hand
 
10:58 PM
> an effort that culminated with...
back when we could still agree on stuff within a reasonable timeframe coughhomeworkcough and get stuff done and policy moving forward
 
@JaimeGallego Not true, I recently did the update and the improvement was everything but marginal
 
Different user profiles
 
how do you solve a problem of the form a = (c - x)! (a and c are constants, x is the variable)
 
@JaimeGallego You've never seen his computer
that fucker has >30 tabs open at all times
He has like 500 things running because he doesn't want to close it
If he has 8GB of memory he will die
 
I was misinformed then. Go with 16.
 
11:07 PM
@JohnRennie I can confirm I am not a vampire
that sauce is lethal
@BernardoMeurer are you talking about me?
 
@0celo7 Yes
 
@heather I'm not sure you can
@heather either $a$ is a factorial, and if you know that then you likely know what it's a factorial of
finding $c-x$ is only expensive if $a$ is huge, and then the Stirling approximation will give you a restricted set of integers from which you can check to see if they factorialize to $a$
or else $a$ is not a factorial, and then you're inverting the gamma function
34
Q: Inverse gamma function?

jeremyThis is an analysis question I remember thinking about in high school. Reading some of the other topics here reminded me of this, and I'd like to hear other people's solutions to this. We have the gamma function, which has a fairly elementary form as we all know, $\Gamma(z) = \int_0^\infty e^{-...

 
okay...i think i just realized that i'm approaching this problem wrong anyway - thank you though!
i realized that i can repeat digits, so i can just use the counting principle.
 
doesn't look doable in terms of anything simpler than "$\Gamma^{-1}$ exists", and you can calculate it numerically
@heather sure, whatever works
 
11:22 PM
@JaimeGallego @BernardoMeurer
 
jesus H Christ
 
@BernardoMeurer good song
2
 
@0celo7 is that Scott Aaronson's blog between youtube and the arxiv?
 
@EmilioPisanty it's a food blog
I made a mean garlic sauce
my apartment smells pretty awful now
or amazing, depending on your view
 
11:28 PM
@0celo7 kinda like Hitler's dog?
 
what?
 
@0celo7 My Chrome tabs are useful to me only when I can see their names.
 
↑ that
 
@JaimeGallego I can see their names
 
11:30 PM
Hunting down websites can be really unproductive.
 
or the first letter thereof...
 
@0celo7 to each their own
 
@EmilioPisanty Didn't know about that sketch.
 
@JaimeGallego wut
 
wut wut
 
11:37 PM
that sketch is, like, number one
 
never seen it
 
11:47 PM
I do gotta wonder how many people understand Britain's greatest pre-war joke
to wit
 

« first day (2425 days earlier)      last day (2498 days later) »