首先声明一点:我不确定自己这样做的方法是否是最好的方法。
A bit of a disclaimer is in order: I am not at all sure that my way of doing this was the best way.
这样做的方法是,Perl对象包含一个只读的整数,此整数与函数newsession()返回的空指针相对应。
The way this is set up, the Perl object contains a read-only integer that corresponds to the void pointer returned by newsession().
如果能够控制原始模式和数据模型,这样做是可以的,这种方法也许是理想的方法。
This makes sense if you have control over the original schemas and data model, and it might be the ideal approach.
在上面举例说明的HDBMS中,找到答案的唯一方法是搜索每个书籍叶节点,而这样做的成本极其高。
In an HDBMS like the one illustrated above, the only way to discover this would be an extremely costly search of every book leaf node.
实际上,许多人已经用工厂对象来着手这种方法,而不是用工厂方法—我们以前是这样做的,但很快就放弃了。
In fact, many would have started this approach with a factory object, rather than a factory method — we did, but soon backed away.
有些科学家已经证实过这样做是可以实现的,但是方法一度效率低下且成本昂贵。
And though they have demonstrated that this goal is possible, the means for doing so have been inefficient and expensive.
这样做是一种合理的折衷方法,因为对定义曲线的每个点或句柄都使用子元素将会使SVG更加繁琐。
Doing it this way is a reasonable compromise, since using child elements for every point or handle that defines a curve would make SVG even more verbose.
没错,这是在进行贿赂,世上的每个家长和老师无数次的采用这一方法。原因是这样做很有效。
Yes, this is bribery, and every parent and teacher on this earth has resorted to it many times, because used well, it works!
由于没有办法可以知道这个类什么时候会被引用,并且因为没有显式的初始化方法,这样做看起来是合法的。
Since there is no way to know when this class will be referenced and since it has no explicit initialization methods, this appears legitimate.
最知名的遵循这个方法的学校是蒙特塞利和伍尔道夫,他们这样做已经很长时间了。
The mostwell known schools following this approach areMontessori and Waldorf andthey have been doing it for a long time.
地球工程学家认为是这样做根本不够,但直接大气和海洋的方法仍需要研究。
Geoengineers argue that this may prove insufficient and that ways of tinkering directly with the atmosphere and the oceans need to be studied.
如果是这样,寻找一些方法让每个人都舒适一点——早上做需要聚精会神的工作,下午鼓励更多的讨论和合作。
If so, look for some way to make things easier for everyone - perhaps by spending the mornings on focused work, and encouraging more discussion and collaboration in the afternoons.
显然,这样做不会产生完全优化的结果,但它很有用—而且是入门的好方法。
Obviously, doing so will not produce totally optimum results, but it will serve quite well — and it's a good way to start.
这样做一直是很好的业务操作方法,现在已经成了一种固定做法。
Doing so has always been good business, and now it is becoming settled law.
一种方法是再回过头来进行测试,但是测试无法逮住滥用的用户,不管他们是否有意这样做。
Part of the solution goes back to testing, but testing functionality isn't going to catch abusive users — whether they mean to be abusive or not.
她承认:“向一位亲友或好朋友倾诉来摆脱郁闷的情绪是很好的方法,但是绝对不要在工作上抱怨,这样做别人会不喜欢你的。”
She admits, "it's good to get negative emotions off your chest by venting to a close friend or family member, but don't complain at work at all — people won't like you."
为了得到信息,获取用过的所有值是一种好的方法,这样做可以令您更容易地在未来变更特定的值。
This is a good way to capture for informational purposes all of the values that were used, and it makes it easier for you to change a particular value in the future.
这样做是同时利用基于命令行的工具和UI工具的优点的一个很好的方法。
Doing so is a great way to leverage the advantages of the command-line-based tooling and the UI tooling at the same time.
关键的问题是没有人定义过这样做的一致的标准方法。
The key challenge is that nobody has done the work to define consistent and standardized ways of doing so.
之所以这样做的主要原因是采用了典型的竖井方法,在这种方法中,应用程序必须分离,各个应用程序的重点都是企业内的单个组织单位。
The primary reason for this is the classic silo approach, where applications are isolated and focused on a single organizational unit within an enterprise.
虽然回顾始于回首往事,但这样做的原因是为了改变我们未来的行事方法——回顾是在进行长远地转变。
Although a retrospective starts with looking back over events, the reason for doing this is to change the way we will act in the future - retrospectives are about creating change not navel-gazing.
这样做最快的方式,是按从已创建元素创建新元素的方法,来使用内容菜单。
The quickest way to do this is to use the context menu in the same way you used it when creating new elements from existing ones.
我们须要在经济上打击IUU捕鱼者,这样做是最有效的方法之一。
We need to hit IUU fishers in the pockets and this is one of the more effective means of doing that.
也有其它方法可以这样做,但是Interlock.Increment是为这种操作而特别设计的。
There are other ways to do this, but the Interlocked.Increment method was specifically designed for this kind of operation.
请注意,虽然此步骤在将ruleapp规则部署到ruleExecutionServer (RES)是可选的,但是存储RES配置以备将来使用是更有系统的方法,故推荐这样做。
Note that though this step is optional in deploying the ruleapp to rule Execution Server (RES), it is a recommended and more systematic approach to store the RES configuration for future use.
要这样做的一种简单方法是使用BrowseDiagram。
我只是把事情略微简单化了,因为只能选择镜像根磁盘中特定的逻辑卷(如果他们选择这样做),方法是针对每个单独的逻辑卷使用mklvcopy命令。
I'm oversimplifying things just a little, as one can choose to mirror only certain logical volumes in the root disk, if they choose to, with the mklvcopy command for each individual logical volume.
这个示例使用tarfile模块打开tar文件,这样做的好处是,在操作文件时允许您使用Python的属性和方法。
This example USES the tarfile module to open a tar file, which has the advantage of allowing you to use Python attributes and methods as you manipulate the file.
这个示例使用tarfile模块打开tar文件,这样做的好处是,在操作文件时允许您使用Python的属性和方法。
This example USES the tarfile module to open a tar file, which has the advantage of allowing you to use Python attributes and methods as you manipulate the file.
应用推荐