由买买提看人间百态

topics

全部话题 - 话题: readable
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
n*****u
发帖数: 465
1
忍不住看了眼主页, 丫解决了西加加爪蛙之争.
•Programming should be done in Python by default, while OCaml/Haskell
is also encouraged (each student should be fluent in least one functional
language). But C++, Perl, or Java is strictly forbidden because we aim for
elegance and readability rather than quick-and-dirtiness or verbosity.
f******h
发帖数: 45
2
也找工作了一段时间了,从版上学了很多,上周G家面完了,求个bless。
之前的一些都挂了,还在继续找其他的。等定下来之后一定发面经回报本版。
谢谢大家啦!!
1. http://www.mitbbs.com/article_t/JobHunting/32005597.html
1) Implement a simple calculator (+,-,*,/);
2) Implement "+1" for a large integer;
3) How to match Ads to users;
4) How to extract useful information from a forum webpage (list all
kinds of useful signal you can think of)
5) How to detect the duplicate HTML pages (large scale);
6) Find all the paths between two places on Google map;
7)... 阅读全帖
b****y
发帖数: 169
3
来自主题: JobHunting版 - 又招人了,DevOps Engineer (转载)
【 以下文字转载自 Programming 讨论区 】
发信人: binary (erazer), 信区: Programming
标 题: 又招人了,DevOps Engineer
发信站: BBS 未名空间站 (Fri Apr 25 19:30:19 2014, 美东)
湾区小公司。感兴趣请给我发站内邮件。
谢谢。
Job Description
• Support an always-available cloud-based SaaS platform
• Support application deployments, building new systems and
upgrading and patching existing ones.
• Develop automation to quickly and rapidly deploy instances from
hardened images
• Using monitoring tools to find problems, res... 阅读全帖
b****y
发帖数: 169
4
来自主题: JobHunting版 - 又招人了,Software Engineer (转载)
【 以下文字转载自 Programming 讨论区 】
发信人: binary (erazer), 信区: Programming
标 题: 又招人了,Software Engineer
发信站: BBS 未名空间站 (Fri Apr 25 19:30:19 2014, 美东)
似乎大家对这个职位不大感兴趣,贴了快一个星期只收到一个邮件。
比上次招Java Developer差远了。
我想说明一下,这个职位不是一个系统管理员的职位。
确实需要对系统管理比较熟悉,但是会需要做不少软件开发。
公司的业务需要管理全球上百数据中心里的上万台机器。
需要可靠地部署,更新,监控是一个很大的挑战。
这其实是一个要求很高的职位,需要对网络,系统构架,各种语言的
开发,系统维护都有相当的了解才行。待遇上跟上次的Java Developer
是相当的。
湾区小公司。感兴趣请给我发站内邮件。
谢谢。
Job Description
• Support an always-available cloud-based SaaS platform
• Support ap... 阅读全帖
g*****g
发帖数: 34805
5
来自主题: JobHunting版 - RESTful 到底有啥优势呢
lightweight, human readable.
g*****g
发帖数: 34805
6
来自主题: JobHunting版 - RESTful 到底有啥优势呢
human readable, pass firewall.
g*****g
发帖数: 34805
7
来自主题: JobHunting版 - RESTful 到底有啥优势呢
Protobuf thrift can be compared to JSON and XML, not REST or SOAP. I think
you are comparing apple to orange. Also JSON dominates because it's readable
, can't say the same thing for binary protocol. For most apps, the small
performance gain is not worth it.

on
c******n
发帖数: 4965
8
来自主题: JobHunting版 - RESTful 到底有啥优势呢
protobuf. avro thrift all come naturally with a RPC generation framework
RPC ( including soap rest) are really nothing more than object encapsulation
, just on wire, not on disk.
plus these specially designed encapsulation mechanisms are so much more
advanced, for example allowing schema evolution ( API changes) without
efforts by application developers

readable
c******n
发帖数: 4965
9
来自主题: JobHunting版 - RESTful 到底有啥优势呢
I don't care about actual on wire format , be it binary or JSON.
for debugging/Dev purposes, the format can be easily swapped/ interpreted
with the tools provided in these projects.
essentially the original proponents of rest were trying to write assembly
code, while we really need to be using high level Lang a and use tools to
compile

readable
c******n
发帖数: 4965
10
来自主题: JobHunting版 - RESTful 到底有啥优势呢
I really don't think it's anything beyond trivial , it's just an extra pipe
command.
most of the cases it's just unwillingness to spend that extra 10minutes to
get familiar with the right tool and be done with it.
but I completely agree with u that when people talk about "performance" in
online app context, 90% of the time they don't really need it as much as
they claim, and readability/maintainability is much more important

a
you
optimization.
d******5
发帖数: 42
11
来自主题: JobHunting版 - C++還是Java面試比較好?
python 呢
human readable language额
s*i
发帖数: 5025
12
来自主题: JobHunting版 - 谷歌电面回馈
差不多一样,我是这么干的:
int pre = -1;
for(int i: input)
{
int gap = i - pre; //a little readable
if(gap == 2)
System.out.println(pre + 1);
else if(gap > 2)
System.out.println((pre + 1) + "-" + (i-1));
last = i;
}
if(pre == 98)
System.out.println(99);
else if(pre < 99)
System.out.println((pre + 1) + "-99");
h**********c
发帖数: 4120
13
in addition:
recursive compact, readable;
iterative, three nested loops; ijk noodles;
u*******d
发帖数: 3
14
Hello
我想发个ms, amz, fb, t, l的 intern 面经(只有记得的,很多记不住了)
在最后找个暑假在fb 实习的室友(也可以加个联系方式联系下) 在3亩地也发下
面经:
ms:
1面:先问了一堆os的问题, eg. lock, mutex, thread, process, bla, bla
然后coding 写sort linked list, (不能放到array里再sort,就是sort linked
list)
然后再debug一个function,有concurrency
2面:design 一个 tic tac toe within a tic tac toe within a tic tac toe
design题,要oop,没有正确答案,看你怎么编吧
还聊了很多resume上的
amz
1面:给两个list,一个是word list, 一个是prefix list
return 所有的word that have the prefix
例子: word list = [“a", "abc", "dz", "dda... 阅读全帖
b**********5
发帖数: 7881
15
来自主题: JobHunting版 - 跪求建议
没觉得python好到那里去啊, readability不如java, c, 当然我是C, c++出身。。
然后debug也不那么powerful。。。 只觉得这东西是个quick scripting language,
用他写点testing tool还算可以。。。
p*****2
发帖数: 21240
16
object oriented programming
你应该把code贴出来
n******n
发帖数: 12088
17
如果OOP完全不懂,临阵磨枪不灵的。
贴代码小心被对方看到。
n******n
发帖数: 12088
18
还有几年没碰过C++?
p**********7
发帖数: 122
19
多谢,就是要把一些数据和函数封装到class里面然后放到几个文件上面么?
我刚开始也想这样搞,但是数据传输总是出错。。。于是就全都放到一个文件上面了。
。。
p**********7
发帖数: 122
20
虽然也不是完全不懂,但是都是好多年前上课学过的东西了。。。忘得差不多了。。。
也跟小白差不多。。。
e*******o
发帖数: 4654
21
学这些老语言,最基本的,把经典书过一遍。
如果附近有大学图书馆,架子上的书挨着过。
n******n
发帖数: 12088
n******n
发帖数: 12088
23
如果你的理解就是分开到几个文件,那你得考虑这工作是否合适你
p**********7
发帖数: 122
24
我知道这样做是为了数据和函数的安全和重用性,理解得很浅显
n******n
发帖数: 12088
25
你的代码基本是C写法。包含了向量头文件,但压根没用。申请的内存没有释放,坏习
惯。IO和计算混在一起。
p**********7
发帖数: 122
26
好的,谢谢~~~受教了
s******u
发帖数: 550
27
随便说几句,可以考虑定义下vector, matrix
你的linear regression是用gradient-based method写的吗,可以分开写求导的,也就
是查找方向的函数,
前面仁兄说的,io和计算分开,同时很多命名真的很让人头疼
现在看起来,非常难以理解,现在linear regression的实现open source应该有很多,
自己搜搜看别人怎么写的
我上学的时候用的是matlab的optimization box,你也可以去看看人家怎么写的
e*******o
发帖数: 4654
28
Effective Modern C++: 42 Specific Ways to Improve Your Use of C++11 and C++
14
Mr. C++ 著
h******e
发帖数: 52
29
来自主题: JobHunting版 - Airbnb到底招什么样的人?
我是用c#写的,你说的这个我知道, 在平时工作当中一般用string.format, which is
on top of stringbuilder() and more efficient,but less readible. 我们相互做
code review也经常提起。 但面试代码我想尽量写的readable.
如果这是面试官关心的问题,我想面试官应该隐含的提问关于efficiency的问题,考察
是否知道他们的区别,能不能很快fix。这才是一个健康的面试。 他当时什么都不说,
就说让通过test cases。 如果真是因为这一点, 也不说,就太阴暗了吧。
我也面试过很多人,也去其他公司面试过,一般面试就是相互交流的过程,即便失败,
后来基本都知道原因所在。 所以我觉的这是一次奇葩的面试。

情况
l******9
发帖数: 579
30
来自主题: JobHunting版 - IIS7.5 大于 64KB 文件不能下载 ?
大于 64KB 文件不能下载 (from C# code). 大于 文件不能完全下载, 只能下载 64KB
, 然后
truncated. Why ?
I have published a web service application (C# built in VS2010) to a desktop
with IIS 7.5 win7.
The web service has been hosted successfully on win 7.
Now I can install the application on my laptop (win 7) by accessing the URL
http://myDesktopName.domain.com/MyApp/MyAppSetup.msi
pointing to a physical location in desktop
E:myPathmyAppmyAppService.svc
Now, in my application, I need to download (from C# on my laptop) a .da... 阅读全帖
h*******y
发帖数: 37
31
已经好几个onsite了到目前还未收到offer
打滚求版上朋友各种内推
刚收到结果已跪
听说报面经涨人品,发一个
刚面的groupon palo alto office的 software engineer - front end
一共是两轮电面加上onsite 五轮,电面是一轮后端 一轮前端,onsite五轮是两个前端
一个后端两个vp
电面:
第一轮 manager 后台的
问了一些html5的属性
然后一道算法题目并且写测试
"Buy 3 pairs of socks for $4.50"
"Buy 3 pairs of socks for $4 2/4"
Requirements:
- Must have a denominator of 4: eg 4.50 => 4 2/4
- If numerator is 0, then don't show the fraction: eg 4.00 => 4
- If the integer part is 0, then don't show it! eg 0.75 => 3/4
- For negative input, th... 阅读全帖
S********t
发帖数: 3431
32
来自主题: JobHunting版 - 为啥G家onsite题做出来还是悲剧
设想你写的code就是发给TL做code review,让reviewer提不出 nontrivial的comment
。也就是 readability, efficiency/performance, cleanness三者兼顾吧。
x*****a
发帖数: 309
33
来自主题: JobHunting版 - Tesla recruiter sucks
Some questions in the test are wrong. Some letters are not readable. After I
finished the test, the grader gave a super low score.
The name of recruiter is Brian.
Where can I file a complain?
u***8
发帖数: 1581
34
来自主题: JobHunting版 - code review这算是挑刺么?
要检测日期,2015-10-11 是不是YYYY-MM-DD的格式。
if (!startDate.matches("\d{4}-\d{2}-\d{2}")) {
throw new Exception("ERROR: startDate " + startDate + " is
invalid.");
}
reviewer说,Please compile the pattern + matcher, and use the matcher to
match the dates.
我问,值得么?
他说。In terms of performance, yes.
这个真的很大的performance 的关系么?
还有,return new X>(new Y (Y)
非要分段写, 3行。
说是Readability.
这算鸡蛋里面挑骨头么?
更新: 3楼之后。
http://stackoverflow.com/questions/2149680/regex-date-format-va
这个检测我是看这个的。
第2条, 我看c... 阅读全帖
t********c
发帖数: 28
35
来自主题: JobHunting版 - code review这算是挑刺么?
我这种readability都是给人敲章水过的人也忍不住喷你一下你的代码了
三个点都该喷
真正鸡蛋挑骨头的你没见过
变量命名要改,class名要改,改了之后 突然又觉得另外一个名字更好,继续改
代码结构要改,但又讲不出道理,只是是说他觉得那样更好,哼哧哼哧搞了一两天之后
,我发现此路不通,再费半个小时口舌告诉他为什么不能这么改,
S********t
发帖数: 3431
36
来自主题: JobHunting版 - 刷leetcode的几层境界
我面过中国过来的acm medalist的。code 思维确实比一般人牛,但是交流太差,
readability也不好。虽然我给他过了,最后还是被拒了。
m******0
发帖数: 222
37
来自主题: JobHunting版 - 刷leetcode的几层境界
readability差是指?能举例子吗?

发帖数: 1
38
来自主题: JobHunting版 - FB电面挂了,求指点
我自己分析失败的原因,大家帮忙看看: 1. 用了SortedDictionary,不Efficient. 该
用List.OrderBy(x=x.start) 2.第二次loop一遍时,重复了第一个element, code也不
是特别readable. 3.因为只有半小时,当时想解法花了5分钟左右,test case没给完整
,(我只说了 null/empty/one element and T1: [1,2],[3,4] T2: [1,3],[2,4] T3 [
1,2],[1,3]
w*******i
发帖数: 186
39
好长的帖子 不过都看完了 为提倡有策略的国人互助点赞
另外觉得帖子冗余文字比较多 其实结构微调下 readability可以好很多
r*********r
发帖数: 53
40
来自主题: JobHunting版 - 这个isNumber错在哪里?
无聊过来回复下吧, code大概扫了几秒钟。
1. code style 太烂
a. hard to follow, readability 太差
b. too verbose
2. 没有考虑到科学计数的case, eg: 7.823E5, 1.2e−4
PS: 面试的时候不要觉得题目写出来了feedback就一定好,code 是不是clean, 是不是
organized well也是很重要的一个factor.
t********3
发帖数: 36
41
Currently, I am recruiting candidates for one of my requirement as mentioned
below. If you have a matching profile, please send me the updated resume
along with contact details at the earliest. (l********[email protected])
Job Title .Net developer
Location: multiple
Skills Required and Job Description:
• Energetic and adaptable contributor to SCRUM development process.
• Write elegantly readable, testable code that satisfies all stated
requirements
• Develop WCF REST web services ... 阅读全帖
b****y
发帖数: 169
42
来自主题: JobMarket版 - 又招人了,DevOps Engineer (转载)
【 以下文字转载自 Programming 讨论区 】
发信人: binary (erazer), 信区: Programming
标 题: 又招人了,DevOps Engineer
发信站: BBS 未名空间站 (Fri Apr 25 19:30:19 2014, 美东)
湾区小公司。感兴趣请给我发站内邮件。
谢谢。
Job Description
• Support an always-available cloud-based SaaS platform
• Support application deployments, building new systems and
upgrading and patching existing ones.
• Develop automation to quickly and rapidly deploy instances from
hardened images
• Using monitoring tools to find problems, res... 阅读全帖
M**********n
发帖数: 4964
43
我说个事情不知道你们信不信,我以前有个别扫描成pdf的文件存在thumb drive上,几
年下来有打开文件几次,有时候发现个别文件突然”坏“了,打不开,显示文件不存在
或者not readable 之类,忘了具体啥error message。 不是盘坏了,是个别文件坏了
,其他文件没问题。对IT不熟,以前都很无措,不知道怎么回事怎么恢复,最后只能删
除。
l*h
发帖数: 4124
44
来自主题: Medicine版 - 求助: 一位生命垂危的幼儿
if you'd like some opinions, you'd better have a readable medical summary.
this is unreadable.
l*h
发帖数: 4124
45
don't intend to disappoint you, but the image quality is not readable. you
need DICOM files. film prints are often incorrectly adjusted.
m****u
发帖数: 229
46
I made this post to remind you all to SCRATCH your Vanilla Prepaid Reload
card gentally, so you don't destory the card like I did today.
----------------------------------------------------------------------------
---------
I went to a 7-11 gas station convenience store today and bought a $500+$3.95
fee Vanilla Prepaid Reload card with my Discover IT card.
I started scratch the Vanilla Prepaid Reload card(VPRC) with a penny really
hard. I ended up damaging the first three digits of the VPRC PIN.... 阅读全帖
k*********5
发帖数: 1417
47
来自主题: Money版 - bluebird收到两个warning
新手上周刚申请了BLUEBIRD
收到卡在网上激活之后就尝试把在staples买的MASTERCARD load到账户里去
不过在网上加了卡之后转了两次都不成功
显示bluebird的卡没有激活
还没来得急打电话激活就收到了两封warning的邮件
请问这该怎么处理?
打电话告诉他看到买的卡上有debit的标志就觉得可以冲了么
还是??
第二封要是不把ID给他们会怎么样?
第一封:
During a recent review of your account we noticed you have linked a prepaid
card that is not a permitted funding source. The acceptable card funding
sources is a bank debit card.
Please contact us immediately at 1-800-660-2454 so we can discuss further
details on this matter.
第二封:
During a recent review, ... 阅读全帖
S*******r
发帖数: 275
48
来自主题: Money版 - Serve卡也会被review???
Card Number xxxx-xxxx-xxxx-xxxx:
Hello xxxx,
During a recent review, we noticed irregular activity on your American
Express Serve® Account. For your security and protection, some features
on your Account have been suspended while we conduct further investigation.
In order to restore these account features, please help us verify your
identity by sending a readable copy of the following documents within ten
days of the date on this email:
Valid Picture ID
A valid driver's license ... 阅读全帖
r******e
发帖数: 181
49
卡可用。transaction 被suspend. 被要求提供以下资料. 是随机的?中奖?
In order to restore these account features, please help us verify your
identity by sending a readable copy of the following documents within ten
days of the date on this email:
Valid Picture ID
A valid driver's license card OR
A valid state issued ID OR
A valid Government ID Card (e.g. Green Card)OR
A valid United States Passport
A copy of your Bank Statement from US Bank Account Ending in N/A, which is
dated within the last 3 months, and shows your... 阅读全帖
a****g
发帖数: 286
50
来自主题: Money版 - global entry 带 TSA precheck?
请问global entry面试前就需要更新绿卡成machine readable, 还是面试完更新绿卡也
成?
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)