由买买提看人间百态

topics

全部话题 - 话题: ouput
1 (共1页)
c*******9
发帖数: 6411
1
来自主题: Programming版 - gcc compile option
I try to compile multiple c files, and would like the object files ouptut in
the same directory
gcc -c -o /user/ouput -c *.c
but does not seem to work, is there an option in gcc to specify that?
in visual c++, i can use /fo option to specify a folder for ouput, anything
similar in gcc?
thanks
F******n
发帖数: 160
2
【 以下文字转载自 EE 讨论区,原文如下 】
发信人: Feynmann (DG), 信区: EE
标 题: Re: Matched Filter: problems for discussion
发信站: The unknown SPACE (Sun Jul 13 18:08:30 2003) WWW-POST
First, add two more points to my original quesiton:
1. the noise is assumed to be white noise;
2. the peak ouput should be at t = T_m + t_d,
where t_d is the actual delay of the input signal
Here is the major concern of my original question: as can be proved,
for any T_m, at t = T_m + t_d, we have the optimal peak ouput from
MF. That w
r***e
发帖数: 486
3
来自主题: Automobile版 - Garmin 3790T vs. 765T
3790T比较新,好看。但是review还不太多,没有AUX output,不能接到car stereo,
不知道本
身的音量够不够用。
765T有AUX ouput, 可以接到car stereo, 比较厚,以前好像touch screen不太灵敏,
不过看
review新的firmware update已经fix了那个问题。
价钱上相差100块左右,选哪个?
m*****d
发帖数: 144
4
来自主题: Automobile版 - 我很敬佩买prius等环保车的人
2) 在低速时使用电机而非引擎
这是不是只有Toyota才这么干?我觉得这是非常关键的,只有可以随时切断engine才能
保持系统的高效率。假定engine optimal ouput在30kW, 顶多两分钟就会把电池充满。
如果这时候不能切断engine,系统效率马上就下去了。
我看到几家的hybrid都是轻度的,不能切断engine,只能算跛脚的hybrid,我觉得没有前
景。
EV污染控制就是把污染转到了火电厂或者太阳能电池板生产地而已,哪个总的污染多不
好说。solar panel主要的成本就是能源,或者说污染。
q**j
发帖数: 10612
5
来自主题: Automobile版 - 看车三年,终于如愿以偿。
我的手动车学习笔记,还在完善中.欢迎批评和指点.
基本知识
第一课:入门
1 开车
踩刹车,放手刹,踩离合,挂一档,踩油门到 1500-2000 RPM,保持转速,慢放离合。
2 停车
车速快的时候先踩刹车。等到速度慢了,踩离合,踩刹车,(如果需要)放手刹。长时间
停车,放空挡。
3 趴车
踩离合,踩刹车,放空挡,放手刹。也可以挂档,和手刹形成双保险。上坡停车挂1档
,下坡挂倒档。
在停车场里转圈找车位的时候用2档,提前瞄准空位的话,心里预算好车子的轨迹,2档
直接完成那个轨迹,最后刹车摘档停车。(如果没停正,那就只能用倒档和1档来做微
调了。)如果在快经过时发现空位,那只能停下,用倒档和1档来移车入位。也可以踩
下离合,然后半离合慢慢蹭,不需要到一档。
4 倒车
平地倒车起步可以不给油(或者略微给点油),车动了后用离合和刹车配合就行了。这
时候也不会磨损离合。有坡度就得给油了。进阶指导(DarkRoast)感觉快stall时,离
合控制速度,油门控制扭力,可以精细控制车辆,手动一乐,这个不能缺。没事的时候
,多往复几遍体验下。
5 坡起
拉手刹,踩离合,放1档。同时踩油门+放离合,最... 阅读全帖
s******y
发帖数: 260
6
最近购置了硬盘版的礼光歌库,Mixer (MIX800),Yamaha Reciever, Mic x 2 (PG58).
目前连接方式:
电脑HDMI output到Reciever的HDMI1接口
Reciever HDMI output到TV
MIC输入到Mixer
Mixer ouput到Reciever的Audio1接口
但是现在接上后如果要看到电脑输出的视频和乐曲(HDMI1),就不能听到MIC的声音(
Audio1)
反之亦然
一直以为Reciever可以混合多种输入
请问各位高人,是我哪里设置错了吗
a9
发帖数: 21638
7
你确定你插的那对红白线是ouput口吗?我没有这个mixer
s******e
发帖数: 493
8
来自主题: JobHunting版 - One Amazon question
Can change your array and output at the same time?
you may need to revisit the reorganized array and check if a[i] == i. if not
ouput. No need to compare for index n beyond
s*****n
发帖数: 5488
9
来自主题: JobHunting版 - 请教一个machine learning的问题
我有点明白你说的意思了。1m的点不能被叫做test data. 回到问题的本质。
现在是在4维空间里面,给你100个点,让你把这个空间划分为三个区域。
区域内部的点聚合,区域外边的点距离做够大。事实上这样做的自由度太大,会有多种
选择,自然也会有mis-classification.
now, with testing data,(事实上,test data也是a b c d -> g/b/ 的映射,否则怎
么能够test, 只用abcd四维的micro feature来进行clusting.得到k个clusters.
now, mapping 100 points to k clusters with what ever means and synthese a
function/model, that is your ouput.
Finally, testing with 1M points with the whole mapping.
s*****y
发帖数: 897
10
来自主题: JobHunting版 - 问个编程题
似乎除了我得code,大家都是ouput最后的可以用多少个数得到值,但是没有output30
和2。
s*****y
发帖数: 897
11
来自主题: JobHunting版 - 问个编程题
似乎除了我得code,大家都是ouput最后的可以用多少个数得到值,但是没有output30
和2。
a**********2
发帖数: 340
12
来自主题: JobHunting版 - 贡献几道面试题
1.是分配一个float最多位数(38-(-38))大小的string,然后左右分别补零吗?
4.可以10个机器分别排序再归并到总机吗?
5.是说找出前三位,或者中间三位,或者后四位能组成的单词?能给个input,ouput的
例子吗?

出来的顺序应该跟原来数字排出来的顺序一样。这个转换可以是任意的转换,不是简单
的把数转成string即可。因为那样的话假如排序,就不一样了。比如string排序,123
应该排在32的前面。但是数字排序,123应该排在32后面,所以要求的转换,要转成
string之后,123对应的string还能排在32的后面。
d****o
发帖数: 1055
13
the longest repeated substring problem is the problem of finding the longest
substring of a string that occurs at least twice.
比如
input: banana
ouput: ana
bruth force way是O(n^3),我只做出来这个,弱啊。
哪位大牛来解释一下?
p*****2
发帖数: 21240
14

input: banana
ouput: ana
应该是n^2
把banana
anana
nana
ana
na
a
写到trie里不是n^2吗?写的时候就可以判断是不是最长了。
j**7
发帖数: 143
15
来自主题: JobHunting版 - TripAdvsior 面经 (完败)
phone #1: Given the head node of a singly linked list of characters, write
an efficient program to remove all nodes containing vowels.
phone #2: Given a character array (char[] input) that contains "words"
separated by spaces, create a function to reverse the words in the array.
For example, given ['H', 'i', ' ', 'W', 'o', 'r', 'l', 'd'] produce ['W', 'o
', 'r', 'l', 'd', ' ', 'H', 'i']. For the purposes of this problem the input
will contain only letters and spaces. Be sure your solution tolera... 阅读全帖
s*******r
发帖数: 2697
16
来自主题: JobHunting版 - 发几个面经(5) Groupon 电面+onsite
尽管第一个onsite是twitter给的
groupon却是我第一个去onsite的公司 过程也是所有面试的公司中最漫长的
面完groupon心态彻底变平和了 再面任何其他公司也都不会再觉得折腾了
总共面了 10个人 onsite前两轮电话+ onsite 5个人 + onsite后3轮电话
面试的过程中要去的组因为内部人re-org被强塞了几个人 offer自然也没了
电面
p1 主要面data mining,毕竟宽泛,考察到了
1) measures of classification
2) boundary decision for classification
3) Feature selection
4)Entrophy,TF,IDF
5) coding 给定query 打印出所有match的combination
// Query = dress for less
// Expansion: "dress:[es, ed, ing] for less:(cheap, deal)"
/*
dress for less
dress for cheap
d... 阅读全帖
g*******n
发帖数: 214
17
来自主题: JobHunting版 - 请教一道比身高题目
You are given two array, first array contain integer which represent heights
of persons and second array contain how many persons in front of him are
standing who are greater than him in term of height and forming a queue. Ex
A: 3 2 1
B: 0 1 1
It means in front of person of height 3 there is no person standing, person
of height 2 there is one person in front of him who has greater height then
he, similar to person of height 1. Your task to arrange them
Ouput should be.
3 1 2
Here, 3 is at front,... 阅读全帖
o*********r
发帖数: 203
18
1. The procedure to covert input into ouput is called algorithm, so you
always need algorithm to do your job.
2. In computer science, Algorithm is solution.
3.The computers we are using have limited space and limited speed of CUPs,
so algorithm is about: time, space, and the correctness of your solution.
4. Now supposed we have a compuer with unlimited space and infinite fast of
CUPs, do we still need algorithm? Yes, because we still need to make sure
correctness of solution.
d******a
发帖数: 238
19
代码见下,不过烙印没有让我写next, has_next两个函数,他让我写一个函数能实现两
个函数的功能。
int v;
iterator iter(array);
while(iter.next(&v))
cout << v << endl;
能用这几行调用这个类中的函数就行了。
class iterator {
explicit iterator(const vector>& arr) : data(arr) {
i = 0;
j = 0;
}
bool next(int* v) {
if (i == data.size())
return false;

if (j < data[i].size()) {
*v = data[i][j];
j++;
return true;
} else {
// data[i + 1]
i++;
while ( i < da... 阅读全帖
a****e
发帖数: 95
20
来自主题: Seattle版 - 问问懂音像的同学
另外最好买"future-proof"的带3D-Ready的hdmi 1.4input/ouput的receiver.
最近Onkyo,Yamaha,Pioneer都有不少deal,有的还带音箱。
m*****g
发帖数: 12253
21
☆─────────────────────────────────────☆
StephenCurry (FutureStar) 于 (Tue May 29 15:39:36 2012, 美东) 提到:
放西部也就一轮二轮游的水平
就不提常规赛战绩会不会下跌甚至不进季后赛了,假设能保持和东部同样的战绩
06-07赛季,骑士50胜32负,放西部才第六,首轮碰马刺,一轮被横扫回家
10-11赛季,热火58胜24负,放西部第二,算能过第二轮,第二轮碰小牛,还是回家,
连分区决赛也进不去
常年躲在东部水分太大
☆─────────────────────────────────────☆
wsninmit (筷子上的芭蕾) 于 (Tue May 29 15:40:33 2012, 美东) 提到:
我先坐沙发。

放西部也就一轮二轮游的水平就不提常规赛战绩会不会下跌甚至不进季后赛了,假设能
保持和东部同样的战绩06-07赛季,骑士50胜32负,放西部才第六,首轮碰马刺,一轮
被横扫回家10-........
★ Sent from iPhone App: iReader M... 阅读全帖
T*T
发帖数: 1386
22
来自主题: TVGame版 - DELL MONITOR ULTRA SHARP 27" $719
都有HDMI的,有2个借口。还有5.1 AUDIO OUPUT。CYBER MONDAY时候,U3011降到了
1199。。
g********d
发帖数: 203
23
来自主题: MusicPlayer版 - 推荐一套电琴+multieffect吧
是这个吗?带midi ouput的?
http://www.guitarcenter.com/Fender-Standard-Roland-Ready-Strato
b****b
发帖数: 199
24
来自主题: Database版 - Help: SAS
Sorry that I didn't see this question earlier. It's very straight forward in
SAS V8. Use "ods ouput" plus a table name. I am pretty sure there is
out=dataset option that you can also use to output parameters which is
available in SAS V6.

can
is
against
to
(and
l***s
发帖数: 28
25
来自主题: Database版 - How to creat user in Oracle?
oh, I just found something. I would like to share with your guys...^_^
we can use
set pause on;
to activate the paging feature, so that the ouput will pause at the end of
each screen...^_^
thanks
n******g
发帖数: 1
26
总是在最后的tools里, 安装database configuration assitant时最后一步,
complete database 时出问题, 提示ouput not available. 怎么回事?
S**H
发帖数: 1256
27
Any better idea?
the case is : whenever there is Update/Insert on Table A, -->retrieve the
records--> appending the message according to whether it is a Update/Insert-
--> ouput the results into .*.txt file.
thanks!!!!
d********e
发帖数: 925
28
try powerstrip, maybe it can help for it help my 780g on board video to ouput 1400x1050
a*********p
发帖数: 717
29
powerstrip doesn't work well on intel graphic card.

ouput 1400x1050
t**g
发帖数: 1164
30
isn't it true that VGA always ouput simulated signal not digital one?
c*****t
发帖数: 1879
31
来自主题: Java版 - junit question
It'd easier if that junit/testng can automatically read the output
of the code and compares the output from text file (like using
annotations to specify the comparison ouput location). Then I
could potentially do everything without using script. Sigh...
Right now in IDEA, i just need to hit run on the test folder and
everything is tested (the main reason why i use junit). Would be
painful that I have to find other ways.
z*******3
发帖数: 13709
32
来自主题: Java版 - 说说spring和ejb的差别
其实一直以来,我觉得很多人,对于business tier这一层有很大误解
很多人至今还认为,这一层要么是presentation tier也就是web层的依附
要么是integration tier也就是跟db打交道那一层的依附
这是绝对错误的,从我学习j2ee的那一天起,我就坚持认为
business tier才是真正的核心,既不是web也不是db层的依附
所以每当看到别人说,ejb是web或者是db相关,我就觉得有点问题
因为web和db都有专门独立的tier与之配套并封装起来
而只有business tier这一层,无论是spring core也好,ejb的session bean也罢
都是不依附与其他外界的东西的存在,唯一需要的就是下面需要支撑的平台
也就是os和jvm,除此以外,他们是可以独立存在的核心
因为最早j2ee理论提出来的时候,就假设,现有的业务逻辑
是非常复杂的,也就是说定义了input/ouput之后
中间那一个,是假设是可以写很多很多的
所以以ejb为核心,定义其他的组件,所有组件以ejb为核心,围绕着ejb服务
而ejb本身可以打包成jar包,然后在不同的... 阅读全帖
o******1
发帖数: 1046
33
我用perl写一个cgi的程序,其中调用了自己写的C程序(binary executable),需要
其stdout,所以用的是backticks。
如果单独运行perl cgi,结果正常,所有该print出来的全部出现,包括调用的C程序的
output。但是一旦从html里面连接到这个perl cgi,C程序ouput的部分,在网页中不显
示。
我试着把调用C程序的部分改成调用Linux系统程序,比如ls,cat等等,其output在网
页中就正常出现了。
我很困惑,大概知道是因为C程序的output没有被返回到perl process里面。但是在单
独执行perl程序的时候,调用的C就正常的输出到stdout了。又想了一想,可能是perl
和C共享了屏幕显示,所以我分辨不出来。但是在运行perl程序的时候,被调用的C的输
出没有返回到perl process,而是在另一个过程中,所以cgi创建的新网页就不显示了
。但是对于调用的Linux系统程序,为什么能正确的返回呢?
我半路出家,没学过操作系统,对于process,thread这些概念一知半解。大牛们能不
能指点一下,如何设置,... 阅读全帖
l****e
发帖数: 137
34
The default ouput of the exponential digit number is 3 in windows and 2 in
Linux/Unix. How can I reduce the exponential digits output in windows from 3
to 2 as the same in Linux/Unix.
Thanks a lot.
louwee
r*********s
发帖数: 2157
35
【 以下文字转载自 JobHunting 讨论区 】
发信人: lakewest (lake), 信区: JobHunting
标 题: 两道M软件大公司的最新面世算法题
发信站: BBS 未名空间站 (Tue May 27 19:21:11 2008)
1. 写一个function, input is binary bit like 0001001010101, ouput the mirror
of the binary bit, which is 1010101001000
2. Given an array of integers, write a function that returns the difference
between the largest even integer and the smallest odd integer.
o******1
发帖数: 1046
36
【 以下文字转载自 Linux 讨论区 】
发信人: outlook1 (outlook1), 信区: Linux
标 题: perl cgi中调用C可执行程序为什么在html中不显示?
发信站: BBS 未名空间站 (Sat Apr 12 02:23:45 2014, 美东)
我用perl写一个cgi的程序,其中调用了自己写的C程序(binary executable),需要
其stdout,所以用的是backticks。
如果单独运行perl cgi,结果正常,所有该print出来的全部出现,包括调用的C程序的
output。但是一旦从html里面连接到这个perl cgi,C程序ouput的部分,在网页中不显
示。
我试着把调用C程序的部分改成调用Linux系统程序,比如ls,cat等等,其output在网
页中就正常出现了。
我很困惑,大概知道是因为C程序的output没有被返回到perl process里面。但是在单
独执行perl程序的时候,调用的C就正常的输出到stdout了。又想了一想,可能是perl
和C共享了屏幕显示,所以我分辨不出来。但是在运行perl程序的时候... 阅读全帖
s******n
发帖数: 15
37
that makes sense, what i want is ouputing the f77 compiler
license information to a file. everytime i compile a file,
it always output lots of dummy. thanks.
F****r
发帖数: 34
38
来自主题: Unix版 - Matrix inverse problem
well, in my problem, we use the least square solution.
the iteration I said is not just finished one matrax inverse.
It is the program fineshed and get result.
like you said, our program need about a thousand iterations
to converge.
we need to use the new ouput as input.
run severals times.
There should be something designed to solve this problem.
this is very common in tomography.
p*******r
发帖数: 4048
39
en, input-ouput, given internal state.
read wikipedia on finite state machine.
f***u
发帖数: 110
40
Could not agree more that Boss never appreciates your reconciliation. While
ONCOGENE made a good point to balance the input/ouput ratio in this struggle
. I personally am still very hesitate to bring this issue to the third party
in seeking " Justice". As it is clear that justice is nothing but an
illusion within this regard.
I will meet the boss tomorrow morning, hopefully, I can get my notebooks
back in case I have to provide evidence for what I have contributed.
Again, I appreciate all your i
w*****j
发帖数: 49
41
来自主题: Computation版 - what's the standard ouput of gaussian
hi, everyone. I was using gaussian. Any one know how to let gaussian direct
the output to screen instead of log output file?
ET
发帖数: 10701
42
cadence version?
for 6.0 and up, "result brower" -> select the output you are interested in -
> select the tool "to the calculator" -> direct the ouput u r intersted in
to the calcualtor -> then pick the function or just plot it, or use the "eva
" to evaluate your expression..
h**e
发帖数: 9290
43
来自主题: EE版 - 请教-保护电路设计问题
pmos input can handel 0-1V easily with 3V or 5V supply.
Using a differential PMOS inputs amplifier with negative-side set to 0.25V,
0 input will leads to ~5v output and 0.5V input will leads to ~0V ouput.
Althought gain could be low, it is good enough to make logic transition.
L****a
发帖数: 572
44
thin-film solars are also printable, e.g. a-Si, CIGS.
Lab product is lab product. In real-world, production process is key to
success. If a printable, organic solar has effiency 60%, but you can
only ouput 10MW every year, with $20 per Watt, still nobody will use it.
L****a
发帖数: 572
45
thin-film solars are also printable, e.g. a-Si, CIGS.
Lab product is lab product. In real-world, production process is key to
success. If a printable, organic solar has effiency 60%, but you can
only ouput 10MW every year, with $20 per Watt, still nobody will use it.
j***j
发帖数: 324
46
其实跟电流没太大关系,主要是电压。对于DCDC,input 一定,ouput一定。switching
loss 主要就跟frequency 有关,当然不一定是线性,如果有磁元件在里面的话,部分
loss是频率的平方或者1.5次方。
j***u
发帖数: 26
47
我作了一个low pass filter, 我用一个PMOS作bias current, PMOS differential
input pair和NMOS active load作出一个简单的one stage amplifier,然后把ouput接
到negative input端,unity negative feedback,就形成了一个voltage follower。然
后我在output端和gnd间接了一个capacitor.模拟结果给出了output的dc average 和
input dc average有大概10mV的电压差。
可是我同时用NMOS differential pair和PMOS active load作了一个相对应的filter,
模拟结果显示这个output和input的dc average几乎相等,实际测量出的dc offset也得
有10mV多,说明transistor model应该是比较ideal的。
所以使我困惑的是,那个PMOS input pair的filter,为啥模拟结果就已经有10mV的dc
offset了呢?如果output
j***u
发帖数: 26
48
来自主题: EE版 - DC averge circuit 问题
我作了一个low pass filter (是为了得到input signal的dc voltage), 我用一个
PMOS作bias current, PMOS differential
input pair和NMOS active load作出一个简单的one stage amplifier,然后把ouput接
到negative input端,unity negative feedback,就形成了一个voltage follower。然
后我在output端和gnd间接了一个capacitor.模拟结果给出了output的dc average 和
input dc average有大概10mV的电压差。
可是我同时用NMOS differential pair和PMOS active load作了一个相对应的filter,
模拟结果显示这个output和input的dc average几乎相等,实际测量出的dc offset也得
有10mV多,说明transistor model应该是比较ideal的。
所以使我困惑的是,那个PMOS input pair的filter,为啥模
ET
发帖数: 10701
49
来自主题: EE版 - mosfet flicker noise model
啥technology node?
现在的65nm 45nm flicker noise corner 上MHz也完全现实的。
input referred noise的唯一物理意义是可比性,无法可测。
都是通过测量output noise density, 折算回去。 在simulation中,
也不要设定noise souce, 因为transistor本身就是个noise source, 要measure的就是
ouput noise density..

complain
source
1 (共1页)