Elliot Temple | Permalink | Messages (0)

What About Israel?

Scott Ott writes:

Just a month after Colorado high school teacher Jay Bennish was caught on tape by a student as he ranted against President George Bush, capitalism and the United States in general

But the rant had a large anti-Israel component that was, in my opinion, even more unfair than the anti-US comments. It included that Israel was formed by the West as appeasement to widespread Jewish terrorism and assassination.

Elliot Temple | Permalink | Messages (0)

Anti-Voluntary

I think some liberals (in the modern sense meaning 'leftist') believe this or similar:

All voluntary actions are self-interest based, therefore to rise above self-interest and have an ideal society *requires* involuntary actions: government force.

Elliot Temple | Permalink | Messages (5)

Widespread Support For Terrorism

Rantissi killing: World reaction

Dear God, the entire world except Israel and USA condemned killing a major player in Hamas. And USA's statement was far too weak.

My preferred statement by the USA would be something like:

Good riddance to bad men. We pray Israel will continue this policy of making the world a better place. We are currently developing methods to coordinate with Israel to aid in future strikes. We will treat any condemnation of this action as condemnation of the United States as well. We wish to stand united with Israel, and the Jews, hand in hand, if they will have us.

I realise the "wish to" and "if they will have us" is a bit weak for a public statement, but i can dream.

The most interesting quote was:

Lebanese Culture Minister Ghazi al-Aridi:

"This is an ongoing soap opera and we'll see more murders of Palestinian leaders... This is absolute terrorism in all senses of the word."


Hamas leaders are "Palestinian leaders"?

Elliot Temple | Permalink | Message (1)

can't win

kill terrorists with collateral damage, and leftists hate you

refrain, and they hate you too

"Richard Clarke has charged that fighting terrorism was not the top priority with the Bush administration"

http://in.rediff.com/news/2004/mar/25osama.htm

Elliot Temple | Permalink | Messages (0)

Global Warming

LOL

http://seattletimes.nwsource.com/cgi-bin/PrintStory.pl?document_id=2002822474&slug=harrop23&date=20060223

just bury the CO2, says article. until then blow on windmills all day to check your email.

don't lefties usually oppose burying pollution in the ground? it could get into the water!! we'll never survive the dual threats of CO2 and dihydrogen-monoxide in the water!!

why not just turn the CO2 into something else we like more? we already have machines to do this: we call them plants. especially seaweed. i hear there's plenty of space left in the sea.

Elliot Temple | Permalink | Messages (0)

Silly Studies and Food Fads

Wikipedia says:

Diet. One flawed study purported that Chocolate, french fries, potato chips and sugar, among others, affect acne. A recent review of scientific literature cannot affirm either way. The consensus among health professionals is that acne sufferers should experiment with their diets, and refrain from consuming such fare if they find such food affects the severity of their acne.

But how is someone supposed to know what foods increase or decrease his acne? Try to pay attention to what he eats and what changes in diet are linked to what effects? How will he know which food did it, and how will he know what the time delay between diet changes and acne changes is? (If acne changes, was the it due to the food 2, 4, 6, or 20 days ago? Or not due to food at all?) Scientists trying to do controlled studies haven't figured anything out yet. A person who goes on his own anecdotal evidence will almost certainly be creating unscientific superstitions for himself to follow. This should not be encouraged. People have enough hang-ups about food already. The only responsible advice for scientists to give is, "don't worry about it, eat what you want."

That some scientists would encourage people to act on anecdotal evidence in this way suggests they are not competent to perform studies themselves.

Elliot Temple | Permalink | Messages (2)

Programmer Productivity

Yannis has proposed Yannis's Law which states that programmer productivity doubles every 6 years. He gets the figure from a project that took a week or two in 1972, but would now take an hour or two. I just did it in twenty minutes using a plain text editor (with python syntax highlighting) and a unix terminal. My Python is rusty.

The KWIC index system accepts an ordered set of lines, each line is an ordered set of words, and each word is an ordered set of characters. Any line may be "circularly shifted" by repeatedly removing the first word and appending it at the end of the line. The KWIC index system outputs a listing of all circular shifts of all lines in alphabetical order. This is a small system. Except under extreme circumstances (huge data base, no supporting software), such a system could be produced by a good programmer within a week or two.
Here's my code:

#!/usr/bin/env python
def main():
    f = open("kwic.txt", "rU")
    out = open("kwic-output.txt", "w")
    final = []
    for line in f:
        words = line.split()
        count = len(words)
        for i in xrange(count):
            final.append(makestr(words))
            cycle(words)        
    final.sort()
    for ele in final:
        out.write(ele + "\n")
        
def makestr(li):
    s = ""
    first = 1
    for ele in li:
        if first == 1:
            first = 0
            s += ele
        else:
            s += " " + ele
    return s
    
def cycle(li):
    tmp = li[0]
    del li[0]
    li.append(tmp)
    return li

if __name__ == '__main__': main()


By the way, if someone knows a more elegant way to avoid having an extra space in makestr, let me know. I'm aware of the option of deleting the first character after making the string, but I don't consider that very nice either.

Elliot Temple | Permalink | Messages (4)