由买买提看人间百态

topics

全部话题 - 话题: configs
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
m**********g
发帖数: 434
1
for gmail:
I set: pop.gmail.com for incoming mail and smtp.gmail.com for outgoing mail
with SSL authentication. And gmail works well in Evolution to send and
receive emails.
for hotmail:
I set: pop3.live.com for incoming mail and smtp.live.com for outgoing mail
with SSL authentications. It's ok to receive emails but it cannot send
emails out via hotmail account in Evolution. What's wrong with my config,
then?
w*s
发帖数: 7227
2
run the kernel config to build the kernel,
there's a sth. like "1000 MB network" after "100 MB network" support,
what's the deal about that "1000 MB" support ?
what feature does it have ?
if i develop a 1GB network driver, do i need to enable that ?
c********1
发帖数: 5269
3
I setup a VirtualHosts last week.
[httpd -S] displays an overview of the VirtualHosts currently running from
the configs,

the
display
with
u********s
发帖数: 1047
4
来自主题: Programming版 - 问一个很白痴的问题,config管理
一般web app像数据库密码,key一类的都写在配置文件里,这些config一般都不会和
code放在一个repo里。这些配置文件是单独放在一个repo里还是有其他的方法管理呢
d*******r
发帖数: 3299
5
来自主题: Programming版 - 问一个很白痴的问题,config管理
puppet 还是 puppy?


config。
c*********e
发帖数: 16335
6
来自主题: Programming版 - 问一个很白痴的问题,config管理
config文件分成几个文件,production用到的密码放在单独的文件里,一次性设置了之
后,每次commit的时候就ignore.
u********s
发帖数: 1047
7
来自主题: Programming版 - 问一个很白痴的问题,config管理
这种方法的话,如果有很多机器如果config有修改不是要上每台机器去手动改
u********s
发帖数: 1047
8
来自主题: Programming版 - 问一个很白痴的问题,config管理
deploy起来不知道怎么操作,如果是很多机器都需要config。如果自动部署?
k****n
发帖数: 52
9
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: ketten (ketten), 信区: Linux
标 题: HELP!!! Questions on subnet IP config
发信站: Unknown Space - 未名空间 (Mon Nov 3 21:30:09 2003) WWW-POST
Hi, I wonder if any master can help me with this?
I have only one active ethernet port and I am using a router to make 5
machines be able to access the web using the port. Now I want to set up two
servers behind the router with the distinct IP addresses. Is that possible? If
so, how should I realize it?
Thanks a lot for your reading
S*******r
发帖数: 44
10
我的是一台Toshiba M35 笔记本,昨晚关机时没有任何异常。今天开机的时候黑色屏幕
提示: Windows could not start because the following file is missing or
corrupt:
\WINDOWS\SYSTEM32\CONFIG\SYSTEM
you can attempt to repair this file by starting Windows Setup using the
original Setup CD-ROM.
Select 'r' at the first screen to start repair.
但是我的CD-ROM是随电脑来的toshiba 版本。一旦重装就将整个系统全部更新了。而我
还有一些文件在硬盘里没有备份。请问有没有什么办法可以让我把文件拷贝出来?请支
招。谢谢谢谢。
q*****g
发帖数: 1568
11
一个小问题,我用dvipdf生成pdf文件的时候总是有这样一个warning:
dvips: warning: no config file for `generic'
当然这个不是什么大问题,但是每次都看见这样一个warning还是很烦。
不知道如何让dvipds/dvips default成用letter 大小?
谢谢。
q*****g
发帖数: 1568
12
【 以下文字转载自 Linux 讨论区 】
发信人: qiuxing (球星), 信区: Linux
标 题: Re: dvips: warning: no config file for `generic' (转载)
发信站: BBS 未名空间站 (Sat Aug 27 17:16:15 2005), 转信
Google了好久,没有发现任何直接的答案。倒是发现了一个新的问题,
好像Linux里头所有和打印相关的命令by default都用A4纸。可是在美
国一般打印机都用letter size。这个现在我也也不知道该怎么去改。
T*******n
发帖数: 493
13
Assuming that you have the teTeX distribution installed, you can run
"texconfig" to set the default paper size and dpi resolution for dvips
(and xdvi too). Or you can edit /usr/share/texmf/dvips/config.ps
directly if you know what you are doing.
s**********s
发帖数: 1
14
来自主题: Unix版 - how to config my networks.
I have installed solaris 8 recently,and i have the DEC21140
earthnet card.
when i installed the system, i can set the IP, and select
"none" from the "DNS/NIS/.....",But i can not ping the
gateway and the other computer in
the same subnet.
in the ifconfig -a .i can see my card is dnet0,and i
re-config all the necessary file such as
nsswith.conf,resolve.conf and etc.
what i should do ? i only want to link my computer to the
internet .
Thank you.
h**h
发帖数: 132
15
来自主题: Unix版 - how to config my networks.
Ask your network admin to see if the port is showing
connected or notconnect
I guess if you even can't ping others in the same segment,
it might be your ethernet card not configured correctly
instead of your network configuration
post your netstat -rn and ifconfig -a
ping your gateway has nothing to do with your DNS configs

That's already a lot:-)
h**h
发帖数: 132
16
来自主题: Unix版 - how to config keyboard in Solaris?
Is there anyway to config Copy/Paste/Cut/Again key binding?
n****e
发帖数: 4
17
来自主题: Unix版 - Enviroment Config Help
I don't know how to config Cshell for
following functions:
1. Up arrow for previous commands
2. Tab key for implicit file name
Thanks
K***n
发帖数: 92
18
I installed Linux with an external mouse, while I'm now meeting
trouble that when I start linux without that mouse, the touchpad
will not function correctly, messing up everything. How do I config
such thing? does linux support such kind of simple "PnP"??
I am a layman here, so any help will be greatly appreciated!
Thanks
k****n
发帖数: 52
19
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: ketten (ketten), 信区: Linux
标 题: HELP!!! Questions on subnet IP config
发信站: Unknown Space - 未名空间 (Mon Nov 3 21:30:09 2003) WWW-POST
Hi, I wonder if any master can help me with this?
I have only one active ethernet port and I am using a router to make 5
machines be able to access the web using the port. Now I want to set up two
servers behind the router with the distinct IP addresses. Is that possible? If
so, how should I realize it?
Thanks a lot for your reading
o***n
发帖数: 72
20
来自主题: Windows版 - windows XP: wanl config?
don't know, somehow, one command "wireless lan config"
is working and it shows as a window in the bottom bar of the screen.M
but clicking it, the window won't pop up;
I haven't try to use ctrl+del+alt to kill it.
anyone know what the problem here?
Thanks!
p**i
发帖数: 688
21
来自主题: CellularPlan版 - 用Ringplus/Sprint手机的RUIM config问题
用DFS修改RUIM config的教程如下
http://www.rimweb.in/forums/topic/36748-how-to-change-mode-from-nv-to-ruim-in-any-cdma-phone-using-dfs-free-version/
有些LG手机还需要root之后编辑/system/build.prop以修改区域/服务商
w*******y
发帖数: 60932
22
Updated Config for the Dell XPS 17 since last posted:
PRO - Intel Sandy Bridge Core i5-2410M 2.30 GHz with Turbo Boost 2.0 up to 2
.90 GHz
OS - Win 7 Prem, 64-Bit
DISPLAY - 17.3" HD+ (900p) LED Display with 2.0MP HD Webcam
MEMORY - 6GB Shared Dual Channel DDR3 Memory (was 4GB)
VIDEO - NVIDIAGeForceGT 550M 1GB graphics with Optimus
BATTERY - 92 WHr 9-cell Lithium Ion Primary Battery (was 6-cell)
HDD - 1.0TB 500GB 7.2k HDD x 2 (was 500GB 7200rpm)
SERVICE PLAN - 1 Year Advanced Service Plan (wa... 阅读全帖
n*******y
发帖数: 3337
23
来自主题: StartUp版 - 给评评这个网站
OPEN SOURCE很不安全,一般大点的公司都不愿意用。我的网站经常会受到以下攻击。
64.76.23.57 - - [08/Sep/2010:22:50:31 -0400] "GET //phpmyadmin/config/config
.inc.php?p=phpinfo(); HTTP/1.1" 404 230 "-" "Mozilla/4.0 (compatible; MSIE 6
.0; Windows 98)"
64.76.23.57 - - [08/Sep/2010:22:50:31 -0400] "GET //pma/config/config.inc.
php?p=phpinfo(); HTTP/1.1" 404 223 "-" "Mozilla/4.0 (compatible; MSIE 6.0;
Windows 98)"
64.76.23.57 - - [08/Sep/2010:22:50:31 -0400] "GET //admin/config/config.inc.
php?p=phpinfo(); HTTP/1.1" 404 225 "-" "Mozil... 阅读全帖
c*******n
发帖数: 671
24
谢谢,以下是我的X11/xorg.0.log, 我看不出来什么问题?是的我不应该删lightdm,
不是那个的问题。startx会出现我上面帖子写的Loading extension GLX, fatal
server error: no screen found. 请问我该怎么修复xwindow? 谢谢!
[ 4.113]
X.Org X Server 1.13.0
Release Date: 2012-09-05
[ 4.113] X Protocol Version 11, Revision 0
[ 4.113] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[ 4.113] Current Operating System: Linux x-ThinkPad-X201 3.5.0-49-generic
#74-Ubuntu SMP Fri May 2 23:28:58 UTC 2014 x86_64
[ 4.113] Kernel command line: BOOT_IM... 阅读全帖
W*****x
发帖数: 684
25
$ cd geoip-api-c-master
$ libtoolize
$ aclocal
$ autoconf
$ automake --add-missing
$./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
... 阅读全帖
x*********n
发帖数: 28013
26
来自主题: EmergingNetworking版 - 看看我做的小实验。
Router(config-if)#service-policy output signaling
Router(config-if)#service-policy input signaling
CBWFQ : Can be enabled as an output feature only
但是
Router(config-pmap-c)#police 25000000 16384 conform-action exceed
Router(config-pmap-c)#$0000 16384 conform-action exceed-action drop
Router(config-pmap-c-police)#int fa0/0
Router(config-if)#service
Router(config-if)#service-policy input police
Router(config-if)#
Router(config-if)#
Router(config-if)#service-policy output police
所以,这个IOS还是... 阅读全帖
G**d
发帖数: 183
27
来自主题: CellularPlan版 - [合集] 折腾R+ tether方法总结 (转载)
【 以下文字转载自 Prepaid 俱乐部 】
发信人: tjhaven (T嗨文), 信区: Prepaid
标 题: [合集] 折腾R+ tether方法总结
发信站: BBS 未名空间站 (Mon May 23 00:44:48 2016, 美东)
☆─────────────────────────────────────☆
llaalways (camper) 于 (Fri Mar 25 10:54:32 2016, 美东) 提到:
如果你的plan有tether, 你就不需要折腾。
这里的方法是用于plan没有tether, 或有tether addon 又不想买的。
首先,root手机,不想root的另想办法,这里总结的办法解决不了。
root的方法去google, 一般xda上的办法比较可靠。
moto e 2015的root方法在这里
http://www.xda-developers.com/how-to-root-the-moto-e-2015-and-unlock-the-bootloader-xda-tv/
root以后把以下方法多试几个,也许要几... 阅读全帖
o*********e
发帖数: 3093
28
来自主题: Military版 - Linux哪个版本的比较易用
月光阿姨,我问你,我刚刚想在自己电脑上装Drupal来玩玩,结果出现这么多问题,咋
整?
是哪些问题造成怎么多问题?
Skip to main content
Drupal 8.4.3
Installation tasks
Choose language
(active)
Choose profile
Verify requirements
Set up database
Install site
Configure site
Choose language
Error message
Deprecated function: assert(): Calling assert() with a string argument is
deprecated in DrupalCoreCacheMemoryBackend->set() (line 101 of
corelibDrupalCoreCacheMemoryBackend.php).
DrupalCoreCacheMemoryBackend->set('module_implements', Array) (Line: 359)
D... 阅读全帖
g**u
发帖数: 13
29
来自主题: WmGame版 - 哪有LINUX下的Mud client ?
谢谢,我有了,不过我在安装mud (fy3 ) 在freeBSD 2.2.7上的时候
碰钉子了,谁能帮帮我?
下面是报错信息和config.fy3的前部分内容
% ./driver config.fy3 &
[1] 17313
% using config file: config.fy3
Initializing internal tables....
----------------------------------------------------------------------------
风云三(本地) (MudOS v21.7) starting up on FreeBSD - Sun Mar 21 16:58:10 1999
Connected to address server on localhost port 9990
adm/simul_efun/file.c line 20: Undefined function seteuid
adm/simul_efun/object.c line 57: Undefined function getuid
ad... 阅读全帖
h*****a
发帖数: 1992
30
来自主题: EmergingNetworking版 - Linux running on commoditized switches
小弟刚来,拜了大拿先。
I think there is some interesting problems in managing the configurations of
these spines/leafs. Take an example, assuming you run BGP to the TORs, and
you use Quagga. When you want to add a TOR, you not only have to provision
the TOR, but also change the configs of the connecting leafs. If you don't
have config replacing ability, you have to generate specific config snips
for the leaf to add the new TOR as a bgp neighbor, so that it won't
interrupt other connected TORs. If your clus... 阅读全帖
m********5
发帖数: 17667
31
来自主题: Linux版 - virtualbox + ubuntu 12.04LTS bug
Mageia is based on long last distro mandriva, I think it is even older than
ubuntu. Mageia is a partial fork from the mandriva company's version to add
more features. So I do not think it is going to die out. SUSE is also a good
option. I mainly use Arch though.
Ironic thing is, if I want the ubuntu work, I have to intensively consult
Arch wiki and try to figure out where the ubuntu config file is and how they
changed the config path ... Ubuntu GUI setting tools are either fail to
change the con... 阅读全帖
d*******2
发帖数: 340
32
hostmonster的空间,从opencart下载的免费购物车程序2.3.0.2-compiled.zip,将这
个程序上传到public_html/下,在public_html/下解压,然后按照install.txt要求,
将config-dist.php改名为config.php,admin/config-dist.php改名为admin/config.
php,确保一下文件夹可写
chmod 0755 or 0777 system/storage/cache/
chmod 0755 or 0777 system/storage/logs/
chmod 0755 or 0777 system/storage/download/
chmod 0755 or 0777 system/storage/upload/
chmod 0755 or 0777 system/storage/modification/
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/catalo... 阅读全帖
d*******2
发帖数: 340
33
hostmonster的空间,从opencart下载的免费购物车程序2.3.0.2-compiled.zip,将这
个程序上传到public_html/下,在public_html/下解压,然后按照install.txt要求,
将config-dist.php改名为config.php,admin/config-dist.php改名为admin/config.
php,确保一下文件夹可写
chmod 0755 or 0777 system/storage/cache/
chmod 0755 or 0777 system/storage/logs/
chmod 0755 or 0777 system/storage/download/
chmod 0755 or 0777 system/storage/upload/
chmod 0755 or 0777 system/storage/modification/
chmod 0755 or 0777 image/
chmod 0755 or 0777 image/cache/
chmod 0755 or 0777 image/catalo... 阅读全帖
d*******2
发帖数: 340
34
原文安装说明说访问Visit the store homepage e.g. http://www.example.com or http://www.example.com/store/,但实际上是安装到根目录下,根本没有store这个文件夹。访问http://www.mydomain.com的话,还是网站之前的样子,没有看到opencart安装页。先谢了!
These instructions are for a manual installation using FTP, cPanel or other
web hosting Control Panel.
- Linux Install -
1. Upload all of the files and folders to your server from the "Upload"
folder, place them in your web root. The web root is different on some
servers, cPanel it should be public_html/ and on Plesk... 阅读全帖
m********5
发帖数: 17667
35
来自主题: Linux版 - ubuntu堕落呀呀

slow? which part? Comparing to what? What kind of computing r u doing? Which
packages r u using?
Desktop is slow? I am using KDE which said much much heavier than any other
Desktop, but I did not find any kind of slowness on a 6-years-old PC.
This is never a problem. The real problem is missing lots of GUI config
tools or central config file. You have to dig around deeply to find out
those undocumented config settings. I heard Mageia is much much better at
this aspect.
Debian is bad for scienti... 阅读全帖
m********5
发帖数: 17667
36
来自主题: Linux版 - ubuntu堕落呀呀

slow? which part? Comparing to what? What kind of computing r u doing? Which
packages r u using?
Desktop is slow? I am using KDE which said much much heavier than any other
Desktop, but I did not find any kind of slowness on a 6-years-old PC.
This is never a problem. The real problem is missing lots of GUI config
tools or central config file. You have to dig around deeply to find out
those undocumented config settings. I heard Mageia is much much better at
this aspect.
Debian is bad for scienti... 阅读全帖
f********s
发帖数: 526
37
来自主题: Programming版 - 有人在ubuntu 13.04上装过python 3.4吗?
我装了一下装不上, ./configure没问题, 但是接下来用make的时候, 系统提示这个错
误, 大牛给看看, 咋办啊? 多谢啦~
.....
copying and adjusting /home/yanwang/.local/share/Trash/files/Python-3.4.1/
Tools/scripts/2to3 -> build/scripts-3.4
copying and adjusting /home/yanwang/.local/share/Trash/files/Python-3.4.1/
Tools/scripts/pyvenv -> build/scripts-3.4
changing mode of build/scripts-3.4/pydoc3 from 664 to 775
changing mode of build/scripts-3.4/idle3 from 664 to 775
changing mode of build/scripts-3.4/2to3 from 664 to 775
changing mode of build... 阅读全帖
n******7
发帖数: 12463
38
现在的distro都自带几个版本的
-> ll /usr/bin/python*
lrwxrwxrwx 1 root root 9 Oct 24 09:36 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Oct 24 09:36 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 2663960 Jan 26 2013 /usr/bin/python2.6
-rwxr-xr-x 1 root root 3745024 Oct 18 06:07 /usr/bin/python2.7
lrwxrwxrwx 1 root root 33 Oct 18 06:07 /usr/bin/python2.7-config -> x86
_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 root root 16 Oct 24 09:36 /usr/bin/python2-config ->
python2... 阅读全帖
m***h
发帖数: 77
39
来自主题: Programming版 - job schduleing - one and only one
我尝试用hazelcast主要是因问它可以embedded在app里,这样我所有的app 就自己组成
一个cluster,可以share数据什么的
import com.hazelcast.config.Config;
import com.hazelcast.core.Hazelcast;
import com.hazelcast.core.HazelcastInstance;
import java.util.concurrent.locks.Lock;
public class DistributedLock {
public static void main(String[] args) {
Config config = new Config();
HazelcastInstance h = Hazelcast.newHazelcastInstance(config);
Lock lock = h.getLock("my-distributed-lock");
lock.lock();
t... 阅读全帖
f****o
发帖数: 4067
40
来自主题: CellularPlan版 - LG volt的tether有人搞成了吗?

# begin build properties # autogenerated by buildinfo.sh ro.build.id=KOT49I.
LS740ZV6 ro.build.display.id=KOT49I.LS740ZV6 ro.build.version.incremental=
LS740ZV6.1440117223 ro.build.version.sdk=19 ro.build.version.codename=REL ro
.build.version.release=4.4.2 ro.build.date=Fri Aug 21 09:36:06 KST 2015 ro.
build.date.utc=1440117366 ro.build.type=user ro.build.user=jenkins ro.build.
host=LGEACI5R6 ro.build.tags=release-keys ro.product.model=LGLS740 ro.
product.brand=lge ro.product.name=x5_spr_us ro... 阅读全帖
z****n
发帖数: 26
41
请教大师: 我在RT-N16上按照步骤装完了ASTERISK,但不工作,查了LOG中message发现很
多WARNING不知哪里错了,请指教.Thanks.
[Apr 2 06:50:01] WARNING[3042] xmldoc.c: Couldn't find manager DataGet in
XML documentation
[Apr 2 06:50:01] WARNING[3042] xmldoc.c: Couldn't find manager DataGet in
XML documentation
[Apr 2 06:50:01] WARNING[3042] config.c: parse error: No category context
for line 1 of /opt/etc/asterisk/modules.conf
[Apr 2 06:50:01] WARNING[3042] loader.c: No 'modules.conf' found, no
modules will be loaded.
[Apr 2 06:50:01] WA... 阅读全帖
I**********s
发帖数: 441
42
来自主题: JobHunting版 - 问个面试题
完整代码:
/**
* 一个Cube有6个面,每一个面有一个color,这6个面的color是可以
* 任意的,而且可以重复。输入一系列的cube,判断这些cube能否组成一个四面都是
同样
* 颜色的tower(这些cube一个接一个竖着摞,没有并排的cube)。
*/
#include
using namespace std;
// Cube class. Color of cube is given in constructor.
class cube {
public:
int sides[6]; // {top, side1, side2, side3, side4, bottom}
int colors[6];
int config;
cube() {}
void init(int color[6]) {
for (int i = 0; i < 6; ++ i) colors[i] = color[i];
config = 0;
}
// given a cube ... 阅读全帖
z****e
发帖数: 54598
43

value

你说的spring集中,那只是一个轮子的config啊
但是java的系统经常是几百个轮子一起上
你看看pom.xml有多大,很多公司的pom.xml经常是几百行
也就是几百个spring一样的轮子在跑
如果每一个都有自己的config的话,你想一下几百个config files放一起是什么概念
几百个轮子的代码量轻轻松松上百万行
c和c++基本上不存在这么多轮子,都是自己一点一点去啃
上百万行,很多人写到死都写不出这么多代码来
所以config也不会有那么多,不上规模自然没有这个问题
summary:java的config是量多规模大导致的,c要想写到这种规模,基本上不太可能
java写功能点非常快,ide熟练之后,一天写个几百行小意思
c写个几百行远没有这么快,越写到后面越慢,等到写完,估计swjtuer都迭代十几轮了
今年我立了一个目标,人均要超过swjtuer的一年6万行
哦耶
Y*C
发帖数: 405
44
HDR Bracket HDR之包围曝光
HDR(高动态范围)图像的自动包围式曝光和timelapses。
SET键调整拍摄照片的数量,PLAY键调整照片曝光EV值的级差。请按下Q键则迅速关闭此
功能。
在拍照的M模式下,本功能为快门包围。在其它模式为曝光补偿包围。
HDR图像可以采取:
* ML遥控触发器:LCD的面部感应器和音频触发。
* ML定时器(HDR延时摄影)
* 按下快门,第一张照片是中间曝光(无EV补偿)的,并且使用2秒延时自拍。另外,
该模式工作时将拍下三张或以上照片,也就是说照片数量设置为2时,也是拍下3张照
片。
为了达到最佳效果,切换到手动对焦,并使用相对较慢的曝光时间。
对于每个HDR图片集,ML也写了一个进入脚本,用enfuse堆叠曝光(4.x版)。这个脚
本存储在DCIM文件/###佳能和命名后的第一张照片集,例如如果HDR顺序是从IMG_
1001.JPG ... IMG_1005.JPG,HDR脚本将被命名为HDR_1001.SH和由此产生的HDR图像将
作为HDR_1001.JPG保存。
要在计算机上运行的HDR的脚本,将在相同的目录中并运行(... 阅读全帖
S*A
发帖数: 7142
45
来自主题: Hardware版 - 路由器 Openwrt 做 USB root overlay
刚刚把这个配好,找了个很老的 USB flash drive。
根据这个步骤,使用推荐的 /overlay 覆盖而不是 / 覆盖。
http://wiki.openwrt.org/doc/howto/extroot
步骤其实很简单,文档里大多数的篇幅都是这 / 覆盖的古老
不推荐的方式,可以忽略。
基本上,只要 opkg install block-mount kmod-usb-storage kmod-fs-ext4
然后改 /etc/config/mount 里面的 mount point 和 enable 就好了。
为什么这样做呢,有几个特别大的好处。
1)flash 的空间几乎就无限制了。
2)减少对路由器本身的 flash 的损耗。路由器自己的flash
是很弱的 I2C flash。 是设计给 firmware update,
不是设计给经常写的,只有大概几千次的写寿命。
我怀疑我的老 WRT54GS 就是 flash 给写多了,损耗坏了。
我不是很确定是不是每次启动都会写 flash。
我相信其他 DDWRT 之类的 firmware 也可能... 阅读全帖
r*****s
发帖数: 985
46
来自主题: Java版 - 看Spring真是头大
也不是learning from scratch
IoC/DJ也不是问题
就是本来IoC/DJ就不是个复杂的东西,
不就是把programming postponed to config吗?
不就是increase some level of indirection & “flexibility”吗?
我是说spring的选择太多,
照顾的太多,
又要兼容,
又要new feature。
我有一阵子弄RoR,
就觉得很舒服,
你就不用选,
就那么一套。
hello world的程序当然好写,
现实中跟已有的application配起来就不那么简单了,
特别是如果这个系统有很多人一起在弄,
spring的很多东西都是hiddenly/vaguely configured somewhere,
谁知道你的config跟别人的config是不是overlapped/conflicted,
结果就是可能一个简单的Bean或Aspect就要弄半天。
我想主要的问题是这个config也是一种programming
本来programming有很多best practices
其实是适用于confi... 阅读全帖
b***i
发帖数: 3043
47
来自主题: Java版 - 问JavaFX的一个问题
GraphicsContext gc = canvas.getGraphicsContext2D();
以Brick为模板,在initTimeline()里面
KeyFrame kf = new KeyFrame(Config.ANIMATION_TIME, new EventHandler<
ActionEvent>() {
public void handle(ActionEvent event) {
加入
GraphicsContext gc = canvas.getGraphicsContext2D();
int x0=random.nextInt(Config.SCREEN_WIDTH);
int y0=random.nextInt(Config.SCREEN_HEIGHT);
int x1=random.nextInt(Config.SCREEN_WIDTH);
int y1=random.nextInt(Config.SCREEN_HEIGHT);
gc.setStroke(C... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)