2010-04-23

JQuery : Split button widgets

* easyui is a collection of user-interface plugin based on jQuery.
* using easyui you don't need to write lots of javascript code, you usually define user-interface by writing some HTML markup.
* easyui is very easy but powerful
jQuery UI features low-level effect and interaction API's (like drag and drop) as well as full-featured and highly configurable ready-to-use widgets.
© jQuery UI - Home;
Same here, link to the sources, and then the split-button sources (are part of button widget).

2010-04-20

NorduGrid : ARC : ISIS : Source

# ISIS - distributed information indexing, WS-based
/arc1/trunk/src/services/isis
Крайне сложно найти документацию. Похоже вся эта хваленая конвергенция заканчивается использованием неструктурированного пирингового меша в подсистеме индексации (мета?)данных. С этим срочно надо что-то сделать. :)

2010-04-17

Муки Выбора

As previously mentioned, the Mini 5101 features a rugged anodized aluminum display enclosure with a black, brushed metal finish and a magnesium alloy chassis. The metal construction really gives the Mini 5101 the feeling of being a premium ultraportable notebook rather than a typical netbook.
From the first moment I picked up the HP ProBook 5310m to the last minute while writing this review I kept thinking, "Why didn't HP release this ProBook sooner?" Honestly, if HP had released this notebook at the beginning of 2009 then every other SMB notebook manufacturer would be running scared by now. Unfortunately, HP released several less-than-spectacular ProBooks before this one, and that will probably make some potential buyers overlook this excellent business laptop. The ProBook 5310m finally delivers on HP's original goal to create a more affordable EliteBook.
Долго разрывался между двумя моделями HP Mini 5101 (Intel Atom N280) и HP ProBook 5310m (Intel Celeron Dual Core SU2300). По приоритетам - живучесть, мобильность, удобство. Потом поглядел на возможность реюзнуть память из старой машины и наличие гипертрединга в Intel Atom - и решил таки попробовать Mini. Посмотрим как Mini сможет закрутить виртуалбокс с офисом и IntelliJ Idea. Заодно пригодится мое давнее знакомство с xUbuntu. Насчет amd не знаю, видел пару ultra-portable машинок, но что-то меня эта 64-битность настораживает. Все равно на мобильной системе столько памяти не будет чтоб ее адресовать 64мя битами. Хороший бенчмарк производительности разных архитектур можно поглядеть по ссылке ниже, а по тепловыделению и энергоемкости можно поглядеть на самом сайте Intel.
Below is an alphabetical list of all CPU types that appear in the charts. Clicking on a specific CPU will take you to the chart it appears in and will highlight it for you.

2010-04-13

Styling upload inputs

Fortunately, reader Michael McGrady invented a very neat trick that allows us to (more or less) style file upload fields. The credits for the solution presented on this page are wholly his, I only added the position: relative, a few notes and tests, and ported it entirely to JavaScript.
The problem is I want to use Ajax Upload or something similar to allow the user to click what looks like a button and see the File chooser appear. This works by placing an invisible file-input element under the mouse. I have managed to change the script to allow you to TAB to the hidden file-input element and for this to trigger a CSS change so the fake button looks like it has focus, the upshot being that, on browsers other than IE7, it looks to the user as if you can tab to the button and activate it as you would expect.

2010-04-08

Velocity + Spring = ISO-8859-1

Try to add in your dispatcher-servlet.xml, at viewResolver bean definition a contentType definition like this:
<property name="contentType" value="text/html; charset=UTF-8" />
...
I'm such an idiot.
Вообще говоря, не странно, что человек чувствует себя идиотом: пять разных способов настроить одну и ту же фиговину, четыре самых очевидных из которых почему-то не работают. С мавеном иногда бывает даже хуже, три пути - либо без него и не очень удобно, либо так как тебе нужно и очень сложно, либо "так как принято" и очень тупо.

2010-04-03

Expander Exaggerations

Now don't get me wrong, the Zig-Zag Product is swell, it's Annals of Math-worthy, and it's inspired a lot of recent work, both in expander constructions and elsewhere (e.g., Reingold's SL = L theorem). However, the story I sometimes heard as to why it was cool was that it was the first explicit expander construction that was actually understandable; that you didn't have to know lots of deep number theory to verify the proof; that all other previously known constructions used zaniness like Weil sums, Ramanujan conjectures, Kazhdan constants and whatnot. But as you probably know, this is an exaggeration; it's really not so.