Проблемы в играх и не только.
Все нижеописанные проблемы со шрифтами решаются с помощью нового драйвера.
1. Billard-GL.
Все буквы слов скатились на первую позицию. Шаров в игре вообще не видно, они только после удара (который делается клавишой пробел) появляются на мгновение и всё, а больше вам и не надо их видеть. Куда они покатились?
2. Nibbles.
По картинке на заставке, подумал, что это давно забытые любимые червячки, типа стрелялки всякими ракетами. А, нет! Это просто змейка :(
Wormux - это то что я искал! Смотреть тут.
3. OpenArena.
Вначале все нормально, только может темнова-то.
Запустилось, вроде хорошо, но в игре буквы - такие покоцанные! Менюха по Esc открывается с таким текстом, что непрочесть.
У других ведь все нормально...
Решил сбросить настройки игры по дефолту, на что получил черный экран.
Первая мысль - пиздец! Одна надежда на то что начало этой писанины блоггер гугла сохранил. Да, действительно, за что ему огромное спасибо. А с черным экраном даже не помог перестарт иксов, гном не хотел подниматься. После ввода логина показывалась мыша в виде креста и всё. Пришлось тачку рестартануть. (Второй раз тоже получилось воспроизвести зависание)
После перестарта иксы поднялись. Но вот куда делась настройка русской раскладки? Что за ..??(Во второй раз такого не произошло) Ладно, пришлось добавить её ещё раз. И тут трабл, куда делись заголовки списков при выборе какой комбинацией переключается раскладка?
После клика на один из пунктов все надписи прорисовались.
Да, кстати, там при выборе страны, хотя, также как и в эклипсе, и в других местах где есть выпадающийе списки, то в начале то в конце списка видно пустое поле в несколько строк.
Гугл тоже не без багов. Вот, я выбрал то, что для блога и для других сервисов гугла показывать англ.язык, так почему он написал "Чернетку автоматично збережено"? Может что-то с сессией было.
4. Quake3.
Из под wine квака не стартовала :(
Через Cedega всё замечательно!
Работает очень шустро.
Только не нажимайте сбросить настройки по-умолчанию и не переключайтесь в полноэкранный режим (Alt + Enter).
Можно играть в полноэкранном, если выберете в игре полноэкранный режим сохраните настройки и перезапустите игру.
5. Need For Speed Underground 2
6. Chess.
В этой игре нет проблем, просто хотел сказать, в тему про игры, о том, что она хороша тем, что можно загрузить на 100 процентов проц. Как мне показал Санёк, надо выбрать новую игру компьютер-компьютер на тяжелом уровне сложности.
Links:
Ubuntu 1501 - Installing newest ati driver
TOP Ubuntu/Linux/Windows games
Top 10 free Linux 3D games
Jonathan Carter: 10 Games from the Ubuntu Universe
Jonathan Carter: 10 More Games from the Ubuntu Universe
HOWTO Install Cedega
Cedega - Community Ubuntu Documentation
Tuesday, December 11, 2007
JSR 286 Portlet XML
Rev. 30 on 2007.12.07
http://hnsp.inf-bb.uni-jena.de/spec/JSR%202.0%20API/portlet-app_2_0.xsd
wget -r -l 3 -nd -np -P . http://hnsp.inf-bb.uni-jena.de/spec/
* necessary tags for simple test porlet
0 unnecessary
1 necessary
+ unbound
http://hnsp.inf-bb.uni-jena.de/spec/JSR%202.0%20API/portlet-app_2_0.xsd
wget -r -l 3 -nd -np -P . http://hnsp.inf-bb.uni-jena.de/spec/
portlet 0+
//FOR PORTLET:
description 0+
portlet-name* 1
display-name 0+
portlet-class* 1
init-param 0+
description 0+
name 1
value 1
expiration-cache 0-1 (int)
cache-scope 0-1
supports* 1+
mime-type* 1
portlet-mode 0+
window-state 0+
supported-locale 0+
resource-bundle 0-1
portlet-info 0-1
title 0-1
short-title 0-1
keywords 0-1
portlet-preferences 0-1
preference 0+
name 1
value 0+
read-only 0-1
preferences-validator 0-1 FQN
security-role-ref 0+
description 0+
role-name 1 NMTOKEN
role-link 0-1
supported-processing-event 0+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
supported-publishing-event 0+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
supported-public-render-parameter 0+ String
container-runtime-option 0+
//FOR APPLICATION:
custom-portlet-mode 0+
description 0+
portlet-mode 1
portal-managed 0-1
custom-window-state 0+
description 0+
window-state 1
user-attribute 0+
description 0+
name 1
security-constraint 0+
display-name 0+
portlet-collection 1
portlet-name 1+
user-data-constraint 1
description 0+
transport-guarantee 1
resource-bundle 0-1
filter 0+
description 0+
display-name 0+
filter-name 1
filter-class 1
lifecycle 1+
init-param 0+
description 0+
name 1
value 1
filter-mapping 0+
filter-name 1
portlet-name 1+
default-namespace 0-1 (xs:anyURI)
event-definition 0+
description 0+
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
aias 0+ (xs:QName)
value-type 0-1 FQN
public-render-parameter 0+
description 0+
identifier 1
|-1-|-qname 1 (xs:QName)
|-2-|-name 1 (xs:NCName)
alias 0+ (xs:QName)
listener 0+
description 0+
display-name 0+
listener-class 1 (FQN)
container-runtime-option 0+
name 1
value 0+
* necessary tags for simple test porlet
0 unnecessary
1 necessary
+ unbound
Thursday, December 6, 2007
HOWTO Ubuntu share without authentication
Wiki Ubuntu Edgy
Install:
Samba package on Gutsy
sudo apt-get install samba
Install:
Samba package on Gutsy
sudo apt-get install samba
Configure:
sudo mkdir /home/public
sudo chmod 777 /home/public/
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
sudo gedit /etc/samba/smb.conf
Find this line
...
; security = user
...
Replace with the following line
security = share
Append the following lines at the end of file
[public]
comment = Public Folder
path = /home/public
available = yes
browsable = yes
guest ok = yes
public = yes
writable = yes
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
Save the edited file
sudo testparm
sudo /etc/init.d/samba restart
Tuesday, December 4, 2007
Dell inspiron 1501
Make choise what to bye...
WED
DELL Inspiron based on AMD Turion 64 X2 (TL56)
Краткие технические характеристики
15,4" WXGA Glare / Turion 64 X2 TL56 (1.8Ghz) / 1GB / 160GB / Radeon X1150 / DVD-RW / FM / Lan / WiFi / Vista HP ru / 2,81 kg
Экран
15.4" WXGA (1280x800)
Процессор
AMD Turion 64 2X TL56 (1.8Ghz)
Объём оперативной памяти
1 GB
Тип оперативной памяти
DDR2
Жесткий диск
160 GB
Видеокарта
ATI Mobility Radeon X1150 256 Mb Hyper Memory
Чипсет материнской платы
ATI Radeon Xpress 1150
Беспроводные технологии
Wi-Fi
Оптические приводы (CD, DVD)
DVD+/-RW
Коммуникационные возможности и порты ввода-вывода
4 x USB 2.0 / RJ-45 / RJ-11 / VGA / CR 3-in-1 / Mic-In / Head-Out
Внутренняя аудиосистема
HDA
Устройство управления курсором
Touchpad
Предустановленное ПО
Windows Vista™ Home Premium Russian
Время работы от батареи и характеристики питания
До 3.5 часов от стандартного 6-элементной аккумуляторной батареи.
Размеры (Ш х Г х В, мм)
356 x 265,4 x 37 мм
Комплект поставки
Ноутбук DELL Inspiron 1501, Li-ion батарея, блок питания, инструкция пользователя на CD, драйвера и программное обеспечение на CD.
Вес (кг)
2.81 кг
Гарантия
12 месяцев
I have install the new Ubuntu 7.10 Gutsy.
The Vista remain on another partition.
Online selector configuration
Official description
Классное описание по-русски
Ubuntu on this laptop
WED
DELL Inspiron based on AMD Turion 64 X2 (TL56)
Краткие технические характеристики
15,4" WXGA Glare / Turion 64 X2 TL56 (1.8Ghz) / 1GB / 160GB / Radeon X1150 / DVD-RW / FM / Lan / WiFi / Vista HP ru / 2,81 kg
Экран
15.4" WXGA (1280x800)
Процессор
AMD Turion 64 2X TL56 (1.8Ghz)
Объём оперативной памяти
1 GB
Тип оперативной памяти
DDR2
Жесткий диск
160 GB
Видеокарта
ATI Mobility Radeon X1150 256 Mb Hyper Memory
Чипсет материнской платы
ATI Radeon Xpress 1150
Беспроводные технологии
Wi-Fi
Оптические приводы (CD, DVD)
DVD+/-RW
Коммуникационные возможности и порты ввода-вывода
4 x USB 2.0 / RJ-45 / RJ-11 / VGA / CR 3-in-1 / Mic-In / Head-Out
Внутренняя аудиосистема
HDA
Устройство управления курсором
Touchpad
Предустановленное ПО
Windows Vista™ Home Premium Russian
Время работы от батареи и характеристики питания
До 3.5 часов от стандартного 6-элементной аккумуляторной батареи.
Размеры (Ш х Г х В, мм)
356 x 265,4 x 37 мм
Комплект поставки
Ноутбук DELL Inspiron 1501, Li-ion батарея, блок питания, инструкция пользователя на CD, драйвера и программное обеспечение на CD.
Вес (кг)
2.81 кг
Гарантия
12 месяцев
I have install the new Ubuntu 7.10 Gutsy.
The Vista remain on another partition.
Online selector configuration
Official description
Классное описание по-русски
Ubuntu on this laptop
Wednesday, November 28, 2007
Java
Install on Ubuntu.
Main install:
"sudo aptitude install sun-java5-jdk"
Set up Sun's JVM as default:
"sudo update-java-alternatives -s java-1.5.0-sun" or "sudo gedit /etc/jvm"
For eXo java/jdk1.5
Set up system environments for java snd maven within your home dir .profile file
==========
export JAVA_HOME=/home/alexey/java/jdk1.5
export MAVEN_HOME=/home/alexey/java/maven2
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH
==========
Links official and not official
Here some usefull java code pieces would be posted.
Collection to Array:
vector -> string array
String[] strArray = vector.toArray(new String [vector.size()]);
list -> string array
String[] strArray = list.toArray(new String [list.size()]);
etc.
Array to Collection:
vector = Arrays.asList(strArray);
Enumeration to Collection
return Collections.list(returnedEnumeration);
Collection to Enumeration
return Collections.enumeration(returnedColection);
How to return Collection
Collection v = new ArrayList();
v.add(...);
return v;
How to return Enumeration
public Enumeration<string> getProperties(String s) {
// creating typified
Vector<string> result = new Vector<string>();
// fill with sample string
result.add("Hello");
// make return statement
return result.elements();
}
How get InputSource from org.w3c.dom.Document?
(link)
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.TransformerFactory;
Read and write line in file
---------------------------
BufferedReader in;
try {
in = new BufferedReader(new InputStreamReader(new FileInputStream("c:\\in.xml")));
while (in.ready()) {
String s = in.readLine();
System.out.println(s);
}
} catch (IOException e) {
}
---------------------------
try {
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("c:\\out.xml",true)));
out.write("hello");
out.newLine();
out.write("test");
out.close();
} catch (IOException e) {
}
---------------------------
Print Exception to print stream (ex.: PrintWriter w = renderResponse.getWriter();)
(new Exception()).printStackTrace(w);
or
StackTraceElement[] ste = Thread.currentThread().getStackTrace();
URL
- java.net.URL
official
это частный случай java.net.URI official
Example:
url = http://localhost:8080/portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
protocol http
host localhost
port 8080
getAuthority localhost:8080
getPath /portal/portal/
getQuery portal:componentId=producer1-1556486924@portlets/HelloWorld
getFile /portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
toExternalForm http://localhost:8080/portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
getRef null
HttpServletRequest
request.getContextPath() = /portal
request.getServletPath() = /portal/
request.getServerName() = localhost
request.getRequestURL() = http://localhost:8080/portal/portal/
request.getRequestURI() = /portal/portal/
ArrayList converting
Converter applet
Conversion table for Java 1.5+
Main install:
"sudo aptitude install sun-java5-jdk"
Set up Sun's JVM as default:
"sudo update-java-alternatives -s java-1.5.0-sun" or "sudo gedit /etc/jvm"
For eXo java/jdk1.5
Set up system environments for java snd maven within your home dir .profile file
==========
export JAVA_HOME=/home/alexey/java/jdk1.5
export MAVEN_HOME=/home/alexey/java/maven2
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH
==========
Links official and not official
Here some usefull java code pieces would be posted.
Collection to Array:
vector -> string array
String[] strArray = vector.toArray(new String [vector.size()]);
list -> string array
String[] strArray = list.toArray(new String [list.size()]);
etc.
Array to Collection:
vector = Arrays.asList(strArray);
Enumeration to Collection
return Collections.list(returnedEnumeration);
Collection to Enumeration
return Collections.enumeration(returnedColection);
How to return Collection
Collection v = new ArrayList();
v.add(...);
return v;
How to return Enumeration
public Enumeration<string> getProperties(String s) {
// creating typified
Vector<string> result = new Vector<string>();
// fill with sample string
result.add("Hello");
// make return statement
return result.elements();
}
How get InputSource from org.w3c.dom.Document?
(link)
import javax.xml.transform.dom.DOMSource;
import javax.xml.transform.stream.StreamResult;
import javax.xml.transform.TransformerFactory;
Document doc = ... // your existing DOM document
DOMSource source = new DOMSource(doc);
StringWriter xmlAsWriter = new StringWriter();
StreamResult result = new StreamResult(xmlAsWriter);
TransformerFactory.newInstance().newTransformer().transform(source, result);
StringReader xmlReader = new StringReader(xmlAsWriter.toString());
InputSource viola = new InputSource(xmlReader);
Read and write line in file
---------------------------
BufferedReader in;
try {
in = new BufferedReader(new InputStreamReader(new FileInputStream("c:\\in.xml")));
while (in.ready()) {
String s = in.readLine();
System.out.println(s);
}
} catch (IOException e) {
}
---------------------------
try {
BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream("c:\\out.xml",true)));
out.write("hello");
out.newLine();
out.write("test");
out.close();
} catch (IOException e) {
}
---------------------------
Print Exception to print stream (ex.: PrintWriter w = renderResponse.getWriter();)
(new Exception()).printStackTrace(w);
or
StackTraceElement[] ste = Thread.currentThread().getStackTrace();
URL
- java.net.URL
official
это частный случай java.net.URI official
Example:
url = http://localhost:8080/portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
protocol http
host localhost
port 8080
getAuthority localhost:8080
getPath /portal/portal/
getQuery portal:componentId=producer1-1556486924@portlets/HelloWorld
getFile /portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
toExternalForm http://localhost:8080/portal/portal/?portal:componentId=producer1-1556486924@portlets/HelloWorld
getRef null
HttpServletRequest
request.getContextPath() = /portal
request.getServletPath() = /portal/
request.getServerName() = localhost
request.getRequestURL() = http://localhost:8080/portal/portal/
request.getRequestURI() = /portal/portal/
ArrayList converting
Converter applet
Conversion table for Java 1.5+
Ubuntu for developers
Other my posts:
Maven for Eclipse
Tomcat for Eclipse
Subversive for Eclipse
Install JDK
howto jdk on ubuntu wiki
In your home directory within .profile file add lines with changes according your path:
export JAVA_HOME=/home/alexey/java/jdk1.5
export PATH=$JAVA_HOME/bin:$PATH
SmartSVN
Download page
Screenshots
Direct link 3.0.4 !
License for 1 month
how-to-installsetup-smartsvn-in-ubuntu
Picture1: info
Picture2: working
Picture3: add ignore
(Project -> Settings ...)
Note: window resizing on compiz bug
Eclipse
Web Tools Platform All-In-One Package:
Download page(ver. R-2.0-200706260303)
Download direct link(ver. R-2.0-200706260303) !
Picture1: starting
Picture2: info
Picture3: working
Configure Eclipse it at "Window" -> "Preferences..."
Setting formatter:
Java -> Code Style -> Formatter
Choose: "Edit..." or "Import..." or "Export..."
Example: "Import..." this file
Setting templates:
Java -> Editor -> Templates
Choose: "New..." or "Import..." or "Export..."
e.g.0: "Import..." this file
e.g.1: "Edit..." for sysout: "System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method} ${word_selection} = " + ${word_selection});${cursor}"
e.g.2: "Edit..." for systrace: System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method}()");
If Content assist doesnt work by "Ctrl"+"Space", so some application intercepts it. Check for in in SCIM. Right button on and choose "SCIM setup". Edit there hotkeys or keyboard for remove necessary for eclipse hotkeys.
Mark occurrences:
Java -> Editor -> Mark Occurrences
Check the "Mark occurrences of the selected element in the current file".
P.S.: If you are developer of eXo Platform then look at screenshot of my working directory (java dir within home on ubuntu)
Maven for Eclipse
Tomcat for Eclipse
Subversive for Eclipse
Install JDK
howto jdk on ubuntu wiki
sudo aptitude install sun-java5-jdk
update-alternatives --config java
In your home directory within .profile file add lines with changes according your path:
export JAVA_HOME=/home/alexey/java/jdk1.5
export PATH=$JAVA_HOME/bin:$PATH
SmartSVN
Download page
Screenshots
Direct link 3.0.4 !
License for 1 month
how-to-installsetup-smartsvn-in-ubuntu
Picture1: info
Picture2: working
Picture3: add ignore
(Project -> Settings ...)
Note: window resizing on compiz bug
Eclipse
Web Tools Platform All-In-One Package:
Download page(ver. R-2.0-200706260303)
Download direct link(ver. R-2.0-200706260303) !
Picture1: starting
Picture2: info
Picture3: working
Configure Eclipse it at "Window" -> "Preferences..."
Setting formatter:
Java -> Code Style -> Formatter
Choose: "Edit..." or "Import..." or "Export..."
Example: "Import..." this file
Setting templates:
Java -> Editor -> Templates
Choose: "New..." or "Import..." or "Export..."
e.g.0: "Import..." this file
e.g.1: "Edit..." for sysout: "System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method} ${word_selection} = " + ${word_selection});${cursor}"
e.g.2: "Edit..." for systrace: System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method}()");
If Content assist doesnt work by "Ctrl"+"Space", so some application intercepts it. Check for in in SCIM. Right button on and choose "SCIM setup". Edit there hotkeys or keyboard for remove necessary for eclipse hotkeys.
Mark occurrences:
Java -> Editor -> Mark Occurrences
Check the "Mark occurrences of the selected element in the current file".
P.S.: If you are developer of eXo Platform then look at screenshot of my working directory (java dir within home on ubuntu)
Wednesday, November 14, 2007
WSRP ABC rhymes
WSRP ABC rhymes
A - is for AxisFilter and for AdminClient ( ... and for me - Alexey)
B - is for BlockingInteractionResponse
C - is for Consumer
D - is for DestroyPortlets
E - is for Event and for Extension
F - is for Fault :(
G - is for GetMarkup and for GetResource
H - is for HandleEvents
I - is for InteractionParams and for ImportPortlets
J - is for JSR286ContainerProxyImpl and for JAXBEventTransformer
K - is for ... [1]
L - is for Lifetime
M - is for Modes and for MarkupContext
N - is for NavigationalContext
O - is for Online and for OperationFailedFault
P - is for Producer and for PortletContext
Q - is for ... [2]
R - is for RegistrationOperationsInterface and for RegistrationContext
S - is for ServiceDescriptionInterface and for SessionContext
T - is for TransientStateManager and for Templates (... and for Tiger as written on my sheet)
U - is for Utils and for UpdateResponse
V - is for ... [3]
W - is for WSRPConsumerPlugin, WSRPStarter and WSRPService
X - is for ... [4]
Y - is for ...
Z - is for ... ( is for Zavizionov)
[1]
No source begins with that letter.
There are only sources containing the letter inside: PortletDescription.getKeywords() and PortletKey
[2]
No source begins with that letter.
The class QName used every where inside wsrp (javax.xml.namespace.QName)
[3]
No source begins with that letter.
ResourceValue
[4]
No source begins with that letter.
eXoPlatform =)
A - is for AxisFilter and for AdminClient ( ... and for me - Alexey)
B - is for BlockingInteractionResponse
C - is for Consumer
D - is for DestroyPortlets
E - is for Event and for Extension
F - is for Fault :(
G - is for GetMarkup and for GetResource
H - is for HandleEvents
I - is for InteractionParams and for ImportPortlets
J - is for JSR286ContainerProxyImpl and for JAXBEventTransformer
K - is for ... [1]
L - is for Lifetime
M - is for Modes and for MarkupContext
N - is for NavigationalContext
O - is for Online and for OperationFailedFault
P - is for Producer and for PortletContext
Q - is for ... [2]
R - is for RegistrationOperationsInterface and for RegistrationContext
S - is for ServiceDescriptionInterface and for SessionContext
T - is for TransientStateManager and for Templates (... and for Tiger as written on my sheet)
U - is for Utils and for UpdateResponse
V - is for ... [3]
W - is for WSRPConsumerPlugin, WSRPStarter and WSRPService
X - is for ... [4]
Y - is for ...
Z - is for ... ( is for Zavizionov)
[1]
No source begins with that letter.
There are only sources containing the letter inside: PortletDescription.getKeywords() and PortletKey
[2]
No source begins with that letter.
The class QName used every where inside wsrp (javax.xml.namespace.QName)
[3]
No source begins with that letter.
ResourceValue
[4]
No source begins with that letter.
eXoPlatform =)
Wednesday, November 7, 2007
Wallpaper
Настало время поменять хорошую, но уже надоевшую обоину на рабочем столе.
"Please don’t hurt the web"
Начал осторожно[1] гуглить со словами "wallpaper 1680 1050"
Наткнулся на неплохой сайт с обоинами http://interfacelift.com/wallpaper/
Закачал несколько обоин, из них выбрал самую понравившуюся и поставил на рабочий стол.
Вот выложил принтскрин в моих фотках или прямой линк на картинку
Вот и всё :)
Пишите комменты, постараюсь ответить.
[1] осторожно - это под влиянием полученного утром письма с темой "Выгуглен". Далее, текст письма:
----------------------------------------------------------------------------
http://www.jetstyle.ru/scroogled/
Замечательная [анти]утопия, имеющая все шансы стать реальным будущим...
И сразу после, еще не утратив послевкусия от прочитанного,
"немедленно, доктор, вот эту штучку" (с) пр. Преображенский
http://www.inosmi.ru/stories/07/04/27/3511/236555.html
----------------------------------------------------------------------------
"Please don’t hurt the web"
Начал осторожно[1] гуглить со словами "wallpaper 1680 1050"
Наткнулся на неплохой сайт с обоинами http://interfacelift.com/wallpaper/
Закачал несколько обоин, из них выбрал самую понравившуюся и поставил на рабочий стол.
Вот выложил принтскрин в моих фотках или прямой линк на картинку
Вот и всё :)
Пишите комменты, постараюсь ответить.
[1] осторожно - это под влиянием полученного утром письма с темой "Выгуглен". Далее, текст письма:
----------------------------------------------------------------------------
http://www.jetstyle.ru/scroogl
Замечательная [анти]утопия, имеющая все шансы стать реальным будущим...
И сразу после, еще не утратив послевкусия от прочитанного,
"немедленно, доктор, вот эту штучку" (с) пр. Преображенский
http://www.inosmi.ru/stories
----------------------------------------------------------------------------
Labels:
life
Wednesday, October 24, 2007
Ubuntu 7.10 update DVD or CD
Ubuntu 7.10 update DVD or CD-alternate iso placed virtual
Link to the ext article
Below I used "alexey" as my user name, change it.
1. download iso dvd
Download iso from page http://cdimage.ubuntu.com/releases/7.10/release/ (by torrent or direct download) to
/home/alexey/images/ubuntu-7.10-dvd-i386.iso
Link to the ext article
Below I used "alexey" as my user name, change it.
1. download iso dvd
Download iso from page http://cdimage.ubuntu.com/releases/7.10/release/ (by torrent or direct download) to
/home/alexey/images/ubuntu-7.10-dvd-i386.iso
2. mount iso
sudo mkdir /media/ubuntu710dvd
sudo gedit /etc/fstab
"/home/alexey/images/ubuntu-7.10-dvd-i386.iso /media/ubuntu710dvd iso9660 ro,loop,auto"
sudo mount -a
3. configure software sources
sudo gedit /etc/apt/sources.list
"deb file:/media/ubuntu710dvd/ gutsy main restricted"
4. update
sudo apt-get update
Thursday, October 4, 2007
Maven for Eclipse
About maven on my blog
Install maven
Download direct link (tar.gz ver. 2.0.7)
Unpack it by:
tar xzfv maven-2.0.7-bin.tar.gz
Configure Maven
In your home directory within .profile file add lines with changes according your path:
export MAVEN_HOME=/home/alexey/java/maven2
export PATH=$MAVEN_HOME/bin:$PATH
Configure Eclipse
Window -> Preferences ->
Java -> Build Path -> Classpath Variables
Set new:
Name "M2_REPO"
Path "/home/alexey/java/maven2/repository"
Run maven on Eclipse
Run -> Open Run Dialog ... ->
Double Click on "Java Application"
1. Main
Enter Name, choose project for build, insert main class "org.codehaus.classworlds.Launcher"
2. Arguments
Program arguments: "clean install"
VM arguments, modify with your situation:
-Xmx300m
-cp "/home/alexey/java/maven2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"
-Dclassworlds.conf="/home/alexey/java/maven2/bin/m2.conf"
-Dmaven.home="/home/alexey/java/maven2"
-Dtest.repository=db1
3. Classpath
Add to the "User entries" classworlds-1.1-alpha-2.jar by click "Add External JARs ..."
e.g.: from repository/classworlds/1.1-alpha-2/
Have you seen this error?
========================
[INFO] [antrun:run {execution: 1}]
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: taskdef A class needed by class xdoclet.modules.hibernate.HibernateDocletTask cannot be found: org/apache/tools/ant/DynamicConfigurator
========================
Than add to "Bootstrap Entries" the ant jar "ant-_._._.jar"
e.g.: from repository/ant/ant/1.6.5/ant-1.6.5.jar
Apply and Run
Install maven
Download direct link (tar.gz ver. 2.0.7)
Unpack it by:
tar xzfv maven-2.0.7-bin.tar.gz
Configure Maven
In your home directory within .profile file add lines with changes according your path:
export MAVEN_HOME=/home/alexey/java/maven2
export PATH=$MAVEN_HOME/bin:$PATH
Configure Eclipse
Window -> Preferences ->
Java -> Build Path -> Classpath Variables
Set new:
Name "M2_REPO"
Path "/home/alexey/java/maven2/repository"
Run maven on Eclipse
Run -> Open Run Dialog ... ->
Double Click on "Java Application"
1. Main
Enter Name, choose project for build, insert main class "org.codehaus.classworlds.Launcher"
2. Arguments
Program arguments: "clean install"
VM arguments, modify with your situation:
-Xmx300m
-cp "/home/alexey/java/maven2/repository/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"
-Dclassworlds.conf="/home/alexey/java/maven2/bin/m2.conf"
-Dmaven.home="/home/alexey/java/maven2"
-Dtest.repository=db1
3. Classpath
Add to the "User entries" classworlds-1.1-alpha-2.jar by click "Add External JARs ..."
e.g.: from repository/classworlds/1.1-alpha-2/
Have you seen this error?
========================
[INFO] [antrun:run {execution: 1}]
[INFO] Executing tasks
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: taskdef A class needed by class xdoclet.modules.hibernate.HibernateDocletTask cannot be found: org/apache/tools/ant/DynamicConfigurator
========================
Than add to "Bootstrap Entries" the ant jar "ant-_._._.jar"
e.g.: from repository/ant/ant/1.6.5/ant-1.6.5.jar
Apply and Run
Wednesday, October 3, 2007
Subversive for Eclipse
For Ubuntu
Install tigris console subversive client:
"sudo apt-get install subversion"
1. Install
1.1. CSC
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: CSC
URL: "http://vpms.de.csc.com/projectset/update"
Docs
1.2. Mylyn
Download derect link: mylyn-2.1-e3.3.zip
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Archived Site...
And select from filesystem downloaded file.
Docs
1.3. Subversive
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: Subversive
URL: "http://www.polarion.org/projects/subversive/download/1.1/update-site/"
Or you can install subversive as "New Archived Site..." with downloaded this archive
Docs
2. Configure
2.1. Settings for SVN.
Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"
3. Use
3.1. Share project.
Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
3.2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.
For Windows
I'm pretty sure it's same as described above for Ubuntu.
Install
1. mylar-site-0.9.0-e3.2.zip
(http://mirrors.ibiblio.org/pub/mirrors/eclipse/technology/mylar/update-site-archive/)
через UpdateSite
2. com.csc.dip.projectset.feature_2.1.0.jar
(http://vpms.de.csc.com/projectset/update/features/)
скопировать разархивированную папку в \eclipse\features\
3. Subversive_1.1.0.RC1a-LocalUpdateSite.zip
(http://www.polarion.org/index.php?page=download&project=subversive)
через UpdateSite
Configure
1. Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"
Use
1. Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.
HTH, Alexey.
Install tigris console subversive client:
"sudo apt-get install subversion"
1. Install
1.1. CSC
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: CSC
URL: "http://vpms.de.csc.com/projectset/update"
Docs
1.2. Mylyn
Download derect link: mylyn-2.1-e3.3.zip
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Archived Site...
And select from filesystem downloaded file.
Docs
1.3. Subversive
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: Subversive
URL: "http://www.polarion.org/projects/subversive/download/1.1/update-site/"
Or you can install subversive as "New Archived Site..." with downloaded this archive
Docs
2. Configure
2.1. Settings for SVN.
Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"
3. Use
3.1. Share project.
Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
3.2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.
For Windows
I'm pretty sure it's same as described above for Ubuntu.
Install
1. mylar-site-0.9.0-e3.2.zip
(http://mirrors.ibiblio.org/pub/mirrors/eclipse/technology/mylar/update-site-archive/)
через UpdateSite
2. com.csc.dip.projectset.feature_2.1.0.jar
(http://vpms.de.csc.com/projectset/update/features/)
скопировать разархивированную папку в \eclipse\features\
3. Subversive_1.1.0.RC1a-LocalUpdateSite.zip
(http://www.polarion.org/index.php?page=download&project=subversive)
через UpdateSite
Configure
1. Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"
Use
1. Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.
HTH, Alexey.
Labels:
eclipse,
open-source,
ubuntu,
work
Tuesday, October 2, 2007
[SOLVED] eclipse tomcat debug ClassNotFoundException URLClassLoader
Need to add jars.
In the Eclipse to the "Run" -> "Open Debug Dialog..." -> Java Application -> your launch configuration -> "Classpath" Tab -> User Entries
Add two jars:
"tools.jar" from JAVA_HOME/lib
"bootstrap.jar" from TOMCAT_HOME/bin
In the Eclipse to the "Run" -> "Open Debug Dialog..." -> Java Application -> your launch configuration -> "Classpath" Tab -> User Entries
Add two jars:
"tools.jar" from JAVA_HOME/lib
"bootstrap.jar" from TOMCAT_HOME/bin
Sunday, September 30, 2007
WSRP
OASIS Web Services for Remote Portlets (WSRP) TC
WSRP mail list
WSRP repository
WIKI
Веб-сервисы
WSRP 2
WSRP 1
Other vendors:
Mail lists:
1. WSRP in the eXo portlet container
Links:
http://en.wikipedia.org/wiki/WSRP
http://portals.apache.org/wsrp4j/
http://portlets.blogspot.com/
http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html
http://xml.coverpages.org/wsrp.html
oracle tutorial - with wsrp2 note
WSRP4J JIRA
WSRP4J JIRA archive
JBOSS JIRA
JBOSS JIRA PORTAL WSRP
WSRP mail list
WSRP repository
WIKI
Веб-сервисы
WSRP 2
- WSRP 2.0 specification
- REPO files - http://docs.oasis-open.org/wsrp/v2/
- WSRP_v2_Public_Review_comments
- wsrp list of new stuffs
WSRP 1
- WSRP 1.0 specification
- An example service wsdl: http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_service.wsdl
- The normative WSRP v1 binding definitions: http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_bindings.wsdl
- The normative WSRP v1 interface definitions: http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_interfaces.wsdl
- The normative WSRP v1 type definitions: http://www.oasis-open.org/committees/wsrp/specifications/version1/wsrp_v1_types.xsd
Other vendors:
Mail lists:
1. WSRP in the eXo portlet container
- Archive
- eXo mail list subscribe: exo-portlet-container-subscribe@objectweb.org
- eXo mail list: exo-portlet-container@objectweb.org
- Archive
- wsrp-comment-subscribe@lists.oasis-open.org
- wsrp-comment@lists.oasis-open.org
- Archive
- wsrp-dev-subscribe@lists.oasis-open.org
- wsrp-dev@lists.oasis-open.org
Links:
http://en.wikipedia.org/wiki/WSRP
http://portals.apache.org/wsrp4j/
http://portlets.blogspot.com/
http://dev2dev.bea.com/pub/a/2005/03/inside_wsrp.html
http://xml.coverpages.org/wsrp.html
oracle tutorial - with wsrp2 note
WSRP4J JIRA
WSRP4J JIRA archive
JBOSS JIRA
JBOSS JIRA PORTAL WSRP
Labels:
exoplatform,
java,
portlet,
work,
wsrp
Thursday, September 27, 2007
UBUNTU: VLC crashes in the beryl and compiz
VLC works only in the Metacity. In the other window managers it crashed after flash displayed.
MPlayer works in the beryl and compiz, and in the metacity too.
I thinks that do some uncompatiable codecs. But my friends haven't any problems with codecs.
MPlayer works in the beryl and compiz, and in the metacity too.
I thinks that do some uncompatiable codecs. But my friends haven't any problems with codecs.
Labels:
ubuntu
Ubuntu Installing Programs
Debs files download:
http://archive.ubuntu.com/ubuntu/pool/multiverse/
New to Linux? Need a program?
The table of equivalents software: Windows and Linux
Rename text in multi files
(based on KFileReplace)
Гордым пользователям Убунты, для тех кто знает конкретно что нужно менять
1. Установка:
sudo apt-get install kfilereplace
2. Запуск:
ALT+F2 kfilereplace
или Applications -> Accessories - > KFileReplace
3. Docs
at: http://kfilereplace.kdewebdev.org/
System
Print system info:
uname -a
cat /proc/cpuinfo
cat /proc/meminfo
Soundcard mixer:
alsamixer
Temperature:
acpi -t
Power consumption:
sudo powertop
Temperature sensor applet:
1. sudo apt-get install lm-sensors
2. sudo sensors-detect
на все вопросы ответ yes
3. sudo apt-get install sensors-applet
рестар машины
Потом добавляем на панель апплет "Hardware Sensors Monitor"
Спасибо rainf0x :)
Updating
sudo apt-get dist-upgrade
sudo apt-get update
Install mc - Midnight Commander
Download:
http://us.archive.ubuntu.com/ubuntu/pool/universe/m/mc/mc_4.6.1-7ubuntu2_i386.deb
Install double click on the file or:
Оказывается, что приостановить вывод в терминал можно CTRL+S, вообновить CTRL+D
Install fonts
sudo apt-get install ttf-xfree86-nonfree
sudo apt-get install msttcorefonts
Automatix
(home)
Getted from here
echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
wget http://www.getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
sudo apt-get update
sudo apt-get install automatix2
Beryl
(wiki)
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get install beryl
sudo apt-get install beryl-manager
beryl-manager
Skype
Skype for Linux
Skype for Uuntu Feisty Fawn (7.04)
Skype Beta 2.0 for video call
Tux Commander
Main page:
Screenshots:
Description:
Download:
Download direct link (tuxcmd_0.5.103-1_i386.deb):
Games
luchshie-igry-pod-linux-za-2007-god
Other
sudo apt-get install gparted
chmod +x /some-file.txt
LANG=en_US.UTF-8
env |less
xfontsel
df -h
Kill X server by "Ctrl"+"Alt"+"Backspace"
sudo umount /media/fat32
sudo mount /dev/sda7 /media/fat32 -a
sudo mount -a
!NUMBER_OF_COMMAND
history |grep cd
history
Run command "Alt + F2"
mtr
Thanks for the help to rainf0x and andrew00x
http://archive.ubuntu.com/ubuntu/pool/multiverse/
New to Linux? Need a program?
The table of equivalents software: Windows and Linux
Rename text in multi files
(based on KFileReplace)
Гордым пользователям Убунты, для тех кто знает конкретно что нужно менять
1. Установка:
sudo apt-get install kfilereplace
2. Запуск:
ALT+F2 kfilereplace
или Applications -> Accessories - > KFileReplace
3. Docs
at: http://kfilereplace.kdewebdev
System
Print system info:
uname -a
cat /proc/cpuinfo
cat /proc/meminfo
Soundcard mixer:
alsamixer
Temperature:
acpi -t
Power consumption:
sudo powertop
Temperature sensor applet:
1. sudo apt-get install lm-sensors
2. sudo sensors-detect
на все вопросы ответ yes
3. sudo apt-get install sensors-applet
рестар машины
Потом добавляем на панель апплет "Hardware Sensors Monitor"
Спасибо rainf0x :)
Updating
sudo apt-get dist-upgrade
sudo apt-get update
Install mc - Midnight Commander
Download:
http://us.archive.ubuntu.com/ubuntu/pool/universe/m/mc/mc_4.6.1-7ubuntu2_i386.deb
Install double click on the file or:
dpkg -i mc_4.6.1-7ubuntu2_i386.deb
Оказывается, что приостановить вывод в терминал можно CTRL+S, вообновить CTRL+D
Install fonts
sudo apt-get install ttf-xfree86-nonfree
sudo apt-get install msttcorefonts
Automatix
(home)
Getted from here
echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
wget http://www.getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
sudo apt-get update
sudo apt-get install automatix2
Beryl
(wiki)
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get install beryl
sudo apt-get install beryl-manager
beryl-manager
Skype
Skype for Linux
Skype for Uuntu Feisty Fawn (7.04)
Skype Beta 2.0 for video call
Tux Commander
Main page:
Screenshots:
Description:
Download:
Download direct link (tuxcmd_0.5.103-1_i386.deb):
Games
luchshie-igry-pod-linux-za-2007-god
Other
sudo apt-get install gparted
chmod +x /some-file.txt
LANG=en_US.UTF-8
env |less
xfontsel
df -h
Kill X server by "Ctrl"+"Alt"+"Backspace"
sudo umount /media/fat32
sudo mount /dev/sda7 /media/fat32 -a
sudo mount -a
!NUMBER_OF_COMMAND
history |grep cd
history
Run command "Alt + F2"
mtr
Thanks for the help to rainf0x and andrew00x
Labels:
howto,
open-source,
ubuntu
Wednesday, September 26, 2007
HOWTO Ubuntu intel 945 Widescreen 1680x1050 Samsung SyncMaster 205
VERY IMPORTANT is the step number 3!
1. Edit /etc/X11/xorg.conf
For works monitor driver you can delete this file, because intel driver detect that resolutions himself, but for works window managers you can't delete it and should edit this.
As for me any changes here, and playing with 915resolution don't take affect.
Section "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
2. Install "sudo aptitude install xserver-xorg-video-intel"
3. Download and install new driver xserver-xorg-video-intel_2.1.0-1ubuntu1_i386.deb from http://ubuntuforums.org/attachment.php?attachmentid=37549&d=1183829057
NOTE: you will need to login into ubuntuforums!
4. Restart Ubuntu.
PS:
If beryl has expired problems remove and install it with delete his settings in your home directory.
Special thanks for help to rainf0x
1. Edit /etc/X11/xorg.conf
For works monitor driver you can delete this file, because intel driver detect that resolutions himself, but for works window managers you can't delete it and should edit this.
As for me any changes here, and playing with 915resolution don't take affect.
Section "Device"
Identifier "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Intel Corporation 82945G/GZ Integrated Graphics Controller"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
2. Install "sudo aptitude install xserver-xorg-video-intel"
3. Download and install new driver xserver-xorg-video-intel_2.1.0-1ubuntu1_i386.deb from http://ubuntuforums.org/attachment.php?attachmentid=37549&d=1183829057
NOTE: you will need to login into ubuntuforums!
4. Restart Ubuntu.
PS:
If beryl has expired problems remove and install it with delete his settings in your home directory.
Special thanks for help to rainf0x
Labels:
ubuntu
Beryl's impression
WINDOWS VISTA AERO VS LINUX UBUNTU BERYL
http://youtube.com/watch?v=xC5uEe5OzNQ
Beryl
http://youtube.com/watch?v=ZD7QraljRfM
aiglx + Beryl
http://youtube.com/watch?v=i0ZtcxHUSDQ
My Ubuntu Beryl Matrix 3D Desktop
http://youtube.com/watch?v=kYgV2GlsufI
Tuesday, September 25, 2007
Newbie in the Ubuntu
This T-shirt is made to order for ubuntu picture in the Cherkassy.
Computer stickers to print here.
Супер дока
Классный форум
Классная дока
Ubuntu's Migration Assistant.
How to replace Windows completely with Ubuntu.
Thursday, September 20, 2007
Friday, September 14, 2007
My Digital Camera
Canon PowerShot A570 IS
Это хороший фотоаппарат.
Какие плюсы:
(плюсы очень большие)
1. Хорошее разрешение фотографии 3072х2304.
2. Возможность снимать видео в качестве 640х480 и 30 кадров в секунду.
3. Большой экран.
4. Автоопределение лиц.
5. Стабилизация изображения (IS)
6. Большой выбор возможностей в ручном режиме.
Какие минусы:
(минусы незначительные)
1. Видео несжатое, следовательно много места занимает в памяти.
2. При сьемке ярких обьектов (фонарей, фар и т.п.) на видео появляется вертикальная фиолетовая полоса.
3. Невозможно редактировать видео (разрезать на две части) на нём.
4. Копирование изображений обратно на фотоаппарат только тех форматов которые поддерживаются.
5. Копирование видео обратно на фотоаппарат практически невозможно.
Можно попробовать если для этого видео создать файл с тем же именем и расширением .THM
6. Невозможно управление сьемкой удаленно через компьютер.
DCRP Review
IXBT Общий FAQ по цифровой фотографии
Это хороший фотоаппарат.
Какие плюсы:
(плюсы очень большие)
1. Хорошее разрешение фотографии 3072х2304.
2. Возможность снимать видео в качестве 640х480 и 30 кадров в секунду.
3. Большой экран.
4. Автоопределение лиц.
5. Стабилизация изображения (IS)
6. Большой выбор возможностей в ручном режиме.
Какие минусы:
(минусы незначительные)
1. Видео несжатое, следовательно много места занимает в памяти.
2. При сьемке ярких обьектов (фонарей, фар и т.п.) на видео появляется вертикальная фиолетовая полоса.
3. Невозможно редактировать видео (разрезать на две части) на нём.
4. Копирование изображений обратно на фотоаппарат только тех форматов которые поддерживаются.
5. Копирование видео обратно на фотоаппарат практически невозможно.
Можно попробовать если для этого видео создать файл с тем же именем и расширением .THM
6. Невозможно управление сьемкой удаленно через компьютер.
DCRP Review
IXBT Общий FAQ по цифровой фотографии
Labels:
life
Friday, July 6, 2007
Web Services: AXIS, XFire, CXF, JAX-WS
wiki
Monitoring SOAP messages
Axis SOAPMonitor User's Guide
Apache TCPMon (Tutorial)
java.net tcpmon)
Axis1
official and wiki
JIRA and mail
sources
Release notes and what in this realise
User Guide
Commands - Axis Reference Guide
Axis uses it's own internal databinding system (referred to as de/serialization) that's based on SAX. It is not a pluggable option. (Perhaps you've seen messages such as "no deserialized found for [qname]). Axis provides built-in de/serializers for beans and arrays, and you can provide custom de/serializers for other types. You specify the de/serializers to use, and the mapping between qnames and types in the WSDD using the beanMapping and typeMapping options.
If you want to use a third-party databinding system, then you must use the low-level message provider (provider="MSG"), which deserializes the message into DOM, which you can then bind to your object model.
Axis2
official and wiki
JIRA and mail
sources
Release notes
Commands - Code Generator Tool Guide for Command Line and Ant Task
Reference (WSDL2Java and Java2WSDL)
Constants
Code Generator Wizard Guide for Eclipse Plug-in
Service Archive Generator Wizard Guide for Eclipse Plug-in
Programming Model:
official and wiki
JIRA and mail
Howto use wsgen and wsdlgen
Client and Server Stub Generation from WSDL
Web Services on XFire – Fast Forward to 2007
Eclipse Plugin
Axis vs XFire
Stack Comparison
CXF
official and wiki
JIRA and mail
Reease notes
wsdl-to-java
JAX-WS
official and wiki
Other resources
WSDL Version 1.1
WSDL Version 2.0
Web Services Addressing 1.0 - WSDL Binding
SOAP Version 1.2
ESB
BPEL
JAX-WS
Monitoring SOAP messages
Axis SOAPMonitor User's Guide
Apache TCPMon (Tutorial)
java.net tcpmon)
Axis1
official and wiki
JIRA and mail
sources
Release notes and what in this realise
User Guide
Commands - Axis Reference Guide
- SOAP 1.1/1.2 compliant engine
- Flexible configuration / deployment system
- Support for "drop-in" deployment of SOAP services (JWS)
- Support for all basic types, and a type mapping system for defining new serializers/deserializers
- Automatic serialization/deserialization of Java Beans, including customizable mapping of fields to XML elements/attributes
- Automatic two-way conversions between Java Collections and SOAP Arrays
- Providers for RPC and message based SOAP services
- Automatic WSDL generation from deployed services
- WSDL2Java tool for building Java proxies and skeletons from WSDL documents
- Java2WSDL tool for building WSDL from Java classes.
- Preliminary security extensions, which can integrate with Servlet 2.2 security/roles
- Support for session-oriented services, via HTTP cookies or transport-independent SOAP headers
- Preliminary support for the SOAP with Attachments specification
- An EJB provider for accessing EJB's as Web Services
- HTTP servlet-based transport
- JMS based transport
- Standalone version of the server (with HTTP support)
- Examples, including a client and server for the SoapBuilders community interoperability tests and experimental TCP, JMS, and file-based transports.
- This version has passed the JAX-RPC 1.1 and SAAJ 1.2 TCKs.
Axis uses it's own internal databinding system (referred to as de/serialization) that's based on SAX. It is not a pluggable option. (Perhaps you've seen messages such as "no deserialized found for [qname]). Axis provides built-in de/serializers for beans and arrays, and you can provide custom de/serializers for other types. You specify the de/serializers to use, and the mapping between qnames and types in the WSDD using the beanMapping and typeMapping options.
If you want to use a third-party databinding system, then you must use the low-level message provider (provider="MSG"), which deserializes the message into DOM, which you can then bind to your object model.
Axis2
official and wiki
JIRA and mail
sources
Release notes
Commands - Code Generator Tool Guide for Command Line and Ant Task
Reference (WSDL2Java and Java2WSDL)
Constants
Code Generator Wizard Guide for Eclipse Plug-in
Service Archive Generator Wizard Guide for Eclipse Plug-in
Programming Model:
- Improved XML-centric client API with full WSDL and policy support
- Support for POJO and Spring services and clients
- Support for any message exchange pattern (MEP)
- Synchronous and asynchronous programming model
- Archived service deployment model supporting full service encapsulation with versioning support
- Archived module deployment model supporting controlled extensibility with versioning support
- Hot deployment
- WS-Policy driven code generation extensions
- Flexible service life cycle model
- Automatic support for POX (REST) style invocation of services
- Support for querying service's WSDL (with ?wsdl), schema (with ?xsd) and policies (with ?policy)
- WSDL 2.0POJO annotation (JSR 181)
- JAX-WS intregration
- Custom Deployers
- Binary serialization (Fast Infoset)
- JSON support
- EJB Provider support
- Supported Specifications:
- SOAP 1.1 and 1.2
- Message Transmission Optimization Mechanism (MTOM)
- XML Optimized Packaging (XOP)
- SOAP with Attachments
- WSDL 1.1, including both SOAP and HTTP bindings
- WS-Addressing submission and 1.0
- WS-Policy
- SAAJ 1.1
- HTTP, SMTP, JMS, TCP
- Supported Data Bindings:
- Axis Data Binding (ADB), XMLBeans, JibX, JaxMe (Experimental), JaxBRI (Experimental)
- WSDL2Java, Java2WSDL, Eclipse Plugins, Maven2 Plugins, ...
official and wiki
JIRA and mail
- Support for important Web Service standards - SOAP, WSDL, WS-I Basic Profile, WS-Addressing, WS-Security, etc.
- High performance SOAP Stack
- Pluggable bindings POJOs, XMLBeans, JAXB 1.1, JAXB 2.0, and Castor support
- JSR 181 API to configure services via Java 5 and 1.4 (Commons attributes JSR 181 syntax)
- Support for many different transports - HTTP, JMS, XMPP, In-JVM, etc.
- Embeddable and Intuitive API
- Spring, Pico, Plexus, and Loom support.
- JBI Support
- Client and server stub generation
- JAX-WS early access support
Howto use wsgen and wsdlgen
Client and Server Stub Generation from WSDL
Web Services on XFire – Fast Forward to 2007
Eclipse Plugin
Axis vs XFire
Stack Comparison
CXF
official and wiki
JIRA and mail
- JAX-WS frontend
- Java2WSDL and WSDL2Java tools and Maven plugin
- SOAP 1.1 & 1.2, XML and RESTful HTTP bindings
- JAXB 2.0 Databinding support
- JSON support with Jettison
- WSDL 1.1 support
- WS-Addressing, WS-ReliableMessaging, and WS-Policy support
- MTOM attachment support
- HTTP, Servlet, JMS and Local Transports
- Simple POJO service frontend
- Javascript frontend
- JBI Service Engine. CXF services can be deployed into any JBI compliant container (ServiceMix or OpenESB)
- JCA 1.0 support, J2EE application can integrate with legacy application through JCA 1.0 support in CXF
- Spring Support
Reease notes
wsdl-to-java
JAX-WS
official and wiki
- JAX-WS 2.0/2.1 (JSR 224)
- WS-I Basic Profile 1.1
- WS-I Attachments Profile 1.0
- WS-I Simple SOAP Binding Profile 1.0
- WS-Addressing 1.0 - Core, SOAP Binding, WSDL Binding
Other resources
WSDL Version 1.1
WSDL Version 2.0
Web Services Addressing 1.0 - WSDL Binding
SOAP Version 1.2
ESB
BPEL
JAX-WS
Labels:
java,
open-source,
work
Maven and Continuum
Maven 2
official and wiki
Dowload page
Download direct link (tar.gz ver. 2.0.7)
REPOSITORY:
http://mirrors.ibiblio.org/pub/mirrors/maven2/
mvn clean install
-Dmaven.test.skip=true
-Dxfire.java5=true
Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
We faced problem with antrun plugin
[INFO] [antrun:run {execution: 0}]
[INFO] Executing tasks
[mkdir] Created dir:
D:\exo\projects\projects\portlet-container\branches\2.0\component\plugins\wsrp1\target\generate
d
[java] java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java
[java] Exception in thread "main"
[java] Java Result: 1
Thats problem solved with change
<latest>1.0</latest>
<release>1.0</release>
within
maven2\repository\org\apache\maven\plugins\maven-antrun-plugin\maven-metadata-central.xml
Or, much better to point version for maven plugin within pom.xml
For example:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Links:
Maven
Documentation
Configuring Maven
Introduction to the POM
POM Reference
SETTINGS Reference
Introduction to the lifecycle
Build Lifecycle Phases
Frequently Asked Technical Questions
The APT format
Download Maven (latest version 2.0.5)
THE BEST MAVEN ARTICLE POST EVER!
Continuum
wiki
Continuum is a continous integration server for building Java based projects.
Continuum is a great partner to Apache Maven which will run builds on a configurable schedule. Continuum will email developers when the build is broken requesting that the culprit fix the problem. You may add a project to Continuum simply by pointing to the pom.xml in the source control system and it will magically do the rest (check out from source control, run a clean build, deploy to the integration server and run unit tests).
Links:
Welcome to Continuum
Documentation
About Continuum
Download Continuum (latest version 1.0.3)
official and wiki
Dowload page
Download direct link (tar.gz ver. 2.0.7)
REPOSITORY:
http://mirrors.ibiblio.org/pub/mirrors/maven2/
mvn clean install
-Dmaven.test.skip=true
-Dxfire.java5=true
Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information.
We faced problem with antrun plugin
[INFO] [antrun:run {execution: 0}]
[INFO] Executing tasks
[mkdir] Created dir:
D:\exo\projects\projects
d
[java] java.lang.NoClassDefFoundError: org/apache/axis/wsdl/WSDL2Java
[java] Exception in thread "main"
[java] Java Result: 1
Thats problem solved with change
<latest>1.0</latest>
<release>1.0</release>
within
maven2\repository\org\apache
Or, much better to point version for maven plugin within pom.xml
For example:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.0</version>
And, sometimes ploblem in that maven doesn't see plugins at all.
Need to point plugin repository
For example:
<pluginRepositories>
<pluginRepository>
<id>snapshot</id>
<name>Snapshot repository</name>
<url>http://snapshots.maven.codehaus.org/maven2/ </url>
</pluginRepository>
</pluginRepositories>
And, sometimes ploblem in that maven doesn't see plugins at all.
Need to point plugin repository
For example:
<pluginRepositories>
<pluginRepository>
<id>snapshot</id>
<name>Snapshot repository</name>
<url>http://snapshots.maven.codehau
</pluginRepository>
</pluginRepositories>
Links:
Maven
Documentation
Configuring Maven
Introduction to the POM
POM Reference
SETTINGS Reference
Introduction to the lifecycle
Build Lifecycle Phases
Frequently Asked Technical Questions
The APT format
Download Maven (latest version 2.0.5)
THE BEST MAVEN ARTICLE POST EVER!
Continuum
wiki
Continuum is a continous integration server for building Java based projects.
Continuum is a great partner to Apache Maven which will run builds on a configurable schedule. Continuum will email developers when the build is broken requesting that the culprit fix the problem. You may add a project to Continuum simply by pointing to the pom.xml in the source control system and it will magically do the rest (check out from source control, run a clean build, deploy to the integration server and run unit tests).
Links:
Welcome to Continuum
Documentation
About Continuum
Download Continuum (latest version 1.0.3)
Monday, June 25, 2007
SVN and CVS
SVN wiki
SVN - is Subversion
TortoiseSVN official and wiki
Tigris official
CVS wiki
CVS - is Concurrent Versions System
TortoiseCVS official and wiki
Links:
List of revision control software
SVN vs CVS
CVS to SVN Crossover Guide
SVN - is Subversion
TortoiseSVN official and wiki
Tigris official
CVS wiki
CVS - is Concurrent Versions System
TortoiseCVS official and wiki
Links:
List of revision control software
SVN vs CVS
CVS to SVN Crossover Guide
Labels:
open-source
Saturday, June 23, 2007
Ant
official and wiki
This is the project build tool.
Ant run plugin in maven.
Links:
Java parameters
This is the project build tool.
Ant run plugin in maven.
<plugin>Classpath in antrun
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
...
<classpath refid="maven.dependency.classpath" />
<classpath>
<pathelement location="${localRepository}/org/apache/axis2/axis2/1.2/axis2-1.2.jar"/>
<path refid="maven.dependency.classpath"/>
</classpath>
<classpath>
<fileset dir="${localRepository}/org/apache/axis2/axis2/1.2/">
<include name="axis2-1.2.jar"/>
</fileset>
</classpath>
<classpath>
<pathelement path="${classpath}" />
<fileset dir="${basedir}/target">
<include name="**/rmi-client-1.6.dir/*.jar" />
</fileset>
</classpath>
Links:
Java parameters
Thursday, June 14, 2007
Tuesday, May 29, 2007
XWiki buglist
1. View profile.
Clicking on my profile link
Error: "You are not allowed to view this document or perform this action."
2. Inserting code.
If the second field "Content" leave empty inserting of macros will be incorrect:
"{code:type=code} " instead of "{code:type=code} {code} ".
3. Inserting image by wysiwyg from the web.
I think it's hack to upload image from the web by that wysiwyg inserting image panel.
There are no tools for do it. I follow step by step but happens nothing :( Nothing at all!
4. How can I type char "\"?
"\" is "" - unmark XWiki's system symbol
"\\" is "" - new line
"/\" is "/"
"\/" is "/"
"/" is "/"
"//" is "//"
Just for information. Will make it useful.
Clicking on my profile link
Error: "You are not allowed to view this document or perform this action."
2. Inserting code.
If the second field "Content" leave empty inserting of macros will be incorrect:
"{code:type=code} " instead of "{code:type=code} {code} ".
3. Inserting image by wysiwyg from the web.
I think it's hack to upload image from the web by that wysiwyg inserting image panel.
There are no tools for do it. I follow step by step but happens nothing :( Nothing at all!
4. How can I type char "\"?
"\" is "" - unmark XWiki's system symbol
"\\" is "" - new line
"/\" is "/"
"\/" is "/"
"/" is "/"
"//" is "//"
Just for information. Will make it useful.
Labels:
exoplatform,
work
Subscribe to:
Posts (Atom)