k*****y 发帖数: 221 | 1 suffix means nothing.
Different webservers often support different executable file suffixs. |
|
C***U 发帖数: 2406 | 2 那本intro to algorithm里面好像没有 |
|
m*****e 发帖数: 47 | 3 book about 'string algorithms' |
|
C***U 发帖数: 2406 | 4 could be more specific?
Thanks |
|
m*****e 发帖数: 47 | 5 Algorithms on Strings, Trees and Sequences: Computer Science and
Computational Biology by Dan Gusfield 1997 |
|
|
|
H**y 发帖数: 42 | 8 【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: Hazy (小迷糊), 信区: Programming
标 题: C# 中comboBox DataBinding 问题
发信站: Unknown Space - 未名空间 (Thu Apr 1 16:27:32 2004) WWW-POST
对DATABINDING的问题总是很头疼.
偶想把comboBoxSuffix 和DataSet BIND 起来,
写了下面这写CODE.
this.comboBoxSuffix.DataSource = DataSet.Suffix.DefaultView;
this.comboBoxSuffix.DisplayMember = "DisplayName";
this.comboBoxSuffix.ValueMember = "SuffixId";
this.comboBoxSuffix.DataBindings.Add("SelectedValue",
DataSet.Suffix.DefaultView, "SuffixId");
问题是: 每次偶 click |
|
f********e 发帖数: 3 | 9 Anyone can help me out?
desktopAMD (Linux) can't access to Internet, while it can connect the router
(router behind cable modem) and read the DHCP clients as follows:
==========part of router system information===============
DHCP Clients
Host Name IP Address MAC Address Client Lease Time
desktopAMD 192.168.1.108 xx:xx:xx:xx:DE:9B 1 day 00:00:00
LinksysPAP 192.168.1.104 xx:xx:xx:xx:DD:D5 1 day 00:00:00
android_******* 192.168.1.139 xx:xx:xx:xx:39:05 1 day 00:0... 阅读全帖 |
|
f******g 发帖数: 111 | 10 You can use ''file'' command available on linux to see the type of the file.
sometimes, when you download a file, the file may have been expanded.
in my case, i was downloading a ps.gz file. but i could not use gunzip to expand it
at last, i was told to use ''file'' to detect the type of the file disregarding
the suffix, then it ended up with finding out the file actually has been expanded.
but the stupid windows application did not change its name accordingly.
so i had to change the suffix by f |
|
w******n 发帖数: 88 | 11 家里的电脑突然上不了网。WINDOWS系统,ROUTER有线连接的网。用CABLE连在笔记本上
可以上网,可是连在计算机上就上不乐,估计是计算机本身的原因。ping ip address
后有反应,是正常的。ipconfig/all后
node type:unknown
ip routing enabled:no
wins proxy enabled"no
primary dns suffix:
connection-specific dns suffix:
大家帮忙看看是什么原因?怎么解决?谢谢! |
|
f********e 发帖数: 3 | 12 Anyone can help me out?
desktopAMD (Linux) can't access to Internet, while it can connect the router
(router behind cable modem) and read the DHCP clients as follows:
==========part of router system information===============
DHCP Clients
Host Name IP Address MAC Address Client Lease Time
desktopAMD 192.168.1.108 xx:xx:xx:xx:DE:9B 1 day 00:00:00
LinksysPAP 192.168.1.104 xx:xx:xx:xx:DD:D5 1 day 00:00:00
android_******* 192.168.1.139 xx:xx:xx:xx:39:05 1 day 00:0... 阅读全帖 |
|
D*********2 发帖数: 520 | 13 请高人用Jsoup获取在span tag里的这个数$182,133. 谢谢!
-id="nfs-tip-hdp">Off Market
阅读全帖
|
|
S*A 发帖数: 7142 | 14 这个显然是要分两步的,你的 prefix 和 suffix 的边界条件是什么
也没有说明。编程要养成好习惯总是敲定边界条件是什么然后才好遍。
比较简洁的写法大概是:
def expand(m):
# expand one [] list
prefix,repeat,suffix = m.groups()
...
return expand_result
re.sub(r'([^,]*)\[([^\]])\]([^,]*)', expand, str) |
|
i*******l 发帖数: 9 | 15 写的有点繁,但貌似能用,抛砖引玉吧
import re
regexp = re.compile(r"([^\[\,]*)" # prefix
r"(\[((\d+|\d+\-\d+)(,(\d+|\d+\-\d+))*)\])*" # range
r"\." #dot
r"([^\[\,]*)" #suffix
)
input = 'r0[0-1,9,11-12].abc, d23.def'
start = 0
m=regexp.search(input[start:])
while m:
print(m.groups())
print('prefix',m.group(1))
print('range',m.group(2))
print('suffix',m.group(7))
start += m.end()+1
m=regexp.search(input[start:]) |
|
w****2 发帖数: 2 | 16 很冒昧的打扰大家。大家能帮我看一下下面的问题吗,不胜感激。
问题是这样的,在生产环境下
1、Suse的Linux有 /nfsmnt/work_pub/web 文件夹和 /nfsmnt/work_inwork/web
文件夹 ,它们都是NFS文件挂载
2、机器上有多个进程会读写/nfsmnt/work_pub/web 文件夹的内容
3、cron会周期性的 删除/nfsmnt/work_pub/web 文件夹下所有文件,并把/nfsmnt/
work_inwork/web 文件夹下的所有内容拷贝到前面那个文件夹中
这样,完全删除/nfsmnt/work_pub/web 文件夹下所有文件的时候就会有.nfs文件删除
不掉(上面的流程因为某些问题不方便改动)。
想咨询的问题是:我现在能不能修改一下fs/nfs/dir.c 中 nfs_sillyrename这个方法
,把所有.nfs文件生成到/nfsmnt/temp目录下,然后重新编译内核解决上面的问题?期
待大家的指点,先谢谢了。
下面是源代码
static int nfs_sillyrename(struct in... 阅读全帖 |
|
a**u 发帖数: 7128 | 17 [Parsed_ass_0 @ 0x80ae2e7a0] Glyph 0x2B2 not found, selecting one more font
for (Arial, 80, 0)
seems it is missing the fonts. How do I tell ffmpeg what font to use?
-----------------------------------
ffmpeg1 -i Farewell.mkv -sameq -vcodec libx264 -threads 26 -y -vf ass=a.
ass fare.mp4
ffmpeg version 1.0.5 Copyright (c) 2000-2012 the FFmpeg developers
built on May 28 2013 19:38:07 with gcc 4.2.2 (GCC) 20070831 prerelease [
FreeBSD]
configuration: --enable-x11grab --prefix=/usr/local --man... 阅读全帖 |
|
F****3 发帖数: 1504 | 18 谢谢各位大哥帮忙!!!!
试了一下autoconf,好像卡住了。
fas133@ubuntu:~/temp/geoip-api-c-master$ autoconf
configure.ac:6: error: possibly undefined macro: AM_INIT_AUTOMAKE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
./configure终于能执行了。
fas133@ubuntu:~/temp/geoip-api-c-master$ ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
... 阅读全帖 |
|
W*****x 发帖数: 684 | 19 $ cd geoip-api-c-master
$ libtoolize
$ aclocal
$ autoconf
$ automake --add-missing
$./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
... 阅读全帖 |
|
j*****h 发帖数: 62 | 20 Programming pearls里好像是提到过这个问题,没记错的化,它是用suffix array
来作的。算法很简单,假设string长度为n,以‘\0'结尾。开辟一个字符指针数组长度
为n,每个指针依次指向string的一个suffix。把该数组看成n个字符串的数组,排序。
再scan一遍,找相邻两个字符串最长的common prefix,即可。复杂度O(n^2lgn).
这种算法是允许overlap的,也就是说'ANA'是BANANA的最长重复子串。
AN
repeated |
|
s****u 发帖数: 118 | 21 suffix tree我觉得很复杂,要简单一点的话可以试试suffix array
理论复杂度会高一点 |
|
l*******o 发帖数: 12469 | 22
suffix tree还是比较好理解的吧,suffix array的理论好像却是复杂点。 |
|
c*****t 发帖数: 1879 | 23 其实争这个没必要了。以前(Eclipse 3.1 以前),Eclipse 没有这种
highlight,所以看 code 没 prefix/suffix 很费劲。现在有 highlight
instance variable 就不是太大问题。
当初用 NetBeans 2.0 的时候(没 refactor),我处理某同事的 code,
那个叫累。不单他采用 a, b, 等 instance variable,而且 declaration
是在 class 中间(不是开头也不是结尾),那个差点没气死。好在他离
开了,再改下去要疯掉。另外那个出现 abc = abc 的问题也挺讨厌。问题
是写这程序的家伙的东西出现 1w 多 warning 。
至于其它语言,如果没有合适的 highlighter,prefix/suffix 还是
相当重要的。 |
|
b***e 发帖数: 1419 | 24 Use suffix tree.
Build a suffix tree from list a, and then match it against list b.
This is a linear algorithm. |
|
g*******y 发帖数: 1930 | 25 你这个sort,worst case 得有n^2*lgn甚至n^3吧?比如"aaaaaaaaaaaaa"
这个问题应该是用suffix tree是最佳的了, O(n)。
考虑到suffix tree写起来有些困难的话,退而求其次也应该用DP,很简洁的几句话就
能做到O(n^2)了。 |
|
g*******y 发帖数: 1930 | 26 你这个sort,worst case 得有n^2*lgn甚至n^3吧?比如"aaaaaaaaaaaaa"
这个问题应该是用suffix tree是最佳的了, O(n)。
考虑到suffix tree写起来有些困难的话,退而求其次也应该用DP,很简洁的几句话就
能做到O(n^2)了。 |
|
k****f 发帖数: 3794 | 27 来自主题: Programming版 - 问题请教 几百万,小case啦
你把m稍微处理一下,所有单词做个suffix tree,
然后用n的每个单词,对suffix tree查询
时间和空间消耗基本就是linear的。
几个G的数据都没有问题的。 |
|
m*******m 发帖数: 182 | 28 There are two basic kinds of software libraries:
Static library. A library in which modules are bound into
the executable file before execution. Static libraries
are commonly named libname.a. The .a suffix refers to
archive.
Dynamic library. A library in which modules can be bound
into
the executable program at runtime. Dynamic libraries are
commonly
named libname.so. The .so suffix refers to shared
object.
The easy way: use GNU libtool. (`info libtool`)
The hard way:
gcc -g |
|
发帖数: 1 | 29 The international language Ido - a general description
It would be very useful if we could talk with people in other countries, or
correspond with them, as we can with people in our own country. However, the
language barrier often makes this difficult if not impossible.
The answer to this problem given by many people is: let them (that is,
everyone else) learn English! Certainly English is the most widely spoken
language in the world, but it requires a lot of time and some skill to learn
it at a... 阅读全帖 |
|
l**********1 发帖数: 5204 | 30 It is CS PhD and Biostatistic MD/PhD schlors both their duties, not wet bio/
medi MD/PhD's works.
pls check,
http://www.cs.helsinki.fi/u/vmakinen/
or
DAlign Computes the unit cost edit distance between a haploid and a
reference guided recombination of two diploids.
Maximal Unique Matches computed with a bidirectional BWT-index.
Traph. A software for RNA transcript expression prediction from RNA-
sequencing data. See RECOMB-seq and WABI 2013 papers below.
Normalized N50 calculator. A tool to extr... 阅读全帖 |
|
l**********1 发帖数: 5204 | 31 It is CS PhD and Biostatistic MD/PhD schlors both their duties, not wet bio/
medi MD/PhD's works.
pls check,
http://www.cs.helsinki.fi/u/vmakinen/
or
DAlign Computes the unit cost edit distance between a haploid and a
reference guided recombination of two diploids.
Maximal Unique Matches computed with a bidirectional BWT-index.
Traph. A software for RNA transcript expression prediction from RNA-
sequencing data. See RECOMB-seq and WABI 2013 papers below.
Normalized N50 calculator. A tool to extr... 阅读全帖 |
|
m****r 发帖数: 202 | 32 %macro add_suffix(lib=, table=, suffix=);
proc sql noprint;
select cats(name, '=',name, "_", substr(cats(upcase("&suffix")), 1, 32)
) into: rename_list separated by " "
from dictionary.columns
where libname=upcase("&lib") and memname=upcase("&table")
;
quit;
data &lib..prfx_&table;
set &lib..&table;
rename &rename_list ;
run;
%mend;
It gives me what I expect. Thanks all. |
|
t******g 发帖数: 372 | 33 于server local与否无关,或者至少给些error log 别人也好知道你尝试了啥,
S/W Requirements:
-----------------
MySQL client library ("libmysqlclient.so") and header files
(see www.mysql.com). For Linux/intel you may use the binary rpms
client+devel+shared, and make sure you also have the header files,
they are *NOT* included in the following
MySQL-client-4.1.7-1.i386.rpm
MySQL-shared-4.1.7-1.i386.rpm
but they are included in the latest 4.1.7 rpm versions.
The library libz. This is a stan... 阅读全帖 |
|
S******s 发帖数: 5376 | 34 Braided Line
One of the areas that people normally get cheap is line which is unfortunate
. You spend all this money on trips, rods, reels, lures and then you put low
end line on. Doesn’t make sense. You can easily identify a better braid by
its softness.
Braid is neccisary to get you jig down quickly and for capacity purposes as
most times you will be drifting over structure and will drop your jig to
marked fish so you will need to get down ASAP. Another reason for using
braid is for capacity, ... 阅读全帖 |
|
w*******y 发帖数: 60932 | 35 Link: Link:
http://iway.org/9560841
After price match with Best Buy (link below) drive is $89.99, after $25 off
$75 Staples coupon it is $64.99 + tax. Free shipping.
Link: Link:
http://iway.org/9560851
Don't be confused by the different images, these are the same drives. If
the agent tries to say it's the wrong model (best buy has -RK suffix) point
them to the seagate site and let them know that seagate doesn't produce a
drive without the -RK suffix and that Staples' information is incorrect.... 阅读全帖 |
|
c**i 发帖数: 6973 | 36 Ben Bland, Israelis Kibbutzniks Give Vietnamese Farmworkers Lessons in How
Milk it; A businesswoman has enlisted unlikely help for high-tech dairy.
Financial Times, Mar 18, 2011.
http://www.ft.com/cms/s/0/7ee50218-50c7
-11e0-9227-00144feab49a.html
My comment:
(a) dairying (n): "the business of operating a dairy"
All definitions are from www.m-w.com, except (c).
(b) kibbutznik (n; Yiddish kibutsnik, from kibuts kibbutz (from Modern
Hebrew qibbūṣ) + -nik, agent suffix): "a member of a kibbut... 阅读全帖 |
|
c**i 发帖数: 6973 | 37 VOA Chinese, Mar 22, 2011.
http://www.voanews.com/chinese/news
/20110322-India-China-Summit--118422814.html
(印中可能发生潜在水资源争执)
Note:
(a) 世界水日 World Water Day
(b) For 雅鲁藏布江, see Brahmaputra River
http://en.wikipedia.org/wiki/Brahmaputra_River
(Its upstream in Tibet is called Yarlung Tsangpo River; into Arunachal
Pradesh 阿鲁纳恰尔 邦; merges with the Ganges; While most rivers on the
Indian subcontinent have female names, this river has a rare male name, as
it means "son of Brahma" in Sanskrit (putra means... 阅读全帖 |
|
c**i 发帖数: 6973 | 38 I am a biologist by training. But it appears you are as ignorant about
rockets as I.
(1) Tiangong 1 weighs merely 8.5 metric tons (hereafter tonnes). Besides
Tiangong 1 on Sept 29, 2011 Long March 2F also launched Shenzhou 5 (in 2003)
, 6 and 7, all into low Earth orbit (LEO), which is defined as "from the
Earth’s surface up to an altitude of 2,000 km."
http://en.wikipedia.org/wiki/Low_Earth_orbit
In comparison:
Geostationary transfer orbit
http://en.wikipedia.org/wiki/Geostationary_transfer_orb... 阅读全帖 |
|
I******a 发帖数: 3812 | 39 参见下面dictionary.com的解释,这个词其实跟汉语里的“夷”相对应。用这个词时间
长了自己都可能觉出来好像有什么地方有问题。我见过有些人根本就不说我是什么什么
-ese, 而是说我来自于哪个哪个国家,本能地抵触这个 -ese.
中国人其实应该把这个名称改掉,转叫 Chinon, Chinan 或者就叫 Chinaren 或者拼音
Zhongguoren。
-ese
a suffix forming adjectival derivatives of place names, especially countries
or cities; frequently used nominally to denote the inhabitants of the place
or their language: Faroese; Japanese; Vietnamese; Viennese .
By analogy with such language names, -ese occurs in coinages(造词)
denoting in a disparag... 阅读全帖 |
|
I******a 发帖数: 3812 | 40 http://gyral.blackshell.com/names.html
Visit the original once in a while. Apparently, it's chock full o' updates.
Slur Represents Reasons/Origins
51st Stater Canadians Self-explanatory.
Abba-Dabba Arabs Used in the movie "Betrayed" by rural American hate group.
Abo Australian Aboriginal Derogative shortened term for Aboriginal.
Adolf Germans Hitler, of course. Generally thought of the worst person ever.
Ahab Whites From Moby-Dick. Ahab hunted the white whale.
Ainu Japanese Aboriginal Originall... 阅读全帖 |
|
l********u 发帖数: 910 | 41 George J. So, Xin Li, Hooshang Kangarloo, Richard Steckel, Daniel J.
Valentino
UCLA Medical Center, Department of Radiological Sciences 10833 Le Conte, Los
Angeles, California 90024
1. ABSTRACT
Recent advances in telecommunications via the Internet have significantly
improved international communication. We report a case of teleconsultation
using the World Wide Web (WWW) and related technologies on the internet to
facilitate the successful diagnosis and treatment of a rare illness that
occurred ... 阅读全帖 |
|
k********k 发帖数: 5617 | 42 http://www.bbc.co.uk/news/magazine-22607506
22 May 2013 Last updated at 05:30 ET
Franglais row:
Is the English language conquering France?
By Agnes Poirier French journalist
The French parliament is debating a new road map for French universities,
which includes the proposal of allowing courses to be taught in English. For
some, this amounts to a betrayal of the national language and, more
specifically, of a particular way at looking at the world - for others it's
just accepting the inevitable.
... 阅读全帖 |
|
|
d**********1 发帖数: 569 | 44 都别胡说八道了,-ese语源是拉丁语-ēnsis,是语言或者国家的suffix |
|
|
G*******n 发帖数: 6889 | 46 26字母用完了,上suffix还是双middle name? |
|
发帖数: 1 | 47 我第一份工作就是洛克希德马丁,就是在总部大楼,我老板就是VP,但马丁员工超过十
万人在,总部就那么不到2000人,马丁的工程师可多了去了,但对外都是马丁员工,用
的email账号都是一个suffix的,你看不出来谁是哪儿的,除非他给你名片。
几年前我提起这段经历,不少人说我在麦当劳上班,在沃尔玛上班,他们以为超过10万
雇员的就是这种餐饮店和便利店。
从某种角度来讲,洛克希德马丁和波音有竞争关系,波音做民机,马丁虽然主力做军品
,但同时也做民品的,波音资料我读的可不少。
你在别人面前班门弄斧,也许没啥,但我这儿,你就歇歇吧 |
|
l****z 发帖数: 29846 | 48 “Beware, America. The Muslims are coming, and they look and act
suspiciously like you.”
December 30, 2011 | Posted by Rick Rice
That’s the opening line from a WaPo piece announcing an Arab-American
comedy tour aimed at combating what the comics are calling Islamophobia.
Hmmm.
When I see any accusatory word whose suffix is phobia, I’m immediately
suspicious. Usually those throwing such words about are those who are also
throwing an agenda at us.
But I digress… let’s first excerpt the piece:
... 阅读全帖 |
|
|
|