Author: ellen

Recent research on Alzheimers: Blocking an immune signaling chemical allows macrophages to clear plaques in mice

Blocking TGF-β-Smad2/3 innate immune signaling mitigates Alzheimer-like pathology.

A new possible treatment target has been demonstrated by a group of researchers working with transgenic mice that are used to model Alzheimer’s in humans. According to New Scientist:
“Richard Flavell at Yale University and colleagues created transgenic mice predisposed to develop brain plaques, and doubly transgenic mice that also had a gene that blocks TGF-beta, a chemical used by the immune system.”

“The researchers expected the second set to fare worse than the first. But to their surprise, the doubly transgenic mice performed better on various mazes”…

Continue reading

Using the JW player to run javascripts at specific time points in the video

Note: this tutorial is still very much in draft form. Additional instructions for those not familiar with javascript and more examples will be added soon.

The Jeroen Wijering Media Player is a widely used free, open-source Flash-based media player, available for download from Jeroenwijering.com.

The JW player has an extensive Javascript API which allows it to communicate with events and elements on the page it is embedded in. Using this feature, the player can execute javascript functions on the page whenever the video reaches a specific time point.

Continue reading

Dealing with comment spam on Gallery 2

Finally! I found a query that effectively deletes the comment spam from the Gallery 2 database. These can be run through phpMyAdmin, but my next task is to turn this into a php script that can be run as a cron job.

To delete comments posted by an IP, or a few IPs, run this SQL statement:

delete ce, e, co from g2_ChildEntity ce, g2_Entity e, g2_Comment co where ce.g_id=e.g_id and e.g_id=co.g_id and e.g_entityType='GalleryComment' and (co.g_host='67.104.112.176' or co.g_host='209.31.123.128')

To delete comments based on the comment itself, run this SQL statement:

delete ce, e, co from g2_ChildEntity ce, g2_Entity e, g2_Comment co where ce.g_id=e.g_id and e.g_id=co.g_id and e.g_entityType='GalleryComment' and (co.g_comment like '%[url=http://%')
Continue reading

iPhone gets very hot when on wireless and battery drains

The other day I pulled my iphone out and nearly dropped it! It was burning hot and there was a big red low battery indicator in the middle of the screen! I had charged it only a couple of hours earlier so it was not likely that normal use had caused this condition.

I was in a wireless area, and had been checking my gmail earlier. The little activity indicator at top left was twirling.

A search through Apple support and discussions led me to this article. It seems that the iphone can get stuck in a checking-mail loop, particularly on certain IMAP accounts like gMail.

An Apple support article also says that a flaw in the Mail application in v. 1.1.3 causes it to persistently generate server activity even when it is not checking mail per user settings. Persistent mail checking can quickly drain the battery.

Continue reading