<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>19~Blog &#124; &#187; 19.</title>
	<atom:link href="http://www.ll19.com/author/admin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ll19.com</link>
	<description>今天总是好过昨天~</description>
	<lastBuildDate>Fri, 02 Jul 2010 13:10:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>360° FLASH MP3播放器-19~waveCircle</title>
		<link>http://www.ll19.com/19_wavecircle.html</link>
		<comments>http://www.ll19.com/19_wavecircle.html#comments</comments>
		<pubDate>Mon, 03 May 2010 20:11:11 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[player]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=207</guid>
		<description><![CDATA[
  

提供下载：360° FLASH MP3播放器-19~waveCircle，此播放器包括了歌词同步和很炫的波谱效果~
这是我参考了schillmania.com提供的源码，他所提供的是AS+JS版，我也不明白为什么他不直接写成FLASH，大家有兴趣可以点击链接去看看原AS+JS版的效果。我参考了部分写法（其实我只参考了他的设计思路，真正挪用的源码只有SoundProcessor这一个类，其余的部分全是按照自己想法在写），并且加入了相关的列表播放、歌词同步、波谱缓冲及个性化配置等功能，改了一个纯FLASH的播放器。
整个播放器自适应大小，你可以随意调整高宽，通过不同配置(例如歌曲地址、歌词lrc地址、字体颜色大小、布局、波形颜色等)，生成不同大小及颜色的播放器。以下为此播放器的所有配置：
播放器的相关配置:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
//是否自动播放 yes(自动) no random(随机)
public static var autoPlay : String = &#34;no&#34;;
&#160;
//上边FPS空出的距离
public static var topFpsSpace : Number = 30;
//下边MP3歌曲名空出的距离
public static var bottomTitleSpace : Number = 25;
//下边歌词空出的距离
public static var bottomLrcSpace : Number = 25;
&#160;
//显示波谱的距离
public static var waveSpace : Number = 20;
&#160;
//圆环的宽
public static var radius : Number = 35;
&#160;
//影片质量
public static var quality : String [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/19_wavecircle.html/feed</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
		<item>
		<title>oracle全文检索（oracle text）记录</title>
		<link>http://www.ll19.com/oracle_text.html</link>
		<comments>http://www.ll19.com/oracle_text.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 12:58:27 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[ORACLE]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=206</guid>
		<description><![CDATA[最近总结了一下，相关例子和部分内容也是搜索于网络，具体分下面几部分：
1.全文检索和普通检索的区别
不使用Oracle text功能，当然也有很多方法可以在Oracle数据库中搜索文本，比如INSTR函数和LIKE操作：

1
2
SELECT *FROM mytext WHERE INSTR &#40;thetext, 'Oracle'&#41; &#62; 0;
SELECT * FROM mytext WHERE thetext LIKE '%Oracle%';

有很多时候，使用instr和like是很理想的, 特别是搜索仅跨越很小的表的时候。然而通过这些文本定位的方法将导致全表扫描，对资源来说消耗比较昂贵，而且实现的搜索功能也非常有限，因此对海量的文本数据进行搜索时，建议使用oralce提供的全文检索功能。

附：这里顺带记录一下INSTR和LIKE:
Oracle中，可以使用 Instr 函数对某个字符串进行判断，判断其是否含有指定的字符。其语法为：Instr(string, substring, position, occurrence)。
string：代表源字符串（写入字段则表示此字段的内容）。
substring：代表想从源字符串中查找的子串。
position：代表查找的开始位置，该参数可选的，默认为1。
occurrence：代表想从源字符中查找出第几次出现的substring，该参数也是可选的，默认为1。
position 的值为负数，那么代表从右往左进行查找。
instr和like的性能比较
其实从效率角度来看，谁能用到索引，谁的查询速度就会快。
like有时可以用到索引，例如：name like &#8216;李%&#8217;，而当下面的情况时索引会失效：name like &#8216;%李&#8217;。所以一般我们查找中文类似于‘%字符%’时，索引都会失效。与其他数据库不同的是，oracle支持函数索引。例如在name字段上建个instr索引，查询速度就比较快了，这也是为什么instr会比like效率高的原因。
注:instr(title,’手册’)>0 相当于like‘%手册%’
instr(title,’手册’)=0 相当于not like‘%手册%’

2.设置全文检索
步骤步骤一：检查和设置数据库角色
首先检查数据库中是否有CTXSYS用户和CTXAPP脚色。如果没有这个用户和角色，意味着你的数据库创建时未安装intermedia功能（10G默认安装都有此用户和角色）。你必须修改数据库以安装这项功能。默认安装情况下，ctxsys用户是被锁定的，因此要先启用ctxsys的用户。
步骤二：赋权
在ctxsys用户下，授予测试用户oratext以下权限：

1
2
3
4
5
6
7
8
9
GRANT resource, connect, ctxapp TO oratext;
GRANT execute ON ctxsys.ctx_cls TO oratext;
GRANT execute ON ctxsys.ctx_ddl TO oratext;
GRANT execute ON ctxsys.ctx_doc TO oratext;
GRANT execute ON ctxsys.ctx_output TO [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/oracle_text.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>更改自levitated.net的FLASH TAGS CLOUD（2）</title>
		<link>http://www.ll19.com/levitated-flash-tags-cloud.html</link>
		<comments>http://www.ll19.com/levitated-flash-tags-cloud.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:56:58 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Levitated]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=204</guid>
		<description><![CDATA[
  

继续上一篇，这个效果我觉得才是真正的有云的感觉(以下为上篇文章的原文引用)：

续我上次以Levitated.net的源码为基础,修改并发表了一篇WP的TAGS墙~之后，这次又以其提供的开源小应用修改了两个FLASH的标签云。本来连改了好几个效果，不过最后就两个合适的。分两篇文章发布，分开发布原因是两个标签云放在一个页面性能上有问题&#8230;&#8230;
Levitated.net上的源码离现在已经很多年了，时间虽然长，不过他提供的算法还是值得我们借鉴。此次提供的两个标签云都可以进行例如字体颜色及背景颜色的配置（通过参数），标签云FLASH的宽和高可以随意设置，生成的标签完全自适应显示。

这是另一个，有点黑客帝国代码滚动的感觉http://www.ll19.com/levitated-flash-tags-cloud1.html
FLASH通过读取XML进行标签显示，下面为XML的格式：


1
2
3
4
5
&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;root&#62;
	&#60;tags&#62;&#60;name&#62;java&#60;/name&#62;&#60;link&#62;java&#60;/link&#62;&#60;/tags&#62;
	&#60;tags&#62;&#60;name&#62;as3&#60;/name&#62;&#60;link&#62;as3&#60;/link&#62;&#60;/tags&#62;
&#60;/root&#62;

XML地址通过传入xmlUrl参数的值设置，例如此FLASH传入的地址为(http://www.ll19.com/wp-content/plugins/19_tags_cloud/19tags.php),下面为具体的引用：

1
2
3
4
5
&#60;object id=&#34;rssReader&#34; type=&#34;application/x-shockwave-flash&#34; data=&#34;http://www.ll19.com/wp-content/plugins/19_tags_cloud/textInSpace.swf&#34; width=&#34;100%&#34; height=&#34;100%&#34;&#62;
	&#60;param name=&#34;movie&#34; value=&#34;http://www.ll19.com/wp-content/plugins/19_tags_cloud/textInSpace.swf&#34; /&#62;
	&#60;param name=&#34;wmode&#34; value=&#34;transparent&#34; /&#62;
	&#60;param name=&#34;FlashVars&#34; value=&#34;xmlUrl=http://www.ll19.com/wp-content/plugins/19_tags_cloud/19tags.php&#34;&#62;
&#60;/object&#62;

如果是WordPress顺便提供一个简单的WP TAGS XML生成程序：

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include_once ('../../../wp-config.php');
global $wpdb;
$sql = &#34;SELECT wtt.term_id as id,count,name,slug FROM $wpdb-&#62;term_taxonomy AS wtt , $wpdb-&#62;terms AS wt where wtt.term_id = wt.term_id and taxonomy = 'post_tag' ORDER BY count DESC LIMIT 0 , 100 &#34;;
$content = $wpdb-&#62;get_results($sql);
echo &#34;&#60;?xml [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/levitated-flash-tags-cloud.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>更改自levitated.net的FLASH TAGS CLOUD（1）</title>
		<link>http://www.ll19.com/levitated-flash-tags-cloud1.html</link>
		<comments>http://www.ll19.com/levitated-flash-tags-cloud1.html#comments</comments>
		<pubDate>Thu, 22 Apr 2010 08:30:06 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[Levitated]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=202</guid>
		<description><![CDATA[续我上次以Levitated.net的源码为基础,修改并发表了一篇WP的TAGS墙~之后，这次又以其提供的开源小应用修改了两个FLASH的标签云。本来连改了好几个效果，不过最后就两个合适的。分两篇文章发布，分开发布原因是两个标签云放在一个页面性能上有问题&#8230;&#8230;
Levitated.net上的源码离现在已经很多年了，时间虽然长，不过他提供的算法还是值得我们借鉴。此次提供的两个标签云都可以进行例如字体颜色及背景颜色的配置（通过参数），标签云FLASH的宽和高可以随意设置，生成的标签完全自适应显示。
另一个效果，这个效果我觉得才是真正的有云的感觉http://www.ll19.com/levitated-flash-tags-cloud.html
FLASH通过读取XML进行标签显示，下面为XML的格式：

1
2
3
4
5
&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;root&#62;
	&#60;tags&#62;&#60;name&#62;java&#60;/name&#62;&#60;link&#62;java&#60;/link&#62;&#60;/tags&#62;
	&#60;tags&#62;&#60;name&#62;as3&#60;/name&#62;&#60;link&#62;as3&#60;/link&#62;&#60;/tags&#62;
&#60;/root&#62;

XML地址通过传入xmlUrl参数的值设置，例如此FLASH传入的地址为(http://www.ll19.com/wp-content/plugins/19_tags_cloud/19tags.php),下面为具体的引用：


1
2
3
4
5
&#60;object id=&#34;rssReader&#34; type=&#34;application/x-shockwave-flash&#34; data=&#34;http://www.ll19.com/wp-content/plugins/19_tags_cloud/dropinletters.swf&#34; width=&#34;100%&#34; height=&#34;100%&#34;&#62;
	&#60;param name=&#34;movie&#34; value=&#34;http://www.ll19.com/wp-content/plugins/19_tags_cloud/dropinletters.swf&#34; /&#62;
	&#60;param name=&#34;wmode&#34; value=&#34;transparent&#34; /&#62;
	&#60;param name=&#34;FlashVars&#34; value=&#34;xmlUrl=http://www.ll19.com/wp-content/plugins/19_tags_cloud/19tags.php&#34;&#62;
&#60;/object&#62;

具体效果如下：

  

如果是WordPress顺便提供一个简单的WP TAGS XML生成程序：

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include_once ('../../../wp-config.php');
global $wpdb;
$sql = &#34;SELECT wtt.term_id as id,count,name,slug FROM $wpdb-&#62;term_taxonomy AS wtt , $wpdb-&#62;terms AS wt where wtt.term_id = wt.term_id and taxonomy = 'post_tag' ORDER BY count DESC LIMIT 0 , 100 &#34;;
$content = $wpdb-&#62;get_results($sql);
echo &#34;&#60;?xml [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/levitated-flash-tags-cloud1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>混合版马里奥(super mario bros crossover)</title>
		<link>http://www.ll19.com/super_mario_bros_crossover.html</link>
		<comments>http://www.ll19.com/super_mario_bros_crossover.html#comments</comments>
		<pubDate>Sun, 18 Apr 2010 10:35:13 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Collect]]></category>
		<category><![CDATA[game]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=209</guid>
		<description><![CDATA[
  

这个就是网络视频流传的“混沌罗版本的超级玛丽”，正确的名称应该是Super Mario Bros Crossover———混合版马里奥。
包括塞尔达的LINK、混沌罗、洛克人、恶魔城好像还有一个是银河战士吧，这个比较眼生。我个人感觉就小游戏而言已经是极品了，而且加上我们小时候的各种游戏人物乱入在一起，值得玩玩看。
建议在游戏一开始设置按键，并且里面也有默认的按键操作说明。
]]></description>
		<wfw:commentRss>http://www.ll19.com/super_mario_bros_crossover.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>做了一道Java逻辑题</title>
		<link>http://www.ll19.com/java_subject1.html</link>
		<comments>http://www.ll19.com/java_subject1.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:14:25 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=201</guid>
		<description><![CDATA[题目：有一种体育竞赛共含M个项目，有运动员A，B，C参加，在每一项目中，第一,第二,第三名分别的X，Y，Z分，其中X,Y,Z为正整数且X>Y>Z。最后A得22分，B与C均得9分，B在百米赛中取得第一。求M的值，并问在跳高中谁得第二名。
没有过于分析条件，一个大致的过滤。所谓的逻辑题似乎用程序便成了“取得所有组合、遍历”，无太多逻辑可言。代码如下：

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
package com.ll19.test.subject;
import java.util.ArrayList;
public class S1 &#123;
	/**
	 * 有一种体育竞赛共含M个项目， 有运动员A，B，C参加， 在每一项目中， 第一,第二,第三名分别的X，Y，Z分， 其中X,Y,Z
	 * 为正整数且X&#62;Y&#62;Z。 最后A得22分，B与C均得9分，B在百米赛中取得第一。求M的值，并问在跳高中谁得第二名。
	 * 
	 * @author &#60;a href=&#34;http://www.LL19.com/&#34;&#62;LL19.com&#60;/a&#62;
	 */
&#160;
	// m个项目 起码有两个或以上的项目
	private int m = 0;
&#160;
	// abc三人可能名次的全部组合
	private static ArrayList&#60;String&#62; rankList = new ArrayList&#60;String&#62;&#40;&#41;;
&#160;
	// m个项目所有可能的名次组合
	private static ArrayList&#60;String&#62; pRankList = new ArrayList&#60;String&#62;&#40;&#41;;
&#160;
	// 所有可能的一二三名分数组合（起码有两个或以上的项目 、B得过第一、X小于等于8(9-1) 大于等于3）
	private static ArrayList&#60;String&#62; pointList = new ArrayList&#60;String&#62;&#40;&#41;;
&#160;
	// 运动员a b c
	private String [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/java_subject1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
