难道QT目前不支持GB18030?
Konsole在GB18030下不能用scim输入中文
改locale为gbk就可以了
gnome-terminal都可以,奇怪!
Konsole在GB18030下不能用scim输入中文
改locale为gbk就可以了
gnome-terminal都可以,奇怪!
自己家里也缺一个版本控制环境,正好之前听RedSox说起Subversion的好,也想尝试一下
新东西–目前已经用过VSS,CVS,ClearCase,大概只有svn没有被我临幸过了。
上网找howto,装!–应该说 emerge !
装完,设置,装TortoiseSVN client,browse repos,输入密码
不对!再输,还是不对。没辙上网求救吧,先是在paowang it发帖子,paowang it
虽然帖子不多,但是我深信有很多高手潜水看热闹。
在单位继续google,不得要领,搜到一个subversion.org.cn的网站
下300页pdf手册一本,看!
又注册id到该网站论坛发帖求助如下
=================================
hufey
斑竹
注册时间: 2005-12-20
帖子: 4
帖子发表于: 星期二 十二月 20, 2005 1:01 pm 发表主题: 请教svn和apache2的配置,现在密码访问通不过 引用并回复 编辑/删除帖子
我按照网上文档的步骤在gentoo linux设置好了apache2 mod_dav和svn
看上去似乎是对的
用的Basic AuthType,加用户、密码是htpasswd2生成的
但是当我 import project的时候(在linux里)
总是先问我要root的密码,然后要一个username和passwd
我把我刚设好的给他,要两次之后就fail了
我在另外一台windows机器tortoise连http://ip/svn/repos
也会要用户密码,同样我把刚设好的给他
他会一直不停的要
请问是何道理?
谢谢
返回页首
阅览成员资料 (Profile) 发送私人留言 (PM)
luke
斑竹
注册时间: 2005-11-01
帖子: 12
帖子发表于: 星期二 十二月 20, 2005 4:34 pm 发表主题: 引用并回复
感觉似乎是配置文件有问题,发上来看看。没有用ssl吧,如果最后import失败应该是配置不对,看看Apache日志文件里有什么错误。
返回页首
阅览成员资料 (Profile) 发送私人留言 (PM)
hufey
斑竹
注册时间: 2005-12-20
帖子: 4
帖子发表于: 星期二 十二月 20, 2005 7:19 pm 发表主题: 配置如下 引用并回复 编辑/删除帖子
/etc/conf.d/apache2中
APACHE2_OPTS=”-D DEFAULT_VHOST -D SVN -D SVN_AUTHZ -D DAV -D DAV_FS”
/etc/apache2/modules.d/47_mod_dav_svn.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
DAV svn
SVNPath /var/local/repos
AuthType Basic
AuthName “Subversion repository”
AuthUserFile /etc/passwd
Require valid-user
LoadModule authz_svn_module modules/mod_authz_svn.so
返回页首
阅览成员资料 (Profile) 发送私人留言 (PM)
hufey
斑竹
注册时间: 2005-12-20
帖子: 4
帖子发表于: 星期二 十二月 20, 2005 7:24 pm 发表主题: 可以了 引用并回复 编辑/删除帖子 删除这个主题
原来是看不同的文档看到头晕了
写的是/etc/passwd
实际添加用户的在/path/to/repos/passwd里
贴配置时多看了一眼,明白了
改回来就好了
不过/etc/passwd里也有我的用户,密码一样,
连不上是加密方式不一样吗?
=======================================
最后一个帖子已经是回家之后发的,居然是passwd文件写错了。
不管怎样,毕竟能用了。。。
发帖子之前还subscribe了svn user mailing-list,看来可以取消它了
在gentoo下
emerge xinetd
emerge netkit-telnetd
改/etc/xinet.d/telnetd中disable为no
再启动xinetd
/etc/init.d/xinetd start即可
不过这样下来只能本地登陆,其他电脑还是登不上来地
必须去掉/etc/xinetd.conf中only_from=localhost才行
sshd比较简单,只要emerge sshd后再/etc/init.d/sshd start即可
但是putty登陆是会自动退出地
把window 改成never close会看到
No supported authentication methods left to try!
google了一遍查到据说putty版本问题
可我升级到最新版本也还一样
最后 改了/etc/ssh/sshd_config中的PasswordAuthentication no为yes
才行
不过这样不会有安全性的问题吗???
很少见OOS社区这样期盼一个软件的release
29号N多人期待“今天下午Firefox 1.5就release了”
仿佛中国小孩盼过年一样
我本来也等了等菜单条的蓝色有新update的标志
等了两天还没有,只好手动下载安装
下载的时候只有一个thread被允许,估计也是临时性的限制吧
升级完发现20多个extension有十多个被disable了
因为不兼容于1.5
不过1.5extension 下边提供了一个find update的按钮
以前有么?我没注意过
check update后发现了大部分都有了兼容1.5的升级
现在还有6个不能用的,只有慢慢等了
LiveLines居然也没有,bloglines这就有点不像画了
另外,某些错误提示信息好看了
在DistroWatch中叫VLOS。怪不得我没找到。
直接装gentoo stage 3的一个distribution。
New Gentoo-based desktop adds system update capabilities
Jul. 22, 2004
Based on Gentoo Linux, the Vidalinux Desktop OS has been announced on the project’s website, and the first beta of the software is expected to be available on Gentoo mirrors soon. The goal of the Vidalinux Desktop OS is to make Linux easier to use and administer for daily work for home or office users.
Described as a “metadistribution”, the software uses a technology called Portage that is said to allow the Gentoo-based desktop to become a secure server, development workstation, professional desktop, gaming system, embedded solution, among possible uses for the system.
This “near-unlimited” adaptability allows users to increase their desktop productivity by enabling updates and the installation of applications, the project claims. Portage technology keeps systems up-to-date with the most current application and security patches, compiling from source code or downloading precompiled binaries. Portage also resolves dependencies, according to the project’s website.
A “Porthole” system (see image on right — click to enlarge) provides automated software updates and patching, including desktop alerts/notifications and dependency checking/analysis, to ensure that systems are secure and are running the latest software.
Vidalinux Desktop OS includes a GNOME desktop environment, Ximian edition of OpenOffice.org, Mozilla browser, Evolution mail and calendar client, Gentoo Linux system, and portage package manager. The project says that the distribution includes additional multimedia and productivity applications for the home user, including media players, browser plugins for flash, real player, pdf viewer, media, graphics design, and administration tools.
The recommended requirements for running Vidalinux are a Pentium III compatible processor (500 MHz or faster), a 10 GB hard disk, and a minimum of 256MB RAM. Additionally, Vidalinux requires 1024×768 screen resolution or better.
Poll: What Your Next Cellphone Will Be?
Written by Eugenia Loli-Queru on 2005-10-31 09:42:33 UTC
According to recent news, global shipments of smartphones are up 75% in Q3 2005, with PDA-only handheld shipments falling 18% and converged devices more than doubled in volume. So, what are the tech-inclined OSNews readers are opting for? Come in and vote.
Cellphones today usually are categorized in 5 ways. Here are some sample configurations for these categories (configurations that could vary in many ways of course and are given here only as a guideline):
1. Low-end phones. Few LCD colors and very low resolutions (e.g. 96×64), only SMS support, no camera, no java, 500KB to 4 MB internal storage. Example: Sony Ericsson J210i, Nokia 1221.
2. Low-end feature phones. CIF/VGA camera (no flashlight), 128×128 STN LCD or similar, Java, 5-15 MB internal storage. Example: Sony Ericsson K300i, Nokia 6235i.
3. Mid-range feature phones. VGA to 1 MP camera with flashlight, 128×160 or 176×220 TFTs, Java, EMS, 15-35 MBs internal storage, Bluetooth. Example: Sony Ericsson K700i, Motorola ROKR.
4. High-end feature phones. 2MP cameras, QVGA or 176×220 TFTs, Bluetooth, flash storage slot and 35-50 MBs internal storage, high multimedia inclination. Examples: Sony Ericsson K750i and W800i, Nokia 7370.
5. Smartphones. Any Windows, PalmOS, Symbian or Linux powered devices.
Note: This poll requires javascript to view and vote for.
My next cellphone purchase will be:
None, I do not need a cellphone
48 (6 %)
None, my carrier gives one to me for free
27 (3 %)
Just a plain & cheap low-end cellphone
98 (13 %)
A low-end feature phone
57 (7 %)
A mid-range feature phone
102 (13 %)
A high-end feature-phone
112 (14 %)
Windows Mobile smartphone
69 (9 %)
Symbian smartphone
84 (11 %)
PalmOS smartphone
38 (5 %)
Linux smartphone
114 (15 %)
Total votes: 749
kerneltrap
Linux: Reiser4 and the Mainline Kernel
Posted by Jeremy on Monday, September 19, 2005 – 06:38
Linux news
Hans Reiser [interview] sent an email to the lkml titled, “I request inclusion of reiser4 in the mainline kernel”. He provided a list of objections raised earlier, noting that all had been addressed. Among the listed issues, Reiser4 now works with 4k stacks. “There have been no bug reports concerning the new code,” Hans added.
The request was followed with some suggestions by Christoph Hellwig, including general comments about the coding style. This was one of many issues that led to debate in which Hans commented, “most of my customers remark that Namesys code is head and shoulders above the rest of the kernel code. So yes, it is different.” Alan Cox [interview] replied that while the kernel coding style isn’t his own style, he tries to follow it when working on the kernel, “one big reason we jump up and down so much about the coding style is that its the one thing that ensures someone else can maintain and fix code that the author has abandoned, doesn’t have time to fix or that needs access to specific hardware the authors may not have.” Much of the rest of the thread was less friendly, leaving the question of merging Reiser4 into the mainline kernel still up in the air.
很多年前的很多年前, 自己写程序, 编码风格基本是自己总结反思出来的
很多年前, 服务于K公司, 过iso 9000-3,9003什么的, 编码风格统一为
if ( cond )
{
something
}
else
{
otherwise
}
注意( 和 cond之间是有一个空格的, 适应这个花了我不少时间
函数和变量跟MS跑, 匈牙利命名法
后来, 服务于X公司, 虽然没有统一的代码风格, 还是跟着以前的程序
改成
if ( cond ) {
something
} else {
otherwise
}
适应这个花了我不少时间, 函数变量胸鸭梨命名法
这个地方呆的时间比较长, 也比较认同这个多一些
再后来, 和一帮linux kernel hacker工作, 他们反对胸鸭梨命名法, 他们认为好的代码
不需要在变量定义上去区分类型, 如果那样就说明代码写的可读性还不够好。
他们没有任何一份写出来的编码标准需要自己去遵守 ,
但是他们有自己心中维持的标准并且彼此心照不宣。
现在, 我又要和另外一群人一起工作, 遵循CMM的标准, 有严格的编码标准。
程序要写成绛紫:
if ( cond )
{
something
}
else
{
otherwise
}
彪哥快板是这么唱的“十二个生肖十二个年,十二年本是一个循环”
每日里总在为正则表达式伤脑筋
正则表达式当然是好东西,就是每次都记不住规则,然后再试呀试
望着含糊不清的提示发呆
今天下午再次陷入这种状况
其实很简单,就是把一句话的(后面的一串去掉
可是我写出来的怎么都不对
要么停在)
要么doesn’t work
只好再次向35F2老兄求援
我就琢磨着,要不干脆花点时间写一个辅助程序,定义一些规则
来帮忙写。。。?
马上就想到我能想到的事别人肯定早就想到了
于是emerge -s regular,没查到什么有价值的
再跑到freshmeat.net上搜
果然搜出txt2regex!!!
用人类语言问问题然后生成正则表达式
哈哈
真是得来全不费工夫
花了10秒钟找到了答案
。。。可惜了我的一下午