topics

全部话题 - 话题: line1
1 2 3 末页 (共3页)
m***0
发帖数: 40
1
j1第三年 拿到W2 和 1042S
W2 line 1 line 2空白 line 3,4,5,6有social security/medical wages and
withheld
填写1042EZ 若1042ez line1 填 0 的话, line 8 按worksheet算出来为0 拿不到400勒
不知道有没有类似情况?
k*****u
发帖数: 1688
2
how to do this in emacs:
for example, the following code, how to comment out the line1 line2 line3
part.
That is, change
texttttttttt
tedtTTTTTTTTT
line1
line2
line3
textttttttttt
textttttttttt
to (add ## for each line)
texttttttttt
tedtTTTTTTTTT
##line1
##line2
##line3
textttttttttt
textttttttttt
c**********e
发帖数: 2007
3
来自主题: Programming版 - C++ Q13: Input
#include
#include
#include
#include
using namespace std;
int main()
{
std::string line1(3, '*'), line2(5, '*');
std::cin >> line1;
std::getline(std::cin, line2);
std::cout << "Line 1:" << line1 << std::endl;
std::cout << "Line 2:" << line2 << std::endl;
std::cout << "EOF\n";
return 1;
}
Given the program above, what happens if, when the program is run, the user
enters "Hello world!" followed by a newline?
a) It will print out:
Line 1: Hello
Line 2: world!
EOF
r***6
发帖数: 401
4
来自主题: Programming版 - 怎么样实现fuzzy join
#!/usr/bin/python
f1 = open("f1.csv")
f2 = open("f2.csv")
ts2 = 0
line2 = "\n"
for line1 in f1:
ts1 = int(line1.split(",")[0])
while ts2 <= ts1:
nextline2 = f2.readline()
if not nextline2:
break
ts2 = line2.split(",")[0]
if ts2 <= ts1:
line2 = nextline2
print line1 + "," + line2,
t*******y
发帖数: 637
5
来自主题: TeX版 - 方程式换行的问题
有一个方程组 4个方程 想label成 (1a) (1b) (1c) (1d) 的形式 用了subequation
但是每个方程很长 用了\\强制换行
于是出现了
方程1 line1
(1a)
方程1 line2
(1b)
方程2 line1
(1c)
方程2 line2
(1d)
方程3 line1
(1e)
方程3 line2
(1f)
怎样让每个方程只显示一个label呢? 多谢
k*****u
发帖数: 1688
6
【 以下文字转载自 Linux 讨论区 】
发信人: killniu (killniu), 信区: Linux
标 题: how to insert a column for all slected rows in emacs
发信站: BBS 未名空间站 (Sat Jan 14 18:21:31 2012, 美东)
how to do this in emacs:
for example, the following code, how to comment out the line1 line2 line3
part.
That is, change
texttttttttt
tedtTTTTTTTTT
line1
line2
line3
textttttttttt
textttttttttt
to (add ## for each line)
texttttttttt
tedtTTTTTTTTT
##line1
##line2
##line3
textttttttttt
textttttttttt
k*****u
发帖数: 1688
7
【 以下文字转载自 Linux 讨论区 】
发信人: killniu (killniu), 信区: Linux
标 题: how to insert a column for all slected rows in emacs
发信站: BBS 未名空间站 (Sat Jan 14 18:21:31 2012, 美东)
how to do this in emacs:
for example, the following code, how to comment out the line1 line2 line3
part.
That is, change
texttttttttt
tedtTTTTTTTTT
line1
line2
line3
textttttttttt
textttttttttt
to (add ## for each line)
texttttttttt
tedtTTTTTTTTT
##line1
##line2
##line3
textttttttttt
textttttttttt
g**d
发帖数: 723
8
来自主题: _voip版 - sipsorcery 怎么这么慢啊?
现在这个配置有个问题。 用line1 dial out的时候, 我的line 2会响铃。 是不是这
样:
when sipsorcery+sipgate using GV out, GV call my destination number, then
call my sipgate number to connect. Because sipgate connects to both my line1
and line2, so my line2 start to ring.
有办法解决这个么? 能不能在sipgate里面给我的line1/2各给一个extension, 然后让
GV dial that extension?
i***z
发帖数: 7508
9
来自主题: Military版 - 毛泽东、蒋介石可能是蒙古后代
毛氏在少数民族中的氐族、羌族、回族、蒙古族、满族、瑶族、土家族、维吾尔族
、侗族、壮族、苗族、水族、彝族、仡佬族、哈尼族均有分布。在金朝时期女真人中就
有毛氏,其中以氐族、蒙古族、回族等族毛氏名人为多。
不知道,1个湖北的、1个湖南韶山姓毛的,是否与 毛 泽 东,是同一支系。
DNA检测是大禹的后代,O1a M119,O1a1 P203。应该是北匈奴王室后代。
女真王室甘肃完颜氏、安徽完颜氏和海西女真哈达部贵族,Y染色体的Y-SNP都是
P203,已经证实是大禹、匈奴的后代。应该是北匈奴东支。
赵匡胤已经有2个后代,已经DNA检测证实。匈奴王室的后代,南匈奴有姓赵的

成吉思汗家族的后代,已经DNA检测了许多人,已经证实,布里亚特蒙古人确实
是成吉思汗的后代,成吉思汗家族确实是匈奴王室的后代。应该是北匈奴东支。

努尔哈赤家族的后代,已经检测许多人,已经证实,是匈奴的后代。家谱记载是,
成吉思汗六世孙伯帖木儿的后代。猛哥帖木儿(尔)的后代。应该是北匈奴东支。
钱(江苏)、贝、蒋(江苏)、徐、毛(湖南韶山)、夏侯氏出现最多的一个类型


但,不知道,这个姓钱(江苏)的,是否... 阅读全帖
s****h
发帖数: 3979
10
来自主题: HiFi版 - 入手Behringer X1204USB
今天刚到手这个mixer,话筒和歌库都还没到位。礼光装了,还不知道有没有啥问题。
试了试这个mixer。
这个有点不明白-- “mixer上有两种输入伴奏音乐的方式,一种是tape input(RCA红白
音频线),还有就是USB口。”
这两个口,RCA和USB好像只能调volumn?怎么和line1-8一样调其他东西?
如果这两个口设计的就是只能调volumn,有没有啥线可以从耳机口(1/8 inch)连到
line1-line4中的一个,或者是line5&6 or line 7&8?
s****h
发帖数: 3979
11
来自主题: HiFi版 - 入手Behringer X1204USB
今天刚到手这个mixer,话筒和歌库都还没到位。礼光装了,还不知道有没有啥问题。
试了试这个mixer。
这个有点不明白-- “mixer上有两种输入伴奏音乐的方式,一种是tape input(RCA红白
音频线),还有就是USB口。”
这两个口,RCA和USB好像只能调volumn?怎么和line1-8一样调其他东西?
如果这两个口设计的就是只能调volumn,有没有啥线可以从耳机口(1/8 inch)连到
line1-line4中的一个,或者是line5&6 or line 7&8?
z*****j
发帖数: 6
12
来自主题: JobHunting版 - 请教个 interview question
typedef void (*FN)(int);
void f1(int);
void * f2(int);
FN abc = f1; //Line1
FN abc = f2; //Line2
FN abc = &f1; //Line3
FN abc = &f2; //Line4
Which of the above lines will compile
a. Line1
b. Line2
c. Line3
d. Line4
k*j
发帖数: 153
13
来自主题: JobHunting版 - careercup书上一道题:判断直线相交
careercup那本书上一道题。
10.3 Given two lines on a Cartesian plane, determine whether the two lines
would intersect.
书里是用slope来做。
return abs(line1.slope-line2.slope)>esp || abs(line1.yintercept - line2.
yintercept) < esp
但明显这没有考虑slope infinite的情况。所以不是很好的solution.
想问问这题有没有更general的解法呢?多谢!
z*******n
发帖数: 203
14
来自主题: TAX版 - J1 第3年, W2 and 1042S
从精华区的帖子(http://www.mitbbs.com/bbsann2/life.faq/TAX/1040/M.1017414272.A/claim%20treaty%20with%201040%20example)来看:
1)line1写入0,line21写入0并且在line21的虚线上方写入“see attached form
1042S”
或者是,
2)line1写入1042s的数值,line21写入“-1042s的数值”并且在line21的虚线上方写
入“see attached form 1042S”
这样的话,line22都会得到total income=0(如果没有其他得收入的话)
哪位能够帮忙确认一下1)正确还是2)正确.
g**y
发帖数: 47
15
我搜索了一下,看看那种填法对
从精华区的帖子(http://www.mitbbs.com/bbsann2/life.faq/TAX/1040/M.1017414272.A/claim%20treaty%20with%201040%20example)来看:
1)line1写入0,line21写入0并且在line21的虚线上方写入“see attached form
1042S”
或者是,
2)line1写入1042s的数值,line21写入“-1042s的数值”并且在line21的虚线上方写
入“see attached form 1042S”
这样的话,line22都会得到total income=0(如果没有其他得收入的话)
哪位能够帮忙确认一下1)正确还是2)正确.
g**y
发帖数: 47
16
我搜索了一下,看看那种填法对
从精华区的帖子(http://www.mitbbs.com/bbsann2/life.faq/TAX/1040/M.1017414272.A/claim%20treaty%20with%201040%20example)来看:
1)line1写入0,line21写入0并且在line21的虚线上方写入“see attached form
1042S”
或者是,
2)line1写入1042s的数值,line21写入“-1042s的数值”并且在line21的虚线上方写
入“see attached form 1042S”
这样的话,line22都会得到total income=0(如果没有其他得收入的话)
哪位能够帮忙确认一下1)正确还是2)正确.
b*****s
发帖数: 463
17
来自主题: TAX版 - IRS寄信来
第一次给孩子报没经验.还请问:
8812表的line1 我填1000,
line2按我原来交上去的1040表的line51还是1000,
line3是line1减去line2,是0就没办法拿additional child tax credit.
按我原来填的,我拿不到啊,所以当初就没填.
除非我把1040表的line51改成0.这样一来就是多个孩子多1000了,跟大家的普遍的说法
是一样的了.是不是该这样呢?
t**********2
发帖数: 357
18
来自主题: TAX版 - EIC 和 5000 treaty 的理解
如果用了5000的treaty, 5000已经从w-2里减掉了。line 1就是line7。算eic的时候就
按line7算。1040的line21就不用填了。
我和LD都没用treaty,没有1042-s. line1超了上限,不能拿eic.但是如果按AGI算还是
可以拿eic的。早知道就不犯懒了,如果renew了就不会现在这么纠结了。
看了一些帖子,可不可以这样填
没用5000的,在line21 填-5000。 eic的line1填line7,line2填5000,eic还是line 38
,是这样算的吗。
不会被irs找麻烦吧
a*m
发帖数: 6253
19
各个队都差不太多的啦。 强的line1, 弱一点line2, 再弱一点line 3...
即使line3, 也会和3.0的line2, line1 差不多
不管什么球,你要把自己当主力打,除非搭档比你强很多,那你为了输赢,只好让他抢
你的球。。。
如果上来就把自己当助理,那还不如别去玩了
双打和单打是完全不同的两种游戏, 如果脑子灵活,配合不错,两个3.0胜两个3.5也
稀松平常的很。。。
k*****u
发帖数: 1313
20
来自主题: Apple版 - iphone谁能解释一下这段话?
Let's say that I have an iPhone 3GS. I'm not eligible for an upgrade, but my
husband who is on my family plan and has an LG flip phone is eligible for
an upgrade. Can I use his upgrade to get a new iPhone 4 for $199 or $299 for
myself?
This is tricky. Technically, the answer is no. The upgrade is only for the
subscriber whose contract is expiring. But a way to get around this is to "
replace" the old LG phone with the iPhone 4. Then you can switch the phone
numbers and continue to use the LG pho... 阅读全帖
k*****u
发帖数: 1313
21
来自主题: Apple版 - iphone谁能解释一下这段话?
谢谢。是不是这样?
line1: iPhone 3GS under contract with data plan
line2: LG eligible upgrade -->iPhone 4 (2-year contract with data plan)
Switch number (switch SIM)
line1: iPhone 4 (continue 3gs contract)
line2: LG or iPhone 3GS (new 2-year contract with data plan, even using LG)
另外iPhone计划到期后继续用ATT,能把data Plan去掉吗?
s*****n
发帖数: 839
22
来自主题: CS版 - 用Python读csv文件header?
谢谢回复。
我解决了上面的问题。
用下面的程序就可以:
>>> import csv
>>> r=csv.reader(open("C:/Documents/Project/Python code/practice1/csv/
ATXRNSA.csv"))
>>> line1=r.__next__()
>>> line1
c**t
发帖数: 2744
23
来自主题: Database版 - 这个stored proc错在哪里?
SQL Server:
create proc prc_Test
@type varchar(20),
@validFrom datetime,
@validTo datetime
as
select blah from SomeTable where type=@type
and somedate between @validFrom and @validTo
exec 'blah blah', DateAdd(dd, -7, GetDate()), GetDate()
Server: Msg 170, Level 15, State 1, Line1
Line1: Incorrect syntax near 'dd'.
but the following statements are correct:
declare @d1 as datetime, @d2 as datetime
set @d1=DateAdd(dd, -7, GetDate())
set @d2=GetDate()
exec 'blah blah', @d1, @d2
what's wrong w
s*****n
发帖数: 461
24
来自主题: Programming版 - c preprocess question
为什么line1合法,line2非法?
#include
#define f(a,b) a##b
#define g(a) #a
#define h(a) g(a)
int main(void)
{
printf("\n%s", g(f((1,2),3)) ) ; /*line1*/
printf("\n%s", h(f((1,2),3)) ) ; /*line2*/
}
c*******u
发帖数: 1269
25
struct A
{
A(int num1, int num2, int num3 ...)
{
para.line1[0]=num1;
...
};
struct
{
int line1[2];
int line2[3];
}para;

} ;
s**n
发帖数: 178
26
来自主题: TeX版 - Label problem
I try to use lable in \paragraph{}. But it does not work.
For example:
\section{1}
\subsection{11}
\subsubsection{111}
\label{label1} %LINE1
.....
\paragraph{1111}
\label{label2} %LINE2
.....
\subsubsection{222}
Here I refer to~\ref{label2}. %LINE3
After compiling, I find that LINE3 still refers to label1 at LINE1,
other than label2 at LINE2. What is the problem?
Thanks a lot.
q****h
发帖数: 1
27
Hi, there:
I'm stuck with a sed question. Could you help me out?
Here is the content of the text file: test.c
line1
line2
text3asdasfasfasftext4
I want to change it to the following format:
line1
line2
text3asdasf
asfasftext4
I try this sed command but it doesn't work:
sed s/\ test
Thanks in advance! Any suggestion is appreciated.
a9
发帖数: 21638
28
来自主题: _voip版 - sipsorcery 怎么这么慢啊?
ata是papv2或者vta-vr啥的吗?
如果是的话,有个trick,忘了是line1还是line2了,如果这两个line的caller id设的
一样。那响的是line2(还是line1我忘了)。
也就是说只要一个电话机,就可以用这两条线打入拨出用不同的服务商。
k***e
发帖数: 7933
29
你用的是spa1001吗?
我的spa1001 line1里面不能输入"**",输入一个*可以,但是输入第二个*的时候就立
刻忙音了。我的dialplan是:
(*[56]00S0 |*xxx[x*]. |x |*xx |**x.|1[2-9]xx[2-9]xxxxxxS0 |011xx.)
我的line1连接到voxalot,voxalot的speed dial要求**开头。无绳电话是uniden的。
可能会是什么问题啊?
z********0
发帖数: 1835
30
SPA1001 在LINE1 里设置whistle
LINE2 设置NONOH(假设你要打中国,如果不用,空置LINE2)
FOR LINE1:
proxy : proxy.whistlephone.com
username: 你的whistle帐户名(你用他的 SOFTPHONE 的LOG IN 用户名)
password: 你的 whistle PASSWORD
dispaly name / auth ID 留空.
就这么简单.
ATA 的目的就是代替你电脑的SOFTPHONE.
z********0
发帖数: 1835
31
SPA1001 在LINE1 里设置whistle
LINE2 设置NONOH(假设你要打中国,如果不用,空置LINE2)
FOR LINE1:
proxy : proxy.whistlephone.com
username: 你的whistle帐户名(你用他的 SOFTPHONE 的LOG IN 用户名)
password: 你的 whistle PASSWORD
dispaly name / auth ID 留空.
就这么简单.
ATA 的目的就是代替你电脑的SOFTPHONE.
z********0
发帖数: 1835
32
发信人: lldyh (咦哈), 信区: PDA
标 题: Re: 原创GV+SIPGATE+SIPSORCERY+ATA安装免费VOIP傻瓜版
发信站: BBS 未名空间站 (Thu Sep 9 15:49:27 2010, 美东)
PAP2T:支持独立的2条线路(VSP, VoIP Service Provider)打进打出,有2个话机口。
SPA1001:上面需要2个电话机实用很不方便,把PAP2T的2个话机口合并成1个,就成了
SPA1001。现有的PAP2T一般都能刷成SPA1001.
RTP300: PAP2T + 带4个LAN口的router
SPA2102:PAP2T + 带1个LAN口的router
RT31P2 :PAP2T + 带3个LAN口的router
上面3个这样说不太准确,主要是强调都带2个话机口,既然2个话机口属于被淘汰的类
型,自然就有必要更新为1个话机口的新型号SPA3102
SPA3000:内部跟SPA1001的(Line1/Line2)不同,是Line1/PSTN Line。所谓PSTN
Line就是现在传统的固话线路。如果你不想取消现有电
l***h
发帖数: 9308
33
不排除小部分人有特别需要2个电话机,需要用Line1就用电话机A,需要用Line2就用电
话机B.
但大部分情况下,还是愿意用1部话机,特别是用无绳话机。这样,楼上楼下,各个房
间分别放上个无绳话机,有电话就近使用,Line1/Line2用任何一个无绳话机就解决了
。否则,无论接打电话,要到固定电话机处,再挑话机A还是话机B
h*******a
发帖数: 3279
34
来自主题: _voip版 - asterisk+GV一问
恩 是asterisk+ata+normal phone ata里有line1和2
主要是通过对比line1和line2证明了硬件没问题
谢谢~
d***a
发帖数: 6113
35
我用spa1001ATA盒子打免费的网络电话差不多两年了,一直很顺利。前日spa1001突然
出现杂音,电话几乎听不清。这是我在中国花了100元人民币买的。看来山寨版中国造
迟早要出问题。这个盒子好歹坚持了近两年,已经够本了。不过电话出了问题得赶紧想
办法。听说Obi100口碑不错。就赶紧在网上买了一个。这盒子有两种,Obi110和Obi100
的区别是前者可以连接一个普通电话。我家的普通电话早就取消了,于是就买了Obi100
,Amazon上只要44美元。
接到快递送货后,我先尝试了Obi100的基本功能,连接Googlevoice打免费电话。这个
步骤很容易,按照Obihai.com上的指示,5分钟电话接通,打进打出都没问题。比起以
前装spa1001时,折腾了两三天时间才最后搞定,Obi100是太easy了。Obi100的原理说
穿了并不复杂。它利用GoogleVoice可以把电话转接到GoogleChat的功能,在盒子里模
仿GoogleChat到GoogleVoice上注册,让GoogleVoice 把来电转接到Obi100上。所以它
不需要DID号来转接,不像其他ATA盒子... 阅读全帖
c****s
发帖数: 5892
36
多伦多怡陶碧谷区Islington Avenue夹湖滨西路今天凌晨1时发生3车连环相撞交通意外﹐酿成1男1女受伤﹐而该路段一直封路至今晨。
多市警方现时怀疑其中1车司机突然病发惹祸﹐该车过线撞中泊在路边的两辆汽车。该车1名女乘客也受轻伤。
上述病发男司机已被送往中区圣米高医院急救。
该意外也令由Humber Loop至Browns Line1段路的街车停驶﹐转用巴士接载乘客。
据680News消息,湖滨今晨严重交通意外,Lake Shore Boulevard West在Islington Avenue路段已双向重开。
d******a
发帖数: 32122
37

我估计是按照这个粗细程度,还是不够细,很多都给归并了。
Btw,你祖先可能是苗瑶
O3 (M122) Typical of populations of East Asia, Southeast Asia, and
culturally Austronesian regions of Oceania, with a moderate distribution in
Central Asia
O3*
O3a (M324)
O3a*
O3a1 (M121, DYS257)
O3a2 (M164)
O3a3 (LINE1, M159) Found at low to moderate frequency throughout
East Asia and Southeast Asia, especially among Hmong-Mien peoples and Han
Chinese
O3a4 (M7) Typical of Hmong-Mien peoples
O3a... 阅读全帖
c****6
发帖数: 1550
38
来自主题: TheStrait版 - 台湾有很多日裔后代吗?(zt)
http://www3.interscience.wiley.c ... 117956695/HTMLSTART
根據上面這篇Nonaka論文圖表Table4, 大概整理一下台灣漢人的Y單倍群:
C1 - 0.3%
C3* - 6%
D2b* - 0.3%
N/O - 1.1%
O1* - 22.4%
O2a* - 6.3%
O2b* - 1.1%
O2b1 - 1.1%
O3* - 1.5%
O3c* - 1.9%
O3/-002611* - 8.5%
O3/-LINE1 del - 11.7%
O3/-021354* - 5.6%
O3e* - 7.1%
O3e1* - 21.9%
Q1 - 1.1%
Not determined - 2.2%
P.S. 這篇論文的Y單倍群命名法是舊的
例如: O3c*=現在的O3a3a-M159*
O3/-002611=現在的O3a4-002611
O3/-021354=現在的O3a3-021354
O3e=O3a3c-M134, O3e1=O3a3c1-M117
这是我转的坛子里natsuya网友的帖子。O2bO2b1C1D2加起来将近3%,
N****g
发帖数: 5172
39
来自主题: ebiz版 - [合集] 我也搭车问个地址
☆─────────────────────────────────────☆
gate (给特) 于 (Sun May 3 21:11:40 2009) 提到:
137 BROADWAY STREET
P.O. BOX 592
BAILEYVILLE, ME 04694
这种是usps的po box吗
☆─────────────────────────────────────☆
unknowns (我怎么有这么多不知道的东西) 于 (Sun May 3 21:12:33 2009) 提到:
ignoring the 2nd line is fine
expensive use line 1+ line3
tiny item, use line1 or line 2 + line3

137 BROADWAY STREET
P.O. BOX 592
BAILEYVILLE, ME 04694
这种是usps的po box吗
☆─────────────────────────────────────☆
Winglet (小翅) 于 (Sun May
x*******7
发帖数: 334
40
来自主题: ebiz版 - onsale的tp单子
我记得ONSALE让我们把地址都填在LINE1的估计他打印不出LINE2吧
c*******y
发帖数: 1038
41
from ebizship:
Score : 0
ResidentialStatus : INSUFFICIENT_DATA
DeliveryPointValidation : UNCONFIRMED
Changes 1: INSUFFICIENT_DATA
Changes 2: POSTAL_CODE_NOT_FOUND
Validated address has been changed to the following:
Company:
Address Line1:201 S PROPST ST
Address Line2:
City:PRESIDIO
State:TX
ZIP:79845
Country:US
Residential:No
Please recommend another USPS address checker to double check address.
Thanks.
d**e
发帖数: 6098
42
来自主题: JobHunting版 - 求关于数据库设计的资料
我没有资料,但猜大概跟数据结构上课的例子或者做个project的差不多
可能都是 department, employee, project, address, salary,如何设计各个entity
的关系,如何做normalization。或者是类似一样的。
我找intern时面试过,一位老印出了道
一个数据文件,普通text file,知道各个field的顺序,比如是
salesman name, salesman id, item, amount, address line1, line2, city, state,
zip
各个表如何建立,foreign key如何连之类
又问了做一个查询和update的SQL如何写。
s********l
发帖数: 998
43
来自主题: JobHunting版 - 请教个 interview question
我觉得是line1 吧~~
p*****a
发帖数: 147
44
这个Amazon round1 的 题3, 正解到底是什么?
A or B?
A. LZ提到的当offset也放不完时,就放range,这个是什么意思?my guess: e.g. 放
line1, line1000, line 2000...的offset,当要一个random line时,就取相应range
的放到memory去,再找到这个line?
B. 另外有个reply说reservoir sampling, 似乎也对。

有些
n********y
发帖数: 66
45
来自主题: JobHunting版 - 问个题目,好像以前有人问过~~~
how about these 2 lines ?
line1: x = 2.5
line2: y = 2.5
1 2 3 末页 (共3页)