q**1 发帖数: 193 | 1 so, you dont want to build your own shell anyway.. haa
Be careful, if you are under bash, aliases dont support
arguments and are deprecated. For that issue, use functions
instead, you can customized many stuff that aliases and
stand-alone scripts do. |
|
t****t 发帖数: 6806 | 2 as i said, nothing really wrong with the code. you may be picky and say it
should return const char*, but for compatibility concerns, c++ allows
assigning string literal (address) to char*, so compilers won't complain.
although this conversion is deprecated.
change
reference |
|
k*****l 发帖数: 177 | 3 我用的是
g++ -g -O3 -Wall -Wno-sign-compare -Wno-deprecated -fomit-frame-pointer -
ffast-math |
|
r****t 发帖数: 10904 | 4 今天编译某个别人的程序,发现现在 test1 这种写法编译应该已经有 warning 了:
warning: deprecated conversion from string constant to 'char*'
test2 是怎么回事俺还没明白。。。 |
|
E*U 发帖数: 2028 | 5 from another place
Note that using static for internal linkage is deprecated since it can't be
used on classes and you should use anonymous namespaces which although they
have external linkage are unreachable from other translation units.
in |
|
z****e 发帖数: 54598 | 6
more languages are deprecated
only few languages can survive
like c, java, i dont think js will be one of them
since we dont really care about web now
mobile+cloud is the future
and mobile apps have their own IDE like xcode
why we need a stupid script language to write some complicated code?
xcode is simple enough for ppl to understand and use |
|
z****e 发帖数: 54598 | 7
more languages are deprecated
only few languages can survive
like c, java, i dont think js will be one of them
since we dont really care about web now
mobile+cloud is the future
and mobile apps have their own IDE like xcode
why we need a stupid script language to write some complicated code?
xcode is simple enough for ppl to understand and use |
|
z***e 发帖数: 5393 | 8 越来越认为这些 xxx page语言都应该慢慢被deprecate掉,我认为未来的web就是完全的
client直接和各种service的交互,server只返回数据,至于client是要生成html还是
在iphone/android/PC/Mac上显示,由client去决定,唯一需要的可能就是一个http
协议用来传送json数据。
使用php/jsp/aspx来构造html,只是为了简单方便而已,我是这样认为。原则上可以说
这样
开发效率较快,但是反过来说你还要找专门开发php/jsp/asp的developer,开发环节多
了,
很可能更慢。
但是如果minimiaze php这个层面,就断了公司里面php developer的生路,又不好在公
司里面
对其他人表达我这个看法。
各位觉得呢? |
|
r*****3 发帖数: 143 | 9 中文名: 新C++标准:C++0x 概述
原名: Overview of the New C++ : C++0x
作者: Scott Meyers
图书分类: 软件
资源格式: PDF
版本: 英文文字版
出版社: Artima
书号: 978-0-596-80197-6
发行时间: 2011年
地区: 美国
语言: 英文
简介:
内容介绍:
Specification of the next version of C++ (“C++0x”) is nearing completion,
and many compilers (e.g., Visual C++ and Gnu C++) already offer several
features from the revised language. And such features! auto-declared
variables reduce typing drudgery and syntactic noise; Unicode and threading
support address important functional... 阅读全帖 |
|
r*****3 发帖数: 143 | 10 中文名: Objective-C 编程 (第3版)
原名: Programming in Objective-C, 3rd Edition
作者: Stephen G. Kochan
图书分类: 软件
资源格式: PDF
版本: 英文文字版/更新EPUB版本
出版社: Addison-Wesley Professional
书号: 978-0321711397
发行时间: 2011年
地区: 美国
语言: 英文
简介:
内容介绍:
This unique approach to learning, combined with many small program examples
and exercises at the end of each chapter, makes Programming in Objective-C
ideally suited for either classroom use or self-study. While the Objective-C
language itself has gone through minimal changes since... 阅读全帖 |
|
m*****e 发帖数: 4193 | 11 Only for web services. How do I do it just as a standalone application with
no GUI?
ClientLogin can work but is deprecated. |
|
g*****g 发帖数: 34805 | 12 It's only an option, NIO2 doesn't deprecate NIO or blocking IO. You choose
the best tool for your job. You can stick to blocking IO if that's
sufficient, and I'd say that's about 99% of all cases. But a tool rarely can
be more efficient and simpler, that's just the nature of it.
months,
justify |
|
f******y 发帖数: 2971 | 13 auto_ptr只是在C++11里才deprecated的,是因为有了那两个新的。后边的麻烦你用中
文说一下。
system |
|
t****t 发帖数: 6806 | 14 weak_ptr is not independent. so it goes down to two (templated) classes:
unique_ptr and shared_ptr. auto_ptr in c++03 is deprecated anyway. so when
you say c++11 smart pointers, it must be these two classes. look at the
table of contents, there are only 2 section under "smart pointers". i don't
know what else you refer, maybe you get some wrong impression from other
sources.
the |
|
z****e 发帖数: 54598 | 15 java本身就是法语,严谨而且规范,很少乱改
但是每一次改动都比较权威,错误少,兼容性强
到现在java还兼容awt和applet这种古董
到现在淘汰的仅限于java1.1的类库,1.2的大部分类都还在继续用
连标示为deprecated的类都少
而java外延各种框架,类库,语言
是英语,大杂烩,啥都有,乱七八糟的
玩吧,发挥你的想象力,想怎么搞就怎么搞
找自己顺手的上 |
|
g*****g 发帖数: 34805 | 16 Rod and Martin are both programmers I admire. However, this is a language,
not a framework. A person can shape a framework, a language, not so much.
You can't even remove features already existing in a language (or at least
deprecate over a long period of time), otherwise it's compilation issue and
lousy foul complaint in the community. Scala is already so flexible that
more features hardly make it better. I am sure if the community settles down
on the language, and focus on the quality of frame... 阅读全帖 |
|
z****e 发帖数: 54598 | 17 of course it is important
java 1.0 - for interactive television
java 1.1 - for web browsers (applet)
java 1.2 - for general purpose
most of classed in first 2 versions r deprecated |
|
c******o 发帖数: 1277 | 18 用scala 有一段了,最近又自学了clojure和自己练习了一下 akka/spark
说说新的感想。
我们的新后端是Play/Scala的,本来想加akka,但是事实上最后用的很少。
是不是akka不好,没啥用呢?我以前也有这个疑问,现在觉得理解错了。
Akka是很好,绝对是killer app. 以前我觉得没用,没用到,是理解错了。
第一,我其实是在间接的用akka, scala 2.10.x的future就是以前akka的future,
scala的future已经deprecated, play本身就是build在akka上的,spark也是。
第二,其实我们确实用不到actor,actor最大得用途是distributed fault tolerance
system, 一般的async future/dataflow就足够足够了。要是需要shared data,
transaction, agent就够了。虽然actor以上两个都可以用,但是也不一定要用。
第三,其实akka很多内容,actor只是一个最general的。
有future(其实内部都是callback),... 阅读全帖 |
|
c******o 发帖数: 1277 | 19 play node的并发都是一台机上共享内存/OS的。
akka是不一样,akka 立足在 distributed computing, location neutral,你根本不
知道也不在乎call的另一个actor在哪儿 , scale/currency来说更强大,consistency
也更弱,只能自己做(刚刚deprecate STM)。 |
|
|
s***o 发帖数: 2191 | 21 - Add SqlDbType.Image to that parameter and see what happens
- Comment out all try/catch temporarily and let all possible exceptions
propagate
- Image type is deprecated, use varbinary(max) instead, although I don't
think this is the cause to your problem |
|
h****r 发帖数: 2056 | 22 开始支持和广泛被使用有没有时间上的区别?green thread啥时候被deprecated?
说句不好听的话,我老玩java的时候,你还在中关村倒电脑吧?
了。 |
|
n****1 发帖数: 1136 | 23 Thread显然是最简单直观的,只不过是运行效率差罢了,所以go有goroutine,haskell
里有forkIO,都是thread方式的api,callback级别的运行效率。
node要想摆脱callbk的恶名,必须脱胎换骨:把一个promise/future/generator/
whatever的东西彻底标准化,然后deprecate所有带callbk的api,强制放弃维护。否则
江山易改,禀性难移。 |
|
c********1 发帖数: 421 | 24 index和staging area这两个名称互相混用,产生混淆
而且除了index以外,还有一个更outdated的称呼“cache”
既然cache这个称号已经deprecated,那么就不应该用cache
结果在官方的doc的最新版里面,还是存在“cache”这个词
--cached
Apply a patch without touching the working tree. Instead take the cached
data, apply the patch, and store the result in the index without using the
working tree. This implies |
|
f*****e 发帖数: 2992 | 25 就是不删啊,就是显示webmetrics history的。都是history了,不会增删改。如果经
常改动该怎么做?我们公司有个senior说secondary index is deprecated。我估计他
是妒忌我的想法。娃哈哈哈。 |
|
b***i 发帖数: 3043 | 26 I approve this message.
曾经有幸读到Java团队的人在96年写的代码,仍然可以运行。当然,有很多warning,
deprecated什么的,但是可以编译运行。 |
|
c*********e 发帖数: 16335 | 27 android每个版本都不一样,有新的class出来,你是没学,一学能让你发疯,整天就纠
结版本问题就能让你疯掉。哪天出来个新版本,你写的android code就deprecated了。
swift也一样,把objective-c程序员涮了,还得没脾气,继续跟上去学。嘿嘿。苹果真
是与众不同。
程序员这一行,真的是青春饭。学校教的东西经常换,工作了自己不学习,马上就跟不
上时代了。 |
|
z****e 发帖数: 54598 | 28 丫瞎扯蛋
android的api基本上都是跟java保持一致
从来没听说java的api有乱改的说法
java的api向下兼容出了名的稳定
顶多就是@Deprecated
主要是第三方类库经常乱改,这个其实跟android没鸟关系
别人发布的包,他愿意改接口,那谁有办法
android主要问题是屏幕太多太乱
hdpi, xhdpi, xxhdpi这些不是1:2:3的关系
是3:4.5:6的关系,非整数关系,比较恶心
像swift就很容易了,都是x1,x2,x3这种 |
|
|
w**z 发帖数: 8232 | 30 hector 没有新的development, cassandra 新feature 可能不支持。它只支持 thrift.
C* 慢慢转到 cql/ native protocol. thrift 会在将来被deprecated. 用 datastax
的driver 比较保险。 用open source 最怕的就是没人maintain. |
|
l*********s 发帖数: 5409 | 31 RAII solves resource management issues created by exceptions, but RAII has
other merits and exception has more issues. You cannot equate them.
New standard has deprecated exception declaration, if you consider that is
an endorsement of throwing exception, I don't know what to tell you. |
|
s******u 发帖数: 501 | 32 这题目扯淡么,面试的人自己屁都不懂,因为照上面写的unique_ptr<>一样编译通不过
原因跟auto_ptr一样,因为最初的STL要求copy-constructable and assignable,
unique_ptr跟auto_ptr一样不满足这两个条件。所以push_back(unique_ptr)不行,
而且push_back(C*)也不行,因为unique_ptr不提供直接从C*的implicit constructor
C++11的STL改了要求了,只要求moveable就可以了,所以在C++11下面可以写
push_back(std::move(unique_ptr));
或者直接用construct in place的
emplace_back(C*)
但是原先的push_back还是不能用,因为push_back还是要求copyable
再又说回来了,在C++11下面auto_ptr跟unique_ptr是一样可以放在STL里面的,当然只
能用std:move或者emplace_back,一样不能用push_back
最后,C++11之所以depr... 阅读全帖 |
|
发帖数: 1 | 33
pandas在python 包里已经算是好的了
我最近拿 zipline 跑股票回测, 因为算法要保密,就没敢上 online的版本,本机跑
的, 然后乐子就来了
zipline跑出来的结果是个pickle file, 需要pyfolio读取, 然后我就发现 pyfolio
装不上,因为有个库的版本需要小于多少,而 zipline需要那个库大于多少。 而
pyfolio同时需要 zipline
类似这种的问题在python里无数, python里写算法是快, 但一个项目我做100天,实
际可能99天在解决库的依赖性, 简直要疯了, conda的多环境设计也帮不了啥
最过分的是大部分的库作者是明显的野路子出身,毫无软件设计的基本概念,基本上函
数界面一不爽就换, 到处是deprecated 的提示, 同一份code 半年之后就可能因为库
变了完全跑不通,修改的代价还不如重写划算
可能有人要劝我上docker,给每个软件单独建环境, 但你知道你需要同时维护多少个
docker吗? 我估计得小100 |
|
发帖数: 1 | 34
pandas在python 包里已经算是好的了
我最近拿 zipline 跑股票回测, 因为算法要保密,就没敢上 online的版本,本机跑
的, 然后乐子就来了
zipline跑出来的结果是个pickle file, 需要pyfolio读取, 然后我就发现 pyfolio
装不上,因为有个库的版本需要小于多少,而 zipline需要那个库大于多少。 而
pyfolio同时需要 zipline
类似这种的问题在python里无数, python里写算法是快, 但一个项目我做100天,实
际可能99天在解决库的依赖性, 简直要疯了, conda的多环境设计也帮不了啥
最过分的是大部分的库作者是明显的野路子出身,毫无软件设计的基本概念,基本上函
数界面一不爽就换, 到处是deprecated 的提示, 同一份code 半年之后就可能因为库
变了完全跑不通,修改的代价还不如重写划算
可能有人要劝我上docker,给每个软件单独建环境, 但你知道你需要同时维护多少个
docker吗? 我估计得小100 |
|
r********e 发帖数: 39 | 35 现在有一个iOS上跑的app,需要有Chat 的功能,问问大家能不能推荐一个轮子。
本来有JSQMessagesViewController, 可是它去年deprecate 了,求推荐现在流行或适
用的框架轮子。自己开发挺烦,可又需要这个功能。
谢谢。 |
|
s*****g 发帖数: 5159 | 36 For the first questions, use display math, i.e.,put your formula with \max i
n
\[
\]
or
$$
$$
or equation environment. Inline formula cannot display in your expected way.
The second question, used
\begin{equation}
\begin{split}
a & = b\\
c & = d\\
e & = f
\end{split}
\end{equation}
To write consistent formulas, suggestted reading is AMS short math guide, yo
u will find eqnarray is deprecated and no longer necessary to be used. I tri
ed to hint this to my advisor a lot of times but he cannot forg |
|
s*****g 发帖数: 5159 | 37 就应该这么写,eqnarray已经被deprecated了。 |
|
N*******3 发帖数: 2589 | 38 这个每次都只能完全重装么?
有点大的说。
何况还没那么大必要~~
MacTeX-2012
MacTeX-2012 installs updated versions of the GUI applications that were
already in MacTeX-2011.
MacTeX has optional packages to install two font collections (Latin Modern
and TeX Gyre) in /Library/Fonts; these TeX fonts are already in TeX Live,
but installing them in /Library/Fonts makes them available to standard
Macintosh applications like Adobe Illustrator. By default, these fonts are
not installed.
MacTeX installs the latest version of Ghostscript... 阅读全帖 |
|
|
r***e 发帖数: 38 | 40 Gurus, Help!!!
I am new to XML.
trying to test sun's example:
http://java.sun.com/xml/docs/tutorial/sax/2a_echo.html
I download jaxp1.1(early release) and unzip it and put the 3 jar file
in jdk1.3\jre\lib\ext
complie is ok though some deprecate wraning,
but get a error when run it:
Exception in thread"main"
NoClassDefFoundError: org/xml/sax/HandlerBase
seems this is not included in jaxp1.1, where can I found it.
//bow |
|
l**e 发帖数: 575 | 41 Prepare 2010 retained earnings statement for XX Co.
Income before income tax 220,000
Prior period adjustment: understatement of 2008 deprec. exp. 25,000
Cumulative decrease in income from change in inventory methods,before tax,
45,000
Dividends Declared (of this amount, 25,000 will be paid on Jan. 15,2011) 100
,000
Effective tax rate 40%
Net income / Dividends declared
2007 40,000 / 0
2008 125,000 / |
|