由买买提看人间百态

topics

全部话题 - 话题: attrs
首页 上页 1 2 3 (共3页)
R********y
发帖数: 4018
1
啊呀你老难得上来啊, 我刚才还跑到gmail 也没看到你在。
星星还给我说前几天吃饭碰到你了。
前两天在梅西看到各式各样的cashmere,最便宜的V-neck style 才柳时元。
http://www1.macys.com/search/results.ognc?Action=resultsPerPage&pageid=2&startpos=25&Keyword=charterclub+cashmere&attrs=Department%3ADepartment%3ASweaters&cKey=2&sortOption=*&resultsPerPage=96&COMPARE_ITEMS_GO_BUTTON=COMPARE_ITEMS_GO_BUTTON
我手上还有extra 25% off 的friends and family card, 现在freeshipping if over
$100.
s****r
发帖数: 2386
2
Be gentle, not every one is attrative and cool like u.
j*****h
发帖数: 2577
s****y
发帖数: 983
4
来自主题: BuildingWeb版 - JavaScript 问题 (转载)
数组定义用[]或者new array(), 不用()
用find不用attr
请无视bind,我搞混了
完整代码:
f*******w
发帖数: 407
5
来自主题: BuildingWeb版 - 找人做两个网页,有意者请进
找人做两个网页,有意者请进
本人不是IT,所以希望找人来帮尽快完成。比常见的稍微复杂一点,但应该不会太难。
请站内联系。
Prefer to be done using JavaScript and php.
Page # 1: a dynamic table with functions to add/delete row and column. The
content of the table, cell values, row/column titles, are all retrieved from
database. There is an "add new column"/"add new row" button at the corners
of the table. Clicking the button, the table will add column/row to the
existing table. The content of the cells of the added column/row are to
selected from drop down... 阅读全帖
g****z
发帖数: 1135
6
如果form是ajax submission:
Assume jquery ajax:
1. Return json array/object from server to the browser in the format of [
imgtagid, src, uri]
2. In ajax "success" function, do $('#'+imgtagid).attr(src, uri)
如果form是post submission,那太容易了,直接把这个uri写入template生成的html中。
k***e
发帖数: 12
7
When select from tempTB, you need to use order by attr to gurantee the
returned result is ordered.
i****a
发帖数: 36252
8
来自主题: Database版 - 请问:query about checking consistency
basic idea is to use row_number and self joining tables. if you use CTE,
here is an example
with cte as
(
select ROW_NUMBER() over (order by tb1.colDate) as rn1, *
from tableTest2 tb1
)
select *
from cte
inner join (select ROW_NUMBER() over (order by colDate) as rn2, * from
tableTest2) tb2
on cte.rn1 = tb2.rn2 - 1 and cte.attr <> tb2.prev
if you don't want to use CTE or not on SQL server 2005 or later, then put
result from the 1st query into a temp table
h**o
发帖数: 548
9
来自主题: Database版 - 问 log 分析 的 问题
谢谢大家。
对,瓶颈不在"分析web log."而在“把当天的xml和已有的历史文件(也是xml)
累积(是merge,不是简单的加)生成一个新的历史文件xml”这步。
前一年还好,现在客户多了,访问的量大了。累积量也大了,
历史文件 里 userID, url等 好多。没法parse了。
xml设计不是我做的。但现在要我重新设计。
客户需求类似于OLAP。
举个例子: userID_$attr1_$attr2_$attr3_$attr4:
$attr1 包括 上传|下传
$attr2 包括 各种 各种手机电脑类型 包括 爱风 | 安猪|...
$attr3 包括 用户的 content 类型 包括 图型 | 文本 | 视频 | ...
$attr4 包括 公司的东西。 attr4A | attr4B | attr4C | attr4D | ...
例如 monthly report of userID_下传_爱风_视频_attr4A 目的是求:
每月有多少爱风手机用户下传attr4A的视频。注意每个符合要求的用户string都要存在
这张report里,否则将来merge时没法知道... 阅读全帖
c**t
发帖数: 2744
10
来自主题: DotNet版 - nHibernate mapping question
Can any nHibernate expert let me know what's wrong with the following? I
alwasy got Acccount.ListAttr as null; when do "foreach(var a in Account.
ListAttr)" I got invalid cast error: can't cast ISet to IList..
I have Account.hbm.xml as follows:
...




..
and Account.cs has:
public virtual ISet ListAttr {get; set; }
..
Also have SomeOtherClass.hbm.xml:
...
阅读全帖
t*******r
发帖数: 3271
11
来自主题: EmergingNetworking版 - nnd ATT
沙特电信
Announcement bits (4): 0-KRT 3-KRT 5-Resolve tree 1
6-Resolve tree 2
AS path: 6453 39386 25019 I Unrecognized Attributes: 39
bytes
AS path: Attr flags e0 code 80: 00 00 fd 88 40 01 01 02
40 02 04 02 01 5b a0 c0 11 04 02 01 fc da 80 04 04 00 00 00 01 40 05 04
00 00 00 64
Accepted Multipath
F****n
发帖数: 3271
12
More specifically, you can write a wrapper class for Document that uses a
SoftReference to contains an instance of Document implementation in the XML
API.
public class MyDocument implements Document {
private SoftReference docRef;
// do this for all method implementation
@Override
public Attr createAttribute(String name) {
Document doc = docRef.get();
if (doc == null) abort();
return doc.createAttribute(name);
}
}
g****g
发帖数: 1828
13
来自主题: Linux版 - rsync error
从远程机器往自己笔记本拷东西。最后有个小error。但我查看了一下,貌似大多数文
件都考成功了。error是因为什么呢。
sent 28356 bytes received 10150005 bytes 452371.60 bytes/sec
total size is 36899505 speedup is 3.63
rsync error: some files/attrs were not transferred (see previous errors) (
code 23) at main.c(1526) [generator=3.0.
d****d
发帖数: 2919
14
来自主题: Linux版 - Best Linux 4 Thinkpad
T410, NV的独立显卡。
装了下面这一堆东西,觉得够用了。
pacman -Q -e
acpid 2.0.10-2
acroread 9.4.2-1
alsa-oss 1.0.17-1
alsa-utils 1.0.24.2-1
archlinux-themes-slim 1.2-2
artwiz-fonts 1.3-6
aspell-en 7.1-1
attr 2.4.46-1
autoconf 2.68-1
automake 1.11.1-2
bash 4.2.010-1
binutils 2.21.1-1
bison 2.5-1
bzip2 1.0.6-1
cheese 3.0.1-2
chromium 12.0.742.112-1
coreutils 8.12-3
cryptsetup 1.3.1-2
dash 0.5.6.1-2
dcron 4.5-2
device-mapper 2.02.85-3
dhcpcd 5.2.12-1
diffutils 3.0-2
e2fsprogs 1.41.14-1
emacs 23.3-1
emesene 2.11.5-2
exo 0... 阅读全帖
x**m
发帖数: 941
15
这里没有明说到底存储在什么地方,只是说“Any regular file may have a list of extended attributes.”
不过结合getxattr和attr的说明,我猜应该是在inode里面.
g****a
发帖数: 1304
16
来自主题: Linux版 - lubuntu好像很乱
装了最新的lubuntu。然后手动装samba就出现这个。怎么破?大家都装的是LTS版本?
$ sudo apt install samba samba-common-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages ha... 阅读全帖
c******n
发帖数: 4965
17
for example


afaf asf saf
asdfasdf

I only want to dump out the verbatim string

asaf asf saf
asdfasf
how can I do this? I don't want to loop over all the children of Element
manually, cuz I have to check the type of the Node one by one.
Transformer can dump out the entire Element, but I don't want the root tag
and attr.
Thanks
l**********n
发帖数: 8443
18
来自主题: Programming版 - 怎样设计动态显示
// jQuery for page scrolling feature - requires jQuery Easing plugin
$(function() {
$('a.page-scroll').bind('click', function(event) {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
event.preventDefault();
});
});
See:
http://startbootstrap.com/template-overviews/scrolling-nav/
z*******3
发帖数: 13709
19
builder pattern自从set/get大面积使用之后
就剩下immutable比较合适了,因为set/get可以直接改掉variable
但是immutable attr.不能这么改,而如果这个时候attri.又比较多的话
你用constructor就很恶心了
从这一点出发说,scala这种oop和fp混杂的语言
反而是用builder pattern比较多的语言
因为fp强调immutable,把build方法搞成1st class func
就可以很自然滴使用出builder pattern
R*********4
发帖数: 293
20
来自主题: Programming版 - parsing file in node: js or python ?

page
呵呵, all links
您知道 $("a").attr("href"); 是什么意思吗?
r****e
发帖数: 1
21
“1720-SAMAT Hard Drive detects imminent failure (Failing Attr:02) ”
界面上还有一个提示框: F1 Ignore.
虽然 PRESS F1 可以继续启动机器,但是还是很担心。 请问哪位高手知道这是怎么回事
? 谢谢指教!
r*****s
发帖数: 985
22
【 以下文字转载自 Linux 讨论区 】
【 原文由 redbuds 所发表 】
Hi, I have a question concerning OpenLDAP which is along with the RH7.2.
I have installed OpenLDAP when I installed the RH7.2. I have set up
the slapd.conf under /etc/openldap/.
However, everytime I use ldapmodify/ldapadd command, it comes out the
error msg:
ldap_sasl_interactive_bind_s: No such attribute.
I'm new in LDAP. I've read OpenLDAP Administrator's Guide, but couldn't
find the solution. Any highhand knows how to solve this problem?
Thanks!
r*****s
发帖数: 985
23
来自主题: Unix版 - from ftp, how to change permission
if you use ncftp, you can change the attr directly with
the command chmod.
z**k
发帖数: 378
24
well, let me make it concrete. (and u r right, the date attr is redundent, it's just part of the dataset)
I took record of stock price every trading day, for each tuple in the db, I
have 3 attributes:
date, previous_day_close_price, close_price
and I want to check if the system is consistent, if I see something like:
... ...
2010-07-14, 5.17, 5.21
2010-07-15, 5.21, *5.14
2010-07-16, *5.10, 5.06
... ...
(* - inconsist prices)
I know something's wrong here, since 2010-07-15's previous close pr
S******y
发帖数: 1123
25
最近在研究R - biglm.
R document 里说 - "biglm creates a linear model object that uses only p^2
memory for p variables. It can be updated with more data using update. This
allows linear regression on data sets larger than memory."
读了下面的 source code, 还是没搞懂update具体是怎么实现的。。。
> biglm::biglm
function (formula, data, weights = NULL, sandwich = FALSE)
{
tt <- terms(formula)
if (!is.null(weights)) {
if (!inherits(weights, "formula"))
stop("`weights' must be a formula")
w <- ... 阅读全帖
y****d
发帖数: 432
26
来自主题: Statistics版 - 【分享】SAS2010全球论坛文章合集
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
前面说明:
需要的童鞋请到我的签名档的博客查找!谢谢!发E-mail太累了!
觉得有价值的话可以顶一下,以便更多的人看到!谢谢!
★★★★★★★★★★★★★★★★★★★★★★★★★★★★★
SAS2010全球论坛文章
1-10
Getting Connected to Your Data with SAS/CONNECT®
A Robust and Flexible Approach to Automating SAS® Jobs Under UNIX
Using SAS® Output Delivery System (ODS) Markup to Generate Custom
PivotTable and PivotChart Reports
Creating Easily Reusable and Extensible Processes: Code That Thinks for
Itself
ODS HTML Evolution, HTML that scrolls, panels, ... 阅读全帖
p***r
发帖数: 920
27
purpose: 想要做一个macro 循环调用 display, 输出不同的 survey answer as text,
然 后再根据其内容,人工的输入yes/no,以便于以后的数据分析。
problem: 整个 macro 可以运行,唯一的问题是,display 的 window 在循环调用的时
候不能正确的显示 survey answer. (我是将所有的 survey answer 输出到一连串
macro variable 里面去)。
Any solution or suggestion in proving the code is appreciated
code is here
################################
data surveydata;
input x $40.;
cards;
This is programe is useless
I dont think so
Maybe its usefull
Not very much
;run;
%macro survey;
data _null_;
set surveydat... 阅读全帖
c*****a
发帖数: 808
28
是不是这类,以前我老师布置过,用R写查垃圾email的program。用很多regular
expression。。。。挺痛苦的一份作业
subjectPunctuationCheck1 = function(x,n){
count = logical()
for(i in 1:n){
sb=x[[i]]$header["Subject"]
att = gregexpr("Re: .*([[:alpha:]|[:punct:]])[:alpha:]", sb, ignore.case
=TRUE)[[1]]
size = sum(attr(att, "match.length"))
if (is.na(size)== TRUE) count[i] = FALSE
else {if (size<0) count[i] = FALSE else count[i] = TRUE}
}#forloop
return(count)
}##subject punct check
D******n
发帖数: 2836
29
来自主题: Statistics版 - Size of R object for models is so big
我也這樣想的。經過逐個篩選, 貌似對於rpart的可以這樣
attr(rpart_object$terms,'.Environment')<-NULL
f*******n
发帖数: 2665
30
来自主题: Statistics版 - 问一个关于R 的问题
多谢!!!下面是我写的function, output 是一个list,包含两项,一个是AUC,另
一个是pred, 是prediction()的结果。 function和output 都没有问题。可是我需要
用plot(performance(pred,...)),而pred是list,类型不符,这个问题如何解决?请
赐教!
modelscore<- function(model) {
pr <- predict(rpart, newdata=newdata[ , c(input, target)])[,2]
# ignore missing target values.
no.miss <- na.omit(newdata[ , c(input, target)]$goodbad)
miss.list <- attr(no.miss, "na.action")
attributes(no.miss) <- NULL
if (length(miss.list)) {
pred <- prediction(pr[-miss.list], no.miss)
} else ... 阅读全帖
f*******n
发帖数: 2665
31
来自主题: Statistics版 - 问一个关于R 的问题
我刚开始学R,知道的class也就有dataframe, list之类的,下面的pred(pred <-
prediction())是什么class类型?
> class(pred)
[1] "prediction"
attr(,"package")
[1] "ROCR"
f*******n
发帖数: 2665
32
来自主题: Statistics版 - 问一个关于R 的问题
这是程序和错误信息,多谢!
> modelscore<- function(model, newdata) {
+ pr <- predict(rpart, newdata=newdata[ , c(input, target)])[,2]
+ # ignore missing target values.
+ no.miss <- na.omit(newdata[ , c(input, target)]$goodbad)
+ miss.list <- attr(no.miss, "na.action")
+ attributes(no.miss) <- NULL
+ if (length(miss.list)) {
+ pred <- prediction(pr[-miss.list], no.miss)
+ } else {
+ pred <- prediction(pr, no.miss)
+ }
+
+ auc<-performance(pred,'auc')@y.values[[1]]
+
+ newlist<-list(pred,auc)
+ return (newlist... 阅读全帖
h*h
发帖数: 18873
33
先放这些,慢慢添,改。
所有活物,可以从这开始:
http://www.discoverlife.org/nh/
鸟:
http://identify.whatbird.com/mwg/_/0/attrs.aspx
http://www.allaboutbirds.org/guide/search.aspx
http://www.surfbirds.com/birdingmail/
找鸟(红砖提供):
http://ebird.org/content/ebird/
关于手喂鸟(速冻饺子提供):
http://www.birdwatching.com/stories/handfeeding.html
红砖:Cornell Lab of Ornithology just released a new and free app for iPhone
and iPad: Merlin Bird ID
It helps you to identify a bird by using eBird's database on bird sightings,
plus your input on l... 阅读全帖
q********n
发帖数: 308
34
来自主题: DataSciences版 - 用python抓网页数据
def get_price():
response = requests.get(index_url);
soup = bs4.BeautifulSoup(response.text);
price = soup.find_all(attrs={"class":"priceGross"});
return price
得到:
500 EUR
]
如何能得到只有 500 或者500 EUR?
d**x
发帖数: 1934
35
来自主题: _Auto_Fans版 - 2010 Z4
very attrative..
w*******y
发帖数: 60932
36
This set was $60 on hsn, now market down to $18. I got them this week and
they are gorgeous to look at, weighty, balanced, and the brushes are great
too. These are taklon brushes...non animal hair. This is great for the
many who are allergic to animal hair, or who want to choose a kind route.
The box and the roll make them very giftable. I am keeping these, however!
Btw, these are much more expensive on amazon or the ABT site.
Link:
http://beauty.hsn.com/abt-chrome-collection-4-brush-and-bru... 阅读全帖
w*******y
发帖数: 60932
37
Huggable Hangers at HSN.com 1/2 off. These are usually about $1.00 a piece,
so this is the cheapest I have seen them. 100 hangers for $50.00. Plus,
if you've shopped with HSN in the past, you may have an additional e-coupon
in your inbox to get them for even less. I had a one-time code that gave me
an additional 15% off (so 100 hangers for $42.50 + FS). No tax for TX and
most other states!
Link:
http://www.hsn.com/joy-mangano/joy-mangano-huggable-hangers-100-pack_m-10054569_xp.aspx?webp_id=... 阅读全帖
j****m
发帖数: 3137
38
来自主题: _PerfectMoms版 - 从现在开始要参考老美胖子穿衣了
This one? And check their slinky and caroline these 2 brands for knit fabric
tops and pants
I like to get very inexpensive staff from them, wear one season is enough.
Their size run big (xs is good for me most of time), and return is hazard
free
http://fashion.hsn.com/abby-z-charmeuse-tie-front-top_p-5801421_xp.aspx?webm_id=0&web_id=5801421&sf=fa&attr=4525&ocm=CL|FA|4525&prev=hp!4525&ccm=CL|FA|4525
首页 上页 1 2 3 (共3页)