w*s 发帖数: 7227 | 1 tried that on pc1, no help.
i'm very dummy on networking, help are very appreciated.
when i type "iptables -L", tables are empty, i just did what u said, why ?
am i understanding this correctly: ip forwarding is for traffic from
different network, pc1 and pc2 have similar address, they should be in the
same network. uml is in pc1, then should be the same network as well ? |
|
x**m 发帖数: 941 | 2 PC2不知道去192.117.0.0的路由,它的默认路由(10.50.183.254)好像也不知道。从UML出来的包到了PC2以后,不知道怎么返回。
我同意joa同学的意见,应该在默认路由或者PC2上添加一条:
$ sudo route add -net 192.117.0.0 netmask 255.255.0.0 gw 10.50.181.51 |
|
w*s 发帖数: 7227 | 3 那还要不要iptables ?
我的理解是iptables是封掉一些traffic,
如果完全开放,是不是pc2不用设ip fowarding了?
从UML出来的包到了PC2以后,不知道怎么返回。 |
|
w*s 发帖数: 7227 | 4 it works, 多谢各位好人!
从UML出来的包到了PC2以后,不知道怎么返回。 |
|
v*****r 发帖数: 1119 | 5 looks like pc1 acts as router for uml, but not sure
Co-ask |
|
x****s 发帖数: 921 | 6 uml crash/exit后,xterm也结束了吧。 你可以试下 xterm -e "sleep 5" |
|
x****s 发帖数: 921 | 7 就是说在你的环境下,using exactly same command line, just replace "uml ..."
with "sleep 5", your xterm will stay?
if yes, then I have no idea. |
|
|
|
h****r 发帖数: 2056 | 10 Poseidon is good, just a little bit slow. |
|
i**p 发帖数: 902 | 11 Need to learn one of them. Any comment or suggestion? |
|
|
i**p 发帖数: 902 | 13 work on both? Then which one first?
Started on SDL already. |
|
o******r 发帖数: 259 | 14 我google到一个简单的uml design
就是轮询每张桌子,看能否满足指定时间的预订,
能就订上,并给个confirmation
这样太简单了吧?
如果是多个booking 操作同时进行,
加一个synchronization也可以了,
不过好象一般都是一个booking, 串行的. |
|
d*****9 发帖数: 70 | 15 呵呵,求助了,请问下列箭头表示什么关系?
实线+黑色菱形箭头
实线+箭头
实线+空心三角箭头
实线+实心三角箭头
虚线+箭头
多谢! |
|
o***g 发帖数: 2784 | 16
aggregation or compasition
依赖关系,好像是
directive
aggregation or compasition
不记得了
aggregation 和 compasition一个是没有不行,一个是没有也可以,我搞不清楚
哪个是哪个了。比如汽车和气囊 汽车和轮子
上面都不保证对 |
|
|
m******t 发帖数: 2416 | 18
I think the difference is whether A is reponsible for B's life cycle, or
merely referencing B. IOW, if A owns B's ass, it's composition, otherwise
it's aggregation. |
|
|
j****g 发帖数: 597 | 20 system description:
A SERVER receives requests from a client. After each request is received, a
REQUEST object is created and enqueued into a REQUEST_QUEUE.
How to draw a class diagram to show the relationships among these three
classes?
shit, web方式下把空格都过滤掉了。花了两个图都不行。
SERVER(1)----------->(*)REQUEST
REQUEST(*)<----------(1)REQUEST_QUEUE
SERVER(1)----------->(1)REQUEST_QUEUE
Is this correct? |
|
|
|
c****6 发帖数: 22 | 23 做了个小c++ project,手动画类结构麻烦,想学学如何用软件
自动画图表示类结构和类间关系。小软件就可以,我
不需要很复杂的信息。 |
|
|
|
j***n 发帖数: 301 | 26 这个,可不小啊,不过很pp的说
google一下吧,记得曾经搜到过一些,甚至有在线的工具 |
|
t****r 发帖数: 76 | 27 试了visio,根本不灵啊(需要人画,不是自动的)。
请指教。
谢谢! |
|
p***o 发帖数: 1252 | 28 I tried rational rose many years ago. Not good at all ... |
|
|
|
y****e 发帖数: 23939 | 31 找本书看看,或是Google一下吧
这样问问题,真是....唉 |
|
|
|
mw 发帖数: 525 | 34 hehe
我也不知道
不过我想是不是跟UML和design pattern有关的 |
|
s***e 发帖数: 122 | 35 恩,我倒也不是强调非要写的多快。但是有一个IDE在那里帮你处理掉lower level的问
题,你可以把自己的头脑集中在high level的事情上。
另外不管是写代码还是维护代码,有个IDE都可以给你不少帮助:
我看见代码分了颜色就觉得清晰。有本书不是叫做UML in Color吗,说采用不同的颜色
有助于人分辨不同类别的元素,我觉得代码也一样。
那个代码智能提示,对我这种懒人来说超级好使(以前的一个同事最爱跟我说,这就是
皇帝的ba3ba3--。。。)。
还有模板文件自动生成,对我这种还是懒人也是好使的很。
文本自动格式化,我没事就用一下,就图看着舒服。
。。。其它我也一时想不起来了,呵呵。 |
|
k***r 发帖数: 4260 | 36 偶尔想画个object diagram,sequence diagram或者流程图 |
|
|
w****g 发帖数: 597 | 38 介绍关于多线程管理的thread pool技术,网站,文章,或者书籍。要求资料中有UML图解说,使用的语言C++语言最好,Java也可以。Linux平台。谢谢。 |
|
g*****g 发帖数: 34805 | 39 Unit test and refactoring, you may use generated UML to see
if there's unnecessary coupling. Generally, I would be more
concerned about bad coupling than bugs. If you code is well
structured, it's easy to fix bugs, when it's not, it can be
difficult and bring new bugs in your fix. That's why I like
refactoring if I smell something bad even when there's no bug. |
|
b********n 发帖数: 609 | 40 比如输入一个大code base,可以自动generate UML deployment diagram?付钱的也可
以,谢
谢! |
|
|
h******t 发帖数: 15 | 42 我没有coding的经验,最近做个机器人控制的项目,接了某公司的source code,在其
基础上要做一些改动实现某些功能。
看了source code以后有些问题想请教一下这里的牛人们。
这个公司的这个机械臂项目背景是这样:
他们做了一个机械臂,做好了硬件和基本控制软件。然后有些学校买了继续开发。
我已知的用到的软件工具有:C++,Linux系统, Xenomai(real time patch for Linux)
,CMake编译
一个我很好奇的问题是,他们的code就是自己写的,还是用什么工具生成的?
我怀疑至少他们用了某工具,比如UML,生成了代码的框架,因为
source code的每个文件开头都有以下说明:
// Project : RobotArm
// File : %name: xxxxx %
//
// Version : %version: 15 %
// Date : %date_modified: Tue Mar 21 17:26:41 2008 %
// By : %derived_by: nly05035 %
其中date_m |
|
v****s 发帖数: 1112 | 43 lz说的是软件架构师吧?会画uml,会用design pattern, cascading, etc忽悠ceo就可
以了,嘴皮子一定要溜 |
|
d****i 发帖数: 4809 | 44 我有一堆Matlab写的代码,全部都是面向过程的函数,现在想把它变成用面向对象的C+
+代码,有没有什么好的办法来重新设计软件架构,使这些面向过程的函数变成面向对
象的代码?有什么好的工具,或者有什么好的参考书可以借鉴?用UML可以实现这种面
向过程到面向对象的转换吗? |
|
|
|
t*****n 发帖数: 4908 | 47 N多年前用过,很好用。可以从代码生成UML。现在有很多免费替代工具。 |
|
o******2 发帖数: 159 | 48 恩。我也知道不用搞懂全部啊,不过问题是我觉得需要搞懂的那部分也太多了,太多的
class了。你说的call graph是指把所有的class,struc的关系用UML表示出来吗?谢谢
了。 |
|
g***l 发帖数: 2753 | 49 1.high level design document,such as UML for class/struct design,including
description of your component's relationship with other components.
2.Interface design document,including detail description of your major APIs,
not only the interface APIs.
3.Unit test plan with unit test code, included in your component
src folder/test/
4. Doxygen description in header file
These 4 docs are required as MUST for my company. |
|