由买买提看人间百态

topics

全部话题 - 话题: offsets
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
u***t
发帖数: 3986
1
来自主题: Pingpong版 - 咋样拉下旋?
Offset
Offset
Offset
Offset
Offset
x****c
发帖数: 25662
2
☆─────────────────────────────────────☆
blueashes (德叔) 于 (Sat Apr 2 15:20:00 2011, 美东) 提到:
之前犹豫过到底这个250刀的Holder值不值,因为9000ED带的几个基本Holder除了Xpan
其它的都能解决。同时还考虑要不要干脆多花100刀上869GR。最后用了一番后,我庆幸
买了这个Holder,很值而且是超值。
值的原因主要是扫Xpan和中副,中副的话不用操心片子放不好了,放上就扫,省心。
Xpan的Batch Scan更是NB。
先说中副,有人觉得Glass Holder的画质不好,我扫出来觉得还可以,不影响画质,这
里有比较,每一对比较上面是869G隔着玻璃扫,下面是没有玻璃的869S裸扫,
首先,Glass对细节没有影响,影响到的是Contrast,但是不大,可以轻松调回来。在
颜色方面,Glass出来的稍暖,这个看个人口味,可以调回来或者不变。
869G最牛的是扫Xpan,不是一般牛,是非常牛。贵100刀的869GR只能每次扫一张,但是
869G竟然可以连续扫三张,只要将... 阅读全帖
o**y
发帖数: 1466
3
来自主题: Database版 - 问一个SQL LOADER BLOB的问题
Today I had a little progress in this problem. Here is my temporary solution:
1. In the client side, save all of the objects' BLOB bytes to one BIGBLOB
file, and have records like that in another separate file:
obj1, length 20, offset 1
obj2, length 500, offset 21
.....
then sql*loader 1) the records; 2) the BIGBLOB file to the server. The
content of BIGBLOB file is saved into another table (single row, BLOB field)
2. In the server side, then split the BIGBLOB into small chunks based on the
offs... 阅读全帖
b**********h
发帖数: 419
4
来自主题: Programming版 - CIH源代码
究竟难在哪里?
; Win Cih Source Code
;I m not the dissembler of the code and really I don't know ;who is the
writer or dissembler . Compile or run this program ;at your own risk. Also I
m not giving any guarantee of running ;the program !!!.
;****************************************************************************
; * The Virus Program Information *
;****************************************************************************
; * *
; * Designer : CIH Source : TTIT of TATUNG in Taiwan... 阅读全帖
l****z
发帖数: 29846
5
http://www.foxnews.com/scitech/2010/11/08/carbon-trading-grinds-halt/
The air has been taken out of the carbon trading market.
The only national carbon trading market in the U.S. will close its doors
next month, due to stalled legislation in Congress and Republican gains in
the midterm elections -- a major setback in efforts to regulate so-called
greenhouse gases, which environmentalists argue contribute to global warming
.
Since 2003, the Chicago Climate Exchange (CCX) has operated a voluntary... 阅读全帖
M********o
发帖数: 47
6
来自主题: Automobile版 - 换rim的高级话题
你这里涉及的问题比较多:
1. Bolt pattern:5x112是metrics,5x114(其实是5x114.3)是standard美制,转换成
inch其实是5x4.5inch,这两个不兼容
2. 8inch还是8.5inch的没有什么问题,在半个inch以内的宽度,轮胎都可以ajust。从
宽往窄换,一般都没问题,但是从窄往宽换,还需要考虑fender & strut clearance。
但是你说的这个宽度,一般车都没问题。
3. Offset: 这个其实是最tricky的。如果新rim的offset不同,你需要了解你现在的
rim到底是怎样的fitment。你需要看现在的rim在suspension和fender之间是否有足够
的clearance。一般来说,offset越大,轮子越可能磨内侧(suspension),offset越
小,轮子越可能磨外侧(fender)。
M********o
发帖数: 47
7
来自主题: Automobile版 - 换rim的高级话题
你这里涉及的问题比较多:
1. Bolt pattern:5x112是metrics,5x114(其实是5x114.3)是standard美制,转换成
inch其实是5x4.5inch,这两个不兼容
2. 8inch还是8.5inch的没有什么问题,在半个inch以内的宽度,轮胎都可以ajust。从
宽往窄换,一般都没问题,但是从窄往宽换,还需要考虑fender & strut clearance。
但是你说的这个宽度,一般车都没问题。
3. Offset: 这个其实是最tricky的。如果新rim的offset不同,你需要了解你现在的
rim到底是怎样的fitment。你需要看现在的rim在suspension和fender之间是否有足够
的clearance。一般来说,offset越大,轮子越可能磨内侧(suspension),offset越
小,轮子越可能磨外侧(fender)。
c******n
发帖数: 5697
8
来自主题: Automobile版 - 惊人啊!豪华车撞不过买菜车
http://www.usatoday.com/story/money/cars/2012/12/19/iihs-honda-
IIHS: Family cars safer than luxury cars in new crash test
Honda's new Accord and Suzuki Kazashi performed best
(Photo: Insurance Institute for Highway Safety)
STORY HIGHLIGHTS
More of the family cars tested by IIHS passed a key safety test than the
luxury cars
Only three of 11 luxury cars got passing marks in the 'narrow offset' test
Honda Accord and Suzuki Kizashi did the best
More mass-market midsize family cars got passing marks... 阅读全帖
a***r
发帖数: 146
9
来自主题: Investment版 - 2012 markets: Expect ups and downs (ZT)
2012 markets: Expect ups and downs
BY Jurrien Timmer, Co-Manager of Fidelity® Global Strategies Fund,
Fidelity Viewpoints — 12/21/11
Consider U.S. stocks, high-yield corporate, and floating-rate high-income
bonds.
It’s been quite a year, one of violent mood swings but little overall
direction. We seem to be in a time warp where everything happens faster and
faster. Everything seems to be correlated. There are very few places to hide
, and even those places don’t feel like good options anymor... 阅读全帖
s*****y
发帖数: 897
10
来自主题: JobHunting版 - 问个1337网页上面的经典题
Construct Binary Tree From Inorder and Preorder/Postorder Traversal
const int MAX = 256;
// a fast lookup for inorder's element -> index
// binary tree's element must be in the range of [0, MAX-1]
int mapIndex[MAX];
void mapToIndices(int inorder[], int n) {
for (int i = 0; i < n; i++) {
assert(0 <= inorder[i] && inorder[i] <= MAX-1);
mapIndex[inorder[i]] = i;
}
}
// precondition: mapToIndices must be called before entry
Node *buildInorderPreorder(int in[], int pre[], int n, int offse... 阅读全帖
P**********c
发帖数: 3417
11
来自主题: JobHunting版 - CarerCup 书里面的关于memory的一道题
16.9 Write an aligned malloc & free function that takes number of bytes and
aligned byte (which is always power of 2)
Example
align_malloc(1000, 128) will return a memory address that is a multiple of
128 and that points to memory of size 1000 bytes.
aligned_free() will free memory allocated by align_malloc.
答案:
void* aligned_malloc(size_t required bytes, size_t alignment){
void* p1; //original block
void** p2; //aligned block
int offset = alignment-1+sizeof(void*);
if ((p1 = (void*)mall... 阅读全帖
d*******l
发帖数: 338
12
来自主题: JobHunting版 - CarerCup 书里面的关于memory的一道题
我不敢说完全明白,但有点感觉,谈谈我得想法。
就像上面说的,为了保证能返回一个对齐的地址且有足够的空间,需要打出一些富裕。
多少富裕足够呢?就是代码里的offset。我记得在OS课上老师提到过这种做法,好像叫
container,就是比实际需要多分配空间,把中间开始的某个地址返回,前面的地方存
放些信息。
下面说说offset怎么来的。假设我们用malloc分配了一段空间,起始地址是p1。此时我
们想得到一个对齐的地址,最直接的做法就是& ~(alignment-1),这样低位清0,结果
就是对齐的。但这样做的结果相当于把原地址减去了一个[0, alignment-1]的数,也就
是低位被减掉了。得到的新地址的开始的一部分就是未分配的。代码中对p2进行这个操
作,得到的结果是p2=p1+offset-x,x就是在对齐过程中被减掉的数,可以看出p2>=p1+
1,这就保证了对齐之后的地址也是分配过的。
再说说p2[-1]=p1的作用。上面说的container方法有一个需要注意的就是free的时候,
如果直接free alloc返回的那个地址,其实是有问题的,因为那个是最初分配空间的中
... 阅读全帖
M**A
发帖数: 78
13
来自主题: JobHunting版 - CarerCup 书里面的关于memory的一道题
总结各位评论,欢迎拍砖。
题目
align_malloc(1000, 128) will return a memory address that is a multiple of
128 and that points to memory of size 1000 bytes.
aligned_free() will free memory allocated by align_malloc.
解答
int offset = alignment-1+sizeof(void*);//分配空间给a memory address that is
a multiple of 128
这个offset的空间用来存放memory address,就是*p1 that points to memory of
size 1000 bytes
p1 = (void*)malloc(required_bytes+offset)) //分配空间给memory of size 1000
bytes+memory address that is a multiple of
128, required_byt... 阅读全帖
A**u
发帖数: 2458
14
来自主题: JobHunting版 - Zillow screen 面经,兼打听工资
然后就是问一个文件有2^32 - 4个不同数字,
要把这四个数字找出来。我说用Bitmap,通过set bit的方法数出现过的数字,O(n)时
间,空间 2^(24-8) Bytes。问我如果没有Bitmap这个data structure怎么办,malloc/
free内存块, n/8确定Byte offset,n%8确定bit offset,在用移位<<去访问。然后接
着问如果内存很小怎么办,内存分块存disk上。都是很基础的问题,没有coding。
请教 这里 byte offset, bit offset是什么意思,看的不太电脑?
你用malloc分配内存 大于 int 需要空间?
X*K
发帖数: 87
15
来自主题: JobHunting版 - find k missing numbers in range [0, N].
根据前面的提示写了一个
void missingK(int a[], int n, int k) {
int * bitmap = new int[n / sizeof(int) + 1];

for (int i = 0; i < n - k; ++i) {
int number = a[i];
int index = number / sizeof(int);
int offset = number - number / sizeof(int) * sizeof(int);
bitmap[index] |= 1 << offset;
}
for (int i = 1; i <= n; ++i) {
int index = i / sizeof(int);
int offset = i - i / sizeof(int) * sizeof(int);
if ((bitmap[index] & 1 << offset) == 0) {
... 阅读全帖
f*******t
发帖数: 7549
16
来自主题: JobHunting版 - find k missing numbers in range [0, N].
#include
#include
bool isSet(char *bitarray, int num)
{
int index = num / 8;
int offset = num % 8;
return bitarray[index] & (char)(1 << offset);
}
void set(char *bitarray, int num)
{
int index = num / 8;
int offset = num % 8;
bitarray[index] |= (char)(1 << offset);
}
void printMissingNum(int *array, int arraysize, int N)
{
int bitarraysize = (N + 7) / 8;
char *bitarray = (char*)calloc(bitarraysize, 1);
for(int i = 0; i < arraysize; ++i) {
... 阅读全帖
c**********e
发帖数: 2007
17
这个Strategy design pattern的例子为什么人为得弄得这么复杂?
#include
#include
#include
using namespace std;
class Strategy;
class TestBed
{
public:
enum StrategyType
{
Dummy, Left, Right, Center
};
TestBed()
{
strategy_ = NULL;
}
void setStrategy(int type, int width);
void doIt();
private:
Strategy *strategy_;
};
class Strategy
{
public:
Strategy(int width): width_(width){}
void format()
{
char line[80], wo... 阅读全帖
i***e
发帖数: 9429
18
:感觉您的方法是将plenum固定在coil的外侧 “Plenum不是顶在coil的底层,而是与
:coil 外面会有1/2 寸的重叠,这样就可打螺丝固定。”
是的,除了正面那块。正面那块需要顶住coil 的底层.
:请您帮我确定一下我的plenum是按照option 1还是option 2 安装呢?如果sheet
metal
:安装在coil的外侧,因为空间狭小,coil的后面,左右侧都不可能从coil的外侧向内侧
:打钉子,感觉没有办法将sheet metal固定好。因为如果从coil的内壁向外壁打钉子的
:话,感觉外侧的sheet metal是可以活动的 (或者说没有办法将sheet metal牢固的紧
:紧贴住coil的外壁)。
从里边打螺丝出去还是可行的,用个handy bar
http://www.homedepot.com/p/Estwing-21-in-Forged-Half-Round-Hand
或Aluminum Box Level 在后面顶一下,螺丝很容易打入。需要要到质量好一点的螺丝
,如Malco或 DURODYNE 品牌的。
:另外请您帮我确认一下前面一片s... 阅读全帖
A**l
发帖数: 2650
19
来自主题: Reunion版 - 晕,160网站硬盘满了。。。
【 以下文字转载自 Visa 讨论区 】
发信人: Aawl (宝宝蛋-湾野分舵~), 信区: Visa
标 题: 晕,160网站硬盘满了。。。
发信站: BBS 未名空间站 (Sat Sep 7 23:42:22 2013, 美东)
老丈人说有个信息错了,刚才去改,结果。。。
There is not enough space on the disk.
哎,是不是要等周一了。。。已经预约了下周三面签。。。郁闷ing。。。
Server Error in '/QotW' Application.
There is not enough space on the disk.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception ... 阅读全帖
a****b
发帖数: 3588
20
来自主题: Stock版 - 股市是这样设计的(共七点)
http://moneyover55.about.com/od/taxtips/a/losscarryover.htm
Third, any capital loss that is not used in the current year can be carried
over indefinitely to offset future capital gains.
Example:If you have $10,000 of capital loss, after using $3,000 to offse
t ordinary income, $7,000 will carryover to the next year.
Next year, if you have $5,000 of capital gain, you can use $5,000 of you
r loss carryover to offset this gain, and use the remaining $2,000 to offset
ordinary income.
You can... 阅读全帖
a****b
发帖数: 3588
21
来自主题: Stock版 - 股市是这样设计的(共七点)
好像要修改:
C-D的部分,好像根据上面那篇文章链接,还可以offset ordinary income.
Third, any capital loss that is not used in the current year can be carried
over indefinitely to offset future capital gains.
Example:If you have $10,000 of capital loss, after using $3,000 to offse
t ordinary income, $7,000 will carryover to the next year.
Next year, if you have $5,000 of capital gain, you can use $5,000 of you
r loss carryover to offset this gain, and use the remaining $2,000 to offset
ordinary income.
A**l
发帖数: 2650
22
来自主题: Visa版 - 晕,160网站硬盘满了。。。
老丈人说有个信息错了,刚才去改,结果。。。
There is not enough space on the disk.
哎,是不是要等周一了。。。已经预约了下周三面签。。。郁闷ing。。。
Server Error in '/QotW' Application.
There is not enough space on the disk.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code.
Exception Details: System.IO.IOException: There is not enough space on the
disk.
Source Error:
An unhandled exception was generate... 阅读全帖
d******8
发帖数: 1972
23
既然老印可以跨过2006年,我们最差应该是一样的排期。From IV TeddyKoochu,
估计原贴是IV 最长的贴子,快到300页。为了方便大家,现在TeddyKoochu重开一贴
,并给出了最新预测。仅供大家参考,喜欢悲观就悲观,喜欢乐观就乐观点。
http://immigrationvoice.org/forum/forum14-members-forum/1944033
Summary
EB2 I- FEB To APR 2007
EB3 I- APR 15 2002
Please continue the "EB2-EB3 Predictions (Rather Calculations)" in this new
thread.
The old thread link is below:
http://immigrationvoice.org/forum/fo...tions-281.html
Folowing is my current draft still work in progress will be editing it soon
Month-Year In... 阅读全帖
d******8
发帖数: 1972
24
Prediction / Calculation Using Trackitt Model
Summary Of Predictions
EB2 I- FEB To APR 2007 (20% Chance of 01-AUG-2007)
EB2 India Calculation Details
Date India China PWMB CP Total Cumulative
Offset 7200 800 0 0 8000 8000
May-06 1110 38 100 100 1348 9348
Jun-06 1696 541 100 100 2437 11785
Jul-06 1505 620 100 100 2325 14110
Aug-06 1677 693 100 100 2570 16680
Sep-06 1745 773 100 100 2718 19398
Oct-06 1747 732 100 100 2679 22077
Nov-06 1737 667 100 100 2604 24681
Dec-06 1881 770 200 100 2951 27632
... 阅读全帖
ET
发帖数: 10701
25
来自主题: Golf版 - 为什么说blade好做球
classic!!
我目前的体会是,比如你光脚去踢球,你的感受是立刻的,直接的。
你穿上滑雪靴子去踢同样的球,你感觉的恐怕只是踢上还是没踢上而已。
做球的本事都来源与定点的改变,比如打draw, 这种球的本身还是相对直的,只是在
最后才能看出向左飘了点。 只是那么
点的变化。

modern Game Improvement clubs
feature offset to varying degrees. Typically the better the player the less
offset required. Some say that offset
clubs make the ball a little harder to “work”. Work means moving the ball
left to right or right to left depending
on shot requirements. Blade style clubs typically offer less or no offset
and are often preferred by ... 阅读全帖
C******s
发帖数: 1917
26
我也比较同意你的观点。器材绝对是捷径,当年俺刚开始打球的时候,用的球叫做
Balata,现在的ProV1或者同类的球,那可真是强太多了。铁杆和木杆也是一样,我觉
得offset的杆不会影响你技术的进步,高手可以用任何杆(offset或者不offset),想
打draw就打draw,想打fade就打fade,而且99%会击中甜点。在达到这个水平之前,对
绝大多数人来说,有offset或者draw biased的杆还是有帮助的。

FORM
S**********s
发帖数: 4534
27
来自主题: GunsAndGears版 - Hetzer没事聊聊你的刘婆VX-R呗~~~
Mark 6也不是真正的1x, 只是小到能让两眼同时睁开射击而已,仍然不想红点那样没有
eye relief.
我也想换镜子,在考虑怎么搭配组合,要求是轻,短,耐用:
hog 1-4和猫尾,缺点就是4x打精度很勉强, 1x也不是真正1x, 也许够用吧。
刘婆6x33定倍,配个micro t1 offset mount (kac)或者offset铁瞄,优点是轻(8.8oz
) 倍率也够, eye relief, light transmission都好,缺点是offset瞄具。
刘婆2-7x28 ultralight, 配个offset瞄具。优点是镜子很轻,也是8盎司多点,缺点是
eye relief比较紧张,也不是特别亮。
又轻又小的定倍镜子都死哪去了...
x****c
发帖数: 25662
28
☆─────────────────────────────────────☆
everfree (free) 于 (Mon Apr 4 20:18:50 2011, 美东) 提到:
怎么不管怎么弄都是被分成三个frame?
是哪个参数控制的?
google了一下,没找到答案
☆─────────────────────────────────────☆
nbnb (如假包换WSN) 于 (Mon Apr 4 20:21:16 2011, 美东) 提到:
NikonScan,连扫4张

☆─────────────────────────────────────☆
newkids (t D 0 0 y . Y t) 于 (Mon Apr 4 21:09:30 2011, 美东) 提到:
估计你说的就是我一直抱怨的问题,我捣鼓半天也只能preview以后调整spacing和
offsetting
☆─────────────────────────────────────☆
everfree (free) 于 (Mon Apr 4 21:21... 阅读全帖
l*****e
发帖数: 3343
29
'demo only
Option Explicit
Public Const Source_Data_Have_Headers = True 'you can change this
Public Const Notify_User_Job_Finished = True 'you can change this
Sub Ad_Transform_Routine()
'CTR+t - shortcut
Dim src()
Dim snk()
Dim LineStart As Long
Dim LineStop As Long
Dim sht As Worksheet
Set sht = ActiveSheet
src = sht.UsedRange
If UBound(src) < 1 Then
MsgBox "empty sheet, exit now"
Exit Sub
End If
Select Case Source_Data_Have_Headers
Case True
'optional -add code to check hea... 阅读全帖
b*****e
发帖数: 474
30
来自主题: Programming版 - 一道面试题
不完全对. NULL确实不指向有效对象, 所以 *NULL 一定会出错.
但是这道题里, &(0->x) 并没有做 *0 操作, 直接变成 0 + offset(x),
应该是编译器干的.

象,依然可以进行->和&操作。这是个盲点。a->x就是*(a+offset(x)),&(a->x)就是a+
offset(x)。a==0时,自然就是offset(x)。
一样。我不认为(!p)是一种好的风格。
j******n
发帖数: 108
31
来自主题: Programming版 - linux 文件大小的问题
自己要写一个 inverted list index
先只考虑一个很简单的二级结构
Hash 表(keyword:offset)保存在内存里
offset是指向 index 文件内, 该 keyword 的位置
(如果 index 分为多个文件,还需要一个值指向文件的磁盘位置)
暂时只考虑 index 的读操作的性能,因为读磁盘操作较多
当然希望尽量减少磁盘开销。
关于 linux 的文件系统,有个问题
Linux FS 会尽量把一个文件放在连续的 block 上面
有的 linux 文件大小有上限(2G?),除此之外,
index 单个文件就是越大越好么?
从概念上,文件的 metadata 在 inode 里,打开一个大文件或是
一个小文件,似乎差别不大。而通过 feek 定位到具体位置,和
当前磁头位置有关:a) 磁头需要先移动文件头,b) 再移动 offset
的位置读取 list。(还是磁头直接移动到 offset 对应的位置?这点
不是很清楚 linux FS系统如何操作) 如果文件大了,b)步似乎就要要慢一些。
不知道有没有人有类似经验或实验,index 单个文件设置成多
j*****g
发帖数: 16
32
来自主题: Programming版 - int F::*x = &F::x是什么意思?
(From "Thinking in C++")
Pointers to members
A pointer is a variable that holds the address of some location. You can
change what a pointer selects at runtime, and the destination of the pointer
can be either data or a function. The C++ pointer-to-member follows this
same concept, except that what it selects is a location inside a class. The
dilemma here is that a pointer needs an address, but there is no “address”
inside a class; selecting a member of a class means offsetting into that
class. Y... 阅读全帖
n*******7
发帖数: 181
33
来自主题: Programming版 - 谁帮我测俩use case
osboxes@osboxes:~/proj/pc12306/Release$ ./pc12306
Total 55
start usecase1
Total time = 7.153685
start usecase2
Total time = 8.264017
diff --git a/pc12306.cpp b/pc12306.cpp
index 12ac896..c057c03 100644
--- a/pc12306.cpp
+++ b/pc12306.cpp
@@ -76,7 +76,7 @@ static void generateSearchPatterns() {
nSearches = offsets.size();
printf("Total %d\n", (int)nSearches);
for (Offsets::iterator it = offsets.begin(); it != offsets.end(); ++
it) {
- printf("%d %d %d\n... 阅读全帖
c*****e
发帖数: 3226
34
来自主题: Programming版 - 板上有 spark 大牛么?
这个是完美答案:
consolidateFiles采用的是一个reduce一个文件,它还记录了每个map的写入起始位置
,所以查找的时候
1)先通过reduceId查找到哪个文件,
2)再通过mapId查找索引当中的起始位置offset,长度length=(mapId + 1).offset
-(mapId).offset,这样就可以确定一个FileSegment(file, offset, length)。
M****d
发帖数: 26
35
在emacs 中, 对于for 或if 后面的行, 格式一般是这样的:
for ( ....)
{
printf(....);
.......
我怎样才能把它变成:
for ( ....)
{
printf(....);
我查了一些书, 书上说只需对c-brace-offset有所设, 一般设为负值, 以抵消
c-continued-statement-offset. 但我已在.emacs 文件中加入了如下几句:
(setq c-continued-statement-offset 4)
(setq c-brace-offset -4)
但似乎无效, 不知各位大侠有何建议
d******e
发帖数: 7844
36
来自主题: _Auto_Fans版 - 买雪胎的问题
原厂的轮毂是17x7, 5-100, 48mm offset。原厂的轮胎是215/45/R17
Tirerack上找不到一个规格的。
如果是17x7的,最多是45mm offset。
如果是48mm offset,至少要17x7.5。
我想省点事儿,让雪胎和夏胎可以直接互换,是不是只要保证都是48mm offset就行了?
V*******P
发帖数: 179
37
来自主题: _Auto_Fans版 - 请教一个备胎的问题
上周参加HPDE的时候爆胎了,所以考虑弄两个备胎,一前一后
stock wheel的参数是这样
Front: 20x8, offset 57, 235/35
Rear: 20x9.5, offset 45, 265/35
在tirerack看了下也没几个选择,目前看中的是这个:
www.tirerack.com/wheels/WheelCloseUpServlet?target=runWheelSearch&
initialPartNumber=W0171500222MGS&wheelMake=O.Z.&wheelModel=Ultraleggera+HLT&
wheelFinish=Matte+Graphite+Silver&showRear=yes&selectedRear=W0171600222MGS&
autoMake=Porsche&autoModel=Cayman+S&autoYear=2014&autoModClar=&filterFinish=
All&filterSize=20&filterBrand=All&filterSpecial=false&filterNew... 阅读全帖
v**********m
发帖数: 5516
38
来自主题: _pennystock版 - CCJ
http://www.cameco.com/media/news_releases/2012/?id=607
Saskatoon, Saskatchewan, Canada, May 1, 2012
News Release - PDF
MD&A, Financial and Notes - PDF
Financial Statements - XLS
strong first quarter - steady production, higher uranium sales volumes
and average realized prices
started to receive regulatory approvals for US expansion
solid progress made at Cigar Lake
signed agreement to increase ownership at the Millennium project
Cameco (TSX:CCO) (NYSE:CCJ) today reported its cons... 阅读全帖
w******g
发帖数: 2047
39
【 以下文字转载自 Stock 讨论区 】
发信人: willhung (黄威廉), 信区: Stock
标 题: 疮破的税改只对高收入者有利
发信站: BBS 未名空间站 (Wed Sep 27 16:15:55 2017, 美东)
1. Family Inconme > 250K: most benefit from 39% --> 35%, No AMT
2. Family Inconme < 250K with no or 1 child: benefit from 39% --> 35%,
increase of standard deduction will be offset by no itemized deduction (
state tax, property tax, etc.)
3. Family Inconme < 250K with multiple children: benefit from 39% --> 35%,
however the benefit may not offset loss from elimination of child s... 阅读全帖
b********n
发帖数: 38600
40
来自主题: Military版 - 无标题
There are 6 possible things that China can do at this time, in order of
escalating severity:
China could de-escalate tensions by presenting a list of actions it will
follow to reduce its significant trade deficits in services with the US.
This could affect education service institutions, the local tourist industry
, and entertainment. However, as the CFR's Brad Setser writes, it
increasingly looks like the Administration is putting China in a position
where China cannot make concessions without ... 阅读全帖

发帖数: 1
41
来自主题: Military版 - “Strategic
US Must Hustle On Hypersonics, EW, AI: VCJCS Selva & Work
By SYDNEY J. FREEDBERG JR. on June 21, 2018 at 3:52 PM
WASHINGTON: China is besting the United States in key military technologies
like hypersonic missiles and electronic warfare, Gen. Paul Selva, vice-
chairman of the Joint Chiefs said today. We can still catch up, he predicted
.
What about Artificial Intelligence? That’s too close to call, said former
deputy Defense Secretary Bob Work, so we’d better get a move on. Both men
spoke at a C... 阅读全帖
i****a
发帖数: 36252
42
【 以下文字转载自 LosAngeles 讨论区 】
发信人: iMaJia (iMac,iPod,iPad,i馬甲), 信区: LosAngeles
标 题: Onkyo HT-S3300 A.K.A 老三音響
发信站: BBS 未名空间站 (Fri Oct 22 15:19:13 2010, 美东)
說說我的設置
肥P -> HDMI -> Onkyo 接收器 -> HDMI -> TV
肥P bluray Setting, set audio to Linear PCM
肥P audio setting (not under bluray), 掛鉤接收器後, 未知原因它沒有自動撿起新
的輸
出, 仍在 2.1. 難怪接收器一直不能設置為 multi Channel, 也感覺環繞聲不夠好. 重刷一
下,確保檢測到 5.1, 仍設置為自動就好.
可參考
http://hd.engadget.com/2009/04/21/hd-101-how-to-use-dolby-truehd-and-
dts-hd-with-your-ps3/2
Onkyo 設置:
昨晚終於有時間調不同配置
... 阅读全帖
c******t
发帖数: 1500
43
来自主题: JobHunting版 - 求顺时针打印矩阵code
I wrote this last night. Any comment is welcome!
#include
#include
using namespace std;
const int N_MAX = 100;
void fill_in(int row, int size, int start_val, int** mat)
{
int start_col = row;
if (size == 1)
{
mat[row][start_col] = start_val;
return;
}
// top left to top right.
int size_of_square = (size - row * 2);
for (int i = start_col; i < row + size_of_square; ++i)
{
mat[row][i] = start_val;
++start_val;
... 阅读全帖
P**********c
发帖数: 3417
44
来自主题: JobHunting版 - CarerCup 书里面的关于memory的一道题
能解释下
p2 = (void**) (((size_t)(p1)+offset) & ~(alignment-1))
这句吗?前面的code基本上是说申请大小是
required_byes+offset大小的memory, p1指向这块memory.
我能理解这句把p2 转化成了alignment的倍数。保留了高位,把alignment之后的bit都设成0。但是这样p2指向的还是required_bytes大小的memory吗?
感觉p1+offset指向的才是required_bytes大小的memory啊。&之后还是吗?
还有p2[-1],这种情况下是p2前面多少byte?
c***p
发帖数: 221
45
来自主题: JobHunting版 - 新鲜M $ 面经
第一题我一开始用链表表示已分配和未分配的内存块。他不满意。强调只能用给定的内
存范围做。
主要方法就是:在分配一块内存的时候,用开始的几个字节表示这个块的大小和是否是
空闲块。(knuth 的书里叫 TAG)。这样回收的时候,就可以知道内存的大小了,如果后
面紧挨着的内存块如果也是空闲块就能合并了。
注意:TAG size的是和整个内存块大小相关的。
优化:相邻空闲块的合并可以delay到分配的时候做。不必在free的时候做。
第三题,我一开始做错了方向。到后来才意识到,已经来不及了。
我的方法是:
对于每个node,在文件中记录下key, 左儿子的offset, 右儿子的offset, 数据块的大
小,以及数据。
BFS遍历BST,依次把node信息append到文件上去。儿子的offset要在遍历的过程中填到
父节点的记录上去。
p*****3
发帖数: 488
46
来自主题: JobHunting版 - G家新鲜面经
value,left offset,right offset
offset为0代表null, serialize和unserialize都是inorder
s****A
发帖数: 80
47
struct ST{
int *ptr;
size_t sz;
};
int main(){
ST* s;
s->sz = 7;
s->ptr = (int *)malloc((s->sz)*sizeof(int));
int allocsize = sizeof(ST) + (s->sz)*sizeof(int);
uint8 * buffer = (uint8 *)malloc(allocsize);
int offset = sizeof(ST);
memcpy(& buffer[offset], s->ptr, s->sz*sizeof(int));
*(int **)&buffer[(char*)&(s->ptr)-(char*)s] = (int *)&buffer[offset];
}
我大概知道好像是要分配一块连续的空间把struct和struct里指针指向的数组内容放在
一起,是这样吗?
但是最后一行code谁能讲一下大概什么意思?
特别是*(int **)&buf[...]和 (char*)&(s->p... 阅读全帖
w********s
发帖数: 1570
48
来自主题: JobHunting版 - 狗狗家面筋
switch基本上就是
CMP XXX, VALUE
JUMP XXXXXX
举个例子,
void dummy(int s)
{
switch (s)
{
case 0:
std::cout << "this is 0.";
break;
case 1:
std::cout << "this is 1.";
break;
default:
std::cout << "default.";
break;
}
}
步骤:
parameter s(SS:[EBP+8]) -> EAX
move EAX to the stack
compare the value (s, which is in SS:[EBP-0F4] to switch values 0)
jump if equal (the code for handling case 0)
compare the value to 1
jump if equal
if there is no ... 阅读全帖
L******k
发帖数: 395
49
Problem Description
-------------------
Your task is to write a command-line program to evaluate a set of
equations, each specified on separate lines. An equation is defined
by:
=
is the left-hand side of the equation and is always a variable
name. A variable name can only be composed of letters from the
alphabet (e.g. for which isalpha(c) is 1). is the right hand
side of the equation and can be composed of variables, unsigned
integers, and the + operator.
Here is one exa... 阅读全帖
h***b
发帖数: 1233
50
来自主题: Living版 - 投资房子的保税问题
to clarify--rentals are passive activity. passive loss usually can only
offset passive gain but IRS allows up to $25k of rental loss (1040 line #17-
-subj to income limitation) to offset "reg income" (non-passive)--e.g. W-2.
phase-out starts @ MAGI 100k. beyond $150k, all rental losses are
disallowed--then gets carried forward (no limit). non-allowed loss CAN be
used to offset reg income on yr of disposal of the rental.
assume income is not an issue, expenses get deducted right away in the s... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)