Йандекс жжот

Почему-то с тындекса на мой уйутный бложек выходят в основном по запросу “шкаф гидропоника”.

Что бы это все значило?

Блоговское

Помимо новой темы (минимум фенечек, максимум йузабилити), наконец-то добрался до апгрейда Вордпресса. Заодно пофиксил кое-какие давно достававшие меня и не только меня грабли вроде невозможности залогиниццо через OpenID, редирект на Луну при добавлении комента и кое-что еще.

Еще раз убедился, что вести блог на двух языках на Вордпрессе, мягко говоря, неудобно.

А так весьма доволен, чо.

Кого, говорите, выбрали?

Нарисовал ellustrator

Посмотрел американское кино

“Fast and furious. Tokyo drifting”, по русски, наверное, будет что-то вроде “Тупой форсаж. Дристинг в Токио”.

Сценарий – унылое говно. Впрочем, от дрозофил, из соображений политкорректности так изуродовавших французское “Такси”, уже не ожидаешь ничего другого. Особенно порадовала уникальная находка режиссера – политкорректный второстепенный персонаж фарцевал в японской школе Айподами. Видать, ему кто-то подсказал, что снег эскимосам продавать сложнее. Мелкие же сюжетные недочеты, вроде того, что главный герой прилетает в Японию и прямо с трапа самолета отправляется в японскую школу грызть гранит науки, при этом ни звука по японски не понимая, уже совершенно не портят впечатления.

Езда на машинах поставлены вроде бы красиво, но по сравнению с нынешним сезоном Формулы-1 съемки сосут-с.

Но больше всего понравилось предупреждение (почему-то выданное в конце, гхм, картины) “не пытайтесь повторить это дома”, написанное столь мелким шрифтом, что размер букв был лишь на “эпсилон малое” больше размера пикселя экрана.

Webское

Забавные дела творятся последнюю неделю.

С одного и того же адреса какой-то бот повадился мне бэклинки постить в каментах. Точнее, пытается постить, бо ему не дают. Но он так очаровательно бредит сам с собою:

Автор, а Вы в каком городе живете если не секрет?

Г’азве ж это жизнь?

Оценить глубину подхода

Мыкрософт. Не перестает удивлять.

Работало. Отлично работало. До сего дня отлично работала сеть. Беспроводная.

В одной комнате нотебяк А с Уистой (Г). К нему подключен принтер Е.

В другой комнате нотебяк Х с XP. К нему ничего не подключено. Связь между объектами Г и Х осуществляется посредством модулированных сверхвысокочастотных электромагнитных колебаний сдандарта IEEE 802.11g

Так вот, до сего дня нотебяк Х мог печатать на принтер Е, подключенный к А, работающим под управлением Г.

А сегодня что-то случилось. Г перестала пускать объект Х на свои шары. И даже не пингуется, сволочь!

Уже все перетрахнул.

Впрочем, будет продолжать выебываться – на А вместо Г встанет какая-нибудь Убунта.

Upd. Однако, M$ непосредственно тут оказались ни при чем. То есть, на них вина по умолчанию лежит несмываемая, но мои проблемы вызвал, внимание Norton Internet Security. Который мне подусунули вместе с нотебякой и который решил так изящно сдохнуть, сука! Видать, в нем тоже был фаервол. Который тоже сдох. Что интересно, снести это поделие стандартными средствами не удавалось, пришлось скачать с Симантека и установить (!) удалятор этого Нортона. Как они еще не разорились – не понимаю.

Как бы то ни было, установленный удялятор снес Нортон подчистую и нотебяк преобразился так, что даже пинги заходили и шары моментально увиделись бы даже холодильником, если бы в нем была сетевая карта.

Hampden bridge. The only surviving suspension bridge in Down Under.

I just love big creations of engineering minds. Mad minds, sometimes. At least I still can’t really understand how did they manage to build such enormous thing as Sydney Harbor Bridge in 1930′th. Of course, I have read its history and seen archive photos, but the amount of the work they did still looks enormous (and it really was enormous!) to me.

But, as it happens, Australia still has something not that gigantic but not even a bit less exciting monument of engineering genius. Before we stopped for a lunch at Cambewarra lookout, we passed Kangaroo valley, where we did not find any kangaroos (and we did not really look for them, actually), but we have found something very spectacular. That was Hampden bridge. If you follow the link, you may find that the bridge was build in the end of 19th century and it is still in use, and RTA regularly checks its condition and it is still safe. Pretty amazing, isn’t it?

Hampden bridge. Side view.

Read more…

lj-crosspost.php plugin sometimes creates duplicate entries in LiveJournal

As many others, before starting my own blog website, I had an account on livejournal.com. And, of course, I really value LiveJournal community and did not want to lose my hard-earned LiveJournal friends. At the end, it wouldn’t be fare if I just said “thank you everyone and goodbye” and closed (or stopped updating) the journal when I could just setup a piece of software that doubles posts I made here to my JiveJournal blog.

What I actually did. I have got livejournal-crossposter plugin, version 2.0, which was the most recent stable version by that moment, installed it and was surprised as it started working immediately without any funny effects despite it was not tested to work with WordPress 2.3.1.

So far so good but when I was searching for more feedback on this plug-in, I spotted a couple of comments where people complained that sometimes it spawns a duplicate posts in LiveJournal blog, but I did not pay attention to it then… until I started to have the same problem here. Yes, under some circumstances this great plug-in could really multiply entries in your LJ account.

The good thing is that it does not do it uncontrollably – it did not create thousands clones of your posts while you’re sleeping, thankfully it does it far less often. Actually, the only occasion I noticed entries in my LJ spawn was when I was editing the post which already was published and had an entry in LJ blog. So, if you want to check whether your configuration is affected, do the following:

  • Create and publish the post in WordPress. Make sure it gets crossposted to LJ
  • Edit that post. Change one of LiveJournal settings, say, disable comments (or enable, if it was previously disabled)
  • Save the post.
  • Go to you LJ blog and, if you don’t see two copies of that post there, stop reading.

Right, If you continue reading this article, you have got duplicate post. Now I ought to say that I already submitted a bug report and offered a workaround so I hope a new version of plug-in is coming soon, but until then some may be interested in fixing it right now. It is not that hard as it seems

Open lj_crosspost.php file in your favorite text editor. Find function ljxp_save() (it has to start at line 871) and insert the following right after function block start (line 872):
get_post_meta($post_id,’ljID’,true);
Now save the file and upload it to your plug-in directory.

After that it should work well.
I don’t think it is plug-in’s issue, it rather seems that this bug has something to do with how WordPress 2.3.1 caches post metadata so this bug may not appear at all on older (or upcoming) WordPress versions. My fix just forces WordPress to load and cache all metadata before plug-in access it.

8 visitors online now
8 guests, 0 members
Max visitors today: 9 at 05:13 am MST
This month: 30 at 09-01-2010 12:31 am MST
This year: 41 at 01-23-2010 03:43 am MST
All time: 41 at 01-23-2010 03:43 am MST