It Can't Happen Here?

We are now officially living in a dictatorship.

Many of my friends and neighbors have no clue that today USA ceased to be a democracy. They do not realize that Congress and Courts do not have any power to stop Bush from doing whatever he wants. He never cared what they said before and did it anyway. But starting today, it became legal.

Many of my friends and neighbors believe that “it cannot happen here”. They do not understand that evangelical-chosen candidates will, by whatever means neccessary, win all the primaries and elections in the future. They have no intention of losing ever. If, by some fluke, they lose an election, they have no intention of conceding. They have tasted the power and they are not letting go. Elections are just kabuki now.

I get more disgusted every day by what I see happening. Congress told the world that torture is an American value. That’s who we are. Congress will just roll over and play dead while Bush consolidates even more power in the Executive branch. None of the Rubber Stamp Republicans in the senate or the house have the guts to oppose Bush’s unconstitutional actions. If they truly cared about this country, they’d put an end to his illegal actions.

links for 2006-09-29

  • Ubuntu. That was what Bill Clinton told the Labour party conference it needed to remember this week. “Society is important because of Ubuntu.”
  • Flunkarnold.com is a drupal site which allows users to upload .mov and .avi video files to the site, convert them to flash video files, and allow users view the videos using a flash video player. This site uses Amazon’s s3 service to host the media conten

MacMegasite changes complete

I’ve installed the new theme at MacMegasite and I’ve also created a mobile edition, available at http://mobile.macmegasite.com/ which uses a minimalist theme with no graphics. I did it through the magic of Drupal’s multiple site feature. I copied settings.php from the default site to a new site directory and simply added an override for default_theme.

Now that I’ve finished these changes to MacMegasite I can turn my attention to WorldBeatPlanet, which I’ve been neglecting. WorldBeatPlanet is still running Drupal 4.6, because it’s a lot more complex than MacMegasite. I use a few custom modules and the e-commerce module, so I’ve avoided trying to upgrade it to 4.7. I’d also like to change the store section to allow artists to have their own store where they’ll get paid directly for file downloads.

New look for MacMegasite




New MacMegasite Theme

Originally uploaded by mike3k.

I’m working on a new look for MacMegasite, based on the Aquasoft theme for Drupal, as well as a lightweight theme for mobile viewing. MacMegasite also has an enthusiastic new staff member, etomic13, who’s bringing new life to the site.

Fix for crash

I came up with a fix for the APE-related crash I found a few days ago. It seems that signals can be delivered to any active thread. If you have APE installed, it injects its own thread into the application. If the signal happens to be sent to APE’s thread, there’s a chance bad things might happen.

The fix was for my signal handler to make sure it’s running in the thread we want, and if it isn’t, I send the signal to the proper thread and don’t do anything else.

void MySignalHandler(int SigNum)
{
	if (!pthread_equal(_my_signal_thread,pthread_self()))
	{
		pthread_kill(_my_signal_thread,SigNum);
		return;
	}
 ... etc ...

Elsewhere, I save a reference to the desired thread when I install the signal handlers:

main(int argc, char **argv)
{
	_my_signal_thread = pthread_self();
	signal(SIGIO, MySignalHandler);
 ... etc ...