Differences between revisions 54 and 57 (spanning 3 versions)
Revision 54 as of 2011-09-22 07:58:37
Size: 7622
Editor: SamatJain
Comment:
Revision 57 as of 2011-09-23 01:37:28
Size: 5932
Editor: SamatJain
Comment: Syntax highlighting w/ less
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Upload multiple photos to Meetup without Flash =

{{{#!text_markdown
Do you use [Meetup][meetup] and upload multiple photos regularly, but hate doing it?

Meetup does multiple-photo upload with an Adobe Flash applet, but as you expect of Flash it's not particularly reliable or stable. HTML5 includes a multiple-file upload control supported by the latest Web browsers, so there no longer a reason to put up with Flash's nonsense. Unfortunately, despite my [posting a wishlist item][wishlist] (please vote!), Meetup has done nothing.

So, I did it myself: if you use Chrome or Greasemonkey/Scriptish for Firefox, install this user script: [Meetup: HTML5 multiple-file upload for photos][us].

Once installed:

1. Go to the "Old Upload Form" for your Meetup group or album. This can be tricky to get to, but the URL looks like: http://www.meetup.com/GROUPNAME/photos/upload/
2. Make sure you've selected the right album.
3. You should only see one file upload widget (the "Old Upload Form", before this script, had 10).
4. Click it, and you'll notice you can select multiple photos you want to upload. Go ahead and do so.
5. After you're done selecting and dismiss the widget, the page will now tell you which photos you'll be uploading.
6. Click upload to start uploading photos.

Enjoy uploading your photos without Flash's crashing, errors, or mayhem!

A note: if you use Firefox, you won't be able to know how much you've uploaded (unlike Chrome, Firefox has no built-in upload progress meter). Try the [Upload Progress add-on][upload-progress] to keep tabs on your uploads.

  [meetup]: http://www.meetup.com
  [wishlist]: http://meetup.uservoice.com/forums/37079-ideas-and-suggestions-for-meetup/suggestions/2073055-multiple-file-upload-via-html5?ref=title
  [us]: http://userscripts.org/scripts/show/111278
  [upload-progress]: https://addons.mozilla.org/en-US/firefox/addon/uploadprogress/
}}}
Line 60: Line 32:

== less ==

 * [[http://www.reddit.com/r/linux/comments/knxz9/syntax_highlighting_in_less_ive_been_using_less_a/|Syntax highlighting in less - I've been using less a long time... why this has never occurred to me before today? : linux]]

A JSON proxy for the OpenStreetMap API

Developer Discussion - JSON-output for xapi

Multiprocess in modern browsers

Internet Explorer

First multi-process browser? MSIE4?

WebKit

Firefox

Getting through Python 2's Unicode problems

Color on the Console

dstat grep htop pydf

less

Movie Review: Michael Madsen's Into Eternity

With Chernobyl's 25th anniversary a few weeks past (ignored, for the most part, by Western media), and the Fukushima nuclear disaster fresh in everyone's minds, now is as good a time as any think about nuclear energy's role in our civilization. Into Eternity, a Finnish documentary released in 2010, takes a very unique look at the nuclear power industry, one not typically thought about. Rather than nuclear proliferation or the plants themselves, it focuses on the geologic storage of spent nuclear fuel (aka SNF), in particular, Finland's Onkalo repository.

The movie skimps on technical details, some of which I will talk about here.

Nuclear waste can be divided into two levels: high-level and low-level. Low-level nuclear wastes include things such as clothing, plant construction materials (e.g. concrete) and machinery that have come in contact with anything nuclear.

High-level nuclear wastes include spent nuclear fuel and chemicals used to process and create nuclear fuel. The movie focuses on spent nuclear fuel, which in most nuclear power plants are things called fuel rods. Fuel rods

At the moment, the US does not have a storage plan for spent nuclear fuel. There is one geologic storage site, the Waste Isolation Pilot Plant in southeastern New Mexico, but the site is relatively small and destined for storing the generation I nuclear wastes of America's nuclear weapons programs, not that of commercial reactors. A larger site, Yucca Mountain, well isolated in the Nevada Test Range (where nuclear weapons were tested for decades, and much contamination remains), was shelved in 2010 by the Obama administration, leaving America's nuclear energy industry without secure storage for its spent nuclear fuel.

Much of the topics Into Eternity touches, such as communicating the dangers of nuclear wastes stored at sites via markers and monuments, has similarly been discussed for the US' Waste Isolation Pilot Plant.

Drupal 7 upgrade post-mortem

This weekend, I upgraded Samat Says (this blog, in case you missed the memo) to Drupal 7.

For my Drupal 4.6/4.7-based site, I had created my own theme, Sands. Lack of time prevented me from porting Sands to Drupal 5 or 6, and it's unlikely it will be ported forward. I'm probably going to recreate it with one Drupal 7's many starter themes, however.

Patient care in the ICU in terms of vectors and topological spaces

Biomedical Informatics, Medicine

A few weeks ago, Timothy G. Buchman gave a talk at the Columbia DBMI weekly research seminar. During the QA session, someone asked why patients in intensive care units (ICUs) were given such “extreme” treatments, often causing them to develop new health problems and complications, keeping them in the hospital. He replied with this wonderful mathematical metaphor about patient care.

You are a point in an n-dimensional space. Each dimension is some vital sign or homeostatic attribute, e.g. blood pressure, blood glucose, temperature, etc. Homeostasis is defined a polytope in that space. As you do the various things of life, your point moves within the space defined by that polytope. For example, when you eat, your blood sugar goes up, and the point moves along in the blood sugar dimension; when you take a cold shower, your body temperature is reduced, and you move along in that dimension. Young people have a large space inside their homeostatic polytope

When you leave this homeostatic polytope, you're considered “sick.” If you travel to far from it, you die.

People who enter the ICU have points that are moving away from their homeostatic polytope. Their movement away can be represented as a vector, representing how quickly their condition is deteriorating.

Treatments in the ICU represent vectors that try to point you back towards your homeostatic polytope.


SamatsWiki: DraftBlogs (last edited 2016-08-19 22:04:14 by SamatJain)