Archive

Archive for November, 2009

OpenID enabled

November 29th, 2009

I wanted to use my website as an OpenID authentication source (I’m pretty sure I have OpenID through other public service providers, such as Yahoo! and LiveJournal, but no one with an ounce of sense should be relying on third party providers for his identity), and as usual the easiest way to do it was to install a WordPress plugin.

Incidentally, the plugin also provides for visitors to authenticate themselves using their OpenID from elsewhere (the website URL when you enter comment is the same URL that can be used for OpenID), so that’s for your use, if you please—practically, there’s no real difference; all comments are held for moderation anyway (how else would I squelch dissent in my little paradise?), and is not your self-described nick proof enough of your identity? But in any case, I just wanted to get on some bandwagon and the OpenID bandwagon seems to be a … convenient one.

Oh, BTW, for those of you who hesitated on making an account, well, now you actually can’t make an account without a valid OpenID. Don’t you wish you had done it earlier?

Author: bkpark Categories: Uncategorized Tags: ,

Calmail leaks IP addresses!

November 29th, 2009

For regular visitors of my blog from UCB, here’s an early holiday Christmas present to you: Calmail leaks IP addresses! Here’s a quick demonstration (I’ve seen similar headers on emails from friends and colleagues, but I didn’t want to expose their info; I’ve redacted some info here as I didn’t want to expose my … secret email server scheme, or my real username for Calmail):

Return-path: xxxx...@visitor3.berkeley.edu
Envelope-to: bkp...@xxxxxx.xxx
Delivery-date: Sun, 29 Nov 2009 01:32:12 -0800
Received: from visitor3.berkeley.edu ([128.32.124.159])
        by helen.byungkyupark.com with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
        (Exim 4.69)
        (envelope-from <xxxx...@visitor3.berkeley.edu>)
        id 1NEg8a-0000jX-J7
        for bkp...@xxxxxx.xxx; Sun, 29 Nov 2009 01:32:12 -0800
Received: from xxxxxxx by visitor3.Berkeley.EDU with local (Exim 4.69)
        (envelope-from <xxxx...@visitor3.berkeley.edu>)
        id 1NEg8a-0001rk-4v
        for bkp...@xxxxxx.xxx; Sun, 29 Nov 2009 01:32:12 -0800
Received: from smtp-out1.berkeley.edu ([128.32.61.106])
        by visitor3.Berkeley.EDU with esmtp (Exim 4.69)
        (envelope-from <xxxx...@berkeley.edu>)
        id 1NEg8a-0001rW-2q
        for bkp...@byungkyupark.com; Sun, 29 Nov 2009 01:32:12 -0800
Received: from arsenic.calmail ([192.168.1.2] helo=calmail.berkeley.edu)
        by fe2.calmail with esmtpsa (TLSv1:AES256-SHA:256)
        (Exim 4.69)
        (auth plain:xxxx...@berkeley.edu)
        (envelope-from <xxxx...@berkeley.edu>)
        id 1NEg8T-0000qs-8R
        for bkp...@byungkyupark.com; Sun, 29 Nov 2009 01:32:06 -0800
MIME-Version: 1.0
Received: from visitor3.Berkeley.EDU [128.32.124.159]
        with HTTP/1.1 (POST); Sun, 29 Nov 2009 01:32:05 -0800
Date: Sun, 29 Nov 2009 01:32:05 -0800
From: "Byung Kyu Park, BA" <xxxx...@berkeley.edu>
To: bkp...@byungkyupark.com
Subject: This will demonstrate how Calmail leaks IP addresses
Message-ID: <7272...@berkeley.edu>
X-Sender: xxxx...@berkeley.edu
User-Agent: RoundCube Webmail/0.3-RC1.UCB3
Content-Type: multipart/alternative;
        boundary="=_ad4b95d1d25a334cada12ae4c3335783"

Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="UTF-8"

And this email was composed on the RoundCube webmail client.

Andrew

You will see that the detailed email header (which most email clients hide, but there is always an option to show full headers) reveals the IP from which I was accessing Calmail’s webmail interface (no, I’m not in the lab right now; but I am proxying through one of my servers, because I consider my current IP address a confidential, personal, private information). Similar headers show if you use SMTP protocol or if you use the other webmail.

I am not entirely sure if this is a feature or bug—embedding IP information in headers will help with legitimate activities of law enforcement authorities, as well as illegitimate (is there any other kind?) squelching of dissenting voices—so I haven’t reported it to abu...@berkeley.edu or, I don’t know, h...@berkeley.edu? secu...@berkeley.edu?

In any case, now that you know, now you can avoid using Calmail—if you value your privacy.

Ironically, GMail may be one of the most secure email system to use, as far as privacy goes, because headers from GMail is fairly clean from any private information. Or, I guess if you are like me, you run a computer server at work, on which you run a bunch of things like websites and email servers so whose IP address isn’t exactly a state secret. You can proxy everything through that server (like I did here) or run your mail clients and what-not on that server.

No matter what you do, just remember: when you send an email through Calmail, you announce to your recipient what your IP address is at that moment. Don’t send that email if you are not comfortable with that.

Author: bkpark Categories: security, tech Tags: , , ,

Why I am comforted by flawed computer models

November 29th, 2009

Because if they were as right as climatologists pretend, we would be doomed:

“[Garrett discovered that] Throughout history, a simple physical constant… links global energy use to the world’s accumulated economic productivity, adjusted for inflation. So it isn’t necessary to consider population growth and standard of living in predicting society’s future energy consumption and resulting carbon dioxide emissions. … ‘I’m not an economist, and I am approaching the economy as a physics problem,’ Garrett says. ‘I end up with a global economic growth model different than they have.’ Garrett treats civilization like a ‘heat engine’ that ‘consumes energy and does “work” in the form of economic production, which then spurs it to consume more energy,’ he says. That constant is 9.7 (plus or minus 0.3) milliwatts per inflation-adjusted 1990 dollar. So if you look at economic and energy production at any specific time in history, ‘each inflation-adjusted 1990 dollar would be supported by 9.7 milliwatts of primary energy consumption,’ Garrett says. … Perhaps the most provocative implication of Garrett’s theory is that conserving energy doesn’t reduce energy use, but spurs economic growth and more energy use.”

I trust estimates like this far better. If you can estimate how much energy, i.e. electricity, is used by humanity as a whole and enter some assumptions about how much of it is generated from fossil fuels, then you can get a lower limit on carbon emissions from that alone fairly quickly (if you want to cut the work, you can assume Carnot efficiency for some ballpark estimates of heat reservoir temperatures; it won’t be off by more than a factor of 2). And until that assumption about what fraction of energy comes from burning off carbon breaks down (perhaps by acceptance of nuclear power, or what some people are trying to call “terrestrial power”), this is one calculation that will not depend on models and will stay true within (rather large) margin of error.

Oh, boy. How glad I am that our climate is a nonlinear, chaotic system. Thankfully, doubling CO2 content of atmosphere does not lead to doubling global temperature. There isn’t even a linear relationship, as last 10 years might demonstrate. There definitely isn’t an exponential relationship—Thank God!

If one is a really serious advocate of these “climate change” theories, there is only one way he can be consistent (and not be a hypocritical political hack like Gore): (1) stop eating meat, as methane from cows is another greenhouse gas; and (2) start really pushing for more nuclear power plants everywhere—nuclear waste isn’t that big of an issue; we can recycle fuels until they run out of radioactive isotopes (… if we weren’t so hung up on non-proliferation, since recycling fuel is one way to build one type of atomic bomb). “Renewable energy” like solar and wind are all good, but they can only provide so much fraction of our grid power (let’s say, 50%) because they are not very reliable, and the rest have to come from somewhere: and the only viable long term option (at least until space travel and colonization becomes a reality) is nuclear power.

This is one problem (in fact, one among many, excluding Gore’s finances) that buying carbon offsets will not solve.

Update: Oh, and there’s always the Unabomber route, too. Although I have to say that as much as his anarchist manifesto appeals to me as far as it extols the virtues of a free man, I am not sure if I want to live in Mr. Kaczynski’s paradise: in his ideal society, if you could call it that, we are still trapped on this world—with no future for humanity beyond this little planet.

Update: This is exactly what I mean. Even if the hydrodynamics of climate were perfectly understood, numerical models can get us only so far—especially when the underlying system is nonlinear and chaotic. Blind faith in climatologists’ models is just as bad as blind faith in numerology or some sort of Bible code.

Who will make the world safe for encryption?

November 29th, 2009

With the first programmable quantum computer realized the day may come when Shor’s algorithm can be implemented with some accuracy:

“A team at NIST (the National Institute of Standards and Technology) used berylium ions, lasers and electrodes to develop a quantum system that performed 160 randomly chosen routines. Other quantum systems to date have only been able to perform single, prescribed tasks. Other researchers say the system could be scaled up. ‘The researchers ran each program 900 times. On average, the quantum computer operated accurately 79 percent of the time, the team reported in their paper.’”

I might be alone in this, but I fear the day when quantum computers become practical—much more than the day when the Singularity emerges; I have at least a sense of anticipation for the latter and it will represent a progress, an evolution of sorts. In contrast, all the uses for a quantum computer I know are evil—just like the atomic bomb and the hydrogen bomb. There is never a peaceful reason to enrich uranium more than 10%, and there is never a moral reason for a quantum computer to work more than 1% (or some other low number) of the time.

Will some other breakthrough make encryption—specifically, cheap and affordable encryption; for the wealthy and powerful, there is always OTP—available to the masses again, once quantum computers inevitably make public key encryptions (SSL and PGP, for the two big ones in use widely today) unusable except as children’s playthings?

Taxation expectation

November 25th, 2009

Here’s an interesting tidbit from Rasmussen today:

Forty-eight percent (48%) of voters nationwide now expect their own taxes to go up during the Obama years. The latest Rasmussen Reports national telephone survey shows that just nine percent (9%) expect their own taxes to go down.

Given how many people pay no income tax (I’ve heard figures around half, which is why it’s so easy to get support for increasing income tax: the half that do not pay tax vote to increase the tax on the other half that do!), it’s … interesting that so many people expect their tax to go up.

Granted, Rasmussen polls likely voters, not all adults or even registered voters, which probably means higher percentage of people polled by Rasmussen is likely to be paying tax, compared to the general population. But, even so, even the people in the lowest income bracket must be expecting some sort of tax increase to get that sort of poll results.

Well, let’s just hope that they are wrong. Or that they were thinking of increased taxes like cigarette tax (raised earlier this year) or that they have in mind things like VAT that Pelosi and her minions are thinking of (um, not that VAT is any better than increased income tax).

Author: bkpark Categories: politics Tags: , , ,

Limits of peer review

November 24th, 2009

We already know peer review isn’t a panacea. For one, it is widely known that peer review simply cannot prevent scientific fraud, because as experimentalists, we tend to trust in the data—we may question the process of data gathering, but once the process itself seems free of error, we trust the data as presented, unless it claims something fantastically impossible, usually involving violation of energy conservation or something on that order.

But, recent global warming scandal, a.k.a. ClimateGate, has uncovered even more problems with peer review: it’s done by “peers”

In response to an article challenging global warming that was published in the journal Climate Research, CRU head Phil Jones complains that the journal needs to “rid themselves of this troublesome editor”-hopefully not through the same means used by Henry II’s knights. Michael Mann replies:

I think we have to stop considering “Climate Research” as a legitimate peer-reviewed journal. Perhaps we should encourage our colleagues in the climate research community to no longer submit to, or cite papers in, this journal.

Note the circular logic employed here. Skepticism about global warming is wrong because it is not supported by scientific articles in “legitimate peer-reviewed journals.” But if a journal actually publishes such an article, then it is by definition not “legitimate.”

In short, if your peers are crackpots, would you want your work reviewed (and judged) by those peers? Peer reviews are used to keep crackpots out of legitimate science journals—but, if the crackpots have already taken root inside that fence, then, well, crackpots can use it to keep legitimate science out of journals.

I wouldn’t call these failures of peer review necessary … failure of science. It represents pitfalls and setbacks of frontiers of research. Eventually (on the time scale of decades or even centuries), scientific theories are judged by their ability to produce predictions that no other theories can. And short of time travel, there is no way to fake that.

Bad science: Global warming

November 20th, 2009

Global warming always had many signs of bad science (politicization, demonization of skeptics, and lack of verifiable predictions), but had many liberal scientists believing in it. Hopefully fraud is where even these liberal scientists stop:

One of the most damning e-mails published comes from Dr. Jones himself. In an e-mail from almost exactly ten years ago, Jones appears to discuss a method of overlaying data of temperature declines with repetitive, false data of higher temperatures:

Now that the fraud on the part of some of its advocates is known, will scientists (climatologist or not) finally start acting like scientists, looking at claims with skeptical, analytical view and being wary of inconsistent data—even while, as we always do, trusting it as a rule of thumb (experiments are expensive and difficult to repeat, and for a scientist to alter his raw data is like a clergy altering words of the Bible)?

Or will they brush this aside, saying, “So, what if some of us committed fraud? It was for the public’s own good. They need to be scared into doing the right thing!”

Well, the public will be scared into doing the right thing—they will cut off science funding, and backlash doesn’t need to be limited to global warming research—and it will be for their own good—and the scientists, if only as a lesson for posterity.

Seldom is it good science ever comes out of politics. When someone tries politicizing their research (Al Gore and his acolytes), be very wary. Politics has a way of freezing everyone into their (often prejudiced) position, and there is no room for that in science.

What I like about Mrs. Palin

November 19th, 2009

Well, as anyone with some sense could have predicted, Mrs. Palin’s favorables are going up:

PPP put her at 36/51 last month and ABC had her at 43/52 just three days ago. Now Fox drops this. Good lord — Sullivan’s going to have to take another few days off to cope with the data.

Of course, we are comparing polls from different pollsters (probably with different biases) so the comparison may not mean anything. For anything definite, we need to wait for the lamestream media to re-do their polls over the next month or so and see if there is a clearly recognizable trend (as there have been with ObamaCare, where even the most hardcore liberal outlet couldn’t help but recognize slipping support). But, I have faith. This is a center-right country, and Mrs. Palin’s positions and messages ought to resonate with a majority of, if not most, Americans.

I may not agree with Mrs. Palin on everything (especially … when she talks about special need kids, I wince a little—I don’t think it’s the government’s place to treat people differently, regardless of skin color or ability) but I do like her a lot for this one reason: her core message has been rock solid and unchanging through thick and thin and through obscurity, popularity, notoriety, and back to popularity.

Unlike Barack Obama, she hasn’t flipped and flopped on this issue and that issue trying to appease this constituency and attract that special group. The few cases where her position shifted a little (I think her position on global warming changed at some point from “absolutely no global warming” to “anthropogenic effects are not the most important ones”), it reflects more of her change of heart and/or understanding, not political expediency.

We need people who say what they mean and mean what they say. Frankly, I can respect even liberals like Rep. Barney Frank, because they do really believe in what they say—so they try to make some sense when they say something. With people like Rep. Frank, we can actually identify points of contention (it all really comes down to the role of the government). We can either work towards resolving that contention, or at least agree to disagree on that one fundamental point.

But with people like Barack Obama, where his words mean nothing and his promises have rather short expiry dates, there is simply no dealing with them. There is no possible reasonable argument we can make that will convince those people, and there is nothing they can say that will make me trust them.

Author: bkpark Categories: politics Tags: , , ,

This lack of diversity is stifling me

November 17th, 2009

Update (12/27): I’ve redacted the name of the sender from the post below. I meant nothing personal to her (anything sarcastic or caustic was meant to liberal socialists as a collective), and I don’t want this page coming up on the first page of Google when someone searches for her.

Among the spam/ham I get in my inbox:

From: Xxxxxx Xxxxxxxx <xxxx...@berkeley.edu>
To: gra...@physics.berkeley.edu
Subject: [Grads] Strike Schedule of Events and Supporting The Movement
        Without Striking
Date: Tue, 17 Nov 2009 13:31:36 -0800

[-- Attachment #1 --]
[-- Type: multipart/alternative, Encoding: 7bit, Size: 4.9K --]

Hi Grads,

I've attached the schedule of events for the next three days.  Wednesday is
a day of protests, most importantly a large rally on the steps of Sproul
plaza at 12.  Thursday aims to turn the campus into an Open University for a
day by having free lectures, and by faculty and GSIs leaving their classroom
doors open to anyone who wants to come in and learn.  Friday events have yet
to be completely determined.

What can you do if you don't want to strike but still want to support the
movement?

For Everyone:
1. Attend the rally at 12 on Wednesday
2. Attend some of the other scheduled events
3. Sign the petition requesting the Regents postpone voting on fee increases
until they have explored other options: http://saveuc.org/petition_fees.php

For GSIs:
1. Let your students know that they are free to strike and will not suffer
repercussions
2. Take a few minutes in class to talk about the issues facing the
University
3. On Thursday leave your classroom doors open so that anyone who wants to
participate can join you

For GSRs:
1.  Talk to your lab mates about the strike and inform them of the issues
facing the university
Also, everyone should urge the state to increase funding to public
education.  You can sign the following petitions:

http://checkingeducation.com/petition

http://www.ucforcalifornia.org/cal/home/

You can also talk to your family and friends at home and ask them to contact
their representatives to let them know they support public education.

The pressure the students, faculty and staff are putting on the UC Office of
the President seems to be working.  Since the September walkout they have
greatly increased their efforts to convince Sacramento to reinvest in higher
education.  Let's keep the pressure on and let them know that we want the
University of a California to stay a *public* university!

Resources:

http://ucstrike.com/links.php

http://utotherescue.blogspot.com/

http://keepcaliforniaspromise.org/

http://people.ucsc.edu/~bmalone/Teaching.html

[-- Attachment #2: StrikeSchedule.pdf --]
[-- Type: application/pdf, Encoding: base64, Size: 85K --]

[-- application/pdf is unsupported (use 'v' to view this part) --]

[-- Attachment #3 --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.1K --]

_______________________________________________
Grads mailing list
Gra...@physics.berkeley.edu

http://physics.berkeley.edu/mailman/listinfo/grads

Wait. There’s something wrong with this email. It lacks diversity. It’s just like UCB student population—it’s lacking the minority opinion. What if, in some bizarro world, I didn’t want to support this “strike”? What if, if you could imagine the possibility of a GSR wanting to be in research lab and GSI wanting to focus on teaching, I think this “strike” is a distraction to my duties and disgraceful to the flagship campus of the University of California?

What can I do if I hold such outrageous, minority opinions? Do I not exist? Do my options not exist? Ms. Xxxxxxxx would have you believe that the only reasonable position a reasonable person could possibly take is supporting the strike.

Apparently I am an unreasonable unperson who needs to be silenced. Well, come silence me, then.

Well, at least Obama bowed to an ally

November 15th, 2009

So at least that ally is not so willing to humiliate us on our president’s breach of protocols:

“Kyodo News is running his appropriate and reciprocated nod and shake with the Empress, certainly to show the president as dignified, and not in the form of a first year English teacher trying to impress with Karate Kid-level knowledge of Japanese customs.

“The bow as he performed did not just display weakness in Red State terms, but evoked weakness in Japanese terms….The last thing the Japanese want or need is a weak looking American president and, again, in all ways, he unintentionally played that part.

A senior White House official (read: Axelrod or Emanuel) assured Politico this morning that no Japanese observers “would say anything other than that he enhanced both the position and the status of the U.S., relative to Japan.” Consider that spin exploded, thanks to ABC.

One can only hope that our sheer strength (military and economic) is enough to get us through the remaining 3 years—and that our allies will continue to have faith in us, even when we are “led” by amateurs, and that our allies will trust our political process to remove that amateur from the position where he can cause most damage … at the earliest opportunity.

After all, the respect that we get from our allies (Japan or otherwise) come from how that respect benefits our allies, not from all the niceties that appeal to liberal sensibilities.

Author: bkpark Categories: politics Tags: , ,