Search found 542 matches

by ThomasS
Mon Sep 12, 2011 9:40 pm UTC
Forum: Coding
Topic: Is there an alternative to this try/catch block?
Replies: 20
Views: 4867

Re: Is there an alternative to this try/catch block?

In general, it is a question of style. It is often best to try to match the style of the code that has come before. In C++ exceptions are often not used. There are various reasons for this. C++ style evolved from C style. Sometimes there have been problems with them under certain compilers. Also the...
by ThomasS
Thu Aug 25, 2011 5:58 am UTC
Forum: Science
Topic: Question from a theist on universal beginnings and entropy
Replies: 290
Views: 24920

Re: Question from a theist on universal beginnings and entro

Physics doesn't say terribly much about universal beginnings, and Aquinus style "prime mover arguments" don't fit terribly well into the framework of discovery that we call science. "How fast do things fall?" is a scientific question, in that we can devise theories and come up wi...
by ThomasS
Thu Jun 02, 2011 6:46 am UTC
Forum: Language/Linguistics
Topic: Reading test for 6 year olds to include non-words
Replies: 49
Views: 8774

Re: Reading test for 6 year olds to include non-words

Real words that are short enough to be manageable by 6-year-olds and also conform to typical pronunciation rules? Why does it matter if the words conform to typical pronunciation rules? I mean, if they don't, they might start learning that the rules aren't always right. Just count it as correct if ...
by ThomasS
Wed Jun 01, 2011 2:45 pm UTC
Forum: Language/Linguistics
Topic: Reading test for 6 year olds to include non-words
Replies: 49
Views: 8774

Re: Reading test for 6 year olds to include non-words

Now that I think about it, what I really want to know is why they need non-words to test the ability to make educated guesses about pronunciation. If a school teacher cannot come up with real words that are new to a 6 year old, then something else is wrong.
by ThomasS
Tue May 24, 2011 7:42 pm UTC
Forum: Mathematics
Topic: Recently awakened love for mathematics. How do I pursue?
Replies: 4
Views: 1073

Re: Recently awakened love for mathematics. How do I pursue?

So, I guess my real question is, for all of the math nerds out there, how do you "do math" from day to day? What kind of projects do you give yourself to pass the time and better yourself in your field? What advice would you give a student just out of Calc 2 who recently realized they lov...
by ThomasS
Tue May 24, 2011 7:19 pm UTC
Forum: Language/Linguistics
Topic: Reading test for 6 year olds to include non-words
Replies: 49
Views: 8774

Re: Reading test for 6 year olds to include non-words

I take it you already know Of tough and bough and cough and dough? Others may stumble, but not you, On hiccough, thorough, lough and through? Well done! And now you wish, perhaps, To learn of less familiar traps? Beware of heard, a dreadful word That looks like beard and sounds like bird, And dead:...
by ThomasS
Sat May 14, 2011 9:37 am UTC
Forum: Coding
Topic: The "IT DOESN'T WORK!" thread
Replies: 1958
Views: 556504

Re: The "IT DOESN'T WORK!" thread

In regards to the exact question that was asked, if you are calling these queries from something sufficiently smart (java, etc) then there should be a way to use string concatenation to create the query string that you actually need. However, I agree that this is the sort of database design that end...
by ThomasS
Fri May 13, 2011 6:15 am UTC
Forum: The Help Desk
Topic: MS SQL problem
Replies: 2
Views: 953

Re: MS SQL problem

From what language are you called SQL?
by ThomasS
Wed Dec 15, 2010 12:10 pm UTC
Forum: Language/Linguistics
Topic: singular pronoun for a person?
Replies: 50
Views: 6272

Re: singular pronoun for a person?

supereater14 wrote:but it needs to be accepted by mt english teacher

You could ask them how it can be good enough for Jane Austin, but not good enough for class.

"Everybody must find his or her own way." just seems awkward compared to "Everybody must find their own way."
by ThomasS
Wed Dec 15, 2010 12:00 pm UTC
Forum: Science
Topic: Bell's theorem refuted!?
Replies: 90
Views: 13543

Re: Bell's theorem refuted

I tend to agree with you. Unfortunately our minds are not equipped to easily interpret a world without causality, and so it is hard to abandon. In what sense? It isn't hard to devise a differential equations problem in which both the initial and final states are part of the boundary conditions. I m...
by ThomasS
Wed Dec 15, 2010 7:08 am UTC
Forum: Science
Topic: Bell's theorem refuted!?
Replies: 90
Views: 13543

Re: Bell's theorem refuted

This would be a non-local theory hidden variable theory, since we have action at a distance (phone calls). Personally, I happen to be a big fan of this approach. This Pizza experiment, the utility of advanced potentials in the prediction of radiative reaction, the time required for wave functions t...
by ThomasS
Mon Dec 13, 2010 10:25 am UTC
Forum: General
Topic: Morality without religion - why?
Replies: 33
Views: 3518

Re: Morality without religion - why?

I find it rather sad to hear it suggested that people need an external voice to know that murder is wrong. Are religions so insecure that they must either ignore or claim ownership of human empathy?
by ThomasS
Mon Nov 22, 2010 9:05 pm UTC
Forum: General
Topic: Split checks
Replies: 26
Views: 4184

Re: Split checks

One thing I remembered while rereading this post: Nowadays most table checks are printed up via computer. It wouldn't be all that difficult to split it up as it would be for someone who still does it the old-fashioned way. You need an interface that is really designed to pick out what each person a...
by ThomasS
Wed Oct 27, 2010 10:40 am UTC
Forum: Mathematics
Topic: Some Multivariable calculus questions
Replies: 29
Views: 3054

Re: Some Multivariable calculus questions

I suppose you're referring to for f:X\rightarrow Y A limit L exists as x-> a iff (\forall \varepsilon \in \Re^{+})( \exists \delta \in \Re^{+})(\forall \mathbf{x} \in X)\, \mathbf{x} \in B_{\delta}(\mathbf{a}) \Rightarrow f(\mathbf{x}) \in B_{\epsilon}(\m...
by ThomasS
Wed Oct 13, 2010 1:36 am UTC
Forum: General
Topic: Split checks
Replies: 26
Views: 4184

Re: Split checks

In Germany they will often split the check by asking each person what they ordered, adding up (by hand, at the table) an individual food or beer bill, and checking it off the main bill. I have seen some places in which they have a pda/smartphone type bill manager payment accessory for this, but in g...
by ThomasS
Fri Oct 08, 2010 6:39 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0803: "Airfoil"
Replies: 243
Views: 100404

Re: 0803: "Airfoil"

There is a bit of truth to the explanation, even if the overall argument is false. Specifically, it is true that the air above the wing is moving faster and has a lower pressure than the air below the airfoil, and it is also true that this pressure difference is in some sense why life occurs. Well, ...
by ThomasS
Tue Aug 03, 2010 12:43 pm UTC
Forum: News & Articles
Topic: Man to lose inheritance to mother of child that isn't his
Replies: 199
Views: 20593

Re: Man to lose inheritance to mother of child that isn't hi

One other social policy aspect of this that paternity challenges (and, as a related example, adoption challenges) normally have strict time limits. The reason is quite simple; at some point the child deserves certainty about who his or her legal parents are. Now in this case, the fact that he (possi...
by ThomasS
Sun Aug 01, 2010 9:40 am UTC
Forum: Science
Topic: Two electric charges
Replies: 10
Views: 1261

Re: Two electric charges

However, it's possible that you could radiate in such a way that as the radiation encountered the change in electric field from the other side, it interfered and conserved energy. That would be a pain in the butt to prove though. Of course the creation of light or radio waves conserves energy. But ...
by ThomasS
Sat Jul 31, 2010 10:25 pm UTC
Forum: Science
Topic: Two electric charges
Replies: 10
Views: 1261

Re: Two electric charges

I won't let the system evolve or so - if there is one point where I have sacked in a positive amount of energy, and the distance between the charges is exactly as before, I just can wait for all electric fields and so on to go back to a steady state, and repeat the thing. Expanding on my previous c...
by ThomasS
Sat Jul 31, 2010 10:37 am UTC
Forum: Mathematics
Topic: Proof of the Twin Prime Conjecture
Replies: 49
Views: 7854

Re: Proof of the Twin Prime Conjecture

Maybe it is time the concept and size of infinity is revisited in a new perspective. Mathematicians have spent a long time getting a handle on what infinity does and doesn't mean. There are things left which we don't fully understand. The problems with your argument are, however, quite clear and un...
by ThomasS
Sat Jul 31, 2010 9:56 am UTC
Forum: Science
Topic: Two electric charges
Replies: 10
Views: 1261

Re: Two electric charges

I think that this might be a demonstration of the necessity of the force of radiative reaction. I'm not sure how hard it is to work out the force when the particle motion is not periodic. In any case, solving Maxwell's equations in the presence of accelerating charges is more involved than solving s...
by ThomasS
Fri Jun 11, 2010 4:37 am UTC
Forum: Mathematics
Topic: nth Derivative Proof
Replies: 1
Views: 848

Re: nth Derivative Proof

Your idea and most of your layout is ok. One thing though is that [imath]\frac{dy}{dx}[/imath] is a value, not an operator. I think that every time term appears it should be [imath]\frac{d}{dx}[/imath]. In any case, if you do use [imath]y[/imath], you should define it.
by ThomasS
Tue May 25, 2010 12:34 pm UTC
Forum: Mathematics
Topic: Math Books
Replies: 379
Views: 273923

Re: Math Books

So, can anyone suggest me a good book to bridge the gap between calculus 1+2 and linear algebra? If you are willing to learn to think about proofs (and it sounds like you are), Lax's Linear Algebra is decent. Or are you looking for basic proof practice before linear algebra? I can try to think of s...
by ThomasS
Fri May 14, 2010 1:38 pm UTC
Forum: The Help Desk
Topic: sshd immediately drops connections
Replies: 16
Views: 3064

Re: sshd immediately drops connections

Comparing the conf file to the man page , I see that "UseDNS" defaults to yes and I do not see this option in your conf file. Depending on what systems you are trying to connect from, this might explain the symptoms. One would fix it by either turning off UseDNS or adding the hosts you are...
by ThomasS
Thu May 13, 2010 10:29 am UTC
Forum: Computer Science
Topic: Maximizing information density
Replies: 11
Views: 3368

Re: Maximizing information density

The question is only answerable if you know something about the data to be selected. Knowing "nothing" would mean that it is random data and you might as well not bother trying to compress it. Knowing that it has patterns like a natural language changes the problem. Knowing which language ...
by ThomasS
Thu May 13, 2010 10:14 am UTC
Forum: The Help Desk
Topic: sshd immediately drops connections
Replies: 16
Views: 3064

Re: sshd immediately drops connections

This is the expected behavior when your sshd_config file is in some way too paranoid for your connection method. Indepently of the listenaddress, sshd can be set to only accept connection from known hosts, only accept certificate authentication, not allow remote login by root, etc, etc. More than on...
by ThomasS
Mon May 10, 2010 5:42 am UTC
Forum: Mathematics
Topic: Taylor Series
Replies: 15
Views: 3073

Re: Taylor Series

So let me get this straight: the Taylor Series is NOT a series in and of itself, but a method of FINDING a power series for a given function? Were they drunk when they named it? No. "A Taylor series" is a particular instance of a series constructed from some function using the method desc...
by ThomasS
Sun Apr 18, 2010 7:58 pm UTC
Forum: Mathematics
Topic: Tailor me a function
Replies: 13
Views: 1434

Re: Tailor me a function

More or less working with eta's idea... start with the family of 3rd degree polynomials with roots at 0 and 1. So, f(x;a,b) = a x(1-x)(b-x). I suspect that the following are true; careful checking would be a good exercise for a calculus student: (1) The restricted family with...
by ThomasS
Thu Apr 15, 2010 12:19 pm UTC
Forum: Fit Club
Topic: How do you stop yourself from snacking on bad things?
Replies: 42
Views: 10445

Re: How do you stop yourself from snacking on bad things?

I think that if I were in your shoes I'd try to only eat one unhealthy snack per day and replace the others with healthy things. Personally, I find that carrots, Kolrabi, cucumbers and fruit all tend to make pleasant snacks.
by ThomasS
Sun Apr 04, 2010 9:23 am UTC
Forum: Science
Topic: Is time considered a dimension, and if not, why?
Replies: 25
Views: 2958

Re: Is time considered a dimension, and if not, why?

Time is an aspect of the world, and is certainly a dimension in that non-technical sense. Now, if you want to know if time is a dimension in some mathematical sense, then I suppose you should go use the mathematical definition of the word. Since knowing the location of a wedding is not very useful w...
by ThomasS
Wed Mar 10, 2010 3:06 pm UTC
Forum: Mathematics
Topic: Level surfaces and gradients
Replies: 8
Views: 1328

Re: Level surfaces and gradients

Sorry, I mean the vector given by grad(A) at any point (x,y) in R² on surface A is normal to the surface (perpendicular). So if the dot product of the vector [gradient] fields is 0, wouldn't this mean for all gradient vectors on the surfaces A and B are perpendicular? Would this mean that the surfa...
by ThomasS
Wed Mar 10, 2010 9:52 am UTC
Forum: Mathematics
Topic: Level surfaces and gradients
Replies: 8
Views: 1328

Re: Level surfaces and gradients

The gradient at a point is perpendicular to the level surface which passes through that point. If you move away from that point, both the gradient and the level surface through that new point might change. Sometimes curved level surfaces can be translations of each other, and therefore are parallel ...
by ThomasS
Fri Feb 19, 2010 11:11 pm UTC
Forum: Serious Business
Topic: Whatever happened to fingerprint trigger locks?
Replies: 51
Views: 15884

Re: Whatever happened to fingerprint trigger locks?

This is akin to saying if people just wouldn't drive dangerously we wouldn't need airbags, the entire point of safety mechanisms is to prevent an accident from happening on that one rare occasion when someone does break the rules and do something stupid. Airbags essentially never interfere with the...
by ThomasS
Wed Feb 17, 2010 10:20 pm UTC
Forum: News & Articles
Topic: Germany persecutes Evangelical Christians
Replies: 111
Views: 12472

Re: Germany persecutes Evangelical Christians

Nor am I, but my point wasn't about stopping kids from graduating early, more that it isn't always a good thing and that MrGee is probably over estimating the advantages of doing so. How can you over estimate the advantage of 3 additional years to live and interact with the real world? 3 years in t...
by ThomasS
Wed Feb 17, 2010 9:51 pm UTC
Forum: News & Articles
Topic: Germany persecutes Evangelical Christians
Replies: 111
Views: 12472

Re: Germany persecutes Evangelical Christians

That has always been my argument against home schooling, can't you only learn as much as you parents know? I mean in highschool you have people with math degrees teaching you math and science degrees teaching you science. Unless your parents are Davinci that will tend to be narrower than a school e...
by ThomasS
Wed Feb 17, 2010 12:50 pm UTC
Forum: Mathematics
Topic: Significant Figures
Replies: 9
Views: 1752

Re: Significant Figures

The real answer is that if you are in a situation where the exact amount of uncertainty is important, then you should be doing the more formal uncertainty propagation and expressing things with \pm . The rest of the time you are trying to give digits roughly commensurate with the expected precision ...
by ThomasS
Tue Feb 16, 2010 3:47 pm UTC
Forum: News & Articles
Topic: Germany persecutes Evangelical Christians
Replies: 111
Views: 12472

Re: Germany persecutes Evangelical Christians

What has finishing early to do with homeschooling? Most school systems allow skipping one or several grades. How does the phrase go? Oh yeah, "In theory, theory in practice are the same, in practice...". The possibility of maybe skipping a grade is hardly comparable to having a curriculum...
by ThomasS
Wed Feb 10, 2010 6:02 pm UTC
Forum: Language/Linguistics
Topic: Studying phonetics: how to learn forming sounds?
Replies: 28
Views: 4861

Re: Studying phonetics: how to learn forming sounds?

I once took a phonetics course in which we had a lab full of tape recorders, we'd hear something, attempt to say it, and then hear played back both what we said and what we were trying to copy. It was a learning experience, though still not a particularly fast one. These days it seems like it would ...
by ThomasS
Tue Feb 09, 2010 11:21 pm UTC
Forum: Mathematics
Topic: Extra-curricular Maths
Replies: 10
Views: 1333

Re: Extra-curricular Maths

If you are setting out to learn an instrument, the best sort of music to learn with is things that you yourself like to listen to. I imagine that it would look well for you to wax poetic on your application about the beauty of analysis proofs, geometry proofs, group theory proofs, topology proofs, c...

Go to advanced search