|
w**z 发帖数: 8232 | 2 Java Hashmap implementation does a supplement hash on the hasCode caller
provides.
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/
It's not likely you will have a lot of hash collisions for random String Key
.
Another way to avoid rehashing is to set a bigger initial size if you are
sure you will have 1M records.
I agree with goodbug, at least do some benchmarking before trying to tune
anything.
less
approach |
|
b***i 发帖数: 3043 | 3 先问薪问题
Spring已经在openshift上运行了,我发现,重启后,信息就丢了。那么,这个例子是
不是没有真正的数据库?说是叫H2 databas。如何让Spring把数据填入数据库?我看到
如下代码,那么EntityManager em被wire到哪里去了?应该在哪里查找设置?
@Controller
@RequestMapping(value="/")
public class MemberController
{
@Autowired
private MemberDao memberDao;
@RequestMapping(method=RequestMethod.GET)
public String displaySortedMembers(Model model) {... }
@RequestMapping(method=RequestMethod.POST)
public String registerNewMember(@Valid @ModelAttribute("newMember")
Member n... 阅读全帖 |
|
|
|
|
w**z 发帖数: 8232 | 7 is the repository setting correct? |
|
c*******e 发帖数: 290 | 8 可能是要把那个 package 拷贝到公司自己的 maven repository 里面?因为是走的自
己的 tunnel. |
|
w**z 发帖数: 8232 | 9 try command line mvn clean compile -U
any error? is the repository accessible? |
|
|
u****s 发帖数: 2186 | 11 http://zeroturnaround.com/rebellabs/java-tools-and-technologies
The 2014 Leaderboard of Java Tools & Technologies
JUnit – 82.5%* - Top testing framework used by developers
Jenkins – 70%º - Most used CI server in the industry
Git – 69%* - #1 version control technology out there
Hibernate – 67.5%*/º - The top ORM framework used
Java 7 – 65% - The industry leader for SE development
Maven – 64% - Most used build tool in Java
Nexus – 64%º - The main reposito... 阅读全帖 |
|
b***i 发帖数: 3043 | 12 在eclipse里面import一个GIT的项目,然后发现,如果我new class,那么报告说这个
不是java project。我可以new 一个文件,但是是不是git必须这样?
在workspace里面,src里面什么都没有,因为所以的文件都在repository里面。 |
|
|
z****e 发帖数: 54598 | 14 刚下了一个android studio的最新版
beta版,开开心心从preview版给换过去
setting设置的export/import这些都搞定了
然后升级各种plugins,也都没问题
但是android studio突然花了20多分钟在updating maven repository上
觉得很奇怪,后来进.m2文件夹看看
哎哟,我的妈呀
太久没删了,里面一堆东西
主要是倒腾vert.x和以前写的不少项目,都用maven在管
所以.m2越来越大,因为都是用eclipse在写,所以每次新增依赖
eclipse都会自动更新index,所以在eclipse感觉不出来
但是换到android studio需要重新建index就变得很慢
全删了,android studio陡然快了起来
maven这个设置实在是很糟糕,换个ide,每次建个mavn index都非常慢
以后还是用gradle了 |
|
i**w 发帖数: 883 | 15 行艺?Andriod Studio(Intellij IDEA)和eclipse本来就不是同根生,当然不能互用
index。而且Intellj IDEA建index是出名的慢——十年前用3.0的时候就很有体会
gradle同样用的是maven的repository吧,很是怀疑换了gradle就会在这方面有所改进 |
|
t*********e 发帖数: 630 | 16 如果一个 open sourced library 不在公共的 apache maven respository 中,为了共
享,是不是就只有建立自己的 repository? Nexus OSS 是不是可以?
另外,如果安装了 Nexus OSS,那是不是以前在 Maven Central 上可直接引用的 .jar
也需要先上载到自己的 Nexus OSS 服务器中? |
|
F****n 发帖数: 3271 | 17 1. 还可建local repository然后放到source code repo 里
2. 不用
jar |
|
|
|
|
|
|
c*****t 发帖数: 1879 | 23 i.c. I will look into that. |
|
c*****t 发帖数: 1879 | 24 I will try that as well. Thanks. |
|
|
p***o 发帖数: 1252 | 26 你可以用linux自己的用户权限控制,把repository里的所有东西
设成组(g)可读(r)可写(w),目录再加上传播组名(s),这样组里的
人就能修改了。你再把其他人(o)的权限都关掉,他们不在组里就
没法访问了。此方法适用于NIS+NFS+SSH。web的svn没试过,不知道。 |
|
g**s 发帖数: 79 | 27 推荐的repository 子目录是:
/trunk
/branches
/tags
但是如果用svnadmin create 创建,就会产生
conf/ dav/ db/ format hooks/ locks/
这样一些目录。
这两者有矛盾吗? |
|
g****e 发帖数: 1829 | 28 如果这还不行,你就把该选的repository选上 |
|
a*****i 发帖数: 4391 | 29 get repository file from http://pidgin.im, then yum install pidgin. |
|
a*****i 发帖数: 4391 | 30
While using RHEL/CentOS, you only get to yum update the security backports.
I am using CentOS5.2 @ work, and there isn't python 2.5 yum repository. I am
stuck with python 2.4.
If you want bleeding edge desktop, go for ubuntu/fedora. |
|
s**i 发帖数: 381 | 31 刚装了SUSE Linux Enterprise Server 10, SP2
default kernel is 2.6.16.60-0.21-default
为了装lustre,需要升级到2.6.16.60-0.31
看了看http://wiki.novell.com/index.php/Kernel_versions
确实应该有这个版本的kernel
可是online update 总是找不到任何patch
activate了evaluation code也是不行
实在是搞不懂这些SLES, RHEL是怎么运作的?
还是ubuntu/debian/gentoo比较好,都在repository里
请用过SLES的大虾帮帮忙吧。
谢谢 |
|
|
a*****i 发帖数: 4391 | 33
I only update when there is change in repository. |
|
|
a*****i 发帖数: 4391 | 35 Does official debian repository have stuff like flash-plugins?
(Since Debian is all about having 100% free and open software.) |
|
y*******g 发帖数: 6599 | 36 有。
flashplugin-nonfree
repository有main, non-free和contrib三类 |
|
a*****i 发帖数: 4391 | 37 It is a popularity contest for distros that target
regular users. yum and apt-get are both good tools, but
for some reason, it never caught on. Maybe because of
the good launchpad site...
Because of ubuntu's popularity, it is very easy to get a
new software that is in ubuntu's repository. I don't think
I know any softwares that you can not apt-get but you
can yum yet. |
|
i*****f 发帖数: 578 | 38 ArchLinux User-community Repository,就是archlinux非官方的repo。对arch用户很
有用啊。aur上有的别的地方也该有吧 |
|
|
|
o******b 发帖数: 37 | 41 are all of those your personal config files?
this is incredible, my .vimrc is 200 lines long plus another 50 lines of
color setup, that's all i need to get a comfortable and fully-fledged vim... |
|
|
m******t 发帖数: 2416 | 43
Man taht's lots of color schemes and plugins. |
|
u**s 发帖数: 50 | 44 checkout emacs23 and it has merged most of the third party els. |
|
a*****i 发帖数: 4391 | 45
I am using a CVS snapshot of emacs23. |
|
a*****i 发帖数: 4391 | 46 莫名其妙的crash过好几会了,就是GUI全部死掉。也不知道是不是kernel问题。
stock install jaunty on T61.
没装古怪软件。全部都是从repository来的。
有其他T61用户有类似症状么? |
|
Z****e 发帖数: 2999 | 47 重新init你的repository? 乱猜猜的 |
|
D*********s 发帖数: 555 | 48 我说了什么都没改
其实我就是想sync那个repository |
|
f********1 发帖数: 1601 | 49 俺要等最近的repository全更新了再换,省得yum安装包裹慢 |
|
|