插画家David Fuhrer访谈录
Post by Luke. Oct 27, 2008 视觉设计
David Fuhrer是一位自学成才的数码画家,他有着一系列极富创意和生动艺术作品。David极其有天分,他解释了他如何在他的绘画中融入了3d的元素。David同时也给我们看了一些他用来创造生动艺术作品的工具。
本文作者:Emil
Emil Agarunov 来自Brooklyn,NEW York。他使用Photoshop已经有四年,使用Illustrator也有几年的历史。他擅长像素绘画和图片处理。
1.请介绍一下自己,简略的个人经历,告诉我们你从哪里来,你是如何开始在这个领域发展的。
我叫David Fuhrer。我于1985年出生在瑞士。我是一个在美丽的瑞士长大的自学数码画家。当我还是一个孩子的时候,我就热衷于通过任何途径去创造,开始是玩具,后来是绘画。
我于2003/2004年开始数码创作,之后于2005年创立了我的Portfolio。我的作品是基于我的想象和生活。大部分的作品创作需要几周甚至几个月。除了我自己的插画之外,我还作为互动设计师在一个机构工作三天。我在那儿制作Flash和一些Photoshop的工作,同时还写一些Action Script。
Photoshop让睫毛更加浓密-Photoshop美容系列之一
Post by Luke. Oct 15, 2008 视觉设计
大家是不是经常会对很多明星写真里,女明星们完美的面容,尤其是浓密的眼睫毛羡慕不已类!?其实PS就可以做到!
好!那么开始,让我们高喊:浓密吧,女生们的睫毛!!!
我们的目标是把一下这张照片里稀疏的眼睫毛: Read the rest of this entry »

变成像下面这张照片里的眼睫毛一样,性感而浓密:
FreeBsd 6.2 下 Squid 开启大内存导致进程内存溢出
Post by newdir. Oct 7, 2008 Web开发
Freebsd 6.2 的服务器, 跑Squid服务,经常在启动不久之后,就会出现
xcalloc: Unable to allocate 1 blocks of 4108 bytes!
错误信息,大致是指Squid申请内存错误。
在 Squid FAQ 中找到
Messages like "FATAL: xcalloc: Unable to allocate 4096 blocks of 1 bytes!" appear when Squid can't allocate more memory, and on most operating systems (inclusive BSD) there are only two possible reasons:
* The machine is out of swap
* The process' maximum data segment size has been reached
The first case is detected using the normal swap monitoring tools available on the platform (pstat on SunOS, perhaps pstat is used on BSD as well).
To tell if it is the second case, first rule out the first case and then monitor the size of the Squid process. If it dies at a certain size with plenty of swap left then the max data segment size is reached without no doubts.
The data segment size can be limited by two factors:
* Kernel imposed maximum, which no user can go above
* The size set with ulimit, which the user can control.
When squid starts it sets data and file ulimit's to the hard level. If you manually tune ulimit before starting Squid make sure that you set the hard limit and not only the soft limit (the default operation of ulimit is to only change the soft limit). root is allowed to raise the soft limit above the hard limit.
文中指出,导致 Squid在 Freebsd下跑起来内存溢出有两种情况:
1、系统的交换分区 Swap分区不够用。
2、进程申请的最大内存受到限制。
该服务器有4G内存,开启了高达8G Swap,明显第一个原因是不对。
然后用top 观察Squid运行状态,发现Squid在跑超过512M内存的时候,就自动退出了,而Squid设置的是1280M的内存参数。
用 limits 查看系统参数,发现单进程的内存占用数被限制在了512M
datasize 524288
通过 ulimt -d 2097152 和 ulimit -Hd 进行强制设置并不成功,因为freebsd默认是csh,不支持ulimit。
继续翻阅Google上的资料,在一个台湾网友那里找到了设置的方法。
将
kern.maxdsiz=”2G”
添加到
/boot/loader.conf
(中间尝试添加到 /etc/sysctl.conf 重启后不成功)


