由买买提看人间百态

topics

全部话题 - 话题: encoded
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
s******t
发帖数: 15
1
来自主题: Internet版 - [转载] video streaming server的问题
【 以下文字转载自 Linux 讨论区 】
【 原文由 surmount 所发表 】
如果把encoder看作独立的部分
server的作用应该只是read, buffer, ajust time 和emit to network吧?
那么为什么不同encoder不能使用同一个server呢?
(比如,mpeg2的server就不能用来stream wavelet encoded的video)
server一定要知道video的内容吗?
e***g
发帖数: 158
2
来自主题: Java版 - Question about displaying Chinese
then it's source file encoding problem. your editor uses one encoding to
to save file, probably GB, but javac doesn't know that. check javac
command line options to tell it the encoding.
g*****g
发帖数: 34805
3
What do you mean raw bytes? String is always in certain encoding, you
get different bytes in different encoding, internally, java used
Unicode-16 encoding.
c******n
发帖数: 4965
4
I know it's a dead horse.....
but I think it's too much hype and ultimately the issue is simply
serialization/deserialization of messages, like the way Thrift treats
it.
ultimately programmers just need to treat the service as an interface
and call that using the language that expresses the service. SOAP/REST
is simply an encoding of the rest ( XML envolope vs encoding of the URL
), developers should not care about such encodings, instead they should
simply care about the service language.
at
j******y
发帖数: 1143
5
Can you see Chinese character at all? I meant anywhere, like using Firefox
browser view mitbbs?
FIREFOX下能看见,但是在TERMINAL里面就无法全部看见,很多字都成了框框。
If no, you do not have Chinese fonts -- have adm install it.
If yes, when you login, select language as "Chinese Simplified", whether you
change the encoding or not, it does not matter, you should be able to write
Chinese under xterm, and read Chinese with UNICODE encoding. To read
Chinese in GB encoding, do these:
LOGIN的时候没有选择语言的权限。
1. export LANG=zh_CN
在TER
l******d
发帖数: 1633
6
来自主题: Linux版 - Lame确实比ffmpeg快很多
ffmpeg后台也是用lame encoder,不应该差这么多啊
如果是因为文件太大,用mp3切割工具比encoding肯定快的多,
不过俺觉得可能还有别的原因
俺也用这个大妈机,感觉它的mp3 player的容错能力很差,
我有些从video里提出来128k的audio track,放出来有噼啪的噪声,
重新用128k encode一遍就好了,换了几个rom都这样
r****t
发帖数: 10904
7
Try these:
>>> u'\u1234'.encode('ascii')
Traceback (most recent call last):
File "", line 1, in
UnicodeEncodeError: 'ascii' codec can't encode character u'\u1234' in
position 0: ordinal not in range(128)
>>> u'\u1234'.encode('utf-8')
'\xe1\x88\xb4'
Are u working for them, or you are their customers?
g******e
发帖数: 352
8
来自主题: Programming版 - 用python urlopen 抓mitbbs页面的问题
试着用python urlopen 获取mitbbs的页面
Windows下,没有再加encode, decode
遇到一个奇怪的问题,有些帖子的页面抓下来没问题,
但有些帖子的页面获取到的就是乱码,如果用chardet来检测,也检测不出
是什么编码 (返回None). 而那些能正常抓下来的页面,则chardet会正确返回
gb2312
如果加上content.encode('gb2312').encode(type)
就报错'gb2312' codec can't decode bytes in position 1-2: illegal multibyte
sequence
mitbbs所有页面应该都是gb2312编码呀,
有哪位大牛给看看问题出在哪里,谢谢,有包子答谢

发帖数: 1
9
来自主题: Programming版 - Blackberry的QNX有谁用过么?
這是目前ADAS的Reference Boards,看來QNX要all-in ARM啦,不錯。
Renesas H3 Starter
• OpenGL on GPU
• OpenCV / OpenCL on IMP/IMR cores
• H.264 video encode/decode
Renesas V3M Starter
• OpenCV / OpenCL on IMP and IMR cores
• H.264 encoding
NXP S32V Treerunner
• Native APEX SDK
• OpenCV with APEX acceleration
• OpenCL on GPU
• OpenCL on APEX with limitations
• OpenGL on GPU
Nvidia Drive PX2
• Cuda, CuDNN and several other GPU accelerated technologie... 阅读全帖

发帖数: 1
10
来自主题: Programming版 - Blackberry的QNX有谁用过么?
這是目前ADAS的Reference Boards,看來QNX要all-in ARM啦,不錯。
Renesas H3 Starter
• OpenGL on GPU
• OpenCV / OpenCL on IMP/IMR cores
• H.264 video encode/decode
Renesas V3M Starter
• OpenCV / OpenCL on IMP and IMR cores
• H.264 encoding
NXP S32V Treerunner
• Native APEX SDK
• OpenCV with APEX acceleration
• OpenCL on GPU
• OpenCL on APEX with limitations
• OpenGL on GPU
Nvidia Drive PX2
• Cuda, CuDNN and several other GPU accelerated technologie... 阅读全帖
t******a
发帖数: 1200
11
来自主题: Software版 - Chrome 十分钟试用心得
如果你的 system default codepage 不是中文,网页里面没有使用 unicode,
也没有指定 encoding 的话 (新浪的很多 embedded iframe 就是这样), 很多
浏览器会用 default encoding (e.g. English ) 来渲染. 在 英文 locale
的linux 上用 firefox 也会有同样的问题,解决方法就是手工指定 encoding
或者改变 system default codepage.
w*****s
发帖数: 122
12
How do I send the correct MIME/HTTP headers using Apache .htaccess files? (Not
finished)
If you are using a recent version of the Apache server, then
your Webmaster must give you "AllowOverride FileInfo"
permission. Then you can put a file called .htaccess in
any directory. (Note that in MIME terminology, "encoding" means
"compression". In the XML encoding header, "encoding" means "
coded character set") Here is a line that may be useful--
DefaultLanguage zh
AddType application/xml XML xml
Why i
a*****a
发帖数: 438
13
来自主题: XML版 - Perl+XML+GB
did you specify encoding in xml definition?

what's the encoding for chinese? gb2312?
o*********e
发帖数: 7
14
来自主题: AnthroLing版 - 怎样用Perl处理中文文件?
谢谢!比如我有这么一个简单的script
--------
use Encode;
$string="中文短句";
$str=decode("gb2312",$string);
open (OUT, ">chinese_text.txt");
print encode("utf-8",$char),"\n";
print OUT encode("utf-8",$char),"\n";
-------------
这一script 显示在屏幕上(print statement) 和输出文件里(print OUT statement)
都是乱码。不知何故?
o*********e
发帖数: 7
15
来自主题: AnthroLing版 - 怎样用Perl处理中文文件?
错了。 应该是
use Encode;
$string="中文短句";
$str=decode("gb2312",$string);
open (OUT, ">chinese_text.txt");
print encode("utf-8",$str),"\n";
print OUT encode("utf-8",$str),"\n";
o*********e
发帖数: 7
16
来自主题: AnthroLing版 - 怎样用Perl处理中文文件?
谢谢!比如我有这么一个简单的script
--------
use Encode;
$string="中文短句";
$str=decode("gb2312",$string);
open (OUT, ">chinese_text.txt");
print encode("utf-8",$char),"\n";
print OUT encode("utf-8",$char),"\n";
-------------
这一script 显示在屏幕上(print statement) 和输出文件里(print OUT statement)
都是乱码。不知何故?
o*********e
发帖数: 7
17
来自主题: AnthroLing版 - 怎样用Perl处理中文文件?
错了。 应该是
use Encode;
$string="中文短句";
$str=decode("gb2312",$string);
open (OUT, ">chinese_text.txt");
print encode("utf-8",$str),"\n";
print OUT encode("utf-8",$str),"\n";
M****e
发帖数: 70
18
this paper was published on Science May 24, 296:1459-1462. the
authors are from OSU, Dept. of Microbiology. basically, they
described the finding of genes encoding an unusual tRNA with
CUA anticodon (pylT) and an adjencent gene encoding atypical
aminoacyl-tRNA synthetase (pylS) in Methanosarcina and another
Gram-positive bacteria. these genes are probably cotranscribed.
the tRNA encoded by pylT has unusual 2nd structure that is
different to common tRNA, and the anti-codon is complementary
to the
t**k
发帖数: 139
19
GEO http://www.ncbi.nlm.nih.gov/geo/.
ENCODE has a lot of chip-seq data too. I think some of them are not at GEO.
google ENCODE (for human), mouse ENCODE (for mouse) or modENCODE (for fly,
worm).
D***a
发帖数: 516
20
来自主题: Biology版 - 3X repeat 克隆请教
从一篇文章上抄来的:
cDNA encoding 'artificial' SUMO-2 'polymers' was generated by ligating PCR
products encoding DeltaN11–SUMO-2 while simultaneously digesting with
restriction enzymes specific for BamHI (N-terminal site) and BglII (C-
terminal site) in T4 DNA ligase buffer, 150 mM NaCl, 0.1 mg ml- 1 BSA at 22
°C for 5 h (enzymes and buffers from New England Biolabs). This created a
range of cDNAs encoding DeltaN11–SUMO-2 cDNA 'monomers' and 'multimers'
that were separated by agarose gel electrophoresis ... 阅读全帖
S***y
发帖数: 186
21
来自主题: Computation版 - How to get "Angstrom" in gnuplot?
Seems "set encoding iso-8859-1", then {\305} can do it.
But don't know how to write it. What's the syntax?
e.g. I want to set x label using
###
set encoding iso_8859_1
set xlabel 'Distance ({\305})'
set encoding default
###
This doesn't get the angstrom symbol.
Thanks!
e****0
发帖数: 678
22
来自主题: MedicalCareer版 - [我的CK]儿科
• leukemia
ALL AML CLL
child adult elderly
BM lymphoblasts 25%myeloblasts
lab Lymphocyte 5000, mature-appearing cells
• Osgood-schlatters disease
 Adolescent male athletes
 Traction apophysitis—quadriceps tendon put the traction on the
apophysis of the tibial tubercle where patellar tendon inserts.
 A firm mass =heterotopic bone formation
 Pain can be reproduced by extending the kne... 阅读全帖
t********1
发帖数: 799
23
来自主题: Statistics版 - sas question, please help!
after i run sas code in batch mode,this error appears, what is the problem?
how to fix it? thanks.
ERRORS: File *** (dataset) cannot be updated because its encoding does not
match the session encoding or the file is in a format native to another host
, such as WINDOWS_32.
Then I run proc contents to see the dataset,
Data Representation WINDOWS_32
Encoding wbaltic Baltic (Windows)
Host Created XP_PRO
please give me your advice, thank you so much!!
S********a
发帖数: 359
24
谢谢!找了找,没搞懂encoding 怎么用,我的是windows 7, 下面的行不通啊
proc import datafile="Z:\a.xls" out=b DBMS=excel replace;
sheet="H"; getnames=yes;mixed=yes;
run;
data c (encoding=euc);
set b (encoding=euc);
run;
S********a
发帖数: 359
25
来自主题: Statistics版 - [包子]SAS transcoding 问题
我有个sas dataset, 是在中文下生成的(即双字节),现在需要用英文的sas 来读入和处理(即单字节),但是因为字节不同,读入的总不对,这种情况怎么处理,请说的详细些,比如用什么语句,命令,keyword等等。电脑系统是windows 7.谢谢
data a (encoding=wlatin1);
set r.chinese (encoding="euc-cn");
run;
ERROR: Some character data was lost during transcoding in the dataset WORK.A. Either the data contains characters that are not representable in the new encoding or truncation occurred during transcoding.
我的r.chinese dataset里只有英文字母和数字,字节是双字节。
s******y
发帖数: 740
26
来自主题: _LaureShang版 - 在线视频下载教程
这种后缀为flv的文件可以用”暴风影音”播放器,暴风影音在”华军软件园”就可以
下载,该播放器下载地址:http://www.onlinedown.net/soft/25918.htm
推荐大家下载FLV Player★★★ 专门播放FLV档案格式的影片
http://www.download.com/FLV-Player/3000-2139_4-10467082.html
点Download Now下载安装即可,很小,1M多吧
1.9.如果大家觉得这个格式不好,还可转档~~请看~~
Riva FLV Encoder
http://www.download.com/Riva-FLV-Encoder/3000-2140_4-10381392.html?tag=pdp_prod 下载安装 (1.将fiv档案拖曳到〔Input〕该栏位
2.在〔Output Diectory〕此栏位选择存档位址
3.在〔Destination vedio file〕此栏位将〔.flv〕改成〔.wmv或mpg〕
4.点击〔Encode〕进行转档(转档过程中程式画面变白恢复正常即是转档完成)
附注:在右栏可以调整
w*******y
发帖数: 60932
27
Link:
http://itunes.apple.com/institution/stanford/id384228265
Courses include:
Developing Apps for Iphone
Developing Apps for ipad
Human Computer interaction
Geography of US elections
American Founders & their world
Hannibal
Special Relativity....
And more
Stanford on iTunes U | Frequently Asked Questions
Will I have to pay to access Stanford on iTunes U?
No. You may freely preview and download all of the content from Stanford on
iTunes U.
How do I access Stanford on iTunes U?
First, make sure... 阅读全帖
t*******t
发帖数: 301
28
来自主题: _robot版 - 到哪里买servo motor和driver?
They have to match. But it is easy to have a match. For example, the 12A8
will drive a brush motor with PWM. Then you need to look at what is the
current range and voltage range. You also need to know what the output
voltage range of your DAQ is. You want to use the full range of the DAQ to
have better resolution. I forgot to mention encoders. To have a closed
loop control, you have to buy a encoder for the motor. Sometimes the motors
are selling with encoders. A cheap potentiometer may
w********r
发帖数: 4193
29
来自主题: _TheGate版 - ft, 油箱竟然满了
你是不是可以选信件的encoding?我觉得只是default的encoding改了。
不是网页的encoding
b***m
发帖数: 22
30
in mpeg-4, decode is defined, no matter how you encode. if both encode/decode
are not specified, mpeg-4 can not be an international standard.
in mpeg-4, the syntax of bitstream is strictly specified.
Surely, mpeg-4 is an open framework. but I think it is just open on encode
side. That means you can use different methods to generate bitstreams specified
by mpeg-4 syntax. This open framework leaves space for different companies
to compete.
In fact, there are several local chinese companies are wor
k***g
发帖数: 7244
31
来自主题: History版 - 计算模拟历史
以前闲着无聊的时候曾经做过一个《资治通鉴》的字频统计,单以频率计,中国历史不
过是“王”与“人”,“义”与“忠”,“将军”与“刺史”,“长安”与“洛阳”。
既然有了频率,自然也就有了概率和条件概率。根据条件概率,当给出一个序列的字词
后,预测下一个字词是什么,就变成了一个简单的最大似然估计问题。如果觉得这个序
列太长,计算起来太麻烦,可以假设简化的马尔科夫结构,譬如假设下一个词的概率取
决与之前的n个词而不是整个序列,这基本上就是计算语言学里的 n-gram 算法了。
所以我们可以用《资治通鉴》作为语料得出经验条件概率,然后来随机模拟出历史文本
,产生原汁原味(至少是统计意义上的)史书 (技术细节见附录)。 虽然这只是文字
游戏,但是仍然能从概率上看出《资治通鉴》记述的历史中,最容易重现怎样的事件。
譬如下面这则 (random seed = 2000):
撰 刘 崇 俊 以 惟 岳 又 从 入 关 , 宣 等 从 太 子 也 , 惧 履 危 亡 之 事
, 发 步 骑 二 十 骑 自 北 至 北 寺 狱 , 竟 不 使 宗 庙 社 稷 。 宗 元 为
柳 州 司 马 。 坚 大 怒 ... 阅读全帖
d*******r
发帖数: 3299
32
来自主题: Military版 - 汉语最终必定胜过英语
汉语比英语高等级真的没得说,你们还在这里争论, 有啥好争论的... lz 罗列的观点
都很直白了。
我基本都是直接告诉公司的美国同事,汉语就是高级语言。
最重要的就是构词法,比英语先进千年以上。一个产生大量半文盲,一辈子不得不一直
玩填字游戏的语言,真心是设计得太差了。汉语入门难一点,2000~3000汉字后,谁还
玩填字游戏?汉语的填字游戏,就是古时候贵族聚会时候玩的填字对仗作诗,看看区别
,高下立判。
说什么“语音意思纠错”就是扯,把读音encoding到语言中就是低级设计,我美国朋友
自豪地说她高中本科就能读莎士比亚,我就觉得英语这种,因为读音变了,单词都变的语
言实在是弱爆了。再看看欧洲,一个省一个方言,无数相似而不统一的单词,还有比这
更难受的吗? 唯一好处是,他们都可以自称容易掌握 N 门外语。这种拼音语言,就是有
秦始皇李斯也不一定统一得了,不信你看看中国各个省份的方言发音统一了吗?
我们美国同事都知道,英文就是岛上人的蛮语混乱地混合了拉丁语,德语,法语而成的
,说起英语,没有一人自豪的。欧美强大了几百年,很多方面该他们自豪,但是英语这
门语言,真心不咋地。
还有人喜欢说... 阅读全帖
b****a
发帖数: 4465
33
来自主题: Military版 - 见识下真正的CS论文
Be Appropriate and Funny: Automatic Entity Morph Encoding
Boliang Zhang
Hongzhao Huang
Xiaoman Pan
Heng Ji
Kevin Knight
Zhen Wen
Yizhou Sun
Jiawei Han
Bulent Yener
Abstract
Internet users are keen on creating different kinds of morphs to avoid
censorship, express strong sentiment or humor. For example, in Chinese
social media, users often use the entity morph “方便面 (Instant Noodles)”
to refer to “周永康 (Zhou Yongkang)” because it shares one character “康
(Kang)” with the well-known brand of instant ... 阅读全帖
I*******g
发帖数: 7600
34
来自主题: Military版 - 操, 现在码公面试越来越难了
刚才一个公司发来online Assignment,用hackerrank做
要求60分钟做一个题目:
把一个huffman encoding string解码出来,所有函数都是自己写,
麻痹的,老子huffman encoding的算法都忘记了。
估计又是他妈的阿三出的题目, 操。

发帖数: 1
35
来自主题: Military版 - Sp2018是我的另外一个ID
下面是证据:
MIME-Version: 1.0
Date: Fri, 28 Sep 2018 15:55:23 -0400
References: <[email protected]>
In-Reply-To: <[email protected]>
Message-ID: <[email protected]
com>
Subject: Re: 未名空间--待处理任务通知
From: Jane Xie <[email protected]>
To: [email protected]
Content-Type: multipart/alternative; boundary="000000000000bac5890576f3cfae"
--000000000000bac5890576f3cfae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
hello
On Fri, Sep 28, 2018 at 9:2... 阅读全帖
w********2
发帖数: 632
36
来自主题: Military版 - gmo食品最大的问题
Cellular competency (natural transformation) refers to the active uptake of
free (extracellular) DNA across the cell wall and cell membrane(s) using
cellular machinery designed to facilitate the process (Dubnau, 1999; Lorenz
and Wackernagel, 1994). It is a highly regulated physio- logical state that
is often sensitive to environmental cues (Molin and Tolker-Nielsen, 2003).
When the DNA is her- itably incorporated into the recipient’s genome, the
pro- cess is known as transformation.
Bacterial co... 阅读全帖
x********e
发帖数: 35261
37
考验各位将军英文水平的时候来了。想好了再说话,免得露马脚。
Of the 13 genomes from the United States, three were from the same patient
in Washington encoding the same haplotype H38, while the other three samples
encoded eight haplotypes, covering all five groups (Figure 3A), so the
sources of imported infections are complicated. Three haplotypes (H1 (
California), H19 (Wisconsin), and H38 (Washington)) were linked to Wuhan,
and three (H19 (Wisconsin), H35 (Arizona), H42 (California)) to five (H41 (
California) and H58 (Illin... 阅读全帖
r****a
发帖数: 1350
38
http://www.cnn.com/2013/12/24/world/europe/alan-turing-royal-pa
(CNN) -- Alan Turing, a British code-breaker during World War II who was
later subjected to chemical castration for homosexual activity, has received
a royal pardon nearly 60 years after he committed suicide.
Turing was best known for developing the Bombe, a code-breaking machine that
deciphered messages encoded by German machines. His work is considered by
many to have saved thousands of lives and helped change the course of the
wa... 阅读全帖
y*****d
发帖数: 4451
39
My annotation of the follows:
1.没大毛病
2.1080p时候视角受限,而720P只能读取前后车的license plate,旁边的车不可以:这
个人是警察?
3.这个人看不懂中文说明书
4.文件格式不好,而且如果打着火后马上就熄火before这个记录仪开始video,这种情
况下系统会进入bug状态
5.GS600有GPS记录,那个我查了,有十几秒video gap between clips
Expect Chinese quality engineering, September 30, 2011
By Steely Blue (Darien, IL, USA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: DOD F900LHD Full HD Car Black Box DVR Camera 1080P LCD
(Electronics)
Pros:
-It works. It supports loop recording, au... 阅读全帖
i****l
发帖数: 67
40
来自主题: Automobile版 - ebay行车记录仪购买指南
查了一下,大部分双核ARM处理器都带硬件Encoder
NVIDIA Tegra 2
Encode H.264
MPEG4
H.263
VP8
i****a
发帖数: 36252
41
来自主题: Automobile版 - 车音响可以 rip CD,挺方便的
我刚研究明白了. MP3 的 tag 要用 ID3 unicode encoding. 我用windows media
player internet album info 自动生成的tag是 big5 encoding, 车方是显乱码. 用
tag convertor (网上 freeware) 换成 unicode 就可以显示了.

[发表自未名空间手机版 - m.mitbbs.com]
n*****s
发帖数: 6495
42
来自主题: Automobile版 - 车版前10页总共个17个机器人贴
import re
import os
robot = []
not_robot = []
for i in range(0, 10):
page = 'http://www.mitbbs.com/bbsdoc1/Automobile_' + str(i) + '01_0.html'
os.system("curl " + page + " > 'page.html'")
f = open('page.html', encoding='iso-8859-1')
content = f.readlines()
for line in content:
m = re.findall(r'class="news">' + '([a-zA-Z0-9]*)' + '
class="black10">', line)
for id in m:
if id in robot:
os.system("echo " + id + " >> robot.... 阅读全帖

发帖数: 1
43
来自主题: Classified版 - 湾区招聘 QA & Test Engineer Intern
有兴趣的朋友请发简历到[email protected]
工作地点在Sunnyvale CA
Job Title: [Spring Session] QA & Test Engineer Intern
Responsibilities
Test various video related products which includes encoder, decoder etc.
Write and execute test cases targeted to test variety of Video Products
software and hardware.
Test new features with respect to reliability, accuracy, and usability.
Perform manual testing for demos.
Provide feedback on specific features and record all bugs/issues encountered
during testing.
Maintain t... 阅读全帖
A********e
发帖数: 354
44
【 以下文字转载自 Biology 讨论区 】
发信人: albertsmwk (.)(.), 信区: Biology
标 题: 第一批“青年千人计划”生物类@publication列表@
发信站: BBS 未名空间站 (Thu Aug 18 15:04:16 2011, 美东)
花了一个小时,深深的鄙视一下自己的无聊行径!!
125 蔡亮 男 1980年11月 复旦大学 生命
科学 2007年12月毕业于[美国]北卡大学 [美国]加州大学旧金山分校 博士后
Cai L, Mostov K. Polarity is destiny. Cell. 2009 Nov 13;139(4):660-2. PubMed
PMID: 19914162; PubMed Central PMCID: PMC2900917.
Cai L, Makhov AM, Schafer DA, Bear JE. Coronin 1B antagonizes cortactin and
remodels Arp2/3-containing actin branche... 阅读全帖
L*****k
发帖数: 13042
45
preferences->tools->converter->add new
select custom in the encoder combo box
select lame.exe as the encoder
etc
in the end it is just a command line that you would run in a dos prompt.
G********d
发帖数: 10250
46
选择的里面245就到顶了

preferences->tools->converter->add new
select custom in the encoder combo box
select lame.exe as the encoder
etc
in the end it is just a command line that you would run in a dos prompt.
G********d
发帖数: 10250
47
where is commmandline encoder settings?

In the Commandline Encoder Settings - Editing Preset dialog,
you can type whatever you want in the "Parameters" text field.
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)