Song Way

Creative Commons License
The blog posts here by Song Wei is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.

May 30, 2008

Linux PDF editor for manipulating PDF documents

Filed under: Uncategorized

http://www.cyberciti.biz/tips/open-source-linux-pdf-writer.html
scribus
flpsed
pdfedit

Spiking neural networks

Filed under: Uncategorized

from http://en.wikipedia.org/wiki/Artificialneuralnetwork

Spiking neural networks (SNNs) are models which explicitly take into account the timing of inputs. The network input and output are usually represented as series of spikes (delta function or more complex shapes). SNNs have an advantage of being able to process information in the time domain (signals that vary over time). They are often implemented as recurrent networks. SNNs are also a form of pulse computer.

Networks of spiking neurons — and the temporal correlations of neural assemblies in such networks — have been used to model figure/ground separation and region linking in the visual system (see e.g. Reitboeck et.al.in Haken and Stadler: Synergetics of the Brain. Berlin, 1989).

Gerstner and Kistler have a freely available online textbook on Spiking Neuron Models.


Boltzmann machine

Filed under: Uncategorized

http://en.wikipedia.org/wiki/Boltzmann_machine

“A Boltzmann machine is the name given to a type of simulated annealing stochastic recurrent neural network by Geoffrey Hinton and Terry Sejnowski. Boltzmann machines can be seen as the stochastic, generative counterpart of Hopfield nets. They were one of the first examples of a neural network capable of learning internal representations, and are able to represent and (given sufficient time) solve difficult combinatoric problems. However, due to a number of issues discussed below, Boltzmann machines with unconstrained connectivity have not proven useful for practical problems in machine learning or inference. They are still theoretically intriguing, however, due to the locality and Hebbian nature of their training algorithm, as well as their parallelism and the resemblance of their dynamics to simple physical processes. If the connectivity is constrained, the learning can be made efficient enough to be useful for practical problems.

“The network is run by repeatedly choosing a unit and setting its state according to the above formula. After running for long enough at a certain temperature, the probability of a global state of the network will depend only upon that global state’s energy, according to a Boltzmann distribution. This means that log-probabilities of global states become linear in their energies. This relationship is true when the machine is “at thermal equilibrium“, meaning that the probability distribution of global states has converged. If we start running the network from a high temperature, and gradually decrease it until we reach a thermal equilibrium at a low temperature, we are guaranteed to converge to a distribution where the energy level fluctuates around the global minimum. This process is called simulated annealing.

wrting presentation in txt files

Filed under: Uncategorized

http://member.wide.ad.jp/wg/mgp/
http://www.icir.org/mallman//software/mmaker/
great

txt2tags

Filed under: Uncategorized

very appealing to me:
“The same text file can be converted to all target formats, with no further editing. This is the txt2tags purpose: ONE source, MULTI targets.”

http://txt2tags.sourceforge.net/

language rating

Filed under: Uncategorized


from
http://littletutorials.com/2008/05/28/13-reasons-java-die-old-age/

on the game in Chinese Stock Market

Filed under: Uncategorized

http://www.ruanyifeng.com/blog/2008/05/covetouschineserealestatedevelopers.html
analysis to come later

on disaster insurance

Filed under: Uncategorized

at one hand, Chinese netizen wonders why China doesn’t have disaster insurance

on the other hand, Warren Buffet in USA concludes the end of disaster insurance party he previously embraced

And his pessimism goes even further by worrying about nuclear bombs along side soaring wind and trembling earth.

light weighted system monitoring in X

Filed under: Uncategorized

conky

my .conkyrc file:

#alignment topright
background yes

cpu
avgsamples 2
net
avgsamples 2

out
toconsole no

# X font when Xft is disabled, you can pick one with program xfontsel
#font 8x10
#font 7x13
#font 8x13
#font 7x12
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
#font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
#font -*-luxi sans-medium-r-normal-*-13-*-*-*-*-*-iso8859-2
#font -*-helvetica-medium-r-normal-*-12-*-100-100-*-*-iso8859-2
#font -*-lucidatypewriter-medium-r-*-*-14-*-100-100-*-*-iso8895-2
#font -*-courier-medium-r-normal-*-14-*-100-100-*-*-iso8859-2
#font -*-lucida-medium-r-normal-*-13-*-*-*-*-*-iso8859-2

# Use Xft?
use
xft yes

# Xft font when Xft is enabled
#xftfont monospace-8
xftfont sans-8.5

ownwindowtransparent no
ownwindowcolour hotpink

# Text alpha when using Xft
xftalpha 0.8

# mail spool
mailspool $MAIL

# Update interval in seconds
update
interval 1

# Create own window instead of using desktop (required in nautilus)
ownwindow no

# Use double buffering (reduces flicker, may not work for everyone)
double
buffer yes

# Minimum size of text area
minimumsize 5 5
#maximum
width 150

# Draw shades?
drawshades no

# Draw outlines?
draw
outline no

# Draw borders around text
drawborders yes

# Stippled borders?
stippled
borders 0

# border margins
bordermargin 10

# border width
border
width 0

# Default colors and also border colors
defaultcolor white
default
shadecolor white
default
outlinecolor white

# Text alignment, other possible values are commented
#alignment top
left
alignment topright
#alignment bottom
left
#alignment bottomright

# Gap between borders of screen and text

gap
x 20
gapy 65 #margines gorny

# Add spaces to keep things from moving about? This only affects certain objects.
use
spacer yes

# Subtract file system buffers from used memory?
nobuffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti
dir /opt/seti

# Possible variables to be used:
#
# Variable Arguments Description
# acpiacadapter ACPI ac adapter state.
# acpifan ACPI fan state
# acpitemp ACPI temperature.
# adt746xcpu CPU temperature from thermadt746x
# adt746xfan Fan speed from therm
adt746x
# battery (num) Remaining capasity in ACPI or APM
# battery. ACPI battery number can be
# given as argument (default is BAT0).
# buffers Amount of memory buffered
# cached Amount of memory cached
# color (color) Change drawing color to color
# cpu CPU usage in percents
# cpubar (height) Bar that shows CPU usage, height is
# bar’s height in pixels
# downspeed net Download speed in kilobytes
# downspeedf net Download speed in kilobytes with one
# decimal
# exec shell command Executes a shell command and displays
# the output in torsmo. warning: this
# takes a lot more resources than other
# variables. I’d recommend coding wanted
# behaviour in C and posting a patch :-) .
# execi interval, shell Same as exec but with specific interval.
# command Interval can’t be less than
# updateinterval in configuration.
# fs
bar (height), (fs) Bar that shows how much space is used on
# a file system. height is the height in
# pixels. fs is any file on that file
# system.
# fsfree (fs) Free space on a file system available
# for users.
# fs
freeperc (fs) Free percentage of space on a file
# system available for users.
# fs
size (fs) File system size
# fsused (fs) File system used space
# hr (height) Horizontal line, height is the height in
# pixels
# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
# may be omitted if you have only one I2C
# device. type is either in (or vol)
# meaning voltage, fan meaning fan or temp
# meaning temperature. n is number of the
# sensor. See /sys/bus/i2c/devices/ on
# your local computer.
# kernel Kernel version
# loadavg (1), (2), (3) System load average, 1 is for past 1
# minute, 2 for past 5 minutes and 3 for
# past 15 minutes.
# machine Machine, i686 for example
# mails Mail count in mail spool. You can use
# program like fetchmail to get mails from
# some server using your favourite
# protocol. See also new
mails.
# mem Amount of memory in use
# membar (height) Bar that shows amount of memory in use
# memmax Total amount of memory
# memperc Percentage of memory in use
# newmails Unread mail count in mail spool.
# nodename Hostname
# outlinecolor (color) Change outline color
# pre
exec shell command Executes a shell command one time before
# torsmo displays anything and puts output
# as text.
# processes Total processes (sleeping and running)
# runningprocesses Running processes (not sleeping),
# requires Linux 2.6
# shadecolor (color) Change shading color
# stippled
hr (space), Stippled (dashed) horizontal line
# (height)
# swapbar (height) Bar that shows amount of swap in use
# swap Amount of swap in use
# swapmax Total amount of swap
# swapperc Percentage of swap in use
# sysname System name, Linux for example
# time (format) Local time, see man strftime to get more
# information about format
# totaldown net Total download, overflows at 4 GB on
# Linux with 32-bit arch and there doesn’t
# seem to be a way to know how many times
# it has already done that before torsmo
# has started.
# totalup net Total upload, this one too, may overflow
# updates Number of updates (for debugging)
# upspeed net Upload speed in kilobytes
# upspeedf net Upload speed in kilobytes with one
# decimal
# uptime Uptime
# uptimeshort Uptime in a shorter format
#
# seti
prog Seti@home current progress
# setiprogbar (height) Seti@home current progress bar
# seti
credit Seti@hoome total user credit


# variable is given either in format $variable or in ${variable}. Latter
# allows characters right after the variable and must be used in network
# stuff because of an argument
#${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
#${font Verdana:size=10}as many times as I choose
#${font Perry:size=10}Including UTF-8,
#${font Luxi Mono:size=10}justo como este texto que o google traduz fĂ?ÂŞz o portuguĂ?ÂŞs
# stuff after ‘TEXT’ will be formatted on screen

TEXT
${color #7eade7}System: ${color #dddddd}$nodename linux
${color #d2d2d2}$sysname $kernel ${color #CCCCCC}on ${color #d2d2d2}$machine
${color #d2d2d2}Uptime: $uptime
${color #d2d2d2}${time %b - %a - %d} ${color #7eade7}${time %k:%M:%S}
${color white}${hr 1}
${color #7eade7}Monitor systemu:
${color #d2d2d2}cpu: ${color #d9d734}${cpu}%
${color #d2d2d2}${cpugraph 25 ff0000 0000ff}
${color #d2d2d2}ram : ${color #CCCCCC}$mem${color #d2d2d2}/${color #CCCCCC}$memmax ${color #d2d2d2}- ${color #CCCCCC}$memperc%
${color #d2d2d2}swap: ${color #CCCCCC}$swap${color #d2d2d2}/${color #CCCCCC}$swapmax ${color #d2d2d2} - ${color #CCCCCC}$swapperc%
${color #d2d2d2}load: ( ${color #CCCCCC}$loadavg ${color #d2d2d2})
${color #d2d2d2}procesy: ${color #CCCCCC}$processes

${color #7eade7}Net: ${color #BBBBBB}(eth0)
${color #d2d2d2}down: ${color #d9d734}${downspeed eth0} k/s ${color #d2d2d2}up: ${color #d9d734}${upspeed eth0} k/s
${color #d2d2d2}${downspeedgraph eth0 25,100 ff0000 0000ff} ${color #d2d2d2}${upspeedgraph eth0 25,100 0000ff ff0000}
${color #d2d2d2}total: ${color #d9d734}${totaldown eth0} ${color #d2d2d2}total: ${color #d9d734}${totalup eth0}

${color #7eade7}Net: ${color #BBBBBB}(eth1)
${color #d2d2d2}down: ${color #d9d734}${downspeed eth1} k/s ${color #d2d2d2}up: ${color #d9d734}${upspeed eth1} k/s
${color #d2d2d2}${downspeedgraph eth1 25,100 ff0000 0000ff} ${color #d2d2d2}${upspeedgraph eth1 25,100 0000ff ff0000}
${color #d2d2d2}total: ${color #d9d734}${totaldown eth1} ${color #d2d2d2}total: ${color #d9d734}${totalup eth1}

${color #7eade7}Dyski:
${color #d2d2d2}root : ${color #CCCCCC}${fsused /}${color #d2d2d2}/${color #CCCCCC}${fssize /}( ${color #d2d2d2}${color #CCCCCC}${fsfree /} ${fsfreeperc /}% free)${color #d2d2d2}
${fs
bar /}
${color #d2d2d2}home : ${color #CCCCCC}${fsused /home}${color #d2d2d2}/${color #CCCCCC}${fssize /home} (${color #d2d2d2}${color #CCCCCC}${fsfree /home} ${fsfreeperc /home}% free)${color #d2d2d2}
${fs
bar /home}

${color #7eade7}Process:
${color #d2d2d2}${top name 1}
PID: ${top pid 1} CPU%: ${top cpu 1} MEM%: ${top mem 1}
${color #7eade7}${top name 2}
PID: ${top pid 2} CPU%: ${top cpu 2} MEM%: ${top mem 2}
${color #d2d2d2}${top name 3}
PID: ${top pid 3} CPU%: ${top cpu 3} MEM%: ${top mem 3}
${color #7eade7}${top name 4}
PID: ${top pid 4} CPU%: ${top cpu 4} MEM%: ${top mem 4}
${color #d2d2d2}${top name 5}
PID: ${top pid 5} CPU%: ${top cpu 5} MEM%: ${top mem 5}


Battery:${battery} AC:${acpiacadapter} Temperature:${acpitemp}

Get free blog up and running in minutes with Blogsome
Theme designed by Jay of onefinejay.com