|
|
E*V 发帖数: 17544 | 3 users means that normal user can mount that disk
uid I thought was for ntfs or vfat
gid too
you can google
I may be wrong |
|
a*******e 发帖数: 3021 | 4 I am pretty sure I used uid/gid for ext3 before.
The thing with option users is,
say i have a dir, /mnt/diskd, owned by user1,
in fstab, /dev/sdc1 /mnt/diskd, users,noauto,
actually all the files/dirs on /dev/sdc1 are owned by user1 too!
after user1 mount it, (i found now /mnt/diskd/ is owned by root~)
user1 can't create/modify/delete anything in root dir /mnt/diskd!
however, user1 can create/modify/delete anything in subdirs in /mnt/diskd!
isn't that weird? |
|
E*V 发帖数: 17544 | 5 no, you can try again, uid, gid is not for ext3 |
|
|
|
|
g******0 发帖数: 1165 | 9 Wall Street Networking
Business - Investing
Description:
Inception: Feb 7th, 2007
Find over 100 links in this group to help you with jobs/internships,
Economics, Bloomberg tutorials, excel spreadsheets, fund manager interviews,
interview questions, learning about the industry (investment banking or
trading? You decide), developing contacts & learning how to make money in
the markets.
_______________
Wall Street Networking Fan Page
http://tinyurl.com/d3kszq
Blackberry Addicts group
http:/... 阅读全帖 |
|
|
m*********k 发帖数: 10521 | 11 众人期待的2012年科幻巨制之一《普罗米修斯》 (Prometheus)终于在6月8日晚火热
上映了。且不讨论本片又和哪部片子撞了档期导致票房令人有点担忧,就仅仅说说网友
们看完后的反应吧——“看不懂”“太烂”“没整明白”一个个诡异的词汇出现在
Movie版,掀起了一波波剧情“为什么会这样”的讨论热潮。
引用网友wawabaobao的原话“可惜了,你们都不是铁杆的fans, 先把alien 1234 都仔
细看明白后再看这个,而且看这种电影不是你们这么看的。就像你点了个牛排, 却想
要青椒土豆丝的味道”,是否有种顿悟的感觉?但即使是看过的alien 1234的网友亦各
有表示,有的表示影片真的很烂,剧情设计有问题;有的表示更多的疑问,抛出一个个
细节问题深入探讨。
看了网友们的影评,一夫表示深深敬佩,影迷的探索精神是无穷的,科幻迷的探索精神
和想象力更是无穷的。下边,一起来回顾一下热帖吧。
首先是网友热赞帖——Prometheus科幻迷必看!
http://www.mitbbs.com/mitbbs_article_t.php?board=Movie&gid=3146
透彻影迷表示商业... 阅读全帖 |
|
m*********k 发帖数: 10521 | 12 =====================================================================
=========================Nature质疑叶诗文事件========================
=============================网友支招抗议============================
http://www.mitbbs.com/mitbbs_article_t.php?board=Biology&gid=31
发信人: zfwang (爱国老将), 信区: Biology
标 题: 对Nature 文章的反驳,作为千老,看不下去了。
发信站: BBS 未名空间站 (Fri Aug 3 10:24:23 2012, 美东)
原文是发在 Olympics 班 对给编辑写信的回复。但现在觉得这还是该生物班的责任。
作为一个科学家,一个中国人,有这么个争议性大的热门课题,放过可惜了。90% 的工
作量是收集数据,但人多力量大,如果后来的收集数据多了,可以裁开发,力度更大。
-----... 阅读全帖 |
|
n****u 发帖数: 229 | 13 Sorry to bother High Hands here.
Two tables, a, b
a has uid(userid), gid(groupid), date, active
b has uid, gid, date(it's different from a.date)
a and b have some common uid and gid.
If I want to combine these two tables:
SELECT a.gid as gid, a.uid as uid
FROM a
UNION
SELECT b.gid as gid, b.uid as uid
FROM b
Right now, I have this table which has all uid and gid (distinct)
Then I want to get a table with columns uid, gid, date(if b has date, use b.
date), active
How can I do?
Thanks |
|
m*********k 发帖数: 10521 | 14 =====================================================================
=========================Nature质疑叶诗文事件========================
=========================Nature致歉及网友反应========================
http://www.mitbbs.com/mitbbs_article_t.php?board=Olympics&gid=3
发信人: aylayl (我脚疼), 信区: Olympics
标 题: 热烈祝贺Nature就叶诗文事件道歉!!
发信站: BBS 未名空间站 (Mon Aug 6 11:51:35 2012, 美东)
这是一个重大的胜利。在我眼里,不亚于一块金牌。
总结:
1)感谢所有在网上留言还击的同胞,特别是那些用英文且能注意技巧的人。感谢饶毅
老师和他所引用的那几位华人的努力。他们的做法是榜样。他们告诉我们,还击不是为
了宣泄,而是为了在道义上打败对方,并争取在舆论上打败对方(... 阅读全帖 |
|
B*****g 发帖数: 34098 | 15 Suppose (uid,gid) is unique on a
Suppose (uid,gid) is unique on b
Suppose you want table c
INSERT INTO c(uid, gid, date, active)
SELECT uid, gid, date, active
FROM a;
MERGE INTO c
USING b
ON (c.uid = b.uid AND c.gid = b.gid)
WHEN MATCHED THEN
UPDATE SET c.date = (CASE WHEN b.date IS NOT NULL THEN b.date
ELSE c.date
END)
WHEN NOT MATCHED THEN
INSERT (c.uid, c.gid, c.date, c.active)
VALUES (b.uid, b.gid, b.date, NULL); |
|
|
|
m*********k 发帖数: 10521 | 18 =====================================================================
=========================Nature质疑叶诗文事件========================
==============================其他声音===============================
http://www.mitbbs.com/mitbbs_article_t.php?board=Biology&gid=31
发信人: lummy (河马•云何), 信区: Biology
标 题: 对 Nature 还是专业些吧
发信站: BBS 未名空间站 (Sat Aug 4 12:53:30 2012, 美东)
版上有些同学呼吁的所谓不引用 Nature 文章的反制手段,太不专业了吧。如果因为科
学以外的事件而在自己的文章中故意 bias 地评价和引用同行的工作,我觉得是有悖学
术道德的。这本身就是对在 Nature 上发文章的同行的不公平。
对 Nature 这次的问... 阅读全帖 |
|
m*********k 发帖数: 10521 | 19 =====================================================================
=========================Nature质疑叶诗文事件========================
=============================Nature事件小结==========================
http://www.mitbbs.com/mitbbs_article_t.php?board=Biology&gid=31
发信人: TTAKS (TTAKS), 信区: Biology
标 题: 这次NATURE事件是一次标志性事件。
发信站: BBS 未名空间站 (Mon Aug 6 13:43:03 2012, 美东)
这次NATURE事件是一次标志性事件。
中国人开始懂得团结,也敢于”惹事“了。
我们不能只看到眼前,还要从长远考虑,想想我们中国人受人欺负的原因。我们GDP够
大了,别人还是不把我们放在眼里,多想想深层的原因,找清楚原因,然后韬光养晦。
我们中华民族总会站起来的。
... 阅读全帖 |
|
|
|
|
|
G****a 发帖数: 10208 | 24 http://agostic.blog.sohu.com/31382032.html
发信人: Anscombe (唐僧·人是人他妈生的妖是妖他妈生的), 信区: Overseas
标 题: 崔屹事件考古总结(1月23日更新)
发信站: BBS 未名空间站 (Mon Jan 22 21:29:48 2007)
避免褒贬色彩地,力图不带偏见地,为减少重复提问地,不加入新信息地——将网上
public的现有的资料和讨论总结一下。在wsn们的及时纠正和补充下,已经将原贴某些
错误的内容更新。
**********男主角:崔屹 **********
真名实姓,目前为中国国籍。1976年1月22日出生于广西来宾,中科大本科9312班(化
学系93级),其间认识其现在的妻。在化学元老郑先生(Zhen Nengwu)推荐下,1998
年本科毕业后赴美,进入哈佛化学系Lieber的组,攻读纳米应用专业博士。崔屹的导师
为著名的查尔斯·理博(Charles M. Lieber)教授。Lieber的组下学生们几乎都有《
自然》《科学》之类的牛文发表,崔屹也不例外,在读期间发表《自然》1 篇,《科学
》4... 阅读全帖 |
|
n********6 发帖数: 1511 | 25 漏看了一句话:
“a and b have some common uid and gid.”
merge确实好啊。等有机会用用看。
既然some common uid and gid,那么用outer join,两次staging。(未经测试)
SELECT a.uid, a.gid, ISNULL(b.date, a.date) as date, /*ISNULL as可能不行,可定义table*/
a.active, b.uid as buid, b.gid as bgid, b.date as bdate
INTO ##c1
FROM a
OUTER JOIN b
ON a.uid = b.uid
SELECT c.uid, c.gid, c.date, c.active
INTO ##c2
FROM ##c1
WHERE c.uid <> c.buid
AND c.uid IS NOT NULL
AND c.buid IS NOT NULL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|