由买买提看人间百态

topics

全部话题 - 话题: foo
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
m*********a
发帖数: 3299
1
来自主题: Programming版 - 这二个在C++中有区别不?
多谢。终于懂了。
真是太坑了,java 的实现多简单啊
Foo myFoo=new Foo();

c++的
Foo &myFoo=*(new Foo());
N******K
发帖数: 10202
2
来自主题: Programming版 - 请教C++11的rvalue ref
我说的临时变量 是一个函数返回一个object 这个东西是临时变量 也叫做 rvalue
fun_return_object() 返回一个 object
Foo(X& x) 不能这么用;Foo(fun_return_object())
Foo(X&& x) 可以这么用;Foo(fun_return_object())
s*******g
发帖数: 243
3
来自主题: Programming版 - 国内的编程论坛很不自由
编,继续编。
一开始引用你的原文“static_cast不会让你做静态无法保证安全性的转换,比如基类
指针转派生类”。我想看的人都是认为你的意思是编译不过吧。我说code可以编译运行
。你又来“有消除不掉的警告”。我用gcc 4.8.3,-Wall没有任何警告,麻烦你告诉我
你用的什么compiler,平行宇宙的gcc?
还说“必须dynamic_cast才是正路”。你在那本书上看到是必须的?如果没有没有
virtual function,不能用dynamic_cast的时候该用什么?
“蓝翔都知道基类不能转派生类”?举个简单的例子,CRTP模式
http://stackoverflow.com/questions/262254/crtp-to-avoid-dynamic
template
struct base {
void foo() {
static_cast(this)->foo();
};
};
struct my_type : base {
void foo(); // requir... 阅读全帖
v******y
发帖数: 84
4
来自主题: Programming版 - 问两个C++语法问题
第一个装逼通得过编译么?简直就是扯淡
constexpr隐含着const的意思,是implicitly indicates a const.
constexpr is an expression that can be evaluate into a constant,
during compiling when a variable is initiated.
比如
int x=20;
constexpr int y=x+1;
const X& foo() &
第二个&是要求foo是一个class的 method,foo这个function不会改变这个class fields
的值
比如
class X{
private:
int val;
...
const X & foo() &{
//you can not change X.val here
}
}
w****6
发帖数: 796
5
来自主题: Programming版 - vecot> p怎么 得到p的指针呢?
1)use a pointer:
foo(&p);
void foo(vector> *p) {... }
2) use a reference:
foo(p);
void foo(vector> &ref) {... }
p*****y
发帖数: 1049
6
来自主题: Programming版 - 设计一种c++语言的新特性
c++语言委员会曾经讨论过类似于java和d语言的import module 的方案。
然而最终决定暂不将其加入c++17的目标中。原因是macro无法回避。
我思考c++语言的一种折中的新特性。
众所周知,c++的类定义存在一个严重的缺陷。类必须定义在头文件里面,这样就不
得不暴露私有成员,无法实现真正意义上的封装。
举例子 :
在c++语言里,可以在头文件中如此声明一个函数
void foo();
然后在cpp文件中定义这个函数。
但是在c++语言中,只能如此定义一个类:
class A
{
public:
void foo();
private:
int I;
}
这样私有成员就被暴露在头文件里面。违反了封装的基本原则。
我提议一种c++的新特性:允许分次定义一个类。
在头文件里,可以定义类的一部分。在cpp文件里面,可以定义类的另外一部分。
两部分不能互相冲突,不能有所重叠。
例如 在A.h里可以定义:
class A
{
public:
void foo();
}
然后在A.cpp 文件里定义
class A
{
public:
void function... 阅读全帖
H****S
发帖数: 1359
7
Any reason you have to make Foo.Bar polymorphic? If you make it monomorphic
(get rid of [A]), it actually compiles and is runnable.
// in scala
class Foo {
abstract class Bar(val id: String) {}
}
// in java
public class MainFoo {
public static void main(String... args) {
Foo2 foo = new Foo2();
Foo2.Bar bar = foo.new Bar("id") {};
}
}


比如scala里:
w***g
发帖数: 5958
8
来自主题: Programming版 - 求这道题的O(N)解
老夫给你们解一下吧。
Q确定的话,
maximum(A[P]+A[Q]+Q-P) = maximum(A[P]-P)|P<=Q + A[Q]+Q
所以就是维护两个最大值:
foo = 至今看到过的最大的A[P]-P, 初始值负无穷大
bar = 至今看到过的最大的A[P]-P + A[Q]+Q, 初始指负无穷大
for i in range(N):
foo = max(foo, A[i] - i)
bar = max(bar, foo + A[i] + i)
走的是动归套路,但是A[P]-P和A[Q]+Q没有耦合,所以内部循环省了。
a*****e
发帖数: 1700
9
来自主题: Programming版 - FP有的,Python都有!
比如 comprehension!
Python 3.6.3 (default, Oct 3 2017, 07:47:49)
[GCC 6.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> foo=[1,2,3]
>>> bar=(item for item in foo if foo.count(item) > 0)
>>> foo=[2,4,6]
>>> list(bar)
[2]
a*********e
发帖数: 228
10
来自主题: EE版 - Marvell 电面的一些问题。
the most important different for question 1:
if foo==x, c will be x for
c = foo ? a : b;
but if you use
if (foo) c = a;
else c = b
c will always equal b because x is evaluated as false here. This subtle
difference makes c= foo? a: b a prefered choice for front end verification
because it can propogate x so that you can catch some control path bugs
earlier.
j*****j
发帖数: 115
11
来自主题: JobHunting版 - 两个sorted array找median
int foo(int* a, int* b, int a_min, int a_max, int b_min, int b_max)
{
if((a_max-a_min==1)&&(b_max-b_min==1)) return median of a[a_min],a[a_max
],b[b_min],b[b_max];

int a_mid=(a_min+a_max)/2;
int b_mid=ceil((b_min+b_max)/2);
if(a[a_mid]==b[b_mid]) return a[a_mid];
elseif(a[a_mid] else return foo(a,b,a_min,a_mid,b_mid,b_max);
}
d**e
发帖数: 6098
12
来自主题: JobHunting版 - 问一道c++的题
这是我找到的答案
========================
Q: How can I handle a destructor that fails?
A: Write a message to a log-_le. But do not throw an exception. The C++ rule
is that you must never throw an exception from a destructor that is being
called during the "stack unwinding" process of another exception. For
example, if someone says throw Foo(), the stack will be unwound so all the
stack frames between the throw Foo() and the } catch (Foo e) { will get
popped. This is called stack unwinding. During stack
p********7
发帖数: 549
13
来自主题: JobHunting版 - 问个AMAZON以前没讨论出结果的题
我记得上次有人拿出了个dp的办法,其实我想了下,他就是没考虑到一个东西。就是除
非是因为边界限制,所有的最长序列开头都可以转换为至少有1个1的情况。
特例是0011100是因为边界限制。
所以我完全可以用那个dp的办法做
步骤是
1.扫描一次得到1,0个数,以及差值,如果是N
2.从2头遍历这个数组,遇到0,0的情况就开投指针+1 同时差值-1
如果是0/1情况,就移动0 差值-1
如果都是1,比如 10000110001
如果函数名叫int foo(int N,int head,int end)
就是max(foo(N+1,head+1,end),foo(N+1,head,end-1))
最后就能得到结果。
3.最后再考虑是不是因为边界,这种情况只可能是包含了所有1的序列。所以就把1当作
1,0当作-1,遍历一次,看当最后一个1pass过后,总和是否能为0.
00111100 在倒数第二个就是0了,如果这样的情况存在,那么这个肯定是最长的。如果
没这种情况存在前2步的算法就是对的
o*****e
发帖数: 99
14
来自主题: JobHunting版 - 攒人品 报BB面经
Sigh...,
Why are so many misleading information here.
You guys really should try it out before post here.
char* c;
is not a "declare" in this case, it is a definition.
since the stack will allocate 4bytes(8bytes for 64bit machine) for it.
And you don't have to initialize this pointer if you decide to give it a
value in foo().
#include
#include
void foo(char** a){
static char A[20] = "hello world";
*a = A;
}
int main(){
char* c;
foo(&c);
printf("%s",c);
... 阅读全帖
J******8
发帖数: 132
15
来自主题: JobHunting版 - Facebook phone screen
The question is not hard. But I missed two key points.
The details below.
==========================================================
/*
example
char *words[] = {"foo", "bar", "baz", NULL};
setup(words);
1) First step:
isMember("foo") -> true
isMember("garply") -> false
2) Second step:
isMember("f.o") -> true
isMember("..") -> false
*/
#include
#include
#include
char *words[] = {"foo", "bar", "baz", "caz","cat",NULL};
int num=0;
void print_words(void)
{
int i=0... 阅读全帖
L*******e
发帖数: 114
16
来自主题: JobHunting版 - Embrassed Bloomberg 电面
一点废话都没有,全是technical的东西,我实在太水了。
1. what happended after you type shell command in Linux?
2. what is the reason that shell hangs?
3. what is SIGCHILD and how to use it? how the parent process collect status
of child?
4. what is dynamic_cast? give a scenario that requires dynamic_cast? how
dynamic_cast is implmented?
5. What is the issue for the following program?
int main()
{
Foo *p = new Foo(1);
p->function1();
return 0;
}
Suppose Foo is defined already. I said the me... 阅读全帖
g**u
发帖数: 583
17
来自主题: JobHunting版 - 攒人品,发amazon第一轮面筋
刚面的amazon,下面是第一轮的面经。
应该是位india guy. 英语说的很清楚,没有什么理解问题。
题目很少,但是没问 why amazon, regex expression的问题。
下面是问的问题:
1.看到简历里面写了 C++和 Java,列出2者的区别,至少3个,并加以解释比较。
2. 关于OOD的继承的概念问题:
class a;
class b extends class a;
Is there any problem in the following codeand why?
a A =new b();
b B=new a();
3.基于上面的问题,问了下面这个问题关于虚函数调用的问题
class a with public function foo();
class b extends class a, and overide function foo();
we have:
a A=new b();
A->foo();
which function get called? from class a or ... 阅读全帖
h*****g
发帖数: 312
18
来自主题: JobHunting版 - 【字符指针题】求帮助?
void foo (/* Add param here */) {
}
void main () {
char *str;
foo (/* Pass str somehow here */);
printf ("%s\n", str);//line 1
}
想在line 1处 输出 hello 得咋搞?
半天也没搞懂~~~
在foo()内用static?
g**u
发帖数: 583
19
来自主题: JobHunting版 - Amazon on site面试, 攒RP, 求祝福

可以想象现在有一个 circular array, 里面的每个cell都有唯一的id,但是现在每个
cell只能向下一个cell发消息,只能从上一个cell接收消息,然后tail的下一个是开头
(成为一个环)。 现在是所有的cell可以类比为网络中的host,利用提供的api选出
leader,分析算法的复杂度(需要send多少message)。
最后一题是如何 evaluate如下的表达式:
3 - foo* bar/5+4
其中假设我们有时symbal table查询foo和bar的值。
表达式已经tokenlize了, listexpression,上面的例子里面就有7个string
, 分别是 “3”,“-”,“foo”,“*”, "bar","/", "5"
s*******f
发帖数: 1114
20
来自主题: JobHunting版 - 二维数组参数怎么传好?
used for interview.
I don't mean this:
void foo(int m[][const_num])
I want to deal with any size, not just <=const_num.
or this: vector > &vv;
or this: void foo(int *m, int row, int col){m[i * row + j] = ...;}
or this: void foo(int **m)? this cannot accept int m[5][5];
g*********e
发帖数: 14401
21
来自主题: JobHunting版 - google电面杯具,贡献题目

,
false
I didn't quite understand your post.
I mean
foo(string){
if(strlen(string)==1) {
if string exist return true;
else return false;
}
else if(string don't exist) return false;
else return foo(tring) | foo(sring)...;
}
so if a string "abc" doesn;'t exist, we don't bother to check ab, ac, bc
bas
r*******n
发帖数: 3020
22
来自主题: JobHunting版 - google电面杯具,贡献题目
俺给你想法一样,
优化方法, 把中间结果放掉hashtable里,
中间结果是满足条件的word, 不用再调用函数判断了,
如果在hashtable就返回真.
foo(string){
if(strlen(string)==1) {
if string exist return true;
else return false;
}
else if(string don't exist) return false;
else return foo(tring) | foo(sring)...;
}
g*********e
发帖数: 14401
23
来自主题: JobHunting版 - google电面杯具,贡献题目

,
false
I didn't quite understand your post.
I mean
foo(string){
if(strlen(string)==1) {
if string exist return true;
else return false;
}
else if(string don't exist) return false;
else return foo(tring) | foo(sring)...;
}
so if a string "abc" doesn;'t exist, we don't bother to check ab, ac, bc
bas
r*******n
发帖数: 3020
24
来自主题: JobHunting版 - google电面杯具,贡献题目
俺给你想法一样,
优化方法, 把中间结果放掉hashtable里,
中间结果是满足条件的word, 不用再调用函数判断了,
如果在hashtable就返回真.
foo(string){
if(strlen(string)==1) {
if string exist return true;
else return false;
}
else if(string don't exist) return false;
else return foo(tring) | foo(sring)...;
}
q***0
发帖数: 43
25
来自主题: JobHunting版 - Interview Question I Got
C++ or Java:
Given table passed in as a 3*N array of strings
California, Palo Alto, Alice
Arizona, Phoenix, Bob
California, Palo Alto, Foo
California, San Francisco, Eve
California, San Diego, Peter
Washington, Seattle, Bar
Print State, City, Name hierarchically, order does not matter:
E.g. the following is valid:
California
Palo Alto
Alice, Foo
San Francisco
Eve
San Diego
Peter
Arizona
... 阅读全帖
S******t
发帖数: 151
26
来自主题: JobHunting版 - 这题咋做?
“走”是说往前走么?
anyway, basic dp
int v[MAXN];
int f[MAXN];
int foo(int now) {
int ret = 0;
for(int i=1;i ret |= foo(now + i);
return f[now] = ret;
}
int main() {
memset(f,-1,sizeof(f));
printf("%d\n",foo(0));
return 0;
}
h*****f
发帖数: 248
27
来自主题: JobHunting版 - Can we define pure virtual function?
I think it wants to force the derived class to either "override/implement"
foo() or call A::foo(), so that A::foo() won't be called by accident.
C***y
发帖数: 2546
28
来自主题: JobHunting版 - Question about type conversion
Got error C2664: 'foo' : cannot convert parameter 1 from 'B *' to 'A *&'
How can I handle it? Thanks!
class A
{
};
class B: public A
{
};
void foo( A*& a )
{
}
void bar( B*& b )
{
foo(b);
}
int main()
{
B* b = NULL;
bar( b);
return 0;
}
z****e
发帖数: 54598
29
http://stackoverflow.com/questions/70689/efficient-way-to-imple
class Foo {
private static volatile Bar bar = null;
public static Bar getBar() {
if (bar == null) {
synchronized(Foo.class) {
if (bar == null)
bar = new Bar();
}
}
return bar;
}
}
1.5之后加一个volatile关键字,也能解决问题
但是牺牲了效率,因为volatile关键字本身就降低了效率
所以double check的完美其实并不完美,本身也降低了效率
既然降低了效率,那还不如直接消费掉那点内存算了
最bitchy的是enum的解决方式
简单说是把class写成enum
public ... 阅读全帖
b***d
发帖数: 87
30
来自主题: JobHunting版 - 请教一道leetcode的online judge题
请教一道leetcode的online judge题,题目一直没看懂。
Given an absolute path for a file (Unix-style), simplify it.
For example,
path = "/home/", => "/home"
path = "/a/./b/../../c/", => "/c"
另外还有几个列子:
/home/foo/../bar" -> "/home/bar"
"/home/foo/./.././bar" -> "/home/bar"
"/home/of/foo/../../bar/../../is/./here/." -> "/is/here"
d**e
发帖数: 6098
31
来自主题: JobHunting版 - 问个java List的问题
大致上,如果要override Object.equals函数,可以是
public boolean equals(Object obj) {
if(this == obj) {
return true;
}
if(!(obj instanceof Foo)) {
return false;
}
Foo other = (Foo) obj;
boolean result = this.number == other.number;
if(!result) {
return false;
} else {
if(this.name != null) {
result = this.name.equals(other.name);
} else {
result = (other.name == null);
}
if(!result) {
return false;
... 阅读全帖
s*****1
发帖数: 134
32
来自主题: JobHunting版 - 问个关于java和C++的问题
c++中,定义一个class Foo,
class Foo{
int* array;
public:
Foo(int size){
array = new int[size];
}
}
假设别人调用这个构造函数,如果调用时赋值size<0 那么就出错了,为了避免这种情
况,该怎么办?
另外,如果是java,遇到这种情况,又该怎么办?
谢谢啦~
g********E
发帖数: 178
33
来自主题: JobHunting版 - 吐槽下今天的面试
EBAY的,带着打酱油的心情吐槽一下其中一个面试官--印度美眉。她长的挺漂亮的,而
且没口音,令我对她好感倍生。上来她先跟我闲聊了一会,然后开始问编程题,这就是
悲剧的开始了。
她问了一个经典的fibonacci数列问题,要求打印出前n个fibonacci数。我一想这个简
单呀,但是美眉要求用recursive写。我吭哧吭哧写了几行,发现自己水平有限, get
stuck了,尴尬了一会就说:这个用recursive不太好写,其实用iterative更efficient
,也比较好处理打印功能。美眉就让我写iterative,我喜滋滋地写了,写完美眉也认可
了,可是接着说:现在继续来写这个recursive吧。。。我就苦着脸又尴尬了一会儿,
美眉按耐不住了说其实就是你刚才写的修改一下就行了,于是我按照提示写出code,贴
在这里给大家赏鉴一下:
int foo(int n){
if(n == 0) return 0;
if(n == 1 || n == 2) {
cout<<1<<" ";
return 1;
}
int... 阅读全帖
n**********2
发帖数: 214
34
来自主题: JobHunting版 - IPSoft的面试题,和大家共享下
答案:
Foo getLastFoo(List stuff) throws NoSuchFooException {
for (int i=stuff.size()-1; i>=0; i--) {
if (stuff.get(i) instanceof Foo) {
return (Foo) stuff.get(i);
}
}
throw new NoSuchFooException();
}
c**y
发帖数: 172
35
来自主题: JobHunting版 - 请教一个c的概念题
写了个程序测了一些,没有发现你的说的问题,both (p < q) and (p > q) are
possible, depending on how the parameters are passed. The code below is
compiled with c++ 11.
#include
#include
#include
using namespace std;
void foo(int *p, int *q)
{
while (p cout << "p < q" < return;
}
cout << "p > q" << endl;
return;
}
int main() {
int *pa = new int(10);
int *pb = new int(20);
foo(pa, pb);
foo(pb, pa);
return 0;
}
======== output =... 阅读全帖
g*********e
发帖数: 14401
36
一个粗俗点的办法,就是用一个stack,stack里面每个元素存每个Iteration所有的变
量。
foo(argument(s) arg) {
argument a, b;
// compute a, b from arg
foo(a);
foo(b);
}
stack stk;
while(!stk.empty()) {
argument top=stk.top();
argument b= // compute b from top
argument a= // compute a from top
stk.push(b);
stk.push(a);
}
c**********e
发帖数: 58
37
来自主题: JobHunting版 - A question about C++. Thanks.
a is not initialized to 0, nor b is initialized to NULL. Try this
class foo
{
public:
// foo() {cout << a << " " << b << endl;};
int a;
int *b;
};
void doSth()
{
foo f;
cout << f.a << " " << f.b << endl;
}
int main() {
doSth();
// int a;
// cout << a << endl;
// int *b;
// cout << b << endl;
return 0;
}
m*****k
发帖数: 731
38
来自主题: JobHunting版 - 求问一道multithreading问题
但用SynchronousQueue还是可能foo, foo, bar
thread2 SynchronousQueue.take() 和 output "bar" 之间可以有 thread 1 output
"foo"
l*y
发帖数: 70
39
来自主题: JobHunting版 - 面经 + 总结
前言
楼主最近集中面了5家,略有体验。准备过程中从坛子里受益匪浅,希望在此分享面试
经历回馈本版。本来想总结的有条理些,但是又懒又不想太说教所以就以流水账的形式
出现,想到哪里说到哪里,比较混乱您就当看故事了。觉得有用的希望能对您以后面试
有帮助,觉得没用的请您一笑而过。
面经在最后以独立部分列出以便查阅。由于签了NDA并出于尊重面试官的考虑,此部分
不分公司放出 (电面onsite也混合)。
背景
MS毕业后工作7年,最近在马鬃工作. 进马鬃之前在本地小公司厮混也不知本版的高大上
,进马鬃之后偶然间知道这片天地,奋起刷题一年 (有小孩+工作忙+自己也有懈怠
)终于做完一遍LC。虽然回首一看有40%左右跟新题一样(完全没印象)但是感觉能力
有所提高,正赶上N家定了onsite遂开始找兄弟们内推,有幸两周半之内安排好另外4家
,聚一周一起面。
公司:F, L, G, I (Intuit) 和 N(Netflix)。
注:楼主至今还没收到offer所以就不谈了。至于以后,如果能有,也不会报去向以及
具体数字,避免争议。多包涵哈。
我的准备之也谈刷题
跟些老朋友聊,刷题刷的是什么?(不是寂寞... 阅读全帖
f*****C
发帖数: 84
40
来自主题: JobHunting版 - Reverse Linked list 用java实现
比如
public class Foo{
public void foo(List list){
lalalala(list);
}
public void lalalala(List list){
list.clear();
}
}
这样的话foo里面的list也会被清空啊,不是把list指向的地址传给lalalala吗?两个
list指向的是同一个地址
头插法是神马?? 我看的geeksforgeeks上面的c解法 然后想用java实现 发现里
面有个传值prev实现不了
a****r
发帖数: 87
41
来自主题: JobHunting版 - 今天想通了一个java的问题
javadoc
/**
* Returns a synchronized (thread-safe) sorted set backed by the
specified
* sorted set. In order to guarantee serial access, it is critical that
* all access to the backing sorted set is accomplished
* through the returned sorted set (or its views).


*
* It is imperative that the user manually synchronize on the returned
* sorted set when iterating over it or any of its subSet,
* headSet, or tailSet阅读全帖

a*******g
发帖数: 1221
42
来自主题: JobHunting版 - 请教unique_ptr vs auto_ptr
void foo(void)
{
。。。。
vector v; //C是一个class
v.push_back(new C());
。。。。
}
答: 如果能保证后来对vector中每一个元素都free,这么写完全没有问题。只有傻逼才
会在new之后忘了delete。
问为什么可以用unique_ptr,而不能用auto_ptr呢?比如
void foo(void)
{
。。。。
vector< unique_ptr > v; //可以
//vector< auto_ptr > v; //不可以
v.push_back(new C());
。。。。
}
答案见二楼的链接。
如果用unique_ptr的话就不用担心new delete之类的问题了。因为在foo调用结束的时
候,unique_str可以保证自动调用delete
S*********k
发帖数: 507
43
来自主题: Badminton版 - 給Youtube提了個建議
我沒發現不好用啊。你可以試試一些搜索算符和syntax。加双引号,比如 "Foo Bar"
可以搜索完全符合的標題。
"Foo * Bar" 可以搜索任意标题含有 Foo Bar 并且中间含有任意字符串的。
比如搜所有 session 18 的视频,可以用
"THOMAS AND UBER CUP FINALS 2014 Session 18, Match ?"
m*********s
发帖数: 354
44
来自主题: Football版 - UFL Playoff 展望
还有两周,先乌鸦一把:
1. Sailor, now 8:3, after tonight, 9:3 for sure.
Next two opponents, mouse and bison, should be easy,
11:3 enter playoff.
2. Ras, now 8:4, foo, froger remaining, foo is coming
strong, maybe 50/50, 9.5:4.5 in playoff.
3.Breeze, now 8:4, Maple, Topdog remaining, not certain on
either of them, could be both 50/50, 9:5 in playoff
4.Maple, now 7:5, Breeze, Froger remaining,
8.5:5.5 in playoff
The remain 4 seats, bison 6:6, Tiger 6:6, swiftPower 6:6,
foo 5:7, carbon60 5:7, Topdog 5:7 are c
a****r
发帖数: 154
45
来自主题: Football版 - BFL draft result and analysis (round 2)
Round 2:
tin: Fred Taylor
foo: Dillon
flying pig: Holt
sailor: Tony Gonz
Canes: Pepper
Fio: Barlow
Stonecold: TO
me: Chris Brown
Maple: Vick
Titan: Henry
carbon: Hine Ward
ras: Mcnabb
bison: Santana Moss
Champ Bengal: M. Hasselbeck
rookie: Pennington
Hearst: Darrel Jackson
睡说草稿顺位排在后面不好,第2轮一上来几位狂强剩下的几个sure feature backs.
真让人羡慕。 tintin, foo 和佛罗伦萨都是两个solid RBs在手,心里不慌。相比之
下,个人感觉是 fio >= foo >= tintin (tintin第一轮的D. Davis总是有点疑问)。
Flying pig搞定Holt, 依照ras某年的赛季前乌鸦rankin
R*s
发帖数: 2041
46
来自主题: Football版 - MFL playoof 展望(after week12)
Lock:
Dragon Legacy (10-2)
carbon60 (9-3)
Egirls (10-2)
但是这三支队均没有lock division champ, 所以不能放弃。
Almost in for sure:
foo (8-4), 最差情况连输两场最后8-6, 但现在7-5的breeze/fire/dog之间有两场比赛,
所以至少有一个队会成为8-6, foo 总得分优势胶大。
Miami canes (8-4),跟foo的情况一样,而且实力更强,是全联盟和dragon一样最hot的队。
Likely in:
breeze (7-5), playoff race最关键球队,下两场直接挑战同为7-5的fire和topdog.
不近决定wild card, 而且可能争夺division冠军。预计1-1. final 8-6.
gardenia/fire (7-5), 下两场迎战breeze/egirls, 艰苦。预计1-1. final 8-6.
alomar (7-5), 最tough remaining schedu
p********o
发帖数: 8012
47
来自主题: Soccer版 - 该更新当世名帅排行榜了
神当。foo?
一档。foo?
二当。foo?
★ 发自iPhone App: ChineseWeb 7.7
z**********u
发帖数: 754
48
来自主题: WaterWorld版 - 好文分享 (转载)
【 以下文字转载自 Military 讨论区 】
发信人: zhongguotewu (tewu), 信区: Military
标 题: 好文分享
发信站: BBS 未名空间站 (Tue Jun 26 00:58:07 2012, 美东)
有英文好的同學可以幫忙看看這篇文章嗎?
Dear esteemed FOO leaders,
We are a bunch of concerned Chinese students and scholars from the People's
Republic of China who are now staying in the US to study the advanced
science and technology of America and promote the Sino-American frendship
between our two great countries, peoples and governments. We are concerned
because we recently found one of your... 阅读全帖
d********f
发帖数: 43471
49
【 以下文字转载自 JobHunting 讨论区 】
发信人: greentreeE (冬天的绿树), 信区: JobHunting
标 题: 吐槽下今天的面试(update并请教面试准备)
发信站: BBS 未名空间站 (Wed Jul 10 04:04:50 2013, 美东)
update一下,今天收到通知喊我去第二轮onsite,真是很纠结,本来这次面试都差点不
想去了,觉得自己水平太差,结果去了也果然是被打击,第一个人就问了一堆这个会不
会那个会不会,我就除了c++/data structure/oo programming其他都是不会,后来
manager又继续问,说虽然算法数据结构这些挺有用的,但是我们实际工作中考虑很多
大数据啊系统设计啊服务器之类的问题,你怎么整?而且我们都用java你也不咋会。还
问我知不知道compiler怎么work的,我当然不知道,才第一次听说lexical analysis这
个词。。
其实受点打击也无所谓,本来我已经放弃直接找工作,打算去念个CS学位了,只是正好
有个朋友说可以推荐,就抱着打酱油的心情去试一下。电话也面的不好,onsite... 阅读全帖
c********1
发帖数: 421
50
来自主题: BuildingWeb版 - 吐槽 MySQL
【 以下文字转载自 Programming 讨论区 】
发信人: coupondea1 (coupon and deal), 信区: Programming
标 题: 吐槽 MySQL
发信站: BBS 未名空间站 (Tue Aug 26 18:25:32 2014, 美东)
MySQL的问题实在太多。
1. 一台机器上的数据库,里面有中文信息,死活无法成功导入到另一台机器上
的mysql,总显示乱码。修改了所有的设置都无用,不是这种乱码就是另外一种乱码。
2,另外一个DB,用phpMyAdmin生成导出.sql文件,在导入另一台机器上时
报错there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT
or ON UPDATE clause
仔细检查.sql文件,发现只有一列是用的ON UPDATE CURRENT_TIMESTAMP
其它的列连 on UPDATE / DEFAULT 语句都没有
后来才知道,该表中有2列均为timestamp,其中之一设了ON UPDATE
CURRENT_TIM... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)