s********e 发帖数: 11693 | 1 我找人帮我建了个基于Magento的网站,我自己学着做些维护和简单的修改。
最近我想加一类产品,这类产品在前台显示的Attributes与以往的产品不同。举个例子
:我现有产品是衣服,产品attribute set是default,在产品前台显示的是尺寸,颜色
,男女式等属性;现在我想加入计算机产品,前台不再显示衣服的属性,而另外加入
CPU型号,内存大小,显示器尺寸等属性。
我新建了CPU型号,内存大小,显示器尺寸等新Attributes,把它们加入到新的
attribute set “Computer”,并在该set里去掉衣服的Attributes。在新加计算机产
品时就选择这个新“Computer”set。后台显示正常,我可以看到计算机的属性而没有
衣服的属性。但问题是前台还是显示衣服的属性。后来我找到view.phtml文件,在里面
添加类似下面的语句就可以在前台显示新属性了,但是问题是衣服也显示出计算机的属
性。请问我怎么才能在前台根据不同类别的产品显示不同的Attribute?
Size:
|
... 阅读全帖 |
|
n********n 发帖数: 8336 | 2 上帝的属性(The Attributes of God)
(资料取自殷保罗著的《慕迪神学手册》)
定义
我们可对神的属性作以下的定义:「神的属性就是一些与神的概念不能分割,
及神本性中的各样特质。这些特性构成了神向其受造之物各种显现方式的基础和特质。
」神的属性必须与神的作为加以区分。神的属性不会为神「增加」什么;神的属性只表
明了神的本性(nature)。路易士(Gordon Lewis)以下的定义颇为全面:
神是一位眼不能见、有位格的及活的灵。神与任何其他灵体,在以下儿种属
性上是有所区别的:从形而上学说,神是自存(self-existent)、永恒和不变的;从智
慧上说,神是全知、信实及智慧的;从道德上说,神是公平的、有怜悯的有恩赐的;从
感情上说,神恨恶罪恶,容忍痛苦及富有怜悯;从存在上说,神是自由的、可靠的和全
能的;从关系上说,神的存在是超越的(transcendent),神对宇宙 性的照顾工作是内
蕴的(immanent),并且神对他子民的救赎工作也 是内蕴的。
神的属性,通常可以分为以下两个范畴。对分的称号法,就要看... 阅读全帖 |
|
e***g 发帖数: 158 | 3 ThreadStatic should be a runtime thing (well it could be done by
compiler but its semantics is runtime)
it's very wrong to use Attribute for it though. variable access is
core semantics, the behavior shouldn't be modified by an attribute.
and u think there are only a limimted set of such Attributes?
MS must have tons of them internally. i heard some. |
|
a*****l 发帖数: 5 | 4 Thank u all guy!:)
ThreadStatic should be a runtime thing (well it could be done by
compiler but its semantics is runtime)
it's very wrong to use Attribute for it though. variable access is
core semantics, the behavior shouldn't be modified by an attribute.
and u think there are only a limimted set of such Attributes?
MS must have tons of them internally. i heard some. |
|
r***e 发帖数: 38 | 5 【 以下文字转载自 DotNet 讨论区,原文如下 】
发信人: roche (Sleepy), 信区: DotNet
标 题: Mutually exclusive attributes
发信站: Unknown Space - 未名空间 (Sat Jan 17 23:40:14 2004) WWW-POST
XML版太冷清了,还是在这儿问.
怎么实现Mutually exclusive attributes?
对于elements,可以用
How about attribute? |
|
w*****s 发帖数: 122 | 6 What is the standard attribute xml:lang for?
Every XML element can have an attribute called xml:lang. It lets you set the language you are using. You can use this to
help searching and typesetting. Put this attribute on the top-level element in your Chinese XML document. The values you
can use for Chinese include:
xml:lang="zh" for any Chinese text;
xml:lang="zh-TW" for Chinese text from Taiwan (i.e., traditional characters);
xml:lang="zh-HK" for Chinese text from Hong Kong (i.e. pro |
|
r******s 发帖数: 2155 | 7 Any one individual's behavior could be attributed to his/her personal
characteristics or attributes of the groups one belongs to. Is any of you
aware of this line of research? My specific question would be under what
condition people make group-based attributions. I guess research on stereotype
should be relevant. Please comment, thx. |
|
a****a 发帖数: 27 | 8 Sorry. I haven't been here for long.
I read about reference group theory in a textbook for multicultural education.
The book is "Making Choices for Multicultural Education: Five approaches to
race, class and gender" by Christine Sleeter and Carl Grant. The authors do
not talk much on this theory. But what they do mention there makes a lot of
sense, at least to me.
BTW: I had thought you meant something related to motivation by attribution.
In the attribution theory, people tend to attribute thei |
|
i********g 发帖数: 41 | 9 自己找到一个办法,with cube 加上 having [attribute name] is not null
不过不知道系统内部是怎么处理这个语句的,如果是先算出整个cube,然后remove 不
合要求的,overhead 应该就很大。如果动态计算的时候直接skip掉,应该会好一些。
还是希望能找一个合适的语句,可以直接cube on specified attribute. 希望有知道
的给点建议。 |
|
C****n 发帖数: 2324 | 10 You can think about Attribute this way:
Category 1:
1. They are the same as
static const.
2. They have to be accessed in a different way. (GetCustomAttributes)
3. They are not as effecient as static const variables, but they are less
resource demanding. Since usually they are not loaded into memory until you
use them especially.
============================================
Category 2:
Magic pre-built-in Attributes:
These stuff are bullshit, it's just a replacement of the compiler directive in |
|
k******r 发帖数: 2300 | 11 One use of attributes is you may enumerate all the attributes of the .net type
which you are mostly concerned about, then you may get some info of the type.
For example, the predefined DecriptionAttribute may give you an idea what the
type do.
part |
|
r***e 发帖数: 38 | 12 XML版太冷清了,还是在这儿问.
怎么实现Mutually exclusive attributes?
对于elements,可以用
How about attribute? |
|
d***x 发帖数: 4 | 13 下载了个pci驱动,编译出错
/src/master.c:62: error: section attribute not allowed for specific_pci_
probe
/src/master.c:62: warning: __cold__ attribute ignored
下面是出错的代码, __devinit 是 include/kernel/init.h里定义的
/* Static function prototypes */
static int m_pci_probe_valid (struct pci_dev *dev,
int __devinit (*specific_pci_probe)(struct pci_dev *dev)) __devinit;
去掉__devinit再编译就没问题,只是对linux不是很熟,不知这样去掉对不对? |
|
r****t 发帖数: 10904 | 14 【 以下文字转载自 Database 讨论区 】
发信人: repast (xebec), 信区: Database
标 题: xpath 里面如何找 attribute 最大值呢?
发信站: BBS 未名空间站 (Thu Nov 10 00:35:29 2011, 美东)
尤其是有些 node 想查的 attribute 不存在。想用 preceding-sibling 和 following
sibling 比较比出来的结果没法理解。。。 |
|
o*****l 发帖数: 4 | 15 Schools that received the largest number of perfect scores
on these attributes, which recruiters said are the most
important in their decision to recruit at a particular
school or hire a particular student
Rank School
Communication and Interpersonal Skills
1. Dartmouth College
2. University of Notre Dame
3. Yale University
4. University of Western Ontario
Past Success With Quality of Graduates Hired
1. Dartmouth College
2. Yale University
3. University of Western Ontario
4. Em |
|
Z***e 发帖数: 2983 | 16 www.nba.com
What's your vote?
What do you most attribute to the Rockets' Game 2 loss?
Not calling timeout
Warriors' double-team
Passing to Howard
Not driving to basket |
|
o******y 发帖数: 446 | 17 【 以下文字转载自 Mathematics 讨论区 】
发信人: onlyonly (每天都这样), 信区: Mathematics
标 题: numerical attributes 中的"numerical"是整数还是数?
发信站: BBS 未名空间站 (Thu May 17 14:33:37 2007), 站内
谢谢。 |
|
s******8 发帖数: 2131 | 18 for example, LibSVM calculates the weights of each attribute. How to
intepret those weights? some are positive numbers and some are negative.
Does it mean 'correlation" to the class label? like positively correlated
and negatively correlated?
thx. |
|
i********g 发帖数: 41 | 19 with cube返回的result太多了,用with rollup 能不能指定某几个attribute呢?
Thx! |
|
r****t 发帖数: 10904 | 20 尤其是有些 node 想查的 attribute 不存在。想用 preceding-sibling 和 following
sibling 比较比出来的结果没法理解。。。 |
|
a*****l 发帖数: 5 | 21 看了inside C#,
还是不明白attribute是拿来干吗的。
是一个自包含的,可以描述自己的说明嘛。
谢谢! |
|
e***g 发帖数: 158 | 22 you don't feel need it, until you do reflective programming,
make some magic framework, or design some language tools.
newbies can just use provided predefined attributes as if
they were part of language core. |
|
k****i 发帖数: 1072 | 23 and also there are bunch of pre-defined attributes there to help compilation
control,com interop control,etc. |
|
L*******r 发帖数: 1011 | 24 There is a saying. MS's product is usable only after version 3. :) Just
kidding.
I think MS guys are busy integrating new features to .Net. Sometimes they are
not fast enough.
If more programmers ask them to add the same feature to "attribute" as they
did to "element". |
|
w**********k 发帖数: 1135 | 25 A container supports the following values for the transaction attribute of an
Enterprise JavaBean.
TX_NOT_SUPPORTED
The bean runs outside the context of a transaction. Existing
transactions are suspended for the duration of method calls.
TX_BEAN_MANAGED
The bean demarks its own transactions boundaries through the JTA
UserTransaction interface.
TX_REQUIRED
Method calls require a transaction context. If one exists, it will be
used; if non |
|
c*********e 发帖数: 16335 | 26 session.setAttribute("myAttrib",xxx)的attribute value是存在server memory里,
还是client side computer memory里? |
|
c*********e 发帖数: 16335 | 27 那就是说在client side只有一个cookie来告诉client side用哪个session attribute?
现在貌似cookie不那么流行了,大家会喜欢用token.这会影响到session.setAttribute
("myAttrib",xxx)的使用吗? |
|
d****i 发帖数: 4809 | 28 对
attribute?
setAttribute |
|
m*****e 发帖数: 4193 | 29 I think it's the "__cold" attribute that causes your problem. Maybe it's
something to do with your gcc/binutils version. |
|
n*w 发帖数: 3393 | 30 第二个例子在asp。net里是用folder里的config文件实现的。我觉得这样好过
attribute/annotation?
个@ |
|
j****e 发帖数: 245 | 31 Sorry. Yes, I did make a mistake. However, we did have some discussion
regarding this issue in a class about stereotype, prejudice and
discrimination. It was over a year later, so I kind of forgot a lot of it
already. (Blush...)
Anyway, it may be related to ingroup-outgroup bias, outgroup homogeneity bias,
and group attribution error. You may find more information from the website
below:
http://sun.science.wayne.edu/~wpoff/cor/grp/prejudic.html
If I come across with the books we used, I will le |
|
r******s 发帖数: 2155 | 32 Thanks for the info. Here is the phenomenon I'm investigating.
I'm looking at how job applicants make attribution about the organization from
observing org members' behavior. It's definitely relevant to stereotyping, yet
different, mostly because applicants may not view org as outgroup at the
first place. Even if they do, a successful recruitment may imply a transfer
from outgrp member to in-grp one.
Any comments?
bias,
we
that
discrimination.
theory. |
|
|
d**********o 发帖数: 1321 | 34 报告:Decision Tree
// CS570 05/08/2013
// me~me~me~~!!! Project 4 Decision Trees
Decision Prediction for Robot Decisions
Abstract
In this project, a decision tree algorithm is developed using the ID3
information gain algorithm, and it was implemented using c++ language. The
algorithm selects decision split attributes based on information gain, and
selects the variable with highest information gain from the available
variable attribute open list. The algorithm wil... 阅读全帖 |
|
d**********o 发帖数: 1321 | 35 报告:Decision Tree
// CS570 05/08/2013
// me~me~me~~!!! Project 4 Decision Trees
Decision Prediction for Robot Decisions
Abstract
In this project, a decision tree algorithm is developed using the ID3
information gain algorithm, and it was implemented using c++ language. The
algorithm selects decision split attributes based on information gain, and
selects the variable with highest information gain from the available
variable attribute open list. The algorithm wil... 阅读全帖 |
|
j****i 发帖数: 742 | 36 I bought WUBA back today and bought it a lot because it is so cheap...
-----------------------------------------
——$58同城(WUBA)$ 总营收为6460万美元,同比增长83.9%,高于6100万至6300万美元
的公司指导性预测。
——毛利率为94.7%,高于去年同期的93.9%。
——Q2销售及市场费用4030万美元,同比增106.6%,其中广告花费高达1650万美元[心
碎了];
——non-GAAP(非美国通用会计准则)净利润为1240万美元,去年同期为550万美元。
——截至6月30日,公司现金、现金等价物、短投共计4.143亿美元;Q2运营现金流为
2220万美元;
——公司预计第三季度总营收6600-6800万美元,增速在59-63%。
Second Quarter 2014 Financial Highlights
Total revenues were US$64.6 million, an 83.9% increase from the same p... 阅读全帖 |
|
f**d 发帖数: 768 | 37 这是一本计算神经科学的优秀著作,全文拷贝这里(图和公式缺),有兴趣的同学可以
阅读
如需要,我可以分享PDF文件(--仅供个人学习,无商业用途)
From Computer to Brain
William W. Lytton
From Computer to Brain
Foundations of Computational Neuroscience
Springer
William W. Lytton, M.D.
Associate Professor, State University of New York, Downstato, Brooklyn, NY
Visiting Associate Professor, University of Wisconsin, Madison
Visiting Associate Professor, Polytechnic University, Brooklyn, NY
Staff Neurologist., Kings County Hospital, Brooklyn, NY
In From Computer to Brain: ... 阅读全帖 |
|
G*******s 发帖数: 4956 | 38 首先给大家看个故事,然后再探讨经文:
林慈信牧师的《基督教教义发展史》中提到这个:
http://blog.sina.com.cn/s/blog_622134fd01013i7l.html
基督论的发展史(1):基督论的争辩
HISTORY OF THE DOCTRINE OF CHRIST (1):
The Christological Controversies
(Louis Berkhof, A History of Christian Doctrines, pp. 101ff.)
基督论与三位一体之问题的关联
Connection of Christological and Trinitarian Problems
基督论的难题可以从一般神学(译注:神论)方面,与拯救论方面来加以
研究。早期教父对基督论拯救方面的关系,虽未曾加以轻忽,但他们在重要的讨论上却
没有重视。在三位一体争论的气氛中,他们从一般神学(译注:神论)方面来研究基督
,乃天经地义的事,而三位一体争论所导致的决定则是,基督为神的儿子,事与父同质
的,因此祂是神。从此而发生的问题,就是基督... 阅读全帖 |
|
t*******r 发帖数: 3271 | 39 //上一次的
Summary:
Per RFC 4271, Junos will tear down a BGP session upon receiving a malformed
UPDATE. The issue is that Junos may recognize optional, transitive
attributes that are not yet recognized by other vendors' routers. In this
case, non-Junos routers which don't recognize the attribute just pass the
UPDATE through with the Partial bit ON. Junos, however, would recognize the
path attribute and perform validation. If the packet has errors, a Junos
router will send a NOTIFICATION (Error code ... 阅读全帖 |
|
e*i 发帖数: 10288 | 40 even under DOS 2.0....
file attributes
archive bit (shows that the file has not been archived yet)
The Archive attribute.
The Archive attribute was first introduced by MS-DOS version 2.0
when the XCOPY utility was also created. Therefore, the Archive
attribute is probably best explained by how XCOPY handles the
Archive attribute. The purpose of the Archive attribute was clearly
to quickly determine whether a file requires a back up (archiving).
The Archive a... 阅读全帖 |
|
G*******s 发帖数: 4956 | 41 再看看早期教父们的正确和错误的观点
林慈信:早期教会信仰真伪辨——上帝,圣父,圣子﹕我们的信仰
http://blog.sina.com.cn/s/blog_622134fd01013i7w.html
早期教会信仰真伪辨 THE FAITH OF THE EARLY CHURCH
上帝,圣父,圣子:我们的信仰
GOD, THE FATHER, AND THE SON: WHAT WE BELIEVE
1.上帝:一位格,三位格
GOD: ONE, PERSON, PERSONAL, THREE PERSONS
只有一位真神。宇宙并没有两位神(创造主 + 至高至善神:诺斯底主义)。
There is only one God. There aren’t two gods (creator-demiurge, plus the h
ighest God: Gnosticism).
上帝是位格。上帝不只是祂的属性的总和。
God is a person. God is not just a bunch of attributes.
上帝是有位格的。祂在永恒里计划要创造人,与人建立(约的)关... 阅读全帖 |
|
f**********g 发帖数: 2252 | 42 Lee Enterprises posts 38% growth in digital ad revenue
4 hours 14 minutes ago - HUG
Thomson Reuters ONEDAVENPORT, Iowa (January18,2011) -- Lee Enterprises,
Incorporated (NYSE: LEE) reported today that for its first fiscal quarter
ended December26,2010, digital advertising sales increased 37.8 percent
compared with a year ago, while the decline in total revenue moderated to 1.
0 percent, as forecast. Cash costs decreased 2.0 percent, more than forecast
, and operating cash flow(1) increased 1.8 p... 阅读全帖 |
|
a*****e 发帖数: 911 | 43 Chapter 6
LIFE: IT'S ALL IN THE INTERPRETATION
DO YOU EXPLANATIONS HELP OR HURT YOU?
LEARNING TO TOLERATE AMBIGUITY
TYPES OF ATTRIBUTIONS
INTERNAL-EXTERNAL ATTRIBUTIONS
STABLE-UNSTABLE ATTRIBUTIONS
GLOBAL-SPECIFIC ATTRIBUTIONS
PREVENTION WHEN POSSIBLE
ATTRIBUTIONAL STYLE AND PRODUCTIVITY
The Case of John: Aiming for the Stars
ATTRIBUTIONAL STYLE AND HEALTH
BREAKING YOUR PATTERNS OF ATTRIBUTION
SUMMARY OF KEY POINTS...
AND W |
|
l******t 发帖数: 490 | 44 解答:Allah為什麼有時候用複數代詞“我們”
The Quran, Allah and Plurality Issues (Sam Shamoun)
The Quran, much like the Holy Bible, uses plural pronouns for God even more
so than what we find in God’s true Word. Here are several examples:
This is part of the tidings of the things unseen, which We reveal unto thee
(O Apostle!) by inspiration: Thou wast not with them when they cast lots
with arrows, as to which of them should be charged with the care of Mary:
Nor wast thou with them when they disputed (the point). S... 阅读全帖 |
|
h****e 发帖数: 204 | 45 比如说我的xml tree是这样的
--Root
|
+----NodeA
|
NodeAA --- Attribute a (value Aa)
| +- Attribute b (value Ab)
| +- Attribute c (value Ac)
NodeAB --- Attribute a (value Ba)
| +- Attribute b (value Bb)
| +- Attribute c (value Bc)
........
XML有什么快速sort或者select Attribute b的办法么? |
|
t******r 发帖数: 28 | 46 1. What is Visual C++?
a.It's a program used for starting other programs.
b.It's a program that you use to create other programs.
c.It's a program for browsing the Web.
d.It's a multimedia program that teaches you how to program.
2.What is the name of the process by which Visual C++ converts your C++
code to a program the computer can understand?
a.Compile.
b.Run.
c.Debug.
d.Build.
3.What do you call the container that stores all the files you write and
all the files Visual C++ writes to create ... 阅读全帖 |
|
v******n 发帖数: 421 | 47 attribute的named argument和普通method不一样
http://msdn.microsoft.com/en-us/library/aa664614(v=vs.71).aspx
Attribute classes can have positional parameters and named parameters. Each
public instance constructor for an attribute class defines a valid sequence
of
positional parameters for that attribute class. Each non-static public
read-write field and property for an attribute class defines a named
parameter
for the attribute class. |
|
t******r 发帖数: 28 | 48 1. What is Visual C++?
a.It's a program used for starting other programs.
b.It's a program that you use to create other programs.
c.It's a program for browsing the Web.
d.It's a multimedia program that teaches you how to program.
2.What is the name of the process by which Visual C++ converts your C++
code to a program the computer can understand?
a.Compile.
b.Run.
c.Debug.
d.Build.
3.What do you call the container that stores all the files you write and
all the files Visual C++ writes to create ... 阅读全帖 |
|
m********4 发帖数: 607 | 49 这样的结果,很好吗?能够接受吗?问题出在哪?
——————————————————————————————————
http://circ.ahajournals.org/content/127/1/e6.full
Below are a few highlights from this year’s Update.
1, The 2013 Update Expands Data Coverage of the Epidemic of Poor
Cardiovascular Health Behaviors and Their Antecedents and Consequences
Adjusted population attributable fractions for cardiovascular disease (CVD)
mortality were as follows1: 40.6% (95% confidence interval [CI], 24.5–54.6)
for high blood pressure; 13.7% (95% CI, 4.8–22.3) fo... 阅读全帖 |
|