aceler's Journal
[Most Recent Entries]
[Calendar View]
[Friends View]
Friday, October 5th, 2007
Time |
Event |
4:01p |
RDP, костыли В одной компании использовали рабочие станции под Linux в качестве терминальных клиентов для сервера Windows 2003 Server, на котором установлена 1С 7.7 по протоколу RDP. Внешне все выглядело просто: rdesktop с включенной передачей COM порта на терминальный сервер (для сканера штрих-кода) принтер на CUPS (настроенный с терминального сервера через IPP) и настроенный на конкретную машину. В идеале все просто - продавец проводит сканером по баркоду, формирует заказ, печатает его и пробивает через кассу. Но в реальности выяснилось, что rdesktop почему-то не передает событие от сканера штрих-кода по сети до тех пор, пока не пошевелишь мышкой или не нажмешь какую-нибудь кнопку на клавиатуре. В результате мы придумали Workaround: нажимать каждые полсекунды кнопку F11, которая в 1С не используется. Все бы ничего, но принтер, администрирующийся через CUPS, управляется с браузера, который на F11 реагирует очень бурно. Решили сделать движение мыши. Стало еще хуже. А потом мы догадались посылать каждые полсекунды событие "мышь сдвинулась на 0,0". И все заработало. | 6:28p |
Инструментальное Наиболее близким аналогом Quanta+ для Windows, по моему не скромному мнению, оказалась... Microsoft Visual Studio. Там по крайней мере есть нормальная подстановка свойств тегов и переменных. Однако я таки не нашел в ней нормальную работу с FTP.
Eclipse с JSEclipse не разделяет подсветку конструкций, операторов и свойств языка, считая это все спецсловами. Неудобно. И, опять же, FTP на уровне "сохранить проект на FTP" - это не слишком удобно.
Скучаю... :)
Current Mood: working | 8:06p |
LOL The European Commission has just announced an agreement whereby English will be the official language of the European Union rather than German, which was the other possibility. As part of the negotiations, the British Government conceded that English spelling had some room for improvement and has accepted a 5-year phase-in plan that would become known as “Euro-English”. In the first year, “s” will replace the soft “c”. Sertainly, this will make the sivil servants jump with joy. The hard “c” will be dropped in favour of “k”. This should klear up konfusion, and keyboards kan have one less letter. There will be growing publikenthusiasm in the sekond year when the troublesome “ph” will be replaced with “f”. This will make words like fotograf 20% shorter. In the 3rd year, publik akseptanse of the new spelling kan be expekted to reach the stage where more komplikated changes are possible. Governments will enkourage the removal of double letters which have always ben a deterent to akurate speling. Also, al wil agre that the horibl mes of the silent “e” in the languag is disgrasful and it should go away. By the 4th yer people wil be reseptiv to steps such as replasing “th” with “z” and “w” with “v”. During ze fifz yer, ze unesesary “o” kan be dropd from vords kontaining “ou” and after ziz fifz yer, ve vil hav a reil sensi bl riten styl. Zer vil be no mor trubl or difikultis and evrivun vil find it ezi tu understand ech oza. Ze drem of a united urop vil finali kum tru. Und efter ze fifz yer, ve vil al be speking German like zey vunted in ze forst plas. If zis mad you smil, pleas pas on to oza pepl.
Current Music: Within Temptation - It's The Fear |
|