由买买提看人间百态

topics

全部话题 - 话题: fetches
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
d********o
发帖数: 1436
1
我家也是好多个,玩着玩着就都不知道哪里去了。。不过这只粉红球是停停姐姐玩了不
要的,沫沫很珍惜,一直最喜欢这只。。
y*****x
发帖数: 3291
2
一直都是对我老婆好!! 也不想想丫衣食住行吃喝拉撒全是我在忙乎,。。。
d********o
发帖数: 1436
3
听说动物都会把你这样任劳任怨的当作它的奴仆,把家里另一位奉做老大。。。
e*********e
发帖数: 2013
4
快一岁的high energy猫一只,孤儿野猫收编。比较爱玩,但因为野外生活的时候真正
抓过小动物,只肯玩模仿捕猎的互动游戏,一般的猫玩具也不喜欢。现在还在玩的游戏
一个是fetch,一个是da bird,da bird还不能随便晃晃,必须模仿老鼠甩到家具底下
再鬼头鬼脑地抽出来,或者模仿小鸟到处飞落,难度低了不去玩。fetch也是,以前随
便扔扔就行,现在必须扔出花样来,猫还找个掩护,装模作样地扑一下,把玩具抓回来
。家里有各种球球,cat dancer,挂着摇来摇去的东西,玩具老鼠,电动老鼠,都玩两
天就冷宫处理了。
现在我和猫爹已经黔驴技穷了。两个人轮流陪玩da bird一天也就40分钟左右,加上处
理猫沙(猫主洁癖,猫沙必须每天早上便便以前清干净尿团团,换新猫盆,用过的猫盆
得洗得香喷喷的放一边晾干,不然不肯便便)10分钟,在一边蹲着等猫主便便,及时铲
走便便,擦干净pg5分钟。然后是要求抱抱,抱抱期间不能做别的,猫奴必须躺下当猫
床,脸给主子当枕头,脸啊脖子啊让猫主小手各种摸,闹铃响以后起床前和半夜起夜回
来强制抱抱不算,醒着的时候每天3、4次,每次5-10分钟。现在我平均伺... 阅读全帖
l*****o
发帖数: 26631
5
来自主题: pets版 - 忙碌的破狗
白天我不在家的时候艾迪只能去deck和厕所, 不然的话她会在院子里挖坑, 现在还百
分百会逃跑, 汗。。。
大狗突然起动或者急刹都实在是太伤草地了, 以前我也尝试和艾迪在草地上玩fetch,
每次一跑, 就几乎飞起块草皮, 晕死人 。 等到雨后土地潮湿的时候更加要命,
直接把那条路线踩成泥地。
所以我直接放弃了, 草地就只种了中间一块。 艾迪经常跑的地方, 比如栅栏边上,
还有专门用来玩fetch的地方, 就是留的泥土, 那种地方种草也种不活的。
现在中间的草地就是给艾迪打滚用, 外加训练的时候用, 和平时时不时跑过, 这点
traffic还是能handle的。
肥料反正一年四次, 就按常规的洒就差不多了。
l*****o
发帖数: 26631
6
来自主题: pets版 - 忙碌的破狗
BTW, 满院子乱跑和玩fectch还是有很大区别的, pu这种体重和奔跑方式, 在一条直
线上来回几次,草就很够呛了。
如果院子够大的话倒是可以每次在不同的地方玩fetch, 每周轮换一次的话, 估计草
能有足够的时间休息。
院子不够大的话我建议还是专门留出地方玩fetch... 可以像柴鱼那样上假草
x*****b
发帖数: 271
7
来自主题: pets版 - 小猫为什么一直蹭我还叫?
How old is your kitty? If s/he is still young (<5 months), it is likely that
s/he wants to play, because s/he is at this very high energy stage of life.
Kitties are not like dogs, which means you usually can't 'train' them to do
stuff. Either they like to play with certain toys, or they don't. You just
can't force them to like/dislike. My American Shorthairs don't like the
fetching game, while my other two cats (Himanlayan and Ragdoll) LOVES to
chase a golf/paper/whatever ball I throw around. So... 阅读全帖
t*****u
发帖数: 8966
8
现在我家这个神经病,躲都躲不掉啊 :"(
半夜还要玩fetch啊,不玩就掏被窝啊
大半夜我老人家常备turbo cat吵醒啊
起夜都得迷迷糊糊玩几次fetch啊有木有!
n*******1
发帖数: 569
9
这个公园在马路旁边,没fence,不过走进去一点,有几块草地特别大,也很深,我们
就跑到中间一点off leash,让他fetch了几次,又立马拴上了。
团团才出门一周,各种好奇兴奋跟人跑,肯定是不敢off leash啊,不过当时草地超级
空旷又没啥人,而且他fetch的话肯定能回来,所以我们就尝试了一下,还好,这家伙
没乱跑。
不是说dog park里面都有fence吗?你可以带他去玩哦~~
f*******a
发帖数: 174
10
我们家Maple在外面很喜欢到处闻。最讨厌的结果就是没法在草地上Fetch了。上了草地
就开始鼻子贴地,好不容易激发起人家对球的兴趣,也是有去无回,人家在低头准备咬
球的瞬间又发现还是闻草地更好玩!!
Maple在家里还有parking lot都能玩fetch。谈不上热爱,但是也算跑的挺开心。我们
总想着让她在草地上跑,那样不是对hip压力小嘛,但是天天去每天都失败真是郁闷啊
,这个月人家就没有在草地上给我捡回过一次球。。。
来问问大家有啥办法不?
n*******1
发帖数: 569
11
是啊是啊,团团一出去就到处闻,在部分地方还闻得超级仔细,除了不让他乱吃东西,
一般要闻就让他闻了。
fetch别着急,慢慢来嘛。这周末让他俩一起fetch,说不定团团会带着美女姐姐一起追
球呢~~
f*******a
发帖数: 174
12
我们家Maple在外面很喜欢到处闻。最讨厌的结果就是没法在草地上Fetch了。上了草地
就开始鼻子贴地,好不容易激发起人家对球的兴趣,也是有去无回,人家在低头准备咬
球的瞬间又发现还是闻草地更好玩!!
Maple在家里还有parking lot都能玩fetch。谈不上热爱,但是也算跑的挺开心。我们
总想着让她在草地上跑,那样不是对hip压力小嘛,但是天天去每天都失败真是郁闷啊
,这个月人家就没有在草地上给我捡回过一次球。。。
来问问大家有啥办法不?
n*******1
发帖数: 569
13
是啊是啊,团团一出去就到处闻,在部分地方还闻得超级仔细,除了不让他乱吃东西,
一般要闻就让他闻了。
fetch别着急,慢慢来嘛。这周末让他俩一起fetch,说不定团团会带着美女姐姐一起追
球呢~~
w********6
发帖数: 1853
14
叉的啊。 家里这个是狗吗? 下午在外面草地上让她自己疯跑玩fetch, 结果丫的,
fetch没玩几下就开始 啃草皮, 啃的很欢实, 一块草皮都被啃秃了。 还吃松球。 气
死我了。
k*******e
发帖数: 11147
15
来自主题: pets版 - go to口令真是太好用啦!
其实是和玩fetch差不多的,二货喜欢fetch么?
k*******e
发帖数: 11147
16
来自主题: pets版 - 金毛多大能带他跑步?
是一直在水里还是时不时会上岸歇歇?
我试过PU在水中玩fetch,不上岸的话只能连续差不多半个钟,然后就撑不住要往下沉
了。还是后爹赶紧将他捞起来,不过一捞起来又生龙活虎继续fetch-。-
m*o
发帖数: 309
17
来自主题: pets版 - 重新拜山头
刚在院里跟我玩fetch呢,叼个树枝就跑,我很欢乐的追他屁股后绕树n圈,现在头还晕
呢。
感情我fetch他呢
s**y
发帖数: 358
18
来自主题: pets版 - 小狼十周大了(多图)
把小狼从breeder那接回家两周了,这两周里我24小时全天候在家当奶爸(来过我家看
小狼的朋友都说我是虎爸,嘿嘿...),中途还过敏了几天,可真是把我折腾的不行,
不过付出的辛苦是值得的,现在potty training,crate training已经完成,基本的口
令也都会了:name,no,good,recall(come),focus, sit,down,up,leave it,
drop it,stay,release(OK)还有leash training的口令go和stop. 另外food
manner已经很可靠了,每次吃饭前先等我“吃“完,坐下然后看着我,等我release口
令才能开吃。游戏的话除了tug现在只会fetch,其中fetch还不是很可靠,它肚子饿注
意力集中的时候100%成功,不饿的时候要加上come才会回来。
话不多说,上图:
c**i
发帖数: 6973
19
BBC Chinese, Nov. 12, 2010.
http://www.bbc.co.uk/zhongwen/simp/uk/2010/11/101112_chinauk_vase_auction.shtml
My comment:
(a) The report refers to it as 乾隆粉彩镂空瓷瓶. News reports in English
just say a "vase."
(b) The report does not mention the auctioner. It is Bainbridges
Auctionee4rs, Valuers & House Clearance.
http://www.bainbridgesauctions.co.uk/about.php
(formed 30 years ago as a partnership between Peter Bainbridge and his wife,
Jane)
(i) This explains why an "s" is added to the last name.
(ii)... 阅读全帖
c****t
发帖数: 19049
20
来自主题: SciFiction版 - 云图 英文版
LETTERS FROM ZEDELGHEM
CHATEAU ZEDELGHEM,
NEERBEKE,
WEST VLAANDEREN
29TH-VI-1993
Sixsmith,
Dreamt I stood in a china shop so crowded from floor to far-off ceiling with
shelves of
porcelain antiquities etc. that moving a muscle would cause several to fall
and smash to bits.
Exactly what happened, but instead of a crashing noise, an august chord rang
out, half-cello,
half-celeste, D major (?), held for four beats. My wrist knocked a Ming vase
affair off its
pedestal—E-flat, whole string section, g... 阅读全帖
i***1
发帖数: 2534
21
来自主题: Apple版 - iPhone电量下降很快
settings --> notification ==>off
settings --> mail-->fetch new data --> push ==>off
fetch ==>maually
w********2
发帖数: 16371
22
来自主题: Apple版 - Larry Through the Google Glass
from barrons:
Google last week proposed a new way of looking at things, a special kind of
glasses, called "Project Glass," that it says will project Internet search
results right on your eyeballs. It was a hilarious proposal given that
Google's stock is what investors need a new way of seeing.
Google (ticker: GOOG) shares are down 2% this year at last Thursday's close
of $632.32, trailing the 18% surge in the Nasdaq Composite Index. The stock
has merely kept pace with the index the past 12 month... 阅读全帖
s********s
发帖数: 4011
23
原来和你一样,网上搜了一下改了这个现在电话中量使用可以用两天
Settings ---> Mail, Contacts, Calendars --->Fetch New Data ---> Advanced
Now click on your email account (anything in that folder other than yahoo,
gmail or aol),
Change the setting from Push to Fetch
s*****c
发帖数: 36
24
来自主题: Database版 - how to write this query, need help !!
In DB2, you can specify to retrieve the only top n rows
using
"Optimizer for n rows" or "fetch first on rows only" or
both.
As for your example, you can write such a sql:
select name, age
from person
order by age asc
fetch first 5 rows only
or
select name, age
from person
order by age asc
optimizer for 5 rows
g*****y
发帖数: 26
25
来自主题: Database版 - ORA0-01422
打开游标时报错,oerr 显示
01422, 00000, "exact fetch returns more than requested number of rows"
// *Cause: The number specified in exact fetch is less than the rows returned.
// *Action: Rewrite the query or change number of rows requested
但这个查询以前是能通过的。而且,数据量也不大。 <10000
求救。
S*******s
发帖数: 13043
26
来自主题: Database版 - can I create a recordset with cursor?
what I want to is like this:
declare @acc int,@id int,@count int
decalre my_cursor cursor for
select id, count from sometable
set @acc=0
open my_cursor
fetch next from my_cursor
into @id,@count
while @@fetch_status=0
begin
@acc=@acc+@count
-- i want to insert a new raw to the recordest returned, but how?
insert_to_recorset @id,@acc
fetch next from my_cursor
into @id,@count
end
close my_cursor
deallocate my_cursor
c***n
发帖数: 921
27
** in db2 **
I have table B; now I want to create a new table A, which contains the first
500 rows from B.
I have created the structure of A, which is successfully executed.
Now I want to populate table A.
If I run:
insert into A (select * from B)
It populates A with all the rows from B;
If I run:
insert into A (
select * from B
fetch first 500 rows only)
It generates error "keyword fetch is not expected here"
How can I just get the first 500 rows from B?
n********6
发帖数: 1511
28
/**************************
** MS SQL, USE CURSOR
** ADDDATE function need to be tested.
** Logic is not complete.
***************************/
DECLARE REC_cursor CURSOR STATIC FOR
SELECT id, newid, date, ...
FROM TABLE
OPEN REC_cursor
FETCH REC_cursor INTO @id, @newid, @date, ...
WHILE (@@FETCH_STATUS = 0)
BEGIN
IF DATEADD(month, 1, @date) < '7/31/2007'
INSERT INTO TABLE
VALUES (@id, @newid, DATEADD(month, 1, @date), ...)
FETCH NEXT FROM REC_cursor INTO @id, @newid, @date,
n********6
发帖数: 1511
29
来自主题: Database版 - SQL query 一问
Would you explain a little bit how to use temp table and not use cursor in
this case?
Can you provide any comments if I do in this way? (MSSQL)
IF OBJECT_ID('TEMPDB..TEMPTABLE') > 0
DROP ##TEMPTABLE
CREATE ##TEMPTABLE
CREATE INDEX ... (IF NECESSARY, NONCLUSTERED PREFERRED IN GENERAL)
DECLARE CURSOR
OPEN CURSOR
FETCH CURSOR INTO @COLUMN_1, @COLUMN_2, @COLUMN_3
WHILE (@@FETCH_STATUS = 0)
SELECT FUNC(COLUMN_1, COLUMN_2), COLUMN_3
INTO (COLUMN_A, COLUMN_B)
FROM ORIGINAL_TABLE
FETCH NEXT FROM CURSOR
p*****s
发帖数: 1780
30
我想把一些变量追加到文本文件,但不知道怎么写,特来请教。
DECLARE @name VARCHAR(50)
DECLARE db_cursor CURSOR FOR
SELECT name
FROM [master].[sys].[databases]
WHERE name NOT IN ('tempdb')
OPEN db_cursor
FETCH NEXT FROM db_cursor INTO @name
WHILE @@FETCH_STATUS = 0
BEGIN
-- 这里就想把变量@name的值输出到 c:\1.txt
-- 类似于dos命令 echo @name >> c:\1.txt
-- 请问sql命令该怎么写?
-- 谢谢
FETCH NEXT FROM db_cursor INTO @name
END
CLOSE db_cursor
DEALLOCATE db_cursor
w*r
发帖数: 2421
31
来自主题: Database版 - 问问题的同学看过来。
1 Million single col integer takes no memory, fetch is IO, cost of IO is
high,
design parallel agent and dynamically fetch range of records from multiple
server to reduce impact of network io on a single app server.
of course, if the DB is host on single server, no point to do that.
v*****r
发帖数: 1119
32
来自主题: Database版 - 怎么去除duplicates
作为 tom 的 fan, 最喜欢他解释问题时的言简意赅,但发现 tom 偶尔也会迷惑人。他
这个帖子开始解释的很好,rowid 会变,什么情况下会变,然后给出一个例子:
“It is perfectly safe to use the rowid in ALL CASES however, assuming you
combine it with
the primary key as well:
update t
set...
where rowid = :x and primary_key = :pk;

看到这就忍不住笑了,rowid = :x, 既然您老人家刚解释了rowid会变,为什么又给出
这么一个 bad example. This update query is assuming the rowid value is
stored somewhere before being passed to update statement, to protect the
update transaction you will have to lock the rows wh... 阅读全帖
y****9
发帖数: 144
33
来自主题: Database版 - SQL Server - delcare variable dynamically

Thank you for your input, but it seems not what I want. basically I am doing:
fetch next from mycur
into @variable1,@variable2 ...
However I need to build the variable list dynamically.
The whole procedure looks like this:
1. pass a query text to a procedure (like: select * from sys.objects)
2. In this procedure I open a cursor for the query
3. I need to process this cursor row by row
4. for each row, i want to refer to each column to do sth on the column.
You can see the column names will be ... 阅读全帖
H******6
发帖数: 51
34
MS SQL, use cursor to do this. It works.
Use Test2
go
Declare WebAd_cursor cursor
STATic
For
Select Website,StartDate,EndDate,totalAmount,DaylyAmount
from WebAds1
declare @Website varchar(50),
@StartDate date,
@EndDate date,
@totalAmount float,
@DailyAmount float

Open WebAd_cursor
IF @@CURSOR_ROWS>0
Begin
Fetch next from WebAd_cursor into
@Website ,
@StartDate ,
@EndDate ,
@totalAmount ,
@DailyAmount
while @@FETC... 阅读全帖
y********o
发帖数: 61
35
来自主题: Database版 - 请帮忙读懂这个sql script
请问这个procedure干什么用的?sql 蝌蚪,读不懂啊~~求高人指点
USE [CFH_ODS]
GO
/****** Object: StoredProcedure [dbo].[DQ_VALIDATE] Script Date: 07/13/
2015 15:08:33 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[DQ_VALIDATE](@tableID bigint = null, @fldID bigint =
null)
AS
BEGIN
SET NOCOUNT ON
declare @VAL_ID bigint;
--
INSERT INTO DQ_VAL(VAL_START_DT) values(GETDATE());
SELECT @VAL_ID = @@IDENTITY;
DECLARE c CURSOR LOCAL STATIC READ_ONLY FORWARD_ONLY
... 阅读全帖
x****e
发帖数: 1773
36
来自主题: Database版 - 请帮忙读懂这个sql script
USE [CFH_ODS]
GO
/****** Object: StoredProcedure [dbo].[DQ_VALIDATE] Script Date: 07/13/
2015 15:08:33 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[DQ_VALIDATE](@tableID bigint = null, @fldID bigint =
null) -- This proc takes @tablID and @fldID arguments.
-- No idea what this proc does without knowing about the procs it calls, and
all the tables that are involved in the whole process.
AS
BEGIN
SET NOCOUNT ON
declare @VAL_ID bigint; -- Declare an ... 阅读全帖
t*******e
发帖数: 684
37
来自主题: Java版 - Hibernate question
What OP described is also known as n+1 select problem. The solution is to
run eager fetching. From "extra lazy" to eager, there are 7 levels a
developer can choose from. An appropriate fetching level will lead you to
optimized query performance. Besides, another great feature of Hibernate is
auto dirty checking that prevents unnecessary update operations.
t*******e
发帖数: 684
38
来自主题: Java版 - Hibernate question
inner join, outer join是一对
eager fetch, lazy fetch是一对,
可以组合成 eager inner, eager outer, lazy inner, lazy outer.
r*****s
发帖数: 985
39
来自主题: Java版 - Design question --- hibernate
Maybe I don't fully get your question:
* where you need A only use MyDAOForA.getA()
* where you need A and B use MyDAOForA.getAandB()
or something like MyDAOForA.getA(Boolean doIneedB).
doesn't it solve your problem?
Do NOT put B in A as "Eager" in entity def;
instead set the fetch mode as EAGER in getAandB() if necessary,
or call .fetch(B) in your DAO impl.

with
T****i
发帖数: 191
40

试了,得到无数W:信息,如
W: Failed to fetch ftp://mirror.lzu.edu.cn/ubuntu-cn/dists/feisty/universe/
binary-amd64/Packages.gz Unable to fetch file, server said '/ubuntu-cn/
dists/feisty/universe/binary-amd64/Packages.gz: No such file or directory '
W: Some index files failed to download, they have been ignored, or old ones
used instead.
W: You may want to run apt-get update to correct these problems
然后该不行的还是不行。。。
m******t
发帖数: 2416
41
来自主题: Linux版 - GIT 问题

fetch won't do merge. What it does is simply fetching remote changes.
That's exactly why I suggested it instead of pulling directly, because it
then gives you a change to examine the remote changes before merging
them into your local branches, using diff or show-branch.
w***g
发帖数: 5958
42
来自主题: Programming版 - Looking for code example to get stock data
#!/bin/bash
#
# I use this to get stock data from Yahoo.
# opentick is a good choice if you want more than this.
#
if [ -z "$1" ]
then
printf "Fetch historical data from yahoo.com.\n"
printf "Usage:\n\t%s [output]\n\n" $0
exit
fi
wget --quiet -O $2 "http://ichart.finance.yahoo.com/table.csv?s=$1&g=d"
n=`head -1 $2 | grep "Date,Open,High,Low,Close,Volume,Adj Close" | wc -l`
if [ $n -ne 1 ]
then
rm $2
printf "Error fetching the symbol \"$1\".\n"
b******n
发帖数: 592
43
来自主题: Programming版 - 请教一个初级问题
Python is good. HTML fetching is a pain because they don't normally follow
the rule. Tags can be missing in many cases. But if you want to fetch from
quality website, beautifulsoup is great. I developped the same program for
my previous company. It works great.
Another thing is try to limit your access to the website. Too many threads
may get your ip banned.
b******n
发帖数: 592
44
来自主题: Programming版 - 请教html中的href
if you want to fetch data from the web, look into webkit, it is quite easy
to use it to fetch dynamic pages..I used it in a small project, it has
python binding as well...
d***q
发帖数: 1119
45
来自主题: Programming版 - 大喊一声, 有人会AUTOHOTKEY吗?

if you want to do automation, I recommend 按键精灵
http://www.anjian.com/
it is more convenient.
when use autohot key or autoit
usually you need two steps
1 fetching the handle of the app current window
2: send some msgs to it in order to simulate a person using this app.
however, not all apps can fetch handles directly.
a********l
发帖数: 980
46
存在,如果新建free style project, 不specify JDK, 用 gradle的话可以fetch,但
specify JDK后就不能fetch了
z*******3
发帖数: 13709
47
我们说一个最简单的solution
你先fetch A node的data
然后存在memory里面
然后fetch B node的data
然后再在内存中做join
而不是通过sql engine来做
所以很早以前就说过要将大量使用sql的sp干掉
通过java来做,而不是通过scripts来做
这种方式发展下去,最后persistence就弱化成了一个简单crud操作的这么一个东西
其实就是弱化成了file system
这就是facebook最早用mysql的办法
而这个更进一步,就是一般nosql的雏形
然后如何保证一致性,如何replica做fault tolerance etc.
这就是分布式一天到晚琢磨的东西
等这些解决得差不多了,再考虑如何用script engine来简化操作
但是目前看,还早
n*********u
发帖数: 1030
48
来自主题: Programming版 - unordered_map到底有多快
vector allocate a static piece of memory, and fetching everything inside is
directly fetching the memory.
but if your maped key can be very random, and very large, it will take a
huge piece of memory to do it, and most of it would be empty. you're wasting
memory in this case.
but if you know the keys are in controllable size, i.e. if you know all the
keys are in between 1-100.
then just use vector (remember to reserve, vector expanding is costly).
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)