Pages

28 July 2013

the nature of evidence or dafuq?

When having online arguments it is often customary to back up your claims with links to supporting evidence. Depending on the level of the argument this evidence may be a newspaper article, a digitized photograph or even a blog posting. For ordinary arguments this works very well and the issue of evidence is quick and easily obtainable.

When the argument involves topics of science then articles from reputable, peer reviewed scientific journals are typically used as evidence. Often, all parties involved in the argument will have access to the same article, or the one with access will read out the relevant portions so that all parties can analyze and judge for themselves what the authors were actually saying, the quality of the author's methodology and whether the author's conclusions were in line with the evidence discovered in the author's research and what the readers themselves actually know.

In addition to this going over the paper itself other papers that verify the findings of a paper's authors are searched for. The more papers in independent research that verify the findings of the originally disputed paper's conclusions the more weight is given to the original paper.

This is how grown up, scientifically minded people argue about science. They go to the source, the research of the scientists themselves.

Arguing with Creationists

Before I dive into this, there are some rational theists, none of whom are Creationists, out there and I wish to acknowledge them and not smear them with the same paintbrush as their more irrational peers.

When arguing with Creationists the nature of evidence often gets called into dispute. Now it's interesting because Creationists want to debate the science of evolution which they often feel is an evil plot, or at best misguided due to human frailties. Science always falls back onto what can be verified and is empirical and often when debating Creationists I insist upon such evidence, preferably from reliable scientific sources. However, it occurs to me that Creationists often do not know what I mean when I say "verfiable", "empirical" or "reliable scientific sources", or they do not wish to know and therein lies the problem.

So, as a service to my Creationist friends, I will provide the following the definitions so that the meanings of these words and phrase are clear to them.

Verifiable

: capable of being verified

Oopsie, it appears that we've run into a once of those problems of using a dictionary. We've been referred to another definition. Alright then.

Verified

: to establish the truth, accuracy, or reality of <verify the claim>

So, when I'm asking for verifiable evidence I'm not asking you to assert that your claim is true. I'm asking you to give me the evidence so that I can establish for myself if the claim is true, accurate or in keeping with what is known about reality. If you're asking me to believe that some sky Djinn "did it" but you can't point the Djinn out to me or show me where scientists have found it in their research then I can't verify it. If I can't verify your claim then your claim is unverifiable and, for lack of a better word, worthless. Sorry.

Empirical

  1. : originating in or based on observation or experience
  2. : relying on experience or observation alone often without due regard for system and theory <an empirical basis for the theory>
  3. : capable of being verified or disproved by observation or experiment <empirical laws>
  4. : of or relating to empiricism

If your evidence comes from a book, well that's fine, but books by themselves aren't evidence. I'm sorry, but no matter how many time you tell me your book is correct because your sky Djinn says it is doesn't make your book any truer. Besides, then we're back to having to verify the existence of your sky Djinn and if you can't point it out to me or where scientists have discovered your sky Djinn then your book fails as empirical evidence.

Sadly, the same thing goes for prophetic predictions, or claims of scientific foreknowledge. Unless, for prophecy, you can show me where you holy book makes a prediction that is clear and testable and not actually a prophecy for the people living at that time in that holy book then your claims of prophetic evidence fail. Claims of scientific foreknowledge also have to be clear and testable. I mean, why did the bible, for example, only predict Hitler after he started persecuting Jews and Homosexuals? In the same vein, why did the bible only reveal dinosaurs (it doesn't, but that's another topic) only after scientists started digging up and classifying their fossilized remains?

Reliable Scientific Sources

Okay, I don't have a dictionary definition for this one so I'll have to do my best to carefully explain what I mean by this phrase. When I say "reliable scientific sources" I'm saying several things:

  1. Articles from reputable, peer reviewed scientific journals
  2. Reputable science magazines

So the first thing you need to do is try to find a supporting article in a reputable, peer reviewed scientific journal...oh dear. By the blank looks on my Creationist friend's faces I seem to have uttered more words that they don't seem to understand. Alright then, let's try some more definitions.

"Reputable

  1. : enjoying good repute : held in esteem
  2. : employed widely or sanctioned by good writers

If you have some claim that birds aren't related to dinosaurs and you pass me off an article from Answers in Genesis: Answers Research Journal, well that's just not a reputable journal. No scientist that has any value in their field publishes their work in Answers Research Journal. There are a couple of reasons for this 1) if you go to Answers about page the publishers quite clearly state that the bible is the ultimate authority and all scientific research must conform to the bible, 2) Answers rarely publishes any research, mostly just rebuttals of science research that they don't agree with, and the odd actual research they do publish is third rate.

Peer Reviewed

: a process by which something proposed (as for research or publication) is evaluated by a group of experts in the appropriate field

Again, if you hand me Creation Ministries International's Journal of Creation claiming I should read it because it's peer reviewed well I'm not. In a reputable journal peer review is carried out by experts that have been selected to perform the review of a particular paper that has been submitted. The more reputable the paper the more experts they have to draw on. In a journal of low repute, such as Journal of Creation, there are very few experts in any scientific field that are associated with them that they can draw on. Also, as in Answers Research Journal, Journal of Creation states on their about page that the bible is the ultimate authority and thereby limits, if not eliminates, the usefulness of any peer review except to perhaps grammar and spelling.

A good source to look for reputable, peer reviewed scientific journals is PAIS.

Carrying Onward

Now, where was I? Oh yes, I was saying the first thing you should do is try to find if there are any articles in any of the reputable, peer reviewed scientific journal that support your claim. Then read it, not just the abstract, but the whole paper, try to understand it, to absorb it. Try to get inside the heads of the scientists and try to see things the way they saw them. Look at their methodology, did they do things correctly? If you don't understand their methodology, ask for help. Try to get a feel for the equations they're using and the graphs they're displaying. Go over the conclusion, does it fit their premise and does it make sense in light of their research?

Do all of this and you might be able to win points against people who accept evolution, be they theist or atheist. In the process you might learn something new about the world around you too.

21 July 2013

agnosticism and atheism

For some reason most theists and even some atheists seem to have trouble with the concepts of agnosticism versus atheism. In this article, I'm going to try to address the apparent confusion around these two terms. With any luck this will be a useful resource for theists and atheists alike.

Agnosticism

The root of agnosticism is gnosis. According to Merriam-Webster's Online Dictionary gnosis is:

: esoteric knowledge of spiritual truth held by the ancient Gnostics to be essential to salvation

Therefore, to be agnostic is to be without this special knowledge. Again, according to Merriam-Webster's Online Dictionary agnostic is:

: a person who holds the view that any ultimate reality (as God) is unknown and probably unknowable; broadly : one who is not committed to believing in either the existence or the nonexistence of God or a god

Atheism

The root of atheism is theos from which theism is derived. According to Merriam-Webster's Online Dictionary theism is:

: belief in the existence of a god or gods; specifically : belief in the existence of one God viewed as the creative source of the human race and the world who transcends yet is immanent in the world
Then an atheist is someone who does NOT believe in the existence of deities. From Merriam-Webster's Online Dictionary atheism is:
: a disbelief in the existence of deity

Discussion

Most atheists will naturally fall into the agnostic camp. There being no verifiable, empirical evidence of deities means that one cannot know for certain about the actual existence of said deities. So while an atheist may not believe in the existence of any deities, without searching all space-time they cannot know for absolute certain that one does not exist. However, given the improbable likelihood of ever being able to perform such a search it is not necessary to do so in order to show that no deities exist. If there are deities in the Universe and they are not in anyway observable within the space we search then we can infer that they do not affect us and are as good as nonexistent. That said, given the complete lack of evidence of deities up to this point some atheists believe that such a lack of evidence is compelling enough evidence to positively conclude that there are no deities.

It is interesting to note that most theists are actually agnostics as well. They, much like atheists have no verifiable, empirical evidence of the existence of their particular or any other deities. While a theist may actually believe in the existence of a certain set of deities they cannot know for certain that any actually do exist. Theists that say they actually know that deities exist is either deluded or lying. Unfortunately for the theist making a positive claim, as no verifiable, empirical evidence of deities has yet been found, it falls on them to prove the existence of the deities they say exist.

Naturally, some theists object to this and claim that atheists that make a positive claim of the absence of deities also bear the burden of proof. However, this is not true. Given the fact that up to this date no deities have been found the Null Hypothesis is that there are no deities. As a result, the atheist making the positive claim is not really obligated to prove that deities don't exist because the view of these particular atheists are in line with the Null Hypothesis. Since the theist has, through making a positive claim, constructed an Alternative Hypothesis he or she now bears the burden of collecting the evidence and seeing which hypothesis is supported by this evidence.

Bear in mind that this does not get the atheists off "Scott Free". Should a theist actually find any verifiable, empirical evidence of the existence of deities and this evidence passes scrutiny then the Null Hypothesis may change and the atheists will now have to reevaluate their beliefs, or lack thereof as the case may be. However, until that happens atheists can rest assured that theists will spend a long time looking for the existence of their deities which started at the dawn of religion.

13 May 2013

we're all cranks-in-waiting

So I read this article, linked to on this Slashdot article which prompted me to post this on my G+ account.

Easy to Crank

Earlier this morning it occurred to me that I was behaving in the manner of a crank. I was acting as if my inexpert opinion counted as much as the opinions of those who've studied and practiced computer programming much of, if not most, of their careers.

Additionally, it doesn't seem to take much to turn one into a crank.

Aside:

I still can't stop futzing with the code.



#include <stdio.h>

int fizz_buzz(int num)
{
        int m1 = 3, m2 = 5, f = 0;

        if (num % m1 == 0) {
                f = 1;
        }

        if (num % m2 == 0) {
                f = f + 2;
        }

        return(f);
}

int main() 
{
        int max = 100, n = 1;
        char s1[] = "fizz", s2[] = "buzz";

        while (n <= max) {
                switch (fizz_buzz(n)) {
                        case 1:
                                printf("%s", s1);
                                break;
                        case 2:
                                printf("%s", s2);
                                break;
                        case 3:
                                printf("%s%s", s1, s2);
                                break;
                        default:
                                printf("%d", n);
                                break;
                }
                
                printf("\n");
                n++;
        }
        return 0;
}

30 March 2013

learning fortran

I've decided that a person with a science degree is probably lacking if s?he doesn't know a bit of Fortran, so I've taken the liberty of teaching myself by following the tutorial available a Fortran Tutorial. I ran into a bit of a snag on Exercise 6.3 on the Subroutines and Functions lesson. For some reason I couldn't get the subroutine to work the way I wanted. I knew the algorithm for the finite difference matrix itself was correct, but it kept crashing on me

I'm using gfortran on both my workstation and on my android device, but they both seem to work differently when it comes to arrays and fortran procedural programming and I think gcc on my android is broken. This only made things more frustrating for me, so I began to do a lot of reading on Fortran 95 and how it handles arrays, functions and the like while trying things out.

Happily, I was able to figure it out but it only works on my workstation. It's too bad the gcc android port I'm using is broken, I'll have to find a replacement. Anyhow, here is the code I was able to cobble together. Try not to be too critical.


program exercise6_3
    !print out a finite difference matrix using a function
    implicit none
    integer :: row, col, length
    integer, allocatable, dimension(:,:) :: matrix 
    print *, 'How big is your nxn matrix?'
    read *, length

    allocate(matrix(length, length))
    call d_matrix(length, matrix)

    do row = 1, length
          write(*, 10) (matrix(row, col), col = 1, length)
    end do

    10 format(100i2)

    deallocate(matrix)

    end program exercise6_3

    subroutine d_matrix(count, array)
    !finite difference matrix
        implicit none
        integer :: count, m
        integer, dimension(count,count) :: array
        !array dimensions must be specified

        array = 0
        do m = 1, count
              array(m, m) = 2
              if ( m /= count ) then
                    array(m, m + 1) = -1
                    array(m + 1, m) = -1
                end if
        end do

        end subroutine d_matrix

19 March 2013

fun with a basic algorithm

On Twitter Ed announced that he was playing around with a BASIC program that ran on the venerable Commodore 64. I myself am not a professional programmer, but I've taken several programming courses and have played with code from time to time. I fondly remember programming instructions in BASIC or Pascal on the school computers and was always a bit saddened that my home didn't have one for our personal use.

Naturally, Ed posting about 10 PRINT made me curious. Since I run OpenBSD on my workstation I don't have a native version of BASIC, but I do have a C compiler in the form of GCC. So I set out to port "10 PRINT" in C.

10 PRINT

The Code

10 PRINT CHR$(205.5+RND(1)); : GOTO 10

10 PRINT Output - Frodo C64 Emulator

My First Porting Attempts

The variant of UNIX that I doesn't have the PETSCII character set that the Commodore 64 uses in the 10 PRINT program. As a result my first attempts used the slash "/" and the backslash "\" characters from the standard ASCII library.

maze.c


/* auto maze generator */

#include <stdio.h>
#include <stdlib.h>

/* print to screen the backslash or forward
 * slash depending if the value of i is
 * odd or even. */

int main (int argc, char *argv[])
{
        do {
                int i = random();

                if ( i%2 == 0 )
                        printf ("\\");
                else
                        printf ("/");

        } while ( 1 );

        return 0;
}

maze1.c


/* auto maze generator, mk1 */

#include <stdio.h>
#include <stdlib.h>

/* determine if the number passed is
 * odd or even and return result. */

int odd_even (number)
        int number;
{
        if ( number % 2 == 0)
                return 0;
        else
                return 1;
}

/* print the forward slash or backslash
 * depending on returned result. */

int main (int argc, char *argv[])
{
        do {
                int i = random();

                if ( odd_even(i) == 0 )
                        printf ("\\");
                else
                        printf ("/");

        } while ( 1 );

        return 0;
}

maze2.c


/* auto maze generator, mk3 */

#include <stdio.h>
#include <stdlib.h>

/* print to screen the backslash or forward
 * slash depending if the value of i is
 * odd or even. */

int main (int argc, char *argv[]){do {int i = random();if (i%2==0) printf("\\");else printf("/");}while(1);return 0;}

Output of First Attempts

My Following Attempts

I wasn't satisfied with the use of slash and back slash to build the output. While using slash and backslash approximated the output of 10 PRINT somewhat, it was obvious that the approximation was lacking. Fortunately, it turns out that Unicode has a solution that more approximates the diagonal lines used in PETSCII. The right leaning line has the Unicode symbol

0x2571
and the left leaning line has the symbol
0x2572
in C. So, using those symbols I modified my code accordingly. I also used an terminal emulator that was capable of rendering the Unicode symbols I was using to view my output, in this case Gnome Terminal.

maze4.c


/* auto maze generator, mk4 */

#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <wchar.h>

/* print the forward slash or backslash
 * depending on returned result. */

int main (int argc, char *argv[])
{
        char *locale;
        locale = setlocale (LC_CTYPE, "en_US.UTF-8");
        int i;

        while (1) {
                wprintf (L"%lc", (i = 2571.5 + arc4random_uniform(2), i == 2571) ? L'\x2571' : L'\x2572');
        }

        printf ("\n");

        return 0;
}

maze5.c


/* auto maze generator, mk5 */

#include <stdio.h>
#include <stdlib.h>
#include <locale.h>
#include <wchar.h>

/* Adds a value 0 < x < 1 to passed float
 * value and return an integer. */

int find_value (given)
        float given;
{
        given = given + arc4random_uniform(2);
        return (given);
}

/* print the forward slash or backslash
 * depending on returned result. */

int main (int argc, char *argv[])
{
        char *locale;
        locale = setlocale (LC_CTYPE, "en_US.UTF-8");
        int i;

        while (1) {
                wprintf (L"%lc", (i = find_value(2571.5), i == 2571) ? L'\x2571' : L'\x2572');
        }

        printf ("\n");

        return 0;
}

Output of Following Attempts

Thoughts

I find the original algorithm in C64 BASIC interesting for a couple of reasons.

  1. The entire script is one line.
  2. The script uses a 'goto' statement.
  3. The script takes advantage of how characters are defined in PETSCII

If I were to do this properly in C I would either have to have a similar set of characters that I could call on, or I would have to call on C's graphical abilities and define line segments for various values in the algorithm.

The fact that there are two opposing slash characters in Unicode that are numerically adjacent to each other is fortuitous. I don't know if the spec for Unicode came before 10 PRINT and PETSCII or after, but I suspect that if it's the latter then perhaps the designers were influenced by 10 PRINT? This is something that I may have to look into a bit, just to satisfy my curiosity.

19 February 2013

fossil fuel interests and funding of climate change denial groups

>Peter Sinclair of "Climate Denial Crock of the Week", 19 February 2013.

Mr Sinclair has posted a new blog about a recent peer reviewed study titled Study Links Tobacco, Tea Party, Climate Denial,… and Fox News. The verifiable, peer reviewed evidence against the fossil fuel interests continues to build.

06 January 2013

Christmas Vacation 2012

Today we tore down the Christmas Tree (Holiday Tree?) The kids wanted the lights on and the activity rode into their bedtime. Now I'm left to finish the tear down on my own.

As I work on the tree, and indeed over the past several weeks, my thoughts were haunted by the realization that things were different this year. You see, my father passed away in August and this was the first year we were all celebrating without him.

Normally I find myself growing excited with anticipation as Christmas approaches, but this year I had a hard time finding that anticipation and excitement. I could see that my kids felt it but I could also see that my wife was struggling as much as myself.

Overall, we had a good vacation; we saw friends and family, some whom we haven't seen in years. My mom was holding up well though I'm sure it has been hardest on her. My sisters and their families did their best to make our visit with them memorable and happy.

What Christmas means to me has changed several times in my life and such a change occurred again this year. To me Christmas is another opportunity in a world of missed opportunities to spend time with your loved ones while they're still here and still exist. May you find opportunities throughout the year to have those you cherish near you.