« first day (524 days earlier)      last day (4489 days later) » 
00:00 - 19:0020:00 - 00:00

12:00 AM
A scalar is any mathematical object which only has size and no direction is my guess. But alas, from my limited understanding. A scalar can be any number, complex or real. (I guess scalars can be other things than numbers, but that is as far as my thinking goes at this point.)
 
QED
yea I don't like that
 
I will learn about Fields later, hopefully this term, but more likely in the course called "Algebra"
 
QED
The way I have things set up is, V is a F-vector space (given some field F) when [blah blah] ... and $k \cdot a \in V$ where $k \in F$ ... [blah blah]
and that field could be $\mathbb R$ or $\mathbb C$ or $\mathbb Q$ or any other field
So my guess is when you say "vector space" I'd say "$\mathbb R$-vector space"
 
So a vector space is defined by some field.
 
QED
yeah
 
12:03 AM
Our lecturer talked about vector fields in generall, and stated that in this course we would restrict our self to look at $R^n$ vector spaces.
Or something along those lines.
 
QED
so you're always going to have $\mathbb R$-vector spaces in mind
 
Yeah, for now.
But I really like learning about this stuff =)
The math behind the math or something.
 
QED
obviously $\mathbb Q$ isn't a vector space, since if $v \in \mathbb Q$ then $\sqrt{2} v \not \in \mathbb Q$
 
But $\mathbb{R}$ is, thanks =)
 
More concretely, $1 \in \mathbb Q$ but $\sqrt{2} \cdot 1 \notin \mathbb Q$.
 
QED
12:05 AM
(but note... $\mathbb Q^n$ is a $\mathbb Q$-vector space...)
 
So
brain hurts
 
QED
why?
 
I just have to start remapping my brain, from the previous years of learning how to do math like a compouter to starting thinking about things, and understading, and proving theroems.
 
Perhaps. If it is too confusing, then ignore all that we said and go on as you were told in class. [Just one thing to remember: almost everything you learn can be generalised like crazy to more and more general structures.]
 
QED
er don't ignore all we said
at least don't ignore what I said
 
12:10 AM
So can one say anything about vector spaces in generall, or do we "have" yo restrict ourself to look at a particular subset ?
 
QED
@N3buchadnezzar, you'll probably prove "Rank-Nullity theorem" later
 
@N3buchadnezzar What do you mean by that?
 
QED
this is a very general and great theorem
 
@N3buchadnezzar What is the particular subset you were talking about? Give us an example?
 
I will read more about this stuff, in the following days. Could you just please give a very brief idea of what a vector space is / the generall idea?
 
12:13 AM
A set of things that can be added to each other, and a set of "scalars" to multiply the things (vectors) by, such that your usual algebra rules of associativity-distributivity-commutativity hold.
 
@N3buchadnezzar A vector space is a structure: it's a set with two operations -- (vector) addition and scalar multiplication. Here the scalars come from an auxiliary field: commonly this field is just $\mathbb R$ (or $\mathbb C$), but it could be more general than that.
 
That made much more sense, thanks for giving me a clearer image of what the h*ll I am starting to learn =)
 
A field is anything with addition and multiplication defined, both additive and multiplicative identities (0 and 1 respectively), and everything other than 0 has a multiplicative inverse (a reciprocal 1/x). And obeys the familiar rules.
 
@anon's description is spot on; just remember that you are not really allowed to multiply two vectors in general. It's obvious when you think of concrete vectors, but if you are working with symbols (e.g., "v"), it's quite easy to lose track of such things.
Makes sense, or no?
 
Yeah, it makes sense.
Our teacher also briefely mentioned that when he talked about Isomorphism or somthing
 
12:19 AM
OK: let's take some examples. I like to keep things concrete; we will make it more general if you are ok with it.
@N3buchadnezzar You're jumping. =)
 
That vector multiplication was defined in $\mathbb{R}^3$
 
QED
The thing about $\mathbb R^n$ is the geometric interpretationb
you can view vectors in it as arrows and add them by joining them
 
Examples are always welcome
 
QED
and there is a lot of geometry and computing graphics that makkes use of the stuf
 
@QED How can one have a geometric interpretion of anything except $\mathbb{R}^2$ and $\mathbb{R}^3$ ?
 
12:22 AM
@N3buchadnezzar Yes, that's an "exception" ... You cannot multiply vectors in general. We'll come to this in a little while.
 
QED
R^4 and R^5 and so on
 
Reminds me of Ptolemy's "proof" that there is no fourth dimension. Just try drawing four mutually orthogonal lines - you can't do it!
 
QED
haha
 
12:26 AM
But anyway, suppose you are editing a 3D movie in the distant future. You are working with three dimensions in any frame, and the entire thing is four dimensions.
 
QED
I suppose it's only having understood vector spaces that R^4 and so on start to make sense
 
Btw, when are one "supposed" to learn about these kinds of things?
 
in relation to what other kinds of things?
 
Abstract Algebra I guess
 
QED
This is abstract algebra!
 
12:30 AM
It depends. For just R-vector spaces you don't need to know about fields in general, just R. If you want the general study of vector spaces it would make sense to first know about fields.
 
I can not even by strong liquour. I blame my lack of understanding on the fact I can not mix alcohol and abstract algebra. Then these things would make more sense.

And yeah, we had a bit of theory about sets. Not a whole lot though, just the basics.
 
But vector spaces has enormous richness even with real scalar field. When we go more general, we miss out on many things, e.g., you can't define inner products etc. I consider this a big handicap.
I think the more important thing is to grok whatever you are learning.
 
What are the more generall form of scalars than real numbers then, matrices and tensors?
 
No: more general fields, e.g., rational numbers form a field. Complex numbers form a field. Integers and matrices do not form fields.
 
More general than reals I meant..
 
12:35 AM
Why? Essentially, the difference between rationals/reals/complex numbers on one hand, and integers/matrices on the other is this: you can take reciprocals in the first case, but you cannot in the second case.
@N3buchadnezzar I just gave you two more examples of fields...
 
I blame it on the clock, and my poor abilities of multitasking.
In norwegian fields are called a kropp.. While the direct norwegian translation of field, means something completely different.
 
@N3buchadnezzar I don't understand what you're saying. You've blamed it -- I don't know what -- on previous years of learning like a computer, on not being able to mix alcohol and abstract algebra, on the clock, and finally poor ability to multitask.
 
What I meant to ask about was if there are more general scalars than the reals. I know there are more generall fields =)
 
You can use finite fields as scalars.
 
I and am just mixing up termonology, "which i know is something very bad to do" and I am apologizing for that =)
 
QED
12:41 AM
"scalar" is probably just a child-friendly way to say field
 
the set of numbers of the form $a+b\sqrt{2}+c\sqrt{3}+d\sqrt{6}$ can be considered a vector space over the set of numbers of the form $a+b\sqrt{2}$ (with $a,b,c,d\in\mathbb{Q}$
 
I guess waking up tommorow these things will make more sense. It does not seem all that complicated now, just a new set of language to learn. And a new perspective to look at things.
 
QED
that's exactly what it is
 
@N3buchadnezzar Abstract algebra is the culmination of centuries of thought -- it only makes sense that anyone finds it difficult the first time.
 
QED
I think that example (a + b sqrt(2)) takes some hard work to understand properly
 
12:42 AM
Describing and formalizing things I already "know"
 
QED
there's a lot of really important things there though
 
"scalar" refers to an element of a field over which a VS is defined. A "scalar field" is a little different IIRC
 
$$\sqrt{2}^\sqrt{2}$$
 
@anon Yes, I meant the field of scalars =) I should've said base field but that would be unnecessary jargon, I though.
 
What does this mean? Double squareroots all the way
 
12:44 AM
@N3buchadnezzar Why are you interested in this expression?
 
QED
a^b means exp(b log(a))
 
Then you are left with defining what

$$ e^{\sqrt{2}}$$

means =)
 
QED
$$\exp(x) = \sum_{n= 0}^\infty \frac{x^n}{n!}$$
 
You can define exponentials involving arbitrary reals in terms of limits. And the reals themselves, if you want sufficient rigor, with Cauchy sequences modulo null sequences....
 
And by the exact same methods we could say that

$$\sqrt{2} = \exp( 0.5 \log(2))$$
 
12:50 AM
@N3buchadnezzar Read this answer: math.stackexchange.com/a/91898/13425
 
It has a typo: $a^{n+1}=a^n\times n$ ...
 
@anon Aha, good catch. =)
May be correct it?
 
it's cool now
 
Thanks, anon.
 
Okai
I might be stupid here.
How is $\log(n)$ computed?
 
QED
12:56 AM
inverse of $\exp$
 
Computed in practice or defined in theory?
 
I was reading the answer, and that was the only thing that sort of bummed me out. (perhaps more things, If I read through it again, even more carefully. )

If one are to use e^{$\log a$} and then a series expantion to give a propper definition to the reals. then one has to have a solid definiton of $\log a$
 
QED
I just gave it @N3buchadnezzar
 
The sum? sigh.. =(
 
QED
no
 
1:02 AM
I think I get it
Or perhaps
So if one were to "calculate" or define sqrt2
one would write the sum
and to define log 2, one would use the fact that it is e^x = 2
and to e one would again use the sum, and to find x, one could do an approximation i guess. Or use an approximation for log a
Taylorseries or something
 
You seem to be on the right track. =)
 
Now I understand why very few teachers want to waste their students time being overly rigorous, when one can read these things in modern books.
 
QED
eh
no you've misunderstood something
do you want to write a computer program that prints the digits of sqrt(2)^sqrt(2) or something?
 
Already did
 
QED
really?
 
1:08 AM
Quite horribly accuracy for higher values.
Just some quick typing in Matlab.
 
QED
cool
 
I though you had to be more precise when talking about log a, than just saying it is the inverse of exp ?
 
QED
no
 
"be more precise" for what purposes? For definitions and theory or for practical computations?
 
for definitions
exp x is a strictly increasing function, and therfore it have an inverse. We define this inverse to be called log x. I guess
 
QED
1:10 AM
we can define log as the inverse of exp because exp is increasing
that is exactly right
 
In that case saying it's the inverse is perfectly fine.
 
Okay
One final question 2 AM
We want to have a "propper" definition of
$a^b$ when $b \in \mathbb{R}$

To do this we use that

$$ a^b = e^{a \log b } $$

and rewrites the right side as a sum. Now, how can we know that the equality above holds? By definiton, \log a is defined such that

$$e^{\log a} = a$$

So this is fine, now the "final" problem, is showing that

$$ \log (a^b) = b \log a $$

Holds for all R, without using what we are seeking to prove.
 
QED
@N3buchadnezzar, I think better to write $\exp(a \log(b))$ than $e^{a \log(b)}$
 
The only proof, I have seen of the logarithmic identities have been using powers. Now, what do we do, when it is the powerrules we wish to define?
 
QED
you can prove the identities about log by proving the identities about exp and then using the fact that it's the inverse
 
1:20 AM
just take the logarithm of both sides of $a^b = \exp(b\log a)$...
 
But to prove the ditentities about exp, we need to use the fact that it holds for log.
 
QED
no
I mean stuff like exp(a)exp(b) = exp(a+b)
 
And that is "easy" to show holds for $\mathbb{R}$?
 
QED
that implies log(xy) = log(x)+log(y) by letting a = log(x) and b = log(y)
 
Sorry for being so picky...
 
QED
1:22 AM
what's this about easy?
 
Well I just feel all of these powerrules are laid out in such a way, that once you have proven one, the rest follows much easier. But to prove the first one is a *****
Use A to prove B, use B to prove C, use C to prove A.
 
QED
what power rule can you not prove?
 
which is "the first one" here?
log(exp(x)) = x = exp(log(x)) is pretty much the only given you need. proving exp(a+b)=exp(a)exp(b) with series expansion requires a binomial theorem and a re-ordering justification, if that's what you want to know about...
 
Makes sense
Goorrd night
thanks a buch
hugs
 
QED
:)
I hope you know you can re-read all this incase you forget it
 
1:38 AM
uh oh. someone asked a set-theory/forcing question. where's Asaf? :)
 
 
2 hours later…
3:47 AM
@Srivatsan Want to talk? I might leave soon-ish.
 
4:06 AM
I don't mind chatting tomorrow. =) I want an envelope though.
 
Now/tomorrow?
Envelope i.e.
 
If you can leave an envelope on a table outside your office, that should do.
 
I'm not sure why PJ said I have one, let me check the LTI copy room
There is a large one (about A4 sized) - I can leave an almost (but not quite) new small one.
We can also just go to the PO tomo.
 
Leave it, let me see =)
 
Kk I am going to go home then, good night :)
Come to my office sometime - also Taza has re-opened
 
 
1 hour later…
5:30 AM
Is my proof correct?
When $x$ tends zero, the series approaches the first sentence:

$$\sin x = \approx \frac{x^1}{1 !}- \frac{x^3}{3!} + \frac{x^5}{5!}-\frac{x^7}{7!}+ \dots= x + O(x^3)$$
Hello @all.
 
@Gigili: I don't see a proof, I'm afraid. Isn't the first equality sign a definition and the second simply an assertion or a definition again?
(but both are correct)
 
@tb Talking about this question
 
@Gigili I see. But what do these identities actually prove?
 
5:58 AM
@tb That's why I'm asking.. But this just holds around the point $x=0$, doesn't it prove that when we replace $\sin x$ with $x$ then $x$ tends to 0?
I guess you're right, as always.
 
I don't understand the line of argument you're intending to pursue. You only have the inequality $|\sin{x}|\leq|x|$ (which is strict for $x \neq 0$, but this is what's to be proved)
 
$\frac{\sin x}{x}$ is equal to one, because we replace $\sin x$ with $x$ as $x$ tends to zero .. I thought it was related.
 
Well, yes, $\lim\limits_{x \to 0} \dfrac{\sin{x}}{x} = 1$. But the question is about the converse: if $a_n$ is a sequence such that $\lim\limits_{n \to \infty} \dfrac{\sin{a_n}}{a_n} = 1$ must we then have $a_n \to 0$?
 
Yes, because it only holds around $a_n=0$
Maybe prove by contradiction would be helpful, I'll try that instead.
Um, no. That's as helpless as this one.
So, the statement is "... if and only if ...", right?
 
6:17 AM
Yes.
 
 
2 hours later…
8:13 AM
Hmpf. There are just no elementary uses for propositional calculus being compact!
 
I wonder who votes this kind of silliness up
 
@tb Absent minded people?
Do you have any suggestions for what sort of examples I can use Koenig's lemma/propositional calculus compactness theorem?
And not the coloring of an infinite graph!
 
Then no.
 
Algebras = vector spaces with multiplication, right?
 
Yeah.
Have we decided what is the difference between and ?
 
8:20 AM
Oops, sorry Asaf, I forgot to accept your answer.
 
@Martin: I feel that your question would have been better treated on MO, except perhaps Brian M. Scott which is exclusive to this site.
 
9:09 AM
@AsafKaragila I thought a synonym voting is going on. (Wasn't it you who suggested the synonym?) But I might remember it wrong.
It's there: tag synonyms.
I cannot vote since I have not enough rep in that tag.
@AsafKaragila I would have to formulate my question much better to put it at MO.
Basically I just wanted to know if I did not miss some use of choice in my proof, but I tried to formulate the question in a way like "if you know anything interesting about this, please put it here".
If you view it minimalistic, my question can be understood as: Solve exercise E3 and E4 from Herrlich's book. I think this is way bellow MO level.
**************
Maybe I should have thought about the problem a little more before posting it, but as I mentioned, when I saw Martin Brandenburg's question, I've decided to post this, too. (When there's already one question on the site which is very close to this topic; I thought it's better to post mine question too - since people are already thinking about closely related things.)
*******
BTW it's quite probable that I won't answer to pings too promptly - I'm sitting in a room, supervising two students who have an exam (they're solving the test now); so I turned my sound off.
About the tag synonym between and - "pending (0)" means that there are no more votes needed, right?
 
9:28 AM
@MartinSleziak Have you seen this paper by Banaschewski?
 
No t.b.
I did not check any of references from Herrlich (I should have do it). Is it from there?
 
No, I looked for Gelfand on the consequences page
 
I notice some people here paste Mathematica output as LaTeX, e.g. here. I'm wondering how much of this they have automated, and how much is just Edit -> Copy As -> LaTeX with manual editing (as it produces non-copy-friendly output)
If any of you do this, and have some parts automated, could you tell me how you are doing it?
 
@Szabolcs I think you have to wait for robjohn or JM to show up, as they're the only ones here in chat using Mathematica on a serious level as far as I know.
 
I am patient :-)
And it's more about curiosity
 
9:42 AM
@tb Well the paper is about prime and maximal ideals in commutative rings and also about Gelfand algebras. (Gelfand algebra is new notion to me, but I guess you mentioned that paper because C(X) is a Gelfand algebra.)
He uses Boolean prime ideal theorem, which is equivalent in ZF to UFT, IIRC.
 
In my book, it's written a polynomial of maximum degree $n$, has $n+1$ roots but I don't understand why.
 
I don't see the connection to my question right away :-(
Do you see something there immediately connected to it?
 
@Gigili: Well, that's clearly wrong.
 
@ZhenLin I was about to type the whole question and answer. it doesn't help and it's wrong anyway, right?
 
At best it's a typo and something other than "root" was meant.
 
9:49 AM
I wan to prove that:

> There is one and only one polynomial ($P(x)$) , with the maximum
> degree of $n$, which satisfies $P(x_i)=f_i$ where $i=0, 1, 2, \dots , n$

To prove its uniqueness, I'd use prove by contradition. So I assumed $Q(x)$ as another polynomial of maximum degree $n$. Then for $i=0, 1, 2, \dots, n$:

$$Q(x_i)=f_i$$

Then I have:

$$R(x)=P(x)-Q(x)$$
$$R(x_i)=P(x_i)-Q(x_i)=f_i-f_i=0$$

And I'm stuck here.

In my book, it's written the polynomial $R(x)$ with the maximum degree $n$, has $n+1$ roots, $x_0, x_1, \dots, x_n$
 
That's very different.
 
@ZhenLin My bad, sorry. context is the key, as always.
 
Those aren't roots. They are, shall we say, data points.
 
Why $n+1$ data points/roots and then contradition?
 
The contradiction is because a non-zero polynomial of degree $n$ has at most $n$ roots.
 
9:52 AM
I see but how we got the result that it's more than $n$ ($n+1$)?Then contradiction because [what you said]?
 
Because you have $n + 1$ data points.
 
We had that for $P(x)$ and $Q(x)$ as well , no?
 
So suppose you have two polynomials $P$ and $Q$, each of degree at most $n$, which interpolate your $n + 1$ data points. Then $P - Q$ is a polynomial of degree at most $n$ and at least $n + 1$ roots.
 
@MartinSleziak Proposition 2 of Banaschewski says: BPI is equivalent to the statement "every Gelfand algebra has a maximal ideal and this seems to confirm what you state in the paragraph starting with "I've tried to ..."
(I haven't thought deeply about it). The paper is certainly related but I don't think it answers anything immediately. Also, you might want to have a look into Johnstone's book on Stone spaces.
 
@ZhenLin Which is false, right?
 
9:55 AM
What is Stone spaces really about?
 
Got it, thank you.
 
@Gigili: No, everything is true. The conclusion is that $P - Q = 0$, so $P = Q$.
 
@ZhenLin pointless topology, I've heard.
 
Thanks for the reference, I'll have a look at it @tb. I have to go AFK again.
 
@tb Likewise.
 
9:56 AM
@ZhenLin But you said a polynomial of degree at most $n$ has at most $n$ roots. =\
How you know $P-Q=0$?
 
@Gigili: A non-zero polynomial of degree at most $n$ has at most $n$ roots. The zero polynomial has as many roots as you want.
 
10:16 AM
A zero polynomial like what?
 
A zero polynomial like zero has many zeroes.
 
Um, I don't get it. isn't it just a constant $C=0$ instead of a polynomial?
All coefficients equal to zero ...
 
Yes. But that's a polynomial. In order for the polynomials to have any kind of reasonable algebraic properties, you want to consider it a polynomial. (you want to take sums, and products of polynomials)
 
In my proof, $R=0$ shows that $R$ is a zero polynomial with at least $n+1$ roots, where is the contradiction then?
 
There isn't really a contradiction. The claim is, if $R$ is a polynomial of degree at most $n$, then either $R = 0$, or $R$ has at most $n$ roots.
 
10:30 AM
Makes sense now. I should think it over, Thank you @ZhenLin and @tb.
 
 
4 hours later…
2:06 PM
Mother of all gods, I have two finish this in less than two hours, and I have no idea where to start. Anyone got a good idea about how to use Koenig's lemma about trees, or how to use propositional calculus' compactness theorem?
(In a way that is obvious for freshmen)
 
2:19 PM
hi
(I can't help you obviously)
 
Why obviously?
 
It's clearly obvious. :)
Because I don't know either theorem... :/
 
Oh. :-P
 
@tb I can't believe I'm asking this: Is he serious or joking?
 
@Srivatsan both, I guess :)
@AsafKaragila how about presenting König's lemma as a pimped pigeonhole principle (PPP)
 
@tb I hope the OP does not confuse which letters are meant to be in caps and which ones are small.
Or can that be worked out always?
 
QED
for what $n$ does $1+x+x^2|1+x^n+x^{2n}$?
 
3:01 PM
Does it ever for $n \neq 1$?
 
QED
seems to not be divisible when 3|n
(1+x^7+x^14)/(1+x+x^2) = x^12 - x^11 + x^9 - x^8 + x^6 - x^4 + x^3 - x + 1
for example
 
Heh, nice.
 
n = 1, yes. n = 2, Think so, but lazy to check.
Basically got to do with the roots of unity. If $3$ does not divide $n$, then $\zeta^n$ and $\zeta^{2n}$ are (in some order) $\zeta$ and $\zeta^2$. ($\zeta$ is a complex cube root of unity.) So $1 + \zeta^n + \zeta^{2n} = 0$ which means ...
Finally: when $n$ is divisible by $3$, $1 + \zeta^n + \zeta^{2n} = 3$, so...
 
Okay, screw that. I am just going to explain the lemma and how we use it to prove the compactness theorem.
 
QED
very nice
 
3:10 PM
So functions are not neccecary vector spaces because they do all have inverses =)
 
QED
no, functions do form a vector space
if a,b are real and f,g : R -> R then af + bg : R -> R
 
$(2,3,4) + \overrightarrow{k} = \overrightarrow{0}$ perhaps?
 
I'm sorry, I misread your sentence. Ignore what I just said.
 
@AsafKaragila I remember using Konig's theorem to prove infinitary version of Ramsey theorem. It's basically the proof given as an exercise here and carried in more detail here. Are you serious to talking to freshmen about infinite trees?
 
I am just a tad confused.
 
QED
3:14 PM
@N3buchadnezzar, write out all the axioms of a vector space then prove that functions R -> R satisfy each one
 
@Martin Just countable.
 
Yeah, I am having problems with the inverse..
 
Also, this is still just graph coloring..
 
QED
you can prove most of them just by looking at it, since they're very easy. I already showed closure by linear combinations
@N3buchadnezzar, which axiom says anything about inverses?
 
My book is dumb, or I am dumb for misreading. f needs to have a negative such that
f + k = 0
and this holds =)
 
QED
3:16 PM
so you need to prove that for all f : R -> R there exists some k : R -> R such that f(x) + k(x) = 0
that's easy, let k(x) = -f(x)
is that clear
 
Yeah =) I thought they needed to have an inverse not a negative
silly me
 
QED
well you can ignore confusing words that have multiple meanings like "inverse"
since you have everything written out clearly in terms of mathematical symbols
$\forall f, \exists k, f+k=0$
 
I recommend adding a qualifier: "additive inverse".
@N3buchadnezzar You don't have to feel bad: in the context of functions, an inverse is commonly interpretted as a "function inverse". But that interpretation does not make sense in this case; that's all.
 
QED
in general if V is a vector space and X is any set, X -> V is a vector space.
(recommend prove this)
 
3:33 PM
hi all
@Sri @QED
anyone there ?
 
QED
hey
 
I logged in to math.se and physics.SE to notice a strange happening to me
 
What was that?
 
I noticed that i got an announcer badge 2 hours back in both the math.SE and physics.SE on two different questions
Further it shows that the question for which i got the badge in math.SE has been removed by me (the author)...if its removed i wonder how it got announcer badge ?
adding to it both these questions are atleast 4-5 months old
hi @Matt
 
3:54 PM
Hi Rajesh. How are you?
 
fine
 
I just spent an hour typing up an answer.
 
how have you been
cool
 
Busy. I have exams starting on the 27th.
 
oh.......all the best
 
3:56 PM
Thanks.
 
Matt: It seems like a long time since I saw you. =)
Hi
 
Hi Srivatsan. Yes, I'm preparing for exams.
 
Which one?
 
Functional Analysis.
 
4:49 PM
@tb: May I ask what this comment means? =)
 
QED
man those mathematica people were hostile due to their short sightness
don't they realize the reason their stackexchange was shutdown was due to lack of support, and understanding reasonings people don't support it might just help them..
 
Hi all. Gotta go to a meeting for work. These meetings take a lot of prep and may take all day. Sorry I've been away for a couple of days and will be for a bit more.
 
QED
hi
 
@Srivatsan: I have most of what I did for the polynomial fit on [0,1] written up. one detail to go. I will finish it and post it as an answer to the question which already has an accepted answer, I see.
but it won't be until I get back tonight.
 
@robjohn Not my question (didn't know that David's answer was accepted) =)
@robjohn By the way, do you know how the distance (of $x^n$ from the lower-deg polynomials) behaves asymptotically? Is it like $1/n$? Or inverse polynomial in $n$? Exponential?
 
5:11 PM
Have to cook my own dinner tonight : (
 
Oh, the horror.
Would you have to eat it too? =)
 
I have to cook my dinner every night.
Sucks to be an adult.
 
@Srivatsan Yes : )
@JonasTeuwen No, I meant because I'm alone tonight. Although, I was told the other day that it's time to grow up and stop being so childish. : )
 
Sounds like good advice.
 
QED
cooking is fun
do you think people have a bias toward accepting more highly upvoted answers? (i.e. even if they're not necessarily better)
 
5:26 PM
High upvote is a reasonable indicator that the answer is good. I have two caveats in mind (assuming I asked the question): (a) If the difference in votes is small (e.g., 15 vs. 17), then I wouldn't go by votes that much. (b) If there is a highly upvoted answer I do not understand, then I wouldn't choose it. "Perhaps the answer gives an enlightening point of view, but it didn't work for me."
That speaks only for me: I am not sure if there's a general bias.
 
Hey! I'd appreciate some advice regarding week calculation. I'm wondering if the [-character is just a parenthesis, or if it's a mathematical sign? en.wikipedia.org/wiki/…
 
That's the floor function. It rounds down to the next lower integer.
 
@Matt thanks alot!
Should I know that? =)
 
Here are some examples where I didn't pick the highest-voted answer: math.stackexchange.com/q/61048/13425, math.stackexchange.com/q/66546/13425. In one case, the difference wasn't significant...
 
QED
interesting
 
5:35 PM
@sshow You're welcome. I don't know, probably not. But now you do! : )
 
@Matt also, i suspect the mod is modulo?
 
Yes, that's right.
 
Have you heard about that algorithm before? Do you know if it can be trusted?
 
QED
It's on wikipedia so of course it's right
 
=)
@sshow Any critical application?
 
5:39 PM
Business critical I'd say =)
 
QED
The issues is that there's no citation
you don't have any source for this
 
Yeah, i know. Annoying. It looked too good to be true.
 
QED
if this is a programming problem, don't you have the standard C library or something like that?
most programming languages have all sorts of date manipulation stuff already implemented
 
I'm using .NET, but the native calendar calculation does not give desired results.
 
QED
that's scary
out of interest, what .NET function is it - which is giving bad results?
 
5:43 PM
@sshow What problem did you face?
 
System.Globalization.CultureInfo.InvariantCulture.Calendar.GetWeekOfYear()
 
QED
I see
 
For 31st December 2007 it returns 53
As the single day of the year in that week number. Does not comply with the ISO standard afaik.
My previous calculation broke down in the last week of 2011, since both the starting and the ending week of year 2012 is week 52. Didn't see that coming.
 
QED
so confusing
what is the correct answer for 31st December 2007?
 
It's week 1
 
QED
5:56 PM
I'm not sure what the best thing to do in that situation is
you probably don't wanna call the ISO C libs for date manipulation if you're using .NET
> %G, %g, and %V yield values calculated from the week-based year defined by the ISO 8601 standard. In this system, weeks start on a Monday, and are numbered from 01, for the first week, up to 52 or 53, for the last week
it says 53 is okay according to ISO there though (man strftime)
> Week 1 is the first week where four or more days fall within the new year (or, synonymously, week 01 is: the first week of the year that contains a Thursday; or, the week that has 4 January in it). When three of fewer days of the first calendar week of the new year fall within that year, then the ISO 8601 week-based system counts those days as part of week 53 of the preceding year
 
Yeah, week 53 is valid. But a week always has 7 days in it. According to .NET, week 53 in 2007 only has 1. And week 1 in 2008 has 6 days.
I'd say that's incorrect behaviour
Maybe even a bug. I'll see what stackoverflow says about it. Maybe I'm wrong.
 
QED
you could write a C program that uses the ISO libs first - see if it agrees or disagrees with the .NET
that would probably save people answering the question time at least [if you included that information]
 
They don't need to save time =)
Programmers like to find stuff themselves
 
00:00 - 19:0020:00 - 00:00

« first day (524 days earlier)      last day (4489 days later) »