Redian新闻
>
amazon的手机是按unlocked价格收税的
avatar
amazon的手机是按unlocked价格收税的# PDA - 掌中宝
c*g
1
Cracking Ed4里的9.7 答案有错吗?
Question 9.7
A circus is designing a tower routine consisting of people standing atop one
another's shoulders. For practical and aesthetic reasons, each person must
be both shorter and lighter than the person below him or her. Given the
heights and weights of each person in the circus, write a method to compute
the largest possible number of people in such a tower.
我怎么觉得我能想出不符合答案的例子?
avatar
i*e
2
$99 的 HTC one, 居然收 $54 的税,太夸张了吧
avatar
d*t
3
我觉得答案思路对头,似乎算法有问题。

one
must
compute

【在 c****g 的大作中提到】
: Cracking Ed4里的9.7 答案有错吗?
: Question 9.7
: A circus is designing a tower routine consisting of people standing atop one
: another's shoulders. For practical and aesthetic reasons, each person must
: be both shorter and lighter than the person below him or her. Given the
: heights and weights of each person in the circus, write a method to compute
: the largest possible number of people in such a tower.
: 我怎么觉得我能想出不符合答案的例子?

avatar
p*r
4
Costco and Walmart do not charge tax based on the full price. Do not buy
from Amazon.
avatar
N*n
5
那里面不少题目答案都有问题

【在 d********t 的大作中提到】
: 我觉得答案思路对头,似乎算法有问题。
:
: one
: must
: compute

avatar
h*2
6
这得问你们州政府,有些州的消费税就是按照折扣前算的
avatar
p*2
7
这本书随便看看就算了。主要是leetcode要好好做。
avatar
a*e
8
in theory that is what they supposed to do.
for phone with contract, you are paying the full price, just $99 up front
and the rest in 24 months installments.

【在 i****e 的大作中提到】
: $99 的 HTC one, 居然收 $54 的税,太夸张了吧
avatar
c*g
9
哦。
我正要找题训练一下。
leetcode里按照什么顺序去做呀?
先做这个? Interview Questions Online Judge
另外,在Cracking书里,database, networking, threads & locks, low level需要做
吗?
database虽然简单,但是要花时间记忆那些命令。平时都不用的。
threads & locks,在学习Java时看了,感觉基本概念也不复杂。主要point是,如果访
问资源冲突,就Sync。另外防止死锁。更深入的就不知道了。
networking没概念啊。

【在 p*****2 的大作中提到】
: 这本书随便看看就算了。主要是leetcode要好好做。
avatar
p*r
10

Has nothing to do with the state. It's upto retail to interpret.
I am in CA. Costco only charge tax based on $199 price, not $599 price.
Amazon charges tax based on $599.
avatar
c*g
11
我觉得思路是错的。
算法按照它的思路是正确的。当然,既然思路错了,所以最终的算法是错误的。
形象思维可以通过一个平面,若干点来理解。

【在 d********t 的大作中提到】
: 我觉得答案思路对头,似乎算法有问题。
:
: one
: must
: compute

avatar
f*d
12
我上周五就发现了,加州是这样,不知道你在哪个州。后来想去Costco买,结果人没有
那个700min的family plan,best buy也没有这个plan.只有Walmart有,$148.和Amazon
差不多,想想售后服务,还是打算从了Amazon.

【在 i****e 的大作中提到】
: $99 的 HTC one, 居然收 $54 的税,太夸张了吧
avatar
g*g
13
Java concurrency的东西很复杂,没几年经验根本整不明白,但面试
很少有考得深的。

【在 c****g 的大作中提到】
: 哦。
: 我正要找题训练一下。
: leetcode里按照什么顺序去做呀?
: 先做这个? Interview Questions Online Judge
: 另外,在Cracking书里,database, networking, threads & locks, low level需要做
: 吗?
: database虽然简单,但是要花时间记忆那些命令。平时都不用的。
: threads & locks,在学习Java时看了,感觉基本概念也不复杂。主要point是,如果访
: 问资源冲突,就Sync。另外防止死锁。更深入的就不知道了。
: networking没概念啊。

avatar
b*l
14
嗯,完全是商家的决定。

【在 p*********r 的大作中提到】
:
: Has nothing to do with the state. It's upto retail to interpret.
: I am in CA. Costco only charge tax based on $199 price, not $599 price.
: Amazon charges tax based on $599.

avatar
c*g
15
不少都有问题?
感觉不至于吧。
不过它里面给的很多答案不全,就是比如Node class不会写出来。如果要编译成功,自
己要加一些基本的class。

【在 N**n 的大作中提到】
: 那里面不少题目答案都有问题
avatar
p*r
16

Amazon
售后服务 Walmart should be more convenient 吧.

【在 f****d 的大作中提到】
: 我上周五就发现了,加州是这样,不知道你在哪个州。后来想去Costco买,结果人没有
: 那个700min的family plan,best buy也没有这个plan.只有Walmart有,$148.和Amazon
: 差不多,想想售后服务,还是打算从了Amazon.

avatar
c*g
17
那像我这种非科班的(研究中其实大量算法编程,但此算法非彼算法),是不是,做做
题,看几本pattern design的书就可以了?
很多东西,比如C++ 和 Java里的很多语法,不用就忘了。
Effective C++看了约20个items,感觉属于craftsmanship的技巧,很实用,但是在算
法题中不实用。不做大的project也用不到。

【在 g*****g 的大作中提到】
: Java concurrency的东西很复杂,没几年经验根本整不明白,但面试
: 很少有考得深的。

avatar
f*d
18
Walmart wireless也是online的。我感觉好像Amazon好一点。
还是Walmart wireless也有实体店。反正我就想找个退货容易的。

【在 p*********r 的大作中提到】
:
: Amazon
: 售后服务 Walmart should be more convenient 吧.

avatar
W*g
19
design pattern就不用看了。那个面试不问。工作中常用的pattern也就那么几个,而
且很多人都不知道的。
如果非科班出身的,我建议有时间啃一下这本书:
Computer Systems: A Programmer's Perspective,
虽然未必对面试有所帮助,但程序员多数时候需要知道的系统知识都在里面了。如果把
这本书掌握得好了,与科班出身之间的鸿沟就基本填平了。

【在 c****g 的大作中提到】
: 那像我这种非科班的(研究中其实大量算法编程,但此算法非彼算法),是不是,做做
: 题,看几本pattern design的书就可以了?
: 很多东西,比如C++ 和 Java里的很多语法,不用就忘了。
: Effective C++看了约20个items,感觉属于craftsmanship的技巧,很实用,但是在算
: 法题中不实用。不做大的project也用不到。

avatar
i*e
20
好吧。
Costco没会员卡的话可以网上买吗

【在 p*********r 的大作中提到】
: Costco and Walmart do not charge tax based on the full price. Do not buy
: from Amazon.

avatar
c*g
21
90多刀。好像有电子书,不过这种书电脑上看有些费眼神。
这个和“计算机原理”有什么区别?我学过这门课。
另外,在学习各种编程语言,我发现如果了解了编译原理应该很有助于语言的学习。
能否推荐一本?

【在 W******g 的大作中提到】
: design pattern就不用看了。那个面试不问。工作中常用的pattern也就那么几个,而
: 且很多人都不知道的。
: 如果非科班出身的,我建议有时间啃一下这本书:
: Computer Systems: A Programmer's Perspective,
: 虽然未必对面试有所帮助,但程序员多数时候需要知道的系统知识都在里面了。如果把
: 这本书掌握得好了,与科班出身之间的鸿沟就基本填平了。

avatar
f*d
22
Walmart好像都不收税,$148就是$148.

【在 i****e 的大作中提到】
: 好吧。
: Costco没会员卡的话可以网上买吗

avatar
W*g
23
这本书不是仅仅计算机组成原理,是体系结构、操作系统和一些编译器知识等诸多内容
的混合。总之就是程序员需要知道的很多知识就是了。
我觉得你想了解的编译原理未必是你觉得"有助于语言的学习"的"编译原理"
你如果真地对编译原理感兴趣,大家会推荐你啃龙书,在google里搜索"drogan book"
但你找到这本书就会发现你不像读的。

,而
果把

【在 c****g 的大作中提到】
: 90多刀。好像有电子书,不过这种书电脑上看有些费眼神。
: 这个和“计算机原理”有什么区别?我学过这门课。
: 另外,在学习各种编程语言,我发现如果了解了编译原理应该很有助于语言的学习。
: 能否推荐一本?

avatar
i*e
24
也在加州,刚搬来不久。
Walmart 好像前一阵子有$149的 HTC one + $50 in store credit?再等等看吧。

Amazon

【在 f****d 的大作中提到】
: 我上周五就发现了,加州是这样,不知道你在哪个州。后来想去Costco买,结果人没有
: 那个700min的family plan,best buy也没有这个plan.只有Walmart有,$148.和Amazon
: 差不多,想想售后服务,还是打算从了Amazon.

avatar
M*a
25
csapp是很经典的书
可惜很多东西就很面的讲了一章,感觉不够细

【在 W******g 的大作中提到】
: 这本书不是仅仅计算机组成原理,是体系结构、操作系统和一些编译器知识等诸多内容
: 的混合。总之就是程序员需要知道的很多知识就是了。
: 我觉得你想了解的编译原理未必是你觉得"有助于语言的学习"的"编译原理"
: 你如果真地对编译原理感兴趣,大家会推荐你啃龙书,在google里搜索"drogan book"
: 但你找到这本书就会发现你不像读的。
:
: ,而
: 果把

avatar
i*e
26
在amazon的网站上找到这么一段
The state of California has specific tax regulations regarding the sales of
cellular phones and other devices like tablets or mobile hot spots that use
wireless service. These devices are often subsidized (sold at a discount)
with a requirement that the customer enters a contract with a wireless
service provider. For example, a phone that sells for $599.99 without a
contract may sell for $0.01 with a two-year contract for wireless service.
California requires that devices sold at a discount with a wireless service
contract are taxed on the full, undiscounted price of the device without a
contract. So in the example above, a phone sold for $0.01 with a two-year
contract would be taxed on the $599.99 no-contract price.
walmart为啥不收税呢?

【在 f****d 的大作中提到】
: Walmart好像都不收税,$148就是$148.
avatar
M*a
27
我一直以为os concept恐龙书也叫dragon book,后来才发现要叫dinosaur book
编译原理主要讲怎么做parser
csapp linker比较多

【在 W******g 的大作中提到】
: 这本书不是仅仅计算机组成原理,是体系结构、操作系统和一些编译器知识等诸多内容
: 的混合。总之就是程序员需要知道的很多知识就是了。
: 我觉得你想了解的编译原理未必是你觉得"有助于语言的学习"的"编译原理"
: 你如果真地对编译原理感兴趣,大家会推荐你啃龙书,在google里搜索"drogan book"
: 但你找到这本书就会发现你不像读的。
:
: ,而
: 果把

avatar
f*d
28
好像现在就有$50 credit.要不就刚刚没有的?

【在 i****e 的大作中提到】
: 也在加州,刚搬来不久。
: Walmart 好像前一阵子有$149的 HTC one + $50 in store credit?再等等看吧。
:
: Amazon

avatar
c*g
29
所以一个叫恐龙书,一个叫美龙书,呵呵。

【在 M*****a 的大作中提到】
: 我一直以为os concept恐龙书也叫dragon book,后来才发现要叫dinosaur book
: 编译原理主要讲怎么做parser
: csapp linker比较多

avatar
f*x
30
现在就有

【在 i****e 的大作中提到】
: 也在加州,刚搬来不久。
: Walmart 好像前一阵子有$149的 HTC one + $50 in store credit?再等等看吧。
:
: Amazon

avatar
c*g
31
那有没有帮助各类编程语言学习的“编译原理”的书呢?可能就是你推荐的那本
Computer Systems: A Programmer's Perspective?
其实一些语言的琐碎细节,或者C++ 和Java的区别,如果用更高层次的编译原理,来理
解,恐怕更容易和更容易举一反三。好比在二维世界很费神的东西,如果人升到三维世
界俯瞰,也许会恍然大悟。
另外,基于现在网络教育发达,我觉得今后导师的主要目的是:根据学生的背景和需求
,制定修业计划和提供实用的书籍。比如学习Java,可以有提供初学者学习的书,也可
以是Java for junior level C++ programmers,Java for senior level C++
programmers等等。不知大家有否同样感受?

【在 W******g 的大作中提到】
: 这本书不是仅仅计算机组成原理,是体系结构、操作系统和一些编译器知识等诸多内容
: 的混合。总之就是程序员需要知道的很多知识就是了。
: 我觉得你想了解的编译原理未必是你觉得"有助于语言的学习"的"编译原理"
: 你如果真地对编译原理感兴趣,大家会推荐你啃龙书,在google里搜索"drogan book"
: 但你找到这本书就会发现你不像读的。
:
: ,而
: 果把

avatar
i*e
32
只看到有$25 in music and movies,没什么用啊

【在 f****d 的大作中提到】
: 好像现在就有$50 credit.要不就刚刚没有的?
avatar
W*g
33
具体说说,你觉得哪方面的知识会帮助你学习各类语言?

内容

【在 c****g 的大作中提到】
: 那有没有帮助各类编程语言学习的“编译原理”的书呢?可能就是你推荐的那本
: Computer Systems: A Programmer's Perspective?
: 其实一些语言的琐碎细节,或者C++ 和Java的区别,如果用更高层次的编译原理,来理
: 解,恐怕更容易和更容易举一反三。好比在二维世界很费神的东西,如果人升到三维世
: 界俯瞰,也许会恍然大悟。
: 另外,基于现在网络教育发达,我觉得今后导师的主要目的是:根据学生的背景和需求
: ,制定修业计划和提供实用的书籍。比如学习Java,可以有提供初学者学习的书,也可
: 以是Java for junior level C++ programmers,Java for senior level C++
: programmers等等。不知大家有否同样感受?

avatar
f*d
34
不知道,反正我试了试,到最后一步就是$148.

of
use
service

【在 i****e 的大作中提到】
: 在amazon的网站上找到这么一段
: The state of California has specific tax regulations regarding the sales of
: cellular phones and other devices like tablets or mobile hot spots that use
: wireless service. These devices are often subsidized (sold at a discount)
: with a requirement that the customer enters a contract with a wireless
: service provider. For example, a phone that sells for $599.99 without a
: contract may sell for $0.01 with a two-year contract for wireless service.
: California requires that devices sold at a discount with a wireless service
: contract are taxed on the full, undiscounted price of the device without a
: contract. So in the example above, a phone sold for $0.01 with a two-year

avatar
c*g
35
比如多态的编译实现。
比如类里的data怎么在memory存储的。一个object的data在memory的储存有关如何有效
存入disk里有待以后调用,曾经网上有讨论能否直接copy这个object的内存空间(不考
虑指针类型数据)。
虽然能从表象猜出大概编译过程,但是具体的实施过程应该有助于更深的理解。

【在 W******g 的大作中提到】
: 具体说说,你觉得哪方面的知识会帮助你学习各类语言?
:
: 内容

avatar
i*e
36
真的有?我看到的不是啊。给个链接吧

【在 f**x 的大作中提到】
: 现在就有
avatar
N*n
37
Node class不写出来正常,面试的时候我也不会写出来,大家理解就是了

【在 c****g 的大作中提到】
: 不少都有问题?
: 感觉不至于吧。
: 不过它里面给的很多答案不全,就是比如Node class不会写出来。如果要编译成功,自
: 己要加一些基本的class。

avatar
i*e
38
好,再等等看吧
avatar
w*e
39
on tax on monthly phone bill?

【在 a***e 的大作中提到】
: in theory that is what they supposed to do.
: for phone with contract, you are paying the full price, just $99 up front
: and the rest in 24 months installments.

avatar
M*e
40
后面话费已经带税了 还按照full price收税就是double tax了

【在 a***e 的大作中提到】
: in theory that is what they supposed to do.
: for phone with contract, you are paying the full price, just $99 up front
: and the rest in 24 months installments.

avatar
p*r
41

Exactly, wireless carriers, such as AT&T charges sales tax on the monthly
bill. Part of monthly bill practically goes to the phone. That's kind of
double tax.
The more I think, the more I feel prepaid plan is better. No sales tax, no
regulation fee. I can just buy a phone at full price without sales tax from
tigerdirect.com

【在 M****e 的大作中提到】
: 后面话费已经带税了 还按照full price收税就是double tax了
avatar
a*e
42
you sure they charge 5% on a $50 plan?
never look into that in details.
good target for a class action:)

【在 M****e 的大作中提到】
: 后面话费已经带税了 还按照full price收税就是double tax了
avatar
h*k
43
我们州的各种苛捐杂税加起来有18%,再加上Federal,能到24%。一个40+20的经济型
plan,每月税就是十几块。很多人来这工作好多年了,还坚持使用以前州的号码。

【在 a***e 的大作中提到】
: you sure they charge 5% on a $50 plan?
: never look into that in details.
: good target for a class action:)

avatar
M*e
44
att是这样的,而且还有各种苛捐杂税,上个月开始又多收了一个admin fee。有的公司
即使是50, 12 flat rate, 实际还是交税了的。

【在 a***e 的大作中提到】
: you sure they charge 5% on a $50 plan?
: never look into that in details.
: good target for a class action:)

avatar
p*r
45
That's one of the important reasons that wireless carriers want you to sign
up 2 year contracts. They can add this fee and that fee to make some
communities(such as old and low income family) happy, but all the money
actually is not coming from AT&T; it is coming from those post-paid
subscribers.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。