Monday, December 31, 2012

Competitively incompetent

"I wonder, sometimes, which of you is the least competent," he said abruptly. "The competition is so fierce I can't make up my mind between you."

Weber, D. War Maid's Choice 2.

Wednesday, December 26, 2012

X-Mas misadventures

The morning started off great with the realization that I forgot to buy more milk for kids' breakfast. While Shlomo was getting dressed, I ran out to get milk, fortunately without any lines.

After shipping the kids off to their respective schools, no bus by the way, the plan was to go to Pavilion Theater and use my expiring soon groupon to watch Monsters Inc. 3D at 11:25. Since I was the only one awake that early, the trip got moved off to the 1:30 showing.

Out of the house and on Coney Island waiting for B68. Twenty minutes later, at 1pm, the bus shows up and is actually making great time until it gets to Church Ave at which point it stops. Waiting...waiting...waiting...finally the bus driver announces that we're waiting for the next bus driver who, being a good union employee, is now over 10 minutes late. The bus driver announces that he has no idea where the other driver is but there's another B68 coming up and we should all get off and board that one.

We finally make it to the movie theater with a few minutes to spare when I look at the movie poster and realize that this is not a sequel, but a 3D version of the original movie. Don't want to see any of the other movies which are playing and because Pavilion is so small, they're anyway hours away.

Google "showtimes 10003", Parental Guidance at AMC Kips Bay at 2:30! Off to F we go. F local is so slow, but we still got time. B'way-Lafayette is showing Downtown 6 transfer only? We'll see about that. Interesting...apparently going up and down stairs and walking doesn't count as a transfer according to the MTA. 5 minutes until the next uptown 6. 4...3...delay...delay...delay...train goes by without stopping...6 minutes?! Yeah, not gonna happen. But, the 6 stops at Union Sq which is near kosher food and both AMC and Regal.

We walk to Regal...2:30 showing...perfect! $14 for a ticket?! Wasn't it $12.50 a couple months ago? Movie theater is packed so end up sitting in 4th row. Movie was fun, though you may need to be a parent to really enjoy it.

It's now 4:30, we left the house at 12:30, and now we're hungry. Fortunately, University Pita is 2 blocks away. Unfortunately, because of the fast on Sunday and the long weekend, they're closed! Went home and stopped by Mountain Fruit to get some non-Chinese Food takeout.

At least/unfortunately didn't get into a fight with anyone at this outing.

Wednesday, November 14, 2012

Mobile web - image width

If you have very wide images, they are treated differently by Android and iPhone. Android will make the text full width and will have the image sticking out past the text. iPhone, on the other hand, will scale everything to the width of the widest image.

To make your text take up all available space, add the following to your mobile css file:
img {max-width:100%;height:auto !important;}
You need to enforce height in case the image has height set, which will cause it to loose aspect ratio.

Monday, November 5, 2012

Voter Fraud contact info

Voting machines across the country are changing votes from Romney to Obama and Obama to Romney depending on who's listed first. First checkbox is overlapping the top of the second checkbox. If you're voting against Obama, even if you're not voting for Romney, first make sure that your voting machine is operating correctly. If it's not, take a picture or video with your phone and call 1-800-253-3931 and/or email voting.section@usdoj.gov and/or submit a complaint form http://www.justice.gov/crt/spec_topics/election2012/index.php.

Cases of voter fraud in Brooklyn, NY:

  1. Upon inquiry about how to work the new voting machine, the voting booth attendant has repeatedly tried to trick my father and I to vote for Obama/Biden. The blind woman in front of us has unsuspectingly voted for Obama/Biden due to the same attendant's help.
  2. my co-worker told me that her mother was voting in coney island and was told by the person near the scanner that she ruined the paper and she has to choose "here" (obama) and when she said "no, it's ok, i made my choice", she was told the scanner won't take it.

Wednesday, October 31, 2012

Hurricane Sandy - Don't get left in the dark

Hurricane Sandy left some people homeless and a lot of people without power.  According to Con Ed, it will take four days to restore power to lower Manhattan and others can be without power for at least a week.

Stocking up on candles and regular batteries is both expensive and may not be enough as neither is a renewable resource. Also, neither will help you with having a working cell phone and access to the internet.

Hand Crank Radios
Get a hand crank radio. All of these can be charged by hand or using sunlight. All of them have an LED flashlight and also a USB port for charging your cell phone. Unlike batteries, once the charge on your radio runs down, wind it several times and you again have access to the news and light.

USB Pocket Chargers
While these will not provide you with a continuous charge and have to be charged beforehand, they're compact and will fit in your pocket or purse. These are also useful for when you want to use your phone for watching movies or playing games but will not have access to continuous power to charge your device.

UPS
An uninterruptible power supply or UPS is heavy, bulky and not cheap so why should you have one? Depending on output of the UPS and power requirements of your computer, they can keep your computer running for at least 15 minutes. They can be set up to turn your computer off safely in case of power loss. Unlike surge protectors, they will protect your equipment from spikes. In case of prolonged blackouts, once your computer is off, they can be used to charge your cell phone.

Fire and Flood restoration
If you did get flooded, get a professional. Nicole of Home Clean Home (HCH) will make sure your home is dry and mold free. HCH services most of NY, up to Albany, and will bring their own generators if your power has not been restored.

Saturday, August 18, 2012

Метро 2033 - Правила Игры

Make Custom Gifts at CafePress

Фракции
Арбатская конфедерация Полис 6 Карта заданий
Бандиты Защита армии +1 +2 патрона
Бауманский альянс Атака героя +1 Карта снаряжения
Конфедерация 1905 года Голосование +3 +2 гриба
Красная линия Победа 9 +2 свиньи
Четвертый рейх Атака армии +1 Армия 3

Героии
Анна 3/3 Переходы 0
Артём 3/2 Атака нейтральной, выбор угроз
Мельник 3/2 +1 снаряжение
Саша 3/2 +1 ресурс на ГАНЗЕ или станцие фракции
Хан 3/3 Снаряжения, задания, ресурсы на станцие фракции
Хантер 3/3 Не пропускает фазу

Боевая колода
Манёвры +1
Марш-бросок Атака +2
Контратака Защита +2
Вылазка раведчиков Атака +1 +3 против защит
Засада в туннелях Защита +1 +3 против атак
Осада Атака +0 +4 оритув защит
Глухая оборона Защита +0 +4 против атак

Фаза 1 - События
Угроза из туннелей
Начаная с первого, выбрать станцию и метод отражения.
Первый открывает угрозу.

Фаза 3 - Действия Армий
Атака станции
Соседние станции, через переход, перегон или не больше одного перегона по ГАНЗЕ.
Атака героя
Только на своей или соседней станцие.
Покупка снаряжения
Поменять карты, 1 патрон.
Задание
Взять 2, выбрать 1.

Этап 2
6 очков. До 3 снаряжения. Взять 2, выбрать 1.
Захват станции
Нейтральная - 1 гриб, 1 свинья
Чужая - 1 гриб

Задания
Не выполненое, сбросить и использовать свойство.
Выполненое, 1 патрон.

Бой
Атака
Проигрыш армии, -1
Проигрыш героя против нейтральной, ранение.
Проигрыш героя против бражеской, ранение и потеря снаряжения.
Проигрыш героя против героя, ренение и победитель заберает снаряжение.

Thursday, July 19, 2012

Undocumented features in ColdFusion 10

  1. If you're using url rewrite, your cgi.path_info will be empty.
  2. cffile and fileupload are now not supporting wildcards for mime type.  image/* will now throw an error , The MIME type or the Extension of the uploaded file image/jpeg was not accepted by the server, if a jpeg is uploaded.
  3. cfimage info will now throw an error if you try to use it with https.