由买买提看人间百态

topics

全部话题 - 话题: assertion
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h*l
发帖数: 807
1
来自主题: Military2版 - F-22 Assertions and Facts
read between the lines,you can figure out what it means.
Assertion: F-22 production uses a shim line and national spreading of
suppliers has cut quality, thus the F-22 lacks interchangeable parts.
Fact: The F-22 does not have a shim line. During the earliest stages of
production while tooling was undergoing development, there were a few
aircraft with slight differences which were subsequently modified. The F-22
supplier base is the best in the industry, as demonstrated by the aircraft’
s high qu... 阅读全帖
f****t
发帖数: 1770
2
不少的朋友问关于Assertiveness的培训,这个是公司培训。这也是沟通技巧的一个重
要方面,有很多的书,网上也有资料。
这里我摘抄一些原则给大家怎么develop assertiveness,希望对小孩和大人都有帮助。
Some people are naturally more assertive than others. If your disposition
tends more towards being either passive or aggressive, you need to work on
the following skills to develop your assertiveness.
1。Value yourself and your rights
Understand that your rights, thoughts, feelings, needs and desires are
just as important as everyone else's.
But remember they are not more impor... 阅读全帖
g*********e
发帖数: 14401
3
来自主题: Programming版 - 使用assert应遵循什么原则?
取决与你写哪种程序。桌面程序可以用assert 出错就退出。
如果c的话有种做法是debuf build加assert, release build为了性能考虑关掉assert。
webservice不能跨,你去网络公司面试说用assert检查错误, 直接pass
O*****t
发帖数: 533
4
来自主题: Faculty版 - 随想 - Aggressive vs. Assertive
Academic is a cold and greedy place。 Default collegiality is a white lie.
作为一个新手,在摸索的过程中,有人战战兢兢,小心谨慎,唯senior的脸色是瞻;
有人聪明自负,极度自我,一切都不放在眼里。前两天在首页上看到有人问如何维持工
作热情的帖子,一个Aggressive vs. Assertive 的回帖让我觉得深受启发。总结一下
,学术界形形色色的人格大概有四种:
Submissive:马屁精和应声虫。这是长期被洗脑,完全对自我个体需要无视的一种表现
,认为只有依附他人才有自己的立足之地。
Passive-aggressive: 遇事违心应承,事后憎恨抱怨。这些人一般也有能力,但是没
有冒险精神。也许这只是你人生的一段 Dark age。 假以时日,不破则立。
Assertive:以自我的well-being为中心,同时对他人的需要和发展sensible and
considerate。举个例子,王菲就是 Assertive 一个很好的例子,林志玲也算吧。这种
境界面对挑战质疑和conflicting时会沉... 阅读全帖
c****e
发帖数: 1464
5
【 以下文字转载自 ChinaNews 讨论区 】
发信人: cnmace (bohemia), 信区: ChinaNews
标 题: Taiwan party asserts separate identity
发信站: BBS 未名空间站 (Sun Sep 30 12:46:27 2007)
Taiwan party asserts separate identity
By PETER ENAV, Associated Press Writer 39 minutes ago
TAIPEI, Taiwan - Taiwan's ruling party passed a resolution Sunday asserting
the island's separate identity and calling for a referendum on its
sovereignty, but failed to put any real force behind it, apparently out of
fear of provoking rival China.
The res
q****x
发帖数: 7404
6
来自主题: Programming版 - 使用assert应遵循什么原则?
比如下面这个:
void foo(int* p) {
assert(p != nullptr);
*p = 100;
}
这里有没有assert都没区别吧?程序总是要崩溃的。
另外加assert使得binary崩溃似乎也不是什么好办法。
t******g
发帖数: 44
7
来自主题: JobHunting版 - 错误输入一般assert还是exception
如果是java的话,好像用assert都是用来写Unit Test吧,好像也有写assert true,如
果不是就AssetError之类的语法,不过没写过,一般就是throw Exception.
c*****t
发帖数: 1879
8
Assertion is a java 1.4 feature. By default it is not supported in
compile time nor in run time.
To compile w/ java 1.4 feature enabled, you do
javac -source 1.4 your.java
To run with assertion enabled
java -ea your.class
b********n
发帖数: 38600
l*****a
发帖数: 14598
10
来自主题: JobHunting版 - 错误输入一般assert还是exception
你看见leetcode给你弄出来过assert吗?
a********n
发帖数: 1287
11
来自主题: JobHunting版 - 错误输入一般assert还是exception
偶的意思是不局限于leetcode。
即使是写代码,也有什么时候 exception, assert
和返回值的问题。
实际上MS问过这个题。
c****t
发帖数: 66
12
来自主题: Parenting版 - 我该如何让LG assertive一些!
不知道Assertive这个词中文是怎么说。
LG和人总是不够assitive。
好像他们家认为这是美德,所以我总是控制自己不要说他这个。
甚至有时候让我觉得我说他这个是我自己不厚道。
可是最近发生的两件事让我很不爽,而且我怕小孩也都学成这样。
一个是儿子4个月check,我几次三番安顿只打一个疫苗, 和上次一样。
结果回来以后打了两针。
他说他和医生confirm了和上次一样一针,可是护士进来拿了两针。
他问护士是两针吗?护士说是。他就没说什么。
我问他当时知道护士错了吗, 他说知道。
问他为什么不和护士说清楚,他说不知道, 就是开不了口。
我很生气,要是医疗事故怎么办?
上周5女儿学校field trip, 拿去了carseat。
下午LG去接的,拿回了CARseat。
今天早上我一看carseat怎么那么脏,仔细一看不是我们的carseat。
我说怎不是咱么的CArseat呀,LG说他知道,可当时就剩这个了,别人拿错了。
我说你有没有问问老师。他说没有。
我也不想说什么了。
但是心里总是觉得堵得慌。
我不是说要纠这别人的问题不放,但是起码应该让他们知道他们的工作中出现了问题,
k**u
发帖数: 10502
13
来自主题: Parenting版 - 我该如何让LG assertive一些!
assertive的中文就是自信、武断。
b******u
发帖数: 676
14
来自主题: Parenting版 - 我该如何让LG assertive一些!
多好的LG啊,两个孩子都管。你还JJWW。
我最烦别人不干活还对我怎么干活指指点点。这就像你做饭有个人在旁边看着指手画脚
一样。嫌别人做的不好你就自己来。嫌LG没有盯着护士到底打什么针,下次你自己带孩
子去打针。嫌LG没注意car seat长什么样有多干净,下次你自己去接孩子和pick up
car seat. 你或许工作忙什么的做不到这些,那就得学会放心让别人做。
家庭和工作都是这样。你或许觉得很多事情只有你的处理方式才是对的,别人都没你做
的好。那你就试试什么都自己来好了。做不来的。要学会let go.
他拿错了carseat,你指出来,他下次自然会注意。盖上assertive的帽子并翻旧账那就
没事儿给大家添堵了。
W****S
发帖数: 6555
15
给总结一个?
准备公投了?

asserting
p*p
发帖数: 75
16
来自主题: DotNet版 - Debug.Assert in ASP.NET?
I like using Debug.Assert to harden the code. But it only works well in
Windows Forms, but no on ASP.NET. any idea?
m******l
发帖数: 613
17
我把所有能够加入-ea选项的地方都试过了
但还是无法应用assert
帮助文档中写的是“insert -ea in the front of command line switchs”
{classics}这种东西就应该是command line switch了吧
那怎么加?
-ea {classics}
or {-ea classics}
我加了老半天,就是不行 :(((((((((((((((
g*********h
发帖数: 21
18
来自主题: Programming版 - Debug Assertion Failed
我写的一个code,在debug的时候,运行到程序的最后,上面的code运行一切正常,但是
在退出main的时候,弹出一个窗口说Debug Assertion Failed!
Program:d:\test.exe
File:dbgdel.cpp
Line:52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
我不知道怎么回事,本人是新手,望指教!
a***m
发帖数: 74
19
来自主题: Programming版 - Help - C++ Debug Assertion Failed
I used Visual C++ 2008 Express to build a simulation engine in win32 console
application.
My exe file was built successfully. It generated correct result. However,the
windows cmd window always pop up a message:
Debug Assertion Failed!
File: f:\dd\vctools\crt_bld\self_x86\crt\src\bdgbel.cpp
Line: 52
Expression: _BLOCK_TYPE_IS_VALID(pHead->nBlockUse)
I don't understand what caused the problem and how to solve the problem.
Any suggestions are welcome.
Thanks.
g*********e
发帖数: 14401
20
来自主题: Programming版 - 使用assert应遵循什么原则?
你这里加assert的好处是可以知道哪里出错了,不然程序有可能再跑很久才垮
l*********s
发帖数: 5409
21
来自主题: Programming版 - 使用assert应遵循什么原则?
assertion is for programmers to catch logic bugs.
o*********e
发帖数: 3093
22
来自主题: Military版 - Linux哪个版本的比较易用
月光阿姨,我问你,我刚刚想在自己电脑上装Drupal来玩玩,结果出现这么多问题,咋
整?
是哪些问题造成怎么多问题?
Skip to main content
Drupal 8.4.3
Installation tasks
Choose language
(active)
Choose profile
Verify requirements
Set up database
Install site
Configure site
Choose language
Error message
Deprecated function: assert(): Calling assert() with a string argument is
deprecated in DrupalCoreCacheMemoryBackend->set() (line 101 of
corelibDrupalCoreCacheMemoryBackend.php).
DrupalCoreCacheMemoryBackend->set('module_implements', Array) (Line: 359)
D... 阅读全帖
G*******s
发帖数: 4956
23
Blinded By Tradition:
An Open Letter to Dave Hunt
Regarding His Newly Published Attack Upon the Reformation, What Love Is This
? Calvinism's Misrepresentation of God
James White
Updated 5/16/02, see bottom of file
Dear Dave,
In the period of time since I finally received my own copy of your book (you
may recall I scanned through it while standing at your table in St. Louis a
t the PFO Conference) I have gone through a number of different emotions. A
t first I was just going to do one Dividing ... 阅读全帖
R*****i
发帖数: 2126
24
来自主题: JobHunting版 - 一道老题目, 求最快捷解法
这个题目建议用红黑树做可能最快捷有效。红黑树每一次插入,删除都是log(k),求平
均值非常简单,就是根部的那个节点。所以总的计算量是O(nlog(k))。
以下是c/c++代码(需要修改数组,以便一个一个输入)。
#include
#include
#include
#define INDENT_STEP 4
enum rbtree_node_color {RED, BLACK};
typedef struct rbtree_node_t {
int value;
struct rbtree_node_t* left;
struct rbtree_node_t* right;
struct rbtree_node_t* parent;
enum rbtree_node_color color;
} *rbtree_node;
typedef rbtree_node node;
typedef enum rbtree_node_color color;
typedef struct... 阅读全帖
h*****f
发帖数: 248
25
来自主题: Programming版 - Re: L 电面 (转载)
【 以下文字转载自 JobHunting 讨论区 】
发信人: henrysf (Henry), 信区: JobHunting
标 题: Re: L 电面
发信站: BBS 未名空间站 (Thu Oct 18 01:46:20 2012, 美东)
我写了以下的code, 之后就被拒了, 回信是说别的candidate写得比较好, 我还没看出
问题.
Additional requirements:
- The only operators you need to implement are +, -, *, and /.
However, your implementation should make it relatively easy to
add more operators.
- The calculator should accept floating point numbers and output
floating point numbers (i.e. when the input is 2 3 / the result
is 0.66667).
- ... 阅读全帖
j*****u
发帖数: 1133
26
写的比较乱,应该还有更clean的
static bool IsMatch(string str, string pattern)
{
if (str == null)
throw new ArgumentNullException("str");
if (string.IsNullOrEmpty(pattern))
throw new ArgumentException("pattern null or emptry.");
return MatchRec(str, pattern, 0, 0);
}
static bool MatchRec(string str, string pattern, int sIndex, int pIndex)
{
if (pIndex == pattern.Length)
{
return sIndex == str.Length;
}
char p = pattern[pIndex];
bool isStar = pIndex < pa... 阅读全帖
P********l
发帖数: 452
27
How about this version using Dynamic Programming?
The basic idea is fill in a table for a matching path. If the last pair
matches, the whole string will match.
mtch is the array, which is of (string length + 1)*(pattern length + 1).
mtch[0][*] and mtch[*][0] is padded with false.
Then the function is something like:
mtch[i][j] =
1. if pattern char='.', mtch[i][j]=mtch[i-1][j-1]
2. if pattern char='*', mtch[i][j]=mtch[i-1][j-1] || mtch[i][j]=mtch[i-1][
j]
3. if pattern char=string char, mtc... 阅读全帖
G*******s
发帖数: 4956
28
首先给大家看个故事,然后再探讨经文:
林慈信牧师的《基督教教义发展史》中提到这个:
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
基督论的难题可以从一般神学(译注:神论)方面,与拯救论方面来加以
研究。早期教父对基督论拯救方面的关系,虽未曾加以轻忽,但他们在重要的讨论上却
没有重视。在三位一体争论的气氛中,他们从一般神学(译注:神论)方面来研究基督
,乃天经地义的事,而三位一体争论所导致的决定则是,基督为神的儿子,事与父同质
的,因此祂是神。从此而发生的问题,就是基督... 阅读全帖
h*****f
发帖数: 248
29
来自主题: JobHunting版 - 上一道我以前喜欢出的题目吧
not so efficient...
#include
#include
#include
#include
#include
#include
int compare(const std::string& v1, const std::string& v2) {
std::vector version1;
std::vector version2;
std::istringstream is1(v1);
std::istringstream is2(v2);
std::string token1;
std::string token2;
double d1, d2;
bool exist1 = true, exist2 = true;
while (true) {
if (exist1) exist1 = std::getline(is1, tok... 阅读全帖
c******o
发帖数: 1184
30
来自主题: WaterWorld版 - Zakaria: Will China stay on course?
Will China stay on course?
By Fareed Zakaria, CNN
Events in the Middle East and North Africa are of historic importance, but
the even bigger, long-term story is the rise of China. What path will it
choose at home and abroad in the years ahead?
For decades there has been debate at the highest levels of the Chinese
government about how much to modernize politically to ensure growth and
stave off revolution.
It’s notoriously difficult to analyze the inner workings off the Chinese
Communist Party. ... 阅读全帖
d****y
发帖数: 2180
31
☆─────────────────────────────────────☆
daisyy (daisy) 于 (Wed Aug 22 19:53:02 2012, 美东) 提到:
请大家把记录的笔记,感想放到这个帖子下面,以便于收精华区。
同时也保证你成为以后会议的VIP.谢谢!
☆─────────────────────────────────────☆
tangbutian (糖不甜) 于 (Wed Aug 22 19:55:06 2012, 美东) 提到:
The art of language -- communicate effectively in clinical settings
重点讲在医院里的communication,怎样适应美国的文化,怎么在医院中混的如鱼得水
、风生水起~
关于英文:
细节参见麦地前阵子的那两个有关英文的帖子,补充一点非常重要的:不仅要多说、多
念,更重要的是写作能力,脑子里有多少东西嘴巴才能讲出来多少东西。对CMG来说口
音并不是致命问题,更严重的是语言组织能力差,有条件的最好take一门写作的课程。
语言是一门艺术... 阅读全帖
d**g
发帖数: 167
32
County of Nassau v Levine
2010 NY Slip Op 20305 [29 Misc 3d 474]
July 12, 2010
Kluewer, J.
District Court Of Nassau County, First District
Published by New York State Law Reporting Bureau pursuant to Judiciary Law
§ 431.
As corrected through Wednesday, November 17, 2010
[*1]
County of Nassau, Plaintiff,
v
Samuel M. Levine, Defendant.
District Court of Nassau County, First District, July 12, 2010
APPEARANCES OF COUNSEL
Samuel M. Levine, Long Beach, defendant pro se. John Ciampoli, County
Attorney... 阅读全帖
d*b
发帖数: 21830
33
来自主题: ebiz版 - ebay的5万刀的case study来了
Hartmann v. McKerness,
Case number: 2011 BCSC 927
http://www.bcjustice.net/index.php?option=com_content&view=arti
Citation:

Hartmann v. McKerness,

2011 BCSC 927
Date: 20110711
Docket: S086381
Registry: Vancouver
Between:
Dr. Oliver Hartmann
Plaintiff
And:
Wendy McKerness, aka Wendy Woodhouse-McKerness
and Christopher Fulton, aka Christopher McKerness
Defendants
Before: The Honourable Mr. Justice Johnston
Reasons for Judgment
Counsel for the Plaintiff:

L.N. Robinson and S. Hellmann
Ap... 阅读全帖
b*****o
发帖数: 715
34
来自主题: JobHunting版 - 刚看到的一道google面试题
“I has 1337 code”上有解答:
http://www.ihas1337code.com/2011/01/find-k-th-smallest-element-
最优解是O(log m+log n),递归的不变量比较巧妙。
int findKthSmallest(int A[], int m, int B[], int n, int k) {
assert(m >= 0); assert(n >= 0); assert(k > 0); assert(k <= m+n);

int i = (int)((double)m / (m+n) * (k-1));
int j = (k-1) - i;
assert(i >= 0); assert(j >= 0); assert(i <= m); assert(j <= n);
// invariant: i + j = k-1
// Note: A[-1] = -INF and A[m] = +INF to maintain invariant
int Ai_1 = ((i == 0) ? INT_M... 阅读全帖
l*****7
发帖数: 8463
35
来自主题: Military版 - 造假: 美国第一!!! 哈哈
http://www.gwu.edu/~nsarchiv/NSAEBB/NSAEBB80/
home | about | documents | news | publications | FOIA | research |
internships | search | donate | mailing list
Iraq and Weapons of Mass Destruction
National Security Archive Electronic Briefing Book No. 80
Updated - February 11, 2004
Edited by Jeffrey Richelson
Originally posted December 20, 2002
Previously updated February 26, 2003
Documents - Press release - Further reading
Between Iraq's invasion of Kuwait in August 1990, and the commencement of... 阅读全帖
S**I
发帖数: 15689
36
来自主题: JobHunting版 - [合集] 收到G家拒信,发面经
☆─────────────────────────────────────☆
recursive (递归) 于 (Mon Apr 11 10:56:49 2011, 美东) 提到:
大半夜收到HR的thank you note。不用管什么NDA了
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array with repeated elements
for given element, find out its range.
e.g. A A B B B B B C C D D E F G, given B, the out... 阅读全帖
j*******7
发帖数: 6300
37
来自主题: TrustInJesus版 - Is Logic an Absolute?
Is Logic an Absolute?
by
Roger Smalling, D.Min
There exists a small category of realities termed primordial. These require
no proof of existence beyond themselves. Time and space are good examples.
Empty space would exist even if nothing else did. We need not try to prove
or explain them. They just are.
Time is another example of a primordial reality. If we define time as the
relative rate of change between material objects, then it follows that time
could not exist without matter. Or, that the ... 阅读全帖
f******u
发帖数: 767
38
United States Court of Appeals For the Seventh Circuit
Chicago, Illinois 60604
Argued March 6, 2013
Decided June 27, 2013
Before
DANIEL A. MANION, Circuit Judge
DIANE P. WOOD, Circuit Judge
DIANE S. SYKES, Circuit Judge
No. 11‐2991
YONGPING ZHOU, Plaintiff‐Appellant,v.PATRICK T. BELANGER,Defendant‐
Appellee.
Appeal from the United States District Court for the Southern District of
Indiana, Indianapolis Division.
No. 1:07‐cv‐0633‐WTL‐TAB
William T. Lawrence,Judge.
O R D E R
After Yongping Zhou go... 阅读全帖
i**********e
发帖数: 1145
39
来自主题: JobHunting版 - 收到G家拒信,发面经
Code for 2).
Idea is to use binary search to find the first occurence where A[i] == k.
Then apply binary search again to find both the lower and upper range.
int binarySearchLower(int A[], int n, int l, int h, int k) {
int lo = l;
int hi = h;
while (lo <= hi) {
int mid = lo + (hi-lo)/2;
if (A[mid] < k)
lo = mid+1;
else
hi = mid-1;
}
assert(lo >= 0 && lo <= n-1); assert(A[lo] == k); assert(lo == 0 || (lo >=
1 && A[lo-1] < k));
return lo;
}
int binarySearchUpper... 阅读全帖
i**********e
发帖数: 1145
40
来自主题: JobHunting版 - 收到G家拒信,发面经
Code for 2).
Idea is to use binary search to find the first occurence where A[i] == k.
Then apply binary search again to find both the lower and upper range.
int binarySearchLower(int A[], int n, int l, int h, int k) {
int lo = l;
int hi = h;
while (lo <= hi) {
int mid = lo + (hi-lo)/2;
if (A[mid] < k)
lo = mid+1;
else
hi = mid-1;
}
assert(lo >= 0 && lo <= n-1); assert(A[lo] == k); assert(lo == 0 || (lo >=
1 && A[lo-1] < k));
return lo;
}
int binarySearchUpper... 阅读全帖
r*c
发帖数: 167
41
来自主题: JobHunting版 - 问个题,没思路
#include
#include
#include
#include
#include
using namespace std;
class KModulo {
public:
int numSolutions(const string& s, const int m, const int rmd, vector<
string>& res) {
int len = s.size();
int localM = m, mLen = 0;
while(localM){
localM /= 10, ++mLen;
}
if (len < mLen) return 0;
vectorvIndices;
unordered_mapmp; //[index of s, index of vIndices]
... 阅读全帖
p********r
发帖数: 3243
42
这些是我从在准备RFE期间所研究的近百个EBI-AAO判例中的从贡献部分摘录的关键评判
语句,加上了我本人的解析。
移民局的很多观点仅供参考,不可全信(比如证据的交叉使用之类的),但它们确实给
我们提供了论证贡献major的正确方向,告诉了我们移民局最倚重哪些证据,而哪些证
据又是费力而不(怎么)加分的,哪些错误又是确实该避免的。我想这对于还在战斗的
、背景不强的战友们来说,还是非常有参考和学习意义的。
希望把我RFE期间体会到的、学到的,都毫无保留的献给各位背景不太强的新战友们参
考!
----------------------------------------------------------------------------
------
文章本身能否说明贡献----------
Any research, in order to be accepted for publication, must offer new and
useful information to the pool of knowledge. It does not follow that every... 阅读全帖
i*********5
发帖数: 19210
43
这篇文章写于去年,一位妈妈在去幼儿园接孩子的路上被一辆右转的卡车压死了(她自
己也在那里右转)。
YOU OWN YOUR SPACE: Tips from a former bike courier on staying alive as a
Toronto cyclist
On this particular afternoon, it’s really easy to vicariously relate
ourselves (or our loved ones) to the woman who was crushed to death on
Dundas West and Sterling earlier today. It’s easy to think, “Wow, that
could have been me instead of her.”
Well, it wasn’t you, and be glad for that. Dwelling on the “could have
beens” is of no help to the victim, her fam... 阅读全帖
w*********r
发帖数: 3382
44
来自主题: TrustInJesus版 - ZZ - The War---The Christian Privileges
Culture Wars and Christian Privilege:
Most “battles” in the Christian Right’s so-called Culture Wars can be
best understood if seen, at least in part, as attempts to reassert and
enforce Christian privilege in modern society. One of the hallmarks of
modernity has been the rooting out of various forms of illegitimate
privilege, with Christian and religious privilege being among the last. Thus
, it is hoped that reasserting special privileges and deference for
Christianity and Christians will help... 阅读全帖
j*****7
发帖数: 10575
45
The Necessity of Knowing God and His Power
Section VII.
http://www.ccel.org/ccel/luther/bondage.viii.i.html
Sect. VII. — BUT I will set your theology before your eyes by a few
similitudes. — What if any one, intending to compose a poem, or an oration,
should never think about, nor inquire into his abilities, what he could do,
and what he could not do, nor what the subject undertaken required; and
should utterly disregard that precept of Horace, “What the shoulders can
sustain, and what they must... 阅读全帖
j*******y
发帖数: 965
46
来自主题: Java版 - Anyone know SAML 2.0 and OpenSAML ?
Today I use keytool to create a keystore file, and import the certificate
they give to me into the keystore. Then I create an assertion. I found an
assertion debug tool online. Now I can read the assertion after decode.
I put the assertion to a test web page and submit the form. I do not think I
got a correct response after submit the form. It shows the login error.
How do I know my assertion correct?
How do I change/define the key name in the keystore file?
thank you a lot.

data
.
assertion
th
i*****e
发帖数: 1359
47
来自主题: Linux版 - xubuntu 11.04一个小bug
默认装thunderbird,导致没有了evolution的icon,导致mail-notification crash
(mail-notification:3761): Gtk-WARNING **: Error loading theme icon '
evolution' for stock: Icon 'evolution' not present in theme
(mail-notification:3761): GLib-GObject-CRITICAL **: g_object_unref:
assertion `G_IS_OBJECT (object)' failed
(mail-notification:3761): Gtk-CRITICAL **: gtk_default_render_icon:
assertion `base_pixbuf != NULL' failed
(mail-notification:3761): Gtk-CRITICAL **: IA__gtk_style_render_icon:
assertion `pixbuf != NULL... 阅读全帖
F*********k
发帖数: 42
48
好的,谢谢谢谢,我想我大概明白了,
我之前没看明白 FixedAllocator::Chunk::Deallocate 里边的
*toRelease = firstAvailableBlock_; 这句
其实这句实际上把当前和之前的连接起来了。
我把源码贴这里
void FixedAllocator::Chunk::Reset(std::size_t blockSize, unsigned char
blocks)
{
assert(blockSize > 0);
assert(blocks > 0);
// Overflow check
assert((blockSize * blocks) / blockSize == blocks);
firstAvailableBlock_ = 0;
blocksAvailable_ = blocks;
unsigned char i = 0;
unsigned char* p = pData_;
for (; i != blocks; p += blockSize)
... 阅读全帖

发帖数: 1
49
五角大楼驳斥吴谦说法,断然否认巡航黄岩岛的美舰被驱离:“美舰听到中方的无线电
呼叫,但航向未有丝毫改变。”
Pentagon Denies Chinese Warship Drove US Destroyer From S. China Sea
USS Hopper conducted passage near Scarborough Shoal
USS Hopper
USS Hopper / Wikimedia Commons
BY: Bill Gertz [email protected] January 24, 2018 5:00 am
The Pentagon on Tuesday denied Chinese Defense Ministry claims that one of
its naval vessels drove a U.S. destroyer out of the South China Sea during a
freedom of navigation operation last week.
“No one runs a navy ship... 阅读全帖
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)