由买买提看人间百态

topics

全部话题 - 话题: insertion
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
w****x
发帖数: 2483
1
来自主题: JobHunting版 - 问一个facebook的电面
string digitMul(string str, int nDigit)
{
assert(nDigit >= 0 && nDigit <= 9);
int nCarrier = 0;
string strRes;
for (int i = str.size()-1; i >= 0; i--)
{
int nTmpDigit = str[i] - '0';
int nRes = nTmpDigit * nDigit;
nRes += nCarrier;
strRes.insert(strRes.begin(), ('0' + nRes%10));
nCarrier = nRes/10;
}
if (nCarrier > 0)
strRes.insert(strRes.begin(), ('0' + nCarrier));
return strRes;
}
string StrAdd(string str1, string ... 阅读全帖
l***m
发帖数: 339
2
来自主题: JobHunting版 - G/F面经
Step 1: Sort the endpoints of the segments by their x-coordinates。 Recall
sorting can be done in O(nlogn)
Step 2: for i = 1…2n If point Pi is a left endpoint of segment Sa, insert
Sa into a BST using the ycoordinate
of Pi as the key
During inserts: update the key of each node visited. New key is y-value of
point where corresponding segment intersects with red line.
􀂾After insert of segment sa, find its neighbors, S(predecessor) and
S(successor), and test if Sa intersects with either one... 阅读全帖
w****x
发帖数: 2483
3
做了一个QuadTree
struct PT
{
int x;
int y;
};
struct REC
{
POINT topLft;
POINT bottomRgt;
REC(int a, int b, int c, int d)
{
topLft.x = a;
topLft.y = b;
bottomRgt.x = c;
bottomRgt.y = d;
}
bool inRect(PT pt)
{
return pt.x >= topLft.x && pt.x <= bottomRgt.x
&& pt.y >= topLft.y && pt.y <= bottomRgt.y;
}
bool intersect(REC rect)
{
return min(bottomRgt.x, rect.bottomRgt.x) >= max(topLft.x, rect.
to... 阅读全帖
l*******b
发帖数: 2586
4
来自主题: JobHunting版 - 拓扑排序
记得前几天有大侠贴过一个的,找不到了
被面到了,讲完思路画了下流程,code写了一半时间到了,一直很糊涂该怎么写图的数
据结构。补一个code吧
#include
#include
#include
#include
using namespace std;
typedef unordered_map > Graph;
vector topologicalSort(Graph &gr) { // destructive
vector sorted;
queue degree_zero;
while(!gr.empty()) {
for(Graph::iterator i = gr.begin(), j = i; i != gr.end(); i = j) {
j++;
if(i->second.empty()) {
... 阅读全帖
s******n
发帖数: 226
5
来自主题: JobHunting版 - 一道rf的面试题
Complete code:
import java.util.*;
import java.lang.Math.*;
// Customized Tree for sorting ending times and count how many ending times
are earlier than inserted one to compute the racer's score.
// Insertion is O(nlgn)
class node{
int val;
int below;
node left;
node right;
node(int val){this.val = val; left = right = null; below = 0;}
}
class Tree{
node root;
Tree(){root = null;}
int insert(int val){
node N = root;
if(N == null){
root ... 阅读全帖
j********8
发帖数: 10
6
来自主题: JobHunting版 - find kth element in n*n sorted matrix
//Best first search, time complexity O(klog(n)). The size of heap is at most
2*n. Every time an element is popped from the heap or inserted to the heap,
O(log(n)). We need to do the pop and insert operations k times. So the time
complexity is O(klog(n)).
//Space complexity O(n), because there are at most 2*n nodes in the priority
queue.
struct node
{
int index;
int val;
node(int index_, int val_): index(index_), val(val_){}
bool operator > (const node& other) const
{
... 阅读全帖
j********8
发帖数: 10
7
来自主题: JobHunting版 - find kth element in n*n sorted matrix
//Best first search, time complexity O(klog(n)). The size of heap is at most
2*n. Every time an element is popped from the heap or inserted to the heap,
O(log(n)). We need to do the pop and insert operations k times. So the time
complexity is O(klog(n)).
//Space complexity O(n), because there are at most 2*n nodes in the priority
queue.
struct node
{
int index;
int val;
node(int index_, int val_): index(index_), val(val_){}
bool operator > (const node& other) const
{
... 阅读全帖
l******9
发帖数: 579
8
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
l*******0
发帖数: 95
9
来自主题: JobHunting版 - 问一道G家热题
其实这就是一个简单的二叉树插入问题
class TreeNode {
int val;
int offset;
int smaller;
TreeNode left, right;
int leftSize;
TreeNode(int offset, int val) {this.offset = offset; this.val = val; }
}
public class CountingTree {
private TreeNode root;

TreeNode[] buffer;
public CountingTree(int size) {
buffer = new TreeNode[size];
}

public void insert(int offset, int val) {
TreeNode node = new TreeNode(offset, val);

if(root == null)... 阅读全帖
o*q
发帖数: 630
10
来自主题: JobHunting版 - 请教leetcode高频题是哪些题
# Title Editorial Acceptance Difficulty Frequency
1
Two Sum 28.3% Easy
292
Nim Game 54.4% Easy
344
Reverse String 57.3% Easy
136
Single Number 52.2% Easy
2
Add Two Numbers 25.6% Medium
371
Sum of Two Integers 51.6% Easy
4
Median of Two Sorted Arrays
20.4% Hard
6
ZigZag Conversion 25.6% Easy
13
Roman to Integer 42.7% Easy
237
... 阅读全帖
h***a
发帖数: 312
11
来自主题: NextGeneration版 - GMO
Do you know that a lot of GMO is present in baby food?
http://www.aaemonline.org/gmopost.html
https://www.youtube.com/watch?v=eeW5yUSqdhY
American academy of enviromental medicine
Genetically Modified Foods
According to the World Health Organization, Genetically Modified Organisms(
GMOs) are "organisms in which the genetic material (DNA) has been altered in
such a way that does not occur naturally."1 This technology is also
referred to as "genetic engineering", "biotechnology" or "recombinant D... 阅读全帖
h***a
发帖数: 312
12
来自主题: Parenting版 - Do you choose GMO?
http://www.aaemonline.org/gmopost.html
American academy of enviromental medicine
Genetically Modified Foods
According to the World Health Organization, Genetically Modified Organisms(
GMOs) are "organisms in which the genetic material (DNA) has been altered in
such a way that does not occur naturally."1 This technology is also
referred to as "genetic engineering", "biotechnology" or "recombinant DNA
technology" and consists of randomly inserting genetic fragments of DNA from
one organism to ano... 阅读全帖
m*********n
发帖数: 11525
13
来自主题: PennySaver版 - 下周RA我想买的dd
1.Ester-c BOGO,ester-c to go$5.99,gummy$6.49
可用胖子:
3月vvq有2off
4月vvq有1off
inserts(报纸)的3off mfq,4/20ex
2.L'oreal youth code,bog50%,15反5upr,limit 1
可用胖子:
3月vvq有5off
3off mfq(官网有ip)
欧莱雅ms全线都是15反5,包括染发剂,不过我只打算买youth code。
3.little fever,4.99反3upr,scr#28可以拿1刀,scr limit 2
可用胖子:
inserts(报纸)的1off
4.filler,血糖仪不要税的地区更好
ACCU-CHEK Aviva 血糖仪,
3月vvq有10off。
报纸也有10off mfq,但是这个胖子很奇怪,没有可扫的条码:)
以下不是我想买的,供想买的tx参考
5.Osteo-Bi-Flex BOGO,30-50ct小瓶原价19.99,powder原价15.99
3月vvq有1off
inserts的6off,4/22ex
4/18rp有新的6off,5/29ex(... 阅读全帖
s******2
发帖数: 5274
14
来自主题: PennySaver版 - 瓦咔咔,得来全不费功夫
发信人: shopper2 (带着胖子流浪的小车 ⊙胖⊙), 信区: LanZhu
标 题: 咔咔,得来全不费功夫
发信站: BBS 未名空间站 (Mon Jun 27 22:23:54 2011, 美东)
很早以前,只有TX,FL等地方有免费的西语报纸,里面有免费的coupon insert
后来越来越多的州都有免费的insert了,很多都是直接作为广告送到家里信箱里的
虽然有的时候比不上买的报纸,但毕竟是免费阿
据俺所知,现在又这种免费coupon insert的州包括TX, FL, NY,GA,CA, TN,DC,
UT, PA,OH等等
当然不是说上述州里每个地方都有,也是有选择的
不知从今年何时,俺发现俺们附近的公寓里也有免费的SS和RP了,不过来的比别的州晚
,都是到了周二才送本周的insert,于是每到周二公寓信箱的垃圾桶里就满是那些
insert,看着可惜,虽说可以直接从里面捡出来,垃圾桶也不脏,可是也还是觉得不好
下手
于是俺拿了一个大纸盒,放在垃圾桶旁边,贴上一个纸张,如果你不需要这些coupon,
请放在盒子里给别人,结果过了几天去看,满满一盒的coupon阿
... 阅读全帖
h***g
发帖数: 5
15
Letter drafted by my Lawyer sent to my university.
To Whom It May Concern:
My name is [insert name] and I serve as [insert title; for example,
Graduate Coordinator or Registrar] at the University of xxx. As [insert
title], I have full knowledge of the University’s curricula and
requirements for conferring degrees. I have reviewed Mr. xxx’s academic
transcript and based on my knowledge, I confirm that he completed all
requirements toward his Doctorate Degree on: [insert date], although ... 阅读全帖
f**u
发帖数: 2769
16
摘要:
取消了EB的国别名额限制。FB的名额限制由7%提升为15%。
取消了EB3/5中国名额克扣(CSPA,偿还“六四学卡”的名额)。
这些条款自法案生效后的1年后生效。
7 SEC. 2306. NUMERICAL LIMITATIONS ON INDIVIDUAL FOR-
8 EIGN STATES.
9 (a) NUMERICAL LIMITATION TO ANY SINGLE FOR-
10 EIGN STATE.—Section 202(a)(2) (8 U.S.C. 1152(a)(2)) is
11 amended—
12 (1) in the paragraph heading, by striking
13 ‘‘AND EMPLOYMENT-BASED’’;
14 (2) by striking ‘‘(3), (4), and (5),’’ and insert-
15 ing ‘‘(3) and (4),’’;
16 (3) by striking ‘‘subsections (a) and (b) of sec-
17 tion 203’’ and inse... 阅读全帖
m****n
发帖数: 815
17
来自主题: Golf版 - [ 原创 ] 我的 Titleist 球杆
我一度14根杆来自8个品牌。呵呵。现在好像就3-4个了。
我的第十根推杆今天到,回家去试试,呵呵。
这是我前几天写的“影响手感的因素有质地(金属的绝对感觉比塑料的insert硬),杆
面的厚度,amount of surface that contacts ball at impact (deep mill, grooves
, etc), 杆身的软硬度,grip,是否有sound slot以及球。”
质地绝对是第一因素。Scotty Cameron, Robert Bettinardi再怎么琢磨,milled
putter也不可能感觉有plastic insert的手感软。都是金属的情况下,再看其它。金属
和金属软硬度也不同,copper最软,carbon steel略微比stainless steel软。
我个人不太喜欢plastic insert,太软了。我觉得plastic insert现在走super
forgiveness的路线,其实这并不太适合我练出来次次打甜点。因为plastic insert打
哪感觉都差不多。
m****n
发帖数: 815
18
来自主题: Golf版 - [ 原创 ] 我的 Titleist 球杆
我一度14根杆来自8个品牌。呵呵。现在好像就3-4个了。
我的第十根推杆今天到,回家去试试,呵呵。
这是我前几天写的“影响手感的因素有质地(金属的绝对感觉比塑料的insert硬),杆
面的厚度,amount of surface that contacts ball at impact (deep mill, grooves
, etc), 杆身的软硬度,grip,是否有sound slot以及球。”
质地绝对是第一因素。Scotty Cameron, Robert Bettinardi再怎么琢磨,milled
putter也不可能感觉有plastic insert的手感软。都是金属的情况下,再看其它。金属
和金属软硬度也不同,copper最软,carbon steel略微比stainless steel软。
我个人不太喜欢plastic insert,太软了。我觉得plastic insert现在走super
forgiveness的路线,其实这并不太适合我练出来次次打甜点。因为plastic insert打
哪感觉都差不多。
Q********8
发帖数: 21
19
http://firearmshistory.blogspot.com/2011/08/safety-mechanisms-c
Safety Mechanisms: Carry Conditions
With all the discussion about safety mechanisms in the previous few posts,
it is now time to discuss the subject of carry conditions, i.e. how to carry
a firearm in various conditions of readiness. The various carry conditions
were defined by the legendary Marine Lieutenant Colonel John Dean ("Jeff")
Cooper, who did much to teach the modern techniques of handgun shooting.
Before discussing the var... 阅读全帖
g*2
发帖数: 658
20
这个要慎入。有问题,查个关键词,看看。
SPECIFIC INJURIES
Hip injuries
Overview and approach — Hip injuries are less common in runners than
injuries to the lower extremity and they can be difficult to diagnose.
Nevertheless, during jogging, the hip joint is subjected to loads up to
eight times body weight and both acute and chronic injuries can occur [55].
In runners, the differential diagnosis of hip pain includes gluteus medius
tendinopathy, piriformis syndrome, stress fracture of the femoral neck,
labral tear, a... 阅读全帖
h***a
发帖数: 312
21
来自主题: WaterWorld版 - 大家吃GMO的东西么?
http://www.aaemonline.org/gmopost.html
https://www.youtube.com/watch?v=eeW5yUSqdhY
American academy of enviromental medicine
Genetically Modified Foods
According to the World Health Organization, Genetically Modified Organisms(
GMOs) are "organisms in which the genetic material (DNA) has been altered in
such a way that does not occur naturally."1 This technology is also
referred to as "genetic engineering", "biotechnology" or "recombinant DNA
technology" and consists of randomly inserting geneti... 阅读全帖
B*********e
发帖数: 254
22
来自主题: TrustInJesus版 - Quo Vadis? A Sermon on the Pericope Adulterae
A Sermon on the Pericope Adulterae
Bible Research > Textual Criticism > Story Of The Adulteress > Quo Vadis?
Quo Vadis?
A Sermon on the Pericope Adulterae
by Michael Marlowe, 2004
The Quo Vadis story is one of those Legends of the Saints that are well-know
n to Catholics but practically unknown to Protestants. It is an ancient lege
nd concerning Peter's martyrdom, believed to be from the second century, and
preserved in the collection of legends included in the apocryphal Acts of P
eter. George ... 阅读全帖
h****r
发帖数: 2056
23
来自主题: Database版 - SQL help.
I have some thing confused here,
I created two tables:
create table ford (yr NUMBER, mdl VARCHAR2(15));
create table gm (yr NUMBER, mdl VARCHAR(15));
then insert several values into tables,
insert into gm values( 1999, 'grand am');
insert into gm values( 2000, 'GMC');
insert into ford values (2000, 'mustang');
insert into ford values (1999, 'escort');
then I do:

select * from ford, gm;
the output is correct although duplicated,
then I do:

delete ford;
h****r
发帖数: 2056
24
来自主题: Database版 - some JDBC Oracle related questions
Use Java and JDBC, Oracle 8i, cpu PIII 733, 256MB, by LAN to
server,
server is PII 450, 128MB. Thanks a lot for help. Now I can
get each
second only 30 inserts, boss require at least 100 inserts
per second,
How to know some benchmark for Java and JDBC insert run for
Oracle 8i?
What will be the best insert rates per second(each insert no
more than 512 bytes)?

I already enable connection pooling, everytime during
initing will bring
5 to 20 connections ready to save the operation time.
Another q
s***m
发帖数: 28
25
来自主题: Database版 - Set autocommit off

to
I my case, i need to insert multiple tables. I want to either insert into all
tables or no data is inserted. If i do rollback, it only rolls back the
current insert. Previous insert will not be rolled back. Do i miss something?
Thanks.
n**m
发帖数: 255
26
来自主题: Database版 - 今典问题: 这个Self Query咋写?
DROP TABLE PERSON ;
COMMIT;
CREATE TABLE PERSON (ID INT, PARENT_ID INT);
COMMIT;

INSERT INTO PERSON VALUES(1,1);
INSERT INTO PERSON VALUES(2,1);
INSERT INTO PERSON VALUES(3,2);
INSERT INTO PERSON VALUES(4,3);
INSERT INTO PERSON VALUES(6,5);
m******y
发帖数: 588
27
来自主题: Database版 - Help on Sql server huge table performance
我们有些巨大无比的report table, 每个table有200多个columns, 所有run同样的
report的用户share同一个report table, 用session identifier区分。 有的user不用
filter, 可以generate出来half million records and insert into report table,
有的只有几千几百rows. 因为有很多的insert and update, 所以report table 没有任
何index. 现在问题是:
1 有大的insert 和 update 非常慢。
2 用户之间影响非常大。 如果一个用户report 结果只有几百rows, but another
user has over half million records generated and inserted in the same table,
then 那个用户即使只有几百rows, 做insert, update 也无比的慢。
我现在没法改table structure和logic or hardware, 请
u*********e
发帖数: 9616
28
gejkl,
Thank you very much for helping me answering my question. I was doing
research myself and figuring out the issue. You are right. I rewrite the
query to get rid of cursor and use PATH XML instead.
One interesting thing I observed is that after I updated my sp and run the
report, it gave out an error msg:
"An error occurred during local report processing.Exception has been thrown
by the target of an invocation. String was not recognized as a valid
DateTime.Couldn't store <> in Stmt_Date_Cre... 阅读全帖
u*********e
发帖数: 9616
29
Thanks for the feedback.
I cleaned up the variables and use smalldatetime instead of nvarchar for the
comparison.
ALTER PROCEDURE [dbo].[SP_REPORT_GET_STATUS_DATES]
@Statement_Year SMALLINT,
@Statement_Month TINYINT

AS
BEGIN
declare @Results table (Group_Code nvarchar(10) not null,
Group_Member_Code nvarchar(10) not null,
Stmt_Date_Created nvarchar(10) null,
Stmt_Date_Updated nvarch... 阅读全帖
i*****w
发帖数: 75
30
来自主题: Database版 - 问一个SQL Server的问题
Still the Pivot function.
Declare @tbl Table (CM Varchar(10), CN Varchar(10), CL Varchar(10))
INSERT INTO @tbl(CM, CN, CL)
VALUES('M1','N1','A')
INSERT INTO @tbl(CM, CN, CL)
VALUES('M1','N1','C')
INSERT INTO @tbl(CM, CN, CL)
VALUES('M3', 'N3', 'B')
INSERT INTO @tbl(CM, CN, CL)
VALUES('M3', 'N3', 'D')
INSERT INTO @tbl(CM, CN, CL)
VALUES('M4','N4','A')
Select * FROM @tbl
SELECT CM, CN, A as CA, B as CB, C as CC, D as CD
FROM
(
select CM, CN, CL from @tbl
)p
PIVOT
(MAX(CL) for CL IN (A,... 阅读全帖
S*****0
发帖数: 538
31
来自主题: Database版 - Need help on a strange SQL server problem
Most likely, it is because of the transaction that the bulk insert resides,
is not commited.
http://msdn.microsoft.com/en-us/library/ms141239.aspx
The behavior of the Bulk Insert task, as it relates to transactions, depends
on whether the task joins the package transaction. If the Bulk Insert task
does not join the package transaction, each error-free batch is committed as
a unit before the next batch is tried. If the Bulk Insert task joins the
package transaction, error-free batches remain in t... 阅读全帖
i*****w
发帖数: 75
32
来自主题: Database版 - 问个mssql 问题
The following code is not optimized for performance, I just would like to
show the steps to solve the problem.
HTH
-- Data Preparation for Table A
declare @TblA table(name varchar(20), project varchar(10), score int)
insert into @TblA(name, project, score)
select 'Jack', 'A', 100
union all
select 'Jack', 'B', 50
union all
select 'Jack', 'C', 50
union all
select 'Susan', 'A' , 50
union all
select 'Susan', 'B' , 50
-- ... 阅读全帖
P********R
发帖数: 1691
33
Oracle trigger procedure中生成的数据如何送到stored procedure中?
表orderitems有四列:orderid, detail, partid, qty.
比如在主程序中接收三个变量:
v_Orderid ORDERS.orderid%TYPE := &2;
v_Partid INVENTORY.partid%TYPE := &3;
v_Qty ORDERITEMS.qty%TYPE := &4;
然后用:
AddLineItemSP(v_Orderid, v_Partid, v_Qty);
语句激活stored procedure并将三个值赋给i_Orderid, i_partid, i_Qty:
CREATE OR REPLACE PROCEDURE AddLineItemSP (
i_Orderid IN ORDERITEMS.orderid %TYPE,
i_Partid IN ORDERITEMS.partid %TYPE,
i_Qt... 阅读全帖
c*****d
发帖数: 6045
34
来自主题: Database版 - 服了我们公司的老印DEV
要在stage上run 8个script,前两个是insert,后面的是dbms_job,最后一个是insert
+ package creation
第1遍,前两个script没问题,第三步出错,老印DEV修改dbms_job
第2遍,第三步继续出错,老印DEV私信问我用dbms_job怎么才能5分钟run一次,回复
第3遍,第三步继续出错,打开script一看,直接copy我的email,没加单引号,我晕倒
第4遍,前面都成功运行,第8步warning,说package没定义,script里只有create
package body,没有package specification
第5遍,都通过了,长出一口气,等等,为啥有两个job调的proc一样,老印DEV说copy
名字的时候copy错了
第6遍,删除job,重新run,终于好了。老印DEV看了一下说怎么insert的数据不在呀?
然后发现在A用户里添加B用户表的数据,用的是insert into table而不是insert into
B.table
现在正等着他的rollback script呢
l******9
发帖数: 579
35
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
c*****d
发帖数: 6045
36
to: bihai & rslgreencard
SQL> select * from v$version;
BANNER
------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production
5 rows selected.
SQL> create table coolbid (id number unique);
Table created.
SQL> insert into coolbid values (1);
1 row created.
SQL>... 阅读全帖
c**d
发帖数: 579
37
suppose in your business logic layer you have this code to insert a new
sales order,
ISalesOrderRepository.Insert(order);
and the following code to insert a new shipping order
IShippingOrderRepository.Insert(shippingOrder);
You will need a test to verify whether both code are called exactly once.
Moq is a good .net mocking framework for this purpose.
You will also need integration tests to check whether the orders are
actually inserted into the database.
v***a
发帖数: 1242
38
来自主题: Biology版 - 请教基因克隆以后的测序问题
拿有我insert DNA的plasmid去测序,用的是在vector上的primer(在insert的两边)
来读序列(是测序公司提供的T7和T3 primer),结果insert的头和尾总是有大概15~
20个bp读不出,都是N(我的insert有1.5kb左右),不知道这个问题该怎么解决好?
还有一个问题,发现这个plasmid在insert DNA的大约970bp处有一个碱基突变,由A/T
突变为G/C,就这一个不符,不知道这个是因为什么原因呢?
谢谢高手们回答吖
S***6
发帖数: 431
39
Insert的基因全长4.6kb,载体3kb。
一开始用一种Fast cloning的方法,就是对载体和Insert都PCR,然后两个接头处保留
有16-18bp的overlap,混合后直接转化E.coli,这种方法在我们lab对于3kb一下的
subcloning都非常有效。可惜得到的是部分插入的克隆,只插进去N端的200bp和C端的1
.3kb,分析后怀疑是Insert的序列中包含6bp的重复序列,可能发生了self-
recombination。
现在回到传统的方法,PCR后先连接到T 载体,但是也还是得到部分插入的克隆,这次
插入的序列只有N端的大约1kb左右。
现在这个Insert只是从RT 产物中得到的PCR 片段,所以无法突变修改容易引起自我重
组的序列。
另外一个怀疑的地方是现在的连接酶太高效了,连接只需要5分钟到15分钟,这么高效
的连接是不是也很容易造成DNA片段内部的重组啊?形成一个Loop,然后一大段中间序
列就这样miss了。
大家帮我分析一下这种大片段丢失的现象究竟是Insert中含有容易自我重组的序列,还
是连接酶造成的?还是两个因素可能都发挥了作用?还是... 阅读全帖
t*d
发帖数: 1290
40
来自主题: Biology版 - How about this Erratum @ CELL
b-Catenin-Driven Cancers Require a YAP1 Transcriptional Complex for Survival
and Tumorigenesis
Joseph Rosenbluh, Deepak Nijhawan, Andrew G. Cox, Xingnan Li, James T. Neal,
Eric J. Schafer, Travis I. Zack, Xiaoxing Wang, Aviad Tsherniak, Anna C.
Schinzel, Diane D. Shao, Steven E. Schumacher, Barbara A. Weir, Francisca
Vazquez, Glenn S. Cowley, David E. Root, Jill P. Mesirov, Rameen Beroukhim,
Calvin J. Kuo, Wolfram Goessling, and William C. Hahn
*Correspondence:
w**********[email protected]
Duri... 阅读全帖

发帖数: 1
41
你这个问题描述的非常不清楚。
我猜你的模式生物是Arabidopsis,你的MutantB是T-DNA mutation line。你的
overexpression line也是用的35S-driven T-DNA insertion vector。这些T-DNA
insertion fragment元件都非常相似比如都有35S启动子,都有35S或是NOS terminator
,还有很多坑性元件的启动子和终止子都是相同的。多个T-DNA insertion 在同一个植
株里面会导致植物PTGS,使 T-DNA insertion 上的基因表达沉默。这个在Arabidopsis
里面非常常见。
即便是野生型背景下插入一个T-DNA多次传代后表达量也有变化。很直接的例子是T-DNA
insertion 库的种子多次传代后失去antibiotic抗性。
就算不考虑PTGS的因素,因为T-DNA是随机插入。你也需要有至少两个A 基因
overexpression line说明MutantB对A基因表达的量的影响,因为B基因可能调控A的T-
DNA插入位点的表达水平。
你已经有了WT和Mut... 阅读全帖
q***a
发帖数: 3877
42
又收到一个审稿邀请:
Title: Convective heat transfer enhancement relying on excitation of
transverse secondary swirl flow
International Journal of Thermal Sciences
ABSTRACT:
Convective heat transfer is studied for the purpose of getting the best
heat transfer performance with the least flow resistance increase. The
variation calculus method is employed to establish the optimization
equations of fluid velocity field and temperature field. Numerical solutions
of the equations for a convective heat transfer ... 阅读全帖
l******9
发帖数: 579
43
I am designing a SQL Server 2008 R2 query.
If I used string concatenation to insert into table, it does not work.
DECLARE @s1 varchar(MAX);
DECLARE @s2 varchar(MAX);
DECLARE @s3 varchar(MAX);
DECLARE @s4 varchar(MAX);
SET @s1 = 'SELECT a.id, b.name as new_name, a.value FROM ['
SET @s2 = '].[dbo].[table1] as a, '
SET @s3 = 'a_temp_table as b ' -- a_temp_table is a table variable. No
matter I put "@" or "#" in front of a_temp_table, it doe snot work.
SET @s4 = 'WHERE a.id = b.i... 阅读全帖
h***a
发帖数: 312
44
来自主题: Medicalpractice版 - GMO
http://www.aaemonline.org/gmopost.html
https://www.youtube.com/watch?v=eeW5yUSqdhY
American academy of enviromental medicine
Genetically Modified Foods
According to the World Health Organization, Genetically Modified Organisms(
GMOs) are "organisms in which the genetic material (DNA) has been altered in
such a way that does not occur naturally."1 This technology is also
referred to as "genetic engineering", "biotechnology" or "recombinant DNA
technology" and consists of randomly inserting genet... 阅读全帖
p********3
发帖数: 5750
45
INTRODUCTION — The word "acupuncture" is derived from the Latin words "acus
" (needle) and "punctura" (penetration). Acupuncture originated in China
approximately 2000 years ago and is one of the oldest medical procedures in
the world.
Over its long history and dissemination, acupuncture has diversified and
encompasses a large array of styles and techniques. Common styles include
Traditional Chinese, Japanese, Korean, Vietnamese, and French acupuncture,
as well as specialized forms such as hand,... 阅读全帖
D**s
发帖数: 6361
46
2016-8-20
路透社是英国人的通讯社……
http://www.reuters.com/article/us-usa-audit-army-idUSKCN10U1IG
The United States Army’s finances are so jumbled it had to make trillions
of dollars of improper accounting adjustments to create an illusion that its
books are balanced.
审计发现美军的账目非常混乱。为了符合开支账目甚至不惜修改了账目表,总数高达数
万亿。
The Defense Department’s Inspector General, in a June report, said the Army
made $2.8 trillion in wrongful adjustments to accounting entries in one
quarter alone in 2015, and $6.5 trillion for the ye... 阅读全帖
J**S
发帖数: 25790
47
其实反驳印度的论文我提供一个重点:
就是那四个INSERT和HIV同源,也就是印度论文里说是HIV的MOTIF,那么如果是要改造
病毒,让病毒更厉害,根据印度的论文,加入这4个HIV的片段来增加病毒与受体结合。
如果从信息学分析,说明,1)那四个序列不是MOTIF, 在HIV根本不保守。 2)这四
个序列对HIV增加病毒与受体结合根本没有依据, 这四个序列对HIV的毒性根本不重要。
如果上面两点成立,中国实验室就没必要把那四个片段插到武汉病毒里面。 从而证明
武汉病毒不是人造的。
我对比了HIV的INSERT 4,也就是不同HIV 的GAG蛋白根本就不保守,因此证明INSERT 4
根本不是MOTIF, 对HIV的功能不重要。 也很难说,这个INSERT 4对病毒与受体结合有
多大作用。
m*****e
发帖数: 10963
48
你根本不会吵架/Argue。
你这个逻辑大有问题。你这是把辩方往沟里带。
这是典型的老实人自证清白,百口难辩,越描越黑的套路。
1,病毒所可能压根没研究过HIV那些个片段,根本没有相关的认知。
2,病毒所为什么要去研究那么清楚恰恰是这几个HIV片段?
理工科搞科研做技术的,一旦遇到事就显得愚不可及,就是这么个例子。


: 其实反驳印度的论文我提供一个重点:

: 就是那四个INSERT和HIV同源,也就是印度论文里说是HIV的MOTIF,那么
如果是
要改造

: 病毒,让病毒更厉害,根据印度的论文,加入这4个HIV的片段来增加病毒
与受体
结合。

: 如果从信息学分析,说明,1)那四个序列不是MOTIF, 在HIV根本不保
守。 2
)这四

: 个序列对HIV增加病毒与受体结合根本没有依据, 这四个序列对HIV的毒
性根本
不重要。

: 如果上面两点成立,中国实验室就没必要把那四个片段插到武汉病毒里面
。 从
而证明

: 武汉病毒不是人造的。

: 我对比了HIV的INSERT 4,也就是不同HIV 的GAG蛋白根本就不保守... 阅读全帖
D**s
发帖数: 6361
49
【 以下文字转载自 Military 讨论区 】
发信人: Daos (刀丝斋), 信区: Military
标 题: 路透社:审计发现美国国防部伪造了数万亿美元的账目
发信站: BBS 未名空间站 (Sat Aug 20 05:49:51 2016, 美东)
2016-8-20
http://www.reuters.com/article/us-usa-audit-army-idUSKCN10U1IG
The United States Army’s finances are so jumbled it had to make trillions
of dollars of improper accounting adjustments to create an illusion that its
books are balanced.
审计发现美军的账目非常混乱。为了符合开支账目甚至不惜修改了账目表,总数高达数
万亿。
The Defense Department’s Inspector General, in a June report, said the Army
made... 阅读全帖
d****n
发帖数: 12461
50
来自主题: Automobile版 - 后天上庭, 求建议
我把整节给抄给你了
“39:3-33. Markers; requirements concerning; display of fictitious or
wrong numbers, etc.; punishment
39:3-33. The owner of an automobile which is driven on the public
highways of this State shall display not less than 12 inches nor more than
48 inches from the ground in a horizontal position, and in such a way as not
to swing, an identification mark or marks to be furnished by the division;
provided, that if two marks are issued they shall be displayed on the front
and rear o... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)