15 posts tagged “geekery”
Надоело, что на сайте yad2.co.il одни и те же лоты выставляют снова и снова. Написал скрипт, который добавляет к каждой строчке в начале оной символ #, при нажатии на который соответствующая строчка исчезает, и больше никогда не показывается. Заодно уж убрал строчки с рекламой. Что удивительно - писал для себя, поэтому загрузил на userscripts.org вообще без описания и без комментариев, однако же два человека (кроме меня) этот скрипт уже установили. Какого эффекта они ожидают, интересно?
Crossposted to LJ, itemid = 2693, security = public, mask = 0.
Two things are infinite: the universe and refactoring. And I'm not sure about the universe.
-- Rubinstein
Crossposted to LJ, itemid = 2653, security = public, mask = 0.
Two things are infinite: the universe and refactoring. And I'm not sure about the universe.
-- Rubinstein
Это просто смешно (особенно комменты). Тужатся, пытаются народить что-то эдакое, за что на них вдруг валом потекут денежные реки. Баззворды-шмаззворды, уеб 3.0, социальные сети... А секрет-то прост. Делай то, что тебе лично нравится, что тебе лично, как пользователю, может пригодиться, и что тебе лично в кайф. И (может быть) у тебя получится.
Crossposted to LJ, itemid = 2640, security = usemask, mask = 1.
Скажите, а кто-нибудь пробовал пользоваться однорукой клавиатурой? Вот такой, например? А то с засыпающим на руках ребенком жаль время терять :).
Crossposted to LJ, itemid = 2637, security = public, mask = 0.
10,000 веб-девелоперов расхватали 10,000 заявок, не прошло и 24 часа с момента объявления. На меня сладких пряников не досталось. Так и не стану никогда веб девелопером :).
Но вообще это сильно. Это сколько же в мире этих самых веб-девелоперов? Офигеть.
Crossposted to LJ, itemid = 2625, security = public, mask = 0.
Неужели никто еще не придумал реалити шоу для гиков? Гики в поте лица сочиняют филк и фанфик, выжимают максимум из своих сигвеев, соревнуются в освоении новых гаджетов, а выбыванием занимаются написанные ими программы с искусственным интеллектом.
Crossposted to LJ, itemid = 2607, security = public, mask = 0.
Вдруг подумалось: вот интересно, ругает ли хоть кто-нибудь код, написанный мной, так, как я ругаю код, написанный другими? Вот, мол, идиот этот dimrub, пишет ужасно, и не документирует, и вообще, туп как пробка. Хорошо бы ругали: значит, пользуются.
Crossposted to LJ, itemid = 2575
Several people have approached me in the last few days asking me about how can one transfer one's blog from LJ to Vox. I will try now to answer this question in a manner as detailed as possible.
First, there is the option to use Vox's import feature. Regretfully, it is absolutely unusable. It does not import comments, nor tags or security settings. What's more, it only goes back as far as, IIRC, 25 posts. That's silly.
Once I discovered that, I wrote a script in Perl, that performs a more elaborate transfer. Please note that you have to be able to use Linux (including some level of skill with the command line) in order to use it. Perhaps, I will make a GUI application out of it some day, for now - this is all there is.
And here's what you have to do in order to make it work:
- Export your LJ (including comments) in a form of XML files. Use a script called ljdump.py (at the beginning of the file there are detailed instructions of how to run it). Once it is done, it creates a whole bunch of XML files, that contain all of the posts and all of the comments in your LJ.
- Install the Perl package XML::Atom. You will need to install a library called libxml2 (unless you already have it), make sure you install the dev package for it.
- Now download this patched version of XML::Atom and put it in place of the original one.
- Download this file, modify the enclosed configuration file according to the comments, and run the script.
That's it. There is one problem (I am aware of) with this script, namely: since it can't post comments on behalf of whoever posted the original comments, it posts them all on behalf of your own user, prepending the comment's text with the name of the original author. I may develop a GreaseMonkey script one day, that deals with this client-side.
As I said, it's all pretty cumbersome, but it is the only way for now.
На Дерибасовской У нас в Натании открылась новая азиатская забегаловка. Сегодня наткнулся на ее вывеску, да так и обмер (минут пять стоял, наверное, в оцепенении): Asian foobar. Ну, там немного другое слово, но я далеко не сразу это понял.
Crossposted to LJ, itemid = 2534, security = public, mask = 0.