|
|
|
r*****d 发帖数: 922 | 4 dockstar上装 debian并不wipe原来的firmware。只是改了boot order,所有的东西都
装在USB drive上。所以安全很多。你只要把USB drive拔了,就会boot original
firmware。
硬件上CPU强,USB drive space也大多了。而且root是native在USB drive上可以RW的
。你要用pogoplug RAM是256MB,比神油也大一倍。
软件上用的是full-fledged的linux。repository本来就大,你还可以把developement
tools装上去,自己从source-code 编译。 |
|
|
|
f****p 发帖数: 18483 | 7 应该是那些个gtk+, mesa之类的库乱掉了。
对!你用了upgrade,就可能出现这些问题。Ubuntu 12.04LTE和11有很大的区别。Gtk神
马的库也都变了。如果你upgrade,原先的库可能就不能用了。另外,原来的库的
aptget连接更新(repository)都不存在了,也就不能更新了。
答案,就是你得重新装这些库。 |
|
f****p 发帖数: 18483 | 8
逼了
一旦ubuntu声称不支持某版本,那个版本上的package很多就都不能自动用aptget来
update了。解决方法一般有两个:一个就是更改/etc/apt/sources.list,让它指向新
的repositories;另一个就是自己下载source code,重新configure, make, make
install。但是用pkconfig装的,就麻烦一些了。新的mesa、gtk+库把很多函数原型都
改了,就是为了和OpenCL之类的竞争,弄了很多麻烦出来。如果你做开发,你的相应的
code都得要改,否则不能make通过的。 |
|
a****8 发帖数: 2771 | 9 一句话 exec's summary: there is no need to mess with it.
试了试几个攻略,一个是装ipkg,相当于redhat下的yum repository。一个是装
archlinux,package新。一个是装debian,用的人多。但是具体到扩展应用,不外乎加
装samba, squeezebox client/server, airplay server, bt, etc。
其实pogo本身带的pogo backup就可以把pogo带着的所有盘映射到本地盘符,还能远程
,比samba方便多了。 pogo本身也带DLNA,不用另装。我觉得pogo软件太赞了。虽然不
能sync directory, 无法取代dropbox,但是比windows上绝大多数backup软件好用多了
。 |
|
c*******n 发帖数: 671 | 10 how did you get to 28? I couldn't find it in current repository.
profile |
|
S*A 发帖数: 7142 | 11 Not enough flash or repository too old? |
|
|
E***e 发帖数: 3430 | 13 装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser |
|
E***e 发帖数: 3430 | 14 装mediabrowser:
sudo add-apt-repository ppa:apps-z/mediabrowser
sudo apt-get update
sudo apt-get install mediabrowser
service mediabrowser start
访问http://localhost:8096/mediabrowser |
|
t****t 发帖数: 6806 | 15 基本上没用过git, 所以我说不好
SVN这类的, 正常用用应该可以, 但是如果要browse repository应该会有些计算吧. 我
其实也不知道这计算是在后端还是前端. |
|
r******i 发帖数: 610 | 16 debian.
As stable as other server-oriented distributions. Have the best repository
systems among all Linux distros. |
|
F***Q 发帖数: 6599 | 17
unless you do a lot of iOS app dev, I don't really see advantages of xcode
over gcc/llvm in Linux.
xcode compiler/libraries often conflict with those from macports. gcc
version management in xcode is also pretty messy. sometimes "xcode-select"
won't point to the correct version, and one has to manually create links.
if you want to use software repositories to manage packages, like in most
Linux distros, macports is incredibly slow and finicky when installing/
building packages. compare to macpo... 阅读全帖 |
|
F***Q 发帖数: 6599 | 18
you must have installed grub on the Linux partition (say, /dev/sda5) instead
of the partition with mbr (/dev/sda). you can fix it by reinstalling grub
to /dev/sda.
you can do this by (use sudo fdisk -l to find out which one is your boot
drive)
sudo grub-install /dev/XXX
sudo update-grub
or using the live usb
http://howtoubuntu.org/how-to-repair-restore-reinstall-grub-2-with-a-ubuntu-live-cd
if your windows partition is missing from grub menu, you can repair it by
sudo add-apt-repository ppa:yan... 阅读全帖 |
|
l******n 发帖数: 9344 | 19 asus z170-ar主板,asus GTX 1070, ubuntu 16.04 os
secure boot已经disable
安装driver如下
sudo apt-get purge nvidia-*
sudo apt-get autoremove
sudo reboot
sudo apt-get install gcc-4.9 g++-4.9
sudo ln -s /usr/bin/gcc-4.9 /usr/bin/gcc -f
sudo ln -s /usr/bin/g++-4.9 /usr/bin/g++ -f
Download CUDA 8.0 RC, download the runfile(local), when installing cuda 8.0
decline on installing NVIDIA drivers. then reboot.
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-367
sud... 阅读全帖 |
|
F***Q 发帖数: 6599 | 20
0
always install cuda via nvidia's upstream repository. make it much easier to
reinstall/upgrade.
also run
nvidia-smi
to make sure your nvidia driver/cards are properly installed
to test for opencl library, run
sudo apt-get install clinfo
and type clinfo to see if your gpu is detected.
if any of these fails, type "echo $LD_LIBRARY_PATH" to see if you have
included the needed path to libopencl.so. |
|
F***Q 发帖数: 6599 | 21 I have been using git to manage my core files (almost everything, except
pictures, downloads, and big data files) since 2010. really happy that I
made that choice.
My repository (bare) has grown from from 3GB to 8GB (you will be surprised
how slow your real creations grow once you start organizing your files).
Once you checkout a copy, the total git folder is about 2x of the bare repo
size - to me, is about 16 GB plus un-tracked files (mostly those do not
worth version control).
There are a few ... 阅读全帖 |
|
|
|
e******g 发帖数: 14 | 24 If I want to check out a new project in sourceforge.net
cvs -z3 -d:ext:d***********[email protected]:/cvsroot/ProjectName co
modulename
what should be in the Host and repository path, I am one of the developers,
what connection type it should be.
thanks so much!
tested |
|
x******g 发帖数: 319 | 25 【 以下文字转载自 Linux 讨论区 】
发信人: xiaoning (BigRabbit), 信区: Linux
标 题: help:tomcat5 on FC4
发信站: BBS 未名空间站 (Sat Sep 3 15:45:29 2005), 转信
i installed jdk1.5.0_04
tomcat 5.5 from jpackage.org
FC4
i use alternatives --config java and javac to
the jdk 1.5.0 dir
and set java.sh in /etc/profile.d/
when i start tomcat5
i got :
============ /sbin/service tomcat5 start
Starting tomcat5: /usr/bin/rebuild-jar-repository: error: Could not find jdbc-
stdext Java extension for this JVM
/usr/bin/rebuild-jar-reposito |
|
m******t 发帖数: 2416 | 26
As must as I like ruby for a script language, I've
never been a big fan of RoR - or any web framework
entirely based on a DSL.
I've been toying with the idea of incorporating
ruby into the JEE framework. Ruby is ideal for
implementing the more "volatile" parts of the architecture,
for instance the request handlers, the business validation
rules, etc.
OTOH, I'd like to stay with good old java for the
domain model, and the service and data repository tiers. |
|
c***k 发帖数: 1589 | 27 Seriously ^^
What's the simplest way to share data between sessions?
Can I use another singleton session bean to serve as an repository?
Thanks |
|
t*******e 发帖数: 684 | 28 rule engine的cost来源于算法本身,如RETE,不是任何implementation能解决的。
Drools非常不错,特别是Guvnor BRMS,对于建立enterprise level knowledge
repository很有效。但Drools是针对domain model programing设计的。没有好的domain
data model不好用。 |
|
g*****g 发帖数: 34805 | 29 I am trying to deploy some libs to internal maven repository,
and it's complaining about missing maven deploy plugin apparently.
But how can I install it?
[INFO] Scanning for projects...
[INFO] --------------------------------------------------------------------- |
|
ET 发帖数: 10701 | 30 谁能给推荐一个?
免费的,eclipse能读的。。 |
|
g*****g 发帖数: 34805 | 31 You can install one on your machine by yourself, or install an
SVN server |
|
e********3 发帖数: 18578 | 32 最近新装了Eclipse的Helios Release, Build ID 20100617-1415, Mercurial的插件是
Intland Software的MercurialEclipse,但是当我用以前的IDE设置(workspace已经存
在了,是用Eclipse 3.3.0的Version和Mercurial HG创立的)。
当我想从remote repository pull的时候,会有出错信息“ssh" is not recognized
as internal or external command,我的OS是Windows XP 64-bit,在Command里面输入
SSH也是同样的错误信息,我想应该是我没有ssh environment,但是以前Eclipse+
Mercurial HG都能用,不知道现在为什么突然不行了,请高手指点,多谢了。 |
|
m****i 发帖数: 712 | 33 mybatis网上也找不到原来的版本了
最后我在maven repository下找到一个,凑合用吧 |
|
|
|
g*****g 发帖数: 34805 | 36 不明白,不能下载dependency?repository在本地硬盘上,没有建不了folder一说。 |
|
g*****g 发帖数: 34805 | 37 有时候会有下载一半corrupted的情况,把local repository里的相关目录
删掉即可。 |
|
h**k 发帖数: 662 | 38 mvn archetype:generate
马上就开始downloading.. maven-install-plugin..
和其他的plugin..
然后就是 failed..因为公司出不去central maven repository..难道maven装上没有默
认还要再去下载这些plugin?
谢谢 |
|
w**z 发帖数: 8232 | 39 你公司没有一个大家都用的maven repository?以后你的jar怎么deploy啊?别人怎么
引用啊? |
|
r*****s 发帖数: 985 | 40 maven一开始上手确实痛苦,
Stabilized就好了。
有一点about windows Xp env,
if you are using it.
by default maven saves all jars under your home dir .m2
but on xp it could be a long dir name with space in it,
e.g.C:\Documents and Settings\youruname\.m2
some compiler/maven plugin may fail because of that.
the solution is to put a settings.xml under the dir to re-direct
it somewhere else:
http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocat... 阅读全帖 |
|
c******n 发帖数: 4965 | 41 In a Java project in Eclipse, I am trying to debug project A.
Project A has a dependency on B.jar, normally B.jar comes from my .m2/
repository. but now I want to make some temp changes to B's code, and have
it reflected in A, so I directly edit the source code in B project in
eclipse, and set B as a dependency project in A's build path. Additionally,
both A and B refer to C.jar as their dependencies.
This builds A fine, but when it is run, A's classpath contains 2 copies of
all the classes and ... 阅读全帖 |
|
z*******3 发帖数: 13709 | 42 spring的普通bean,尤其是无状态的bean
什么controller, service, repository, component啊
scope无非两种,singleton和prototype
ejb有三种,singleton, stateless, stateful
这里,singleton是spring和ejb都有
ptototype和stateful是差不多的
但是不是一个东西
spring的singleton和ejb的singleton都是无节制的访问方法
任何线程可以在任何时间访问这个类的方法
同时因为这个类只有一个在内存中,所以不允许其保存任何状态
所谓状态就是private variable
否则这个状态会引发并发的异常
同时spring的prototype和ejb的stateful
都确保在访问这些bean的时候,新生一个bean
所以每一个线程拿到的都是新的bean
所以保证了线程与线程之间的独立,所以可以寄存状态
比如在线商店的购物车
所不同的是,ejb的stateful还提供了一个ejbPassive和ejbActive方法
当这个购物车滞留时间太久的时... 阅读全帖 |
|
r********r 发帖数: 208 | 43 http://www.infoworld.com/print/203737
Microsoft augments JavaScript for large-scale development
By IDG News Service staff
Created 2012-10-01 01:53PM
Equipping JavaScript to build more complex applications, Microsoft has
augmented JavaScript with a set of advanced development capabilities
typically found in more mature programming languages, such as C++ and Java.
These new capabilities, packaged as a JavaScript superset called TypeScript,
offers static typing, classes and modularization.
"Over th... 阅读全帖 |
|
z*******3 发帖数: 13709 | 44 之前说过我对abstract class的看法,倒是引来不少非议
尤其是有些人居然举出了例子,好,我们就从这个例子开始
有人说在这种情况下要使用abstract class
比如一个animal,有walk和sing方法
那么代码就是
public abstract class Animal{
public void walk(){System.out.println("walk")};
public abstract void sing();
}
然后对于具体的实现类,比如Cat,有如下实现
public class Cat extends Animal{
public void sing(){
System.out.println("cat sing");
}
}
这样一个类,好处就是“便于扩展”等等
OK,那么我们就从这个例子出发,说说为什么在j2ee环境中,我们不这么做
然后说说会怎么做
首先,在j2ee的环境中,关于animal这种实体
我们会在各个层面建立entity
比如在db层面建立一个表,叫做animal,然后有一个cat记录
然后通过orm,建立起一个dto之类的玩... 阅读全帖 |
|
z*******3 发帖数: 13709 | 45 之前说过我对abstract class的看法,倒是引来不少非议
尤其是有些人居然举出了例子,好,我们就从这个例子开始
有人说在这种情况下要使用abstract class
比如一个animal,有walk和sing方法
那么代码就是
public abstract class Animal{
public void walk(){System.out.println("walk")};
public abstract void sing();
}
然后对于具体的实现类,比如Cat,有如下实现
public class Cat extends Animal{
public void sing(){
System.out.println("cat sing");
}
}
这样一个类,好处就是“便于扩展”等等
OK,那么我们就从这个例子出发,说说为什么在j2ee环境中,我们不这么做
然后说说会怎么做
首先,在j2ee的环境中,关于animal这种实体
我们会在各个层面建立entity
比如在db层面建立一个表,叫做animal,然后有一个cat记录
然后通过orm,建立起一个dto之类的玩... 阅读全帖 |
|
w****u 发帖数: 3147 | 46 @Repository @Service @Controller? |
|
z*******3 发帖数: 13709 | 47 wikipedia上的例子很好,所以调用ejb的就是web层了
如果是persistence层的话,那应该有一层business层
Such an EJB can be used by a class in e.g. the web layer as follows:
@Named
@RequestScoped
public class CustomerBacking {
@EJB
private CustomerService customerService;
public String addCustomer() {
customerService.addCustomer(customer);
context.addMessage(...); // abbreviated for brevity
return "customer_overview";
}
}
越往后面变化越小
ejb干脆就干掉了hibernate之类的
直接变成api了
如果自己倒腾hibernate
还要搞定sessionfactory和session,... 阅读全帖 |
|
z*******3 发帖数: 13709 | 48 遵循了jpa标准蛮好
至少持久化对象不需要象以前那么麻烦去实现了
以前又是dao又是repository又要写xml的
麻烦 |
|
z*******3 发帖数: 13709 | 49 service还是dao/repository? |
|
Y**G 发帖数: 1089 | 50 比ant强太多了.有人愿意免费制作maven repository, 还能解析dependency, 项目管理
变的容易多了 |
|