<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[newcomer]]></title><description><![CDATA[思辨求甚解]]></description><link>https://blog.youkuaiyun.com/newlaide</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; newlaide]]></copyright><item><title><![CDATA[[Maven]添加新仓库或者新发布依赖后却获取不到问题的解决方案]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/23445983</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/23445983</guid><author>newlaide</author><pubDate>Fri, 11 Apr 2014 14:49:39 +0800</pubDate><description><![CDATA[tags: maven
[ERROR] Failed to execute goal on project settings: Could not resolve dependencies for project com.netease.mail:settings:war:1.0.0: The following artifacts could not be resolved: newbee:c]]></description><category></category></item><item><title><![CDATA[cURL如何只获取http请求的code信息]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/23436695</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/23436695</guid><author>newlaide</author><pubDate>Fri, 11 Apr 2014 12:45:46 +0800</pubDate><description><![CDATA[参考：http://beerpla.net/2010/06/10/how-to-display-just-the-http-response-code-in-cli-curl/





仅获取结果响应码
curl -s -w "%{http_code}" 'url' -o /dev/null

命令解释
-s表示slient，不显示进度或错误信息。如：
$ curl  -w]]></description><category></category></item><item><title><![CDATA[[Maven]如何构建依赖图]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/14214585</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/14214585</guid><author>newlaide</author><pubDate>Tue, 05 Nov 2013 22:48:57 +0800</pubDate><description><![CDATA[主要是参考 http://stackoverflow.com/questions/4084669/how-to-generate-a-graph-of-the-dependency-between-all-modules-of-a-maven-project 中提供的几种工具。


Maven Graph Plugin：
Link
使用该插件首先需要安装Graphviz，msi安装会将执]]></description><category></category></item><item><title><![CDATA[[iBatis]加载xml时的异常]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/9624395</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/9624395</guid><author>newlaide</author><pubDate>Tue, 30 Jul 2013 10:22:23 +0800</pubDate><description><![CDATA[10:10:45 ERROR org.springframework.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mysqlMapClient' def]]></description><category></category></item><item><title><![CDATA[Windows下tomcat jvm参数设定]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/9419727</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/9419727</guid><author>newlaide</author><pubDate>Tue, 23 Jul 2013 11:20:10 +0800</pubDate><description><![CDATA[http://stackoverflow.com/questions/286007/how-to-tune-tomcat-5-5-jvm-memory-settings-without-using-the-configuration-progr
背景：
软件版本
D:\Program Files\tomcat\apache-tomcat-6.0.36\bin> .\version.bat]]></description><category></category></item><item><title><![CDATA[Evernote语法高亮]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/9363965</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/9363965</guid><author>newlaide</author><pubDate>Thu, 18 Jul 2013 10:35:29 +0800</pubDate><description><![CDATA[参考博文：http://myfairland.net/evernote-code-highlight/
Evernote本身不支持语法高亮，这让经常做技术类积累的人着实苦恼。但是evernote粘贴是会对源格式进行保留，复制源是已语法高亮的，复制过来可以保留格式。这也提供了一些其他途径来做语法高亮标记。
参考博文中提到了一些在线语法高亮的站点，提供了将未格式化的文本进行相应语言的高亮转换服务：]]></description><category></category></item><item><title><![CDATA[eclipse启动server时异常]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8452941</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8452941</guid><author>newlaide</author><pubDate>Sun, 30 Dec 2012 16:01:06 +0800</pubDate><description><![CDATA[具体异常内容见下：
Could not load the Tomcat server configuration at \Servers\Tomcat v6.0 Server at localhost-config. The configuration may be corrupt or incomplete.
创建的server与之前可以正常运行的server稍有不同。如下为正常的serve]]></description><category></category></item><item><title><![CDATA[eclipse执行编译后的类文件抛出Could not find the main class: 异常解决方案之一]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8451665</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8451665</guid><author>newlaide</author><pubDate>Sat, 29 Dec 2012 21:46:29 +0800</pubDate><description><![CDATA[写一些测试代码后执行的时候，抛出找不到main方法的异常。当时感觉很奇怪，因为之前编译运行还是没有问题的。
参考了stackoverflow的一些方法，但是得不到解决。如下链接中所提供的方法：
http://stackoverflow.com/questions/10356854/eclipse-cant-find-load-main-class

关闭eclipse，删除workspac]]></description><category></category></item><item><title><![CDATA[virtualbox快捷键]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8284261</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8284261</guid><author>newlaide</author><pubDate>Tue, 11 Dec 2012 21:05:33 +0800</pubDate><description><![CDATA[上次不小心把显示改成了Scale Mode，导致菜单栏找不见了。。。


这个样子，然后启动时也没有提示修改的地方，查手册又不知道查哪，就只好重新装了一个虚拟机，看一下上次到底是做了哪个操作，然后百度一下，才把菜单调出来。
现在记一下快捷键：




host键windows下为右ctrl]]></description><category></category></item><item><title><![CDATA[ATP 5 apt.conf]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8147610</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8147610</guid><author>newlaide</author><pubDate>Mon, 05 Nov 2012 09:58:53 +0800</pubDate><description><![CDATA[用apt安装chromium-browser的时候，会出现如下错误提示：


E: 无法立即对 python-minimal 进行配置。请查看 man 5 apt.conf 中的 APT::Immediate-Configure (2)



如下为man中的参考：
原文：
Immediate-Configure
Defaults to on which will cause]]></description><category></category></item><item><title><![CDATA[[USACO]Party Lamps]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8081851</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8081851</guid><author>newlaide</author><pubDate>Wed, 17 Oct 2012 16:01:54 +0800</pubDate><description><![CDATA[Party Lamps
IOI 98
To brighten up the gala dinner of the IOI'98 we have a set of N (10 N.
The lamps are connected to four buttons:


Button 1: When this button is pressed, all the lamps change t]]></description><category></category></item><item><title><![CDATA[线程协作测试]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8059097</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8059097</guid><author>newlaide</author><pubDate>Thu, 11 Oct 2012 09:59:39 +0800</pubDate><description><![CDATA[题目来自今年某公司一次笔试试题。


大致题目要求为：
一个线程A及一组线程B，令线程A触发B线程执行后进行等待，待线程B全部执行完毕后，A继续执行，求方案。


最简单的用wait/notify：

/**
* 线程A
*/
import java.util.ArrayList;
import java.util.Iterator;

public class ThreadA]]></description><category></category></item><item><title><![CDATA[[NIO]利用内存映射文件以及普通通道进行文件拷贝效率分析]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8024704</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8024704</guid><author>newlaide</author><pubDate>Thu, 27 Sep 2012 17:26:07 +0800</pubDate><description><![CDATA[//测试代码， 用来验证内存映射文件、使用缓冲及流的文件读写的效率。可见内存映射文件的效率最高。
package com.nio.test;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOExceptio]]></description><category></category></item><item><title><![CDATA[[USACO]Runaround Numbers]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/8020815</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/8020815</guid><author>newlaide</author><pubDate>Wed, 26 Sep 2012 14:48:30 +0800</pubDate><description><![CDATA[Runaround Numbers

Runaround numbers are integers with unique digits, none of which is zero (e.g., 81362) that also have an interesting property, exemplified by this demonstration:

If you start a]]></description><category></category></item><item><title><![CDATA[[USACO]Subset Sums]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7997878</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7997878</guid><author>newlaide</author><pubDate>Wed, 19 Sep 2012 21:40:05 +0800</pubDate><description><![CDATA[Subset Sums
JRM
For many sets of consecutive integers from 1 through N (1 
For example, if N=3, one can partition the set {1, 2, 3} in one way so that the sums of both subsets are identical:

{3}]]></description><category></category></item><item><title><![CDATA[[USACO]Healthy Holsteins]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7918550</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7918550</guid><author>newlaide</author><pubDate>Wed, 29 Aug 2012 09:21:00 +0800</pubDate><description><![CDATA[Healthy Holsteins
Burch & Kolstad
Farmer John prides himself on having the healthiest dairy cows in the world. He knows the vitamin content for one scoop of each feed type and the minimum daily vita]]></description><category></category></item><item><title><![CDATA[[USACO]checker]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7891080</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7891080</guid><author>newlaide</author><pubDate>Tue, 21 Aug 2012 14:33:05 +0800</pubDate><description><![CDATA[八皇后问题，要求输出按数值排序的前三种布局方式(用一个数组代表每行皇后放置位置)，以及布局的种类。
写了两个方案，第一个为循环，第二个为递归。循环复杂度超了一点，没有通过。递归做了优化，可以通过。
两个方案都贴出来，做些对比：
方案一：循环，用一个数组保存前几行皇后摆放情况以及未放置皇后的列信息。第二种方法也是用同样的数组进行信息保存，这样做不知道算不算是个偷巧，因为这样并不能保证得到全部的]]></description><category></category></item><item><title><![CDATA[[USACO]clocks]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7890701</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7890701</guid><author>newlaide</author><pubDate>Tue, 21 Aug 2012 14:07:48 +0800</pubDate><description><![CDATA[提交了15次，一直超时。后来参考别人的解题思路，和自己的做了对比，复杂度一致，差在一个常数倍上。
采用BFS算法，和别人的想法有些不太一样。
用一个树来代表全部有效的操作步骤，从根到每个叶的路径为一个有效的操作，每个节点的value为一个二维数组，数组的第一个元素代表该节点子节点值的取值下限，如若为4，则第一个子树的值应当为4，第二个为5，一次类推；第二个元素代表从根节点到本节点第一个元素值出]]></description><category></category></item><item><title><![CDATA[Weblogic 12c 运行使用Slf4j日志框架应用解决方案]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7863906</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7863906</guid><author>newlaide</author><pubDate>Tue, 14 Aug 2012 12:56:18 +0800</pubDate><description><![CDATA[Weblogic 12c版本使用slf4j作为logging facade，bind的logger为jdk14。这样在引擎(Weblogic)中加载的应用如果使用了slf4j+其他binder，运行时就会出现问题。


有人提出如下解决方案为：
删除weblogic lib中的slf4j相关jar文件(org.slf4j.api_1.6.1.0.jar\org.slf4j.ext_1.6.]]></description><category></category></item><item><title><![CDATA[[USACO]Arithmetic Progressions]]></title><link>https://blog.youkuaiyun.com/newlaide/article/details/7841682</link><guid>https://blog.youkuaiyun.com/newlaide/article/details/7841682</guid><author>newlaide</author><pubDate>Wed, 08 Aug 2012 08:56:02 +0800</pubDate><description><![CDATA[Arithmetic Progressions

An arithmetic progression is a sequence of the form a, a+b, a+2b, ..., a+nb where n=0,1,2,3,... . For this problem, a is a non-negative integer and b is a positive integer.]]></description><category></category></item></channel></rss>