V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  stevenbipt  ›  全部回复第 7 页 / 共 18 页
回复总数  355
1 ... 3  4  5  6  7  8  9  10  11  12 ... 18  
2018-11-28 17:51:25 +08:00
回复了 Tumblr 创建的主题 Windows Windows 10 的使用技巧
win+shift+s 截图,win+tab 切换多个工作窗口
2018-11-27 17:44:08 +08:00
回复了 CoderOnePolo 创建的主题 推广 五分钟学会一个有意思的排序:计数排序
计数排序伪代码:
//A:需要排序的数组
//B:排好序数组
//C[0...K]临时存储空间
counting-sort(A,B,k)
let C[0...k] be a new array
for i=0 to k
C[i]=0
for j=1 to A.length
C[A[j]]=C[A[j]]+1
for i-=1 to k
C[i]=C[i]+C[i-1]
for j=A.length downto 1
B[C[A[j]]]=A[j]
C[A[j]]=C[A[j]]-1
'''
当初被这“[]”弄得头都大了,不过慢慢调试出来发现其实挺简单的,桶排序和这个区别好像在于桶是一个区间而不是一个数,在桶里面的元素需要进一步排序,通常会使用相对较快的比较排序方法对每个桶里面的元素进行排序,当输入数据满足:所有桶的大小的平方和与总的元素数呈线性关系。桶排序的期望运行时间还是 O(n) https://ws4.sinaimg.cn/bmiddle/62e721e4gw1et02g5wksrj200k00k3y9.jpg https://ws4.sinaimg.cn/bmiddle/62e721e4gw1et02g5wksrj200k00k3y9.jpg
2018-11-27 11:02:14 +08:00
回复了 CoderOnePolo 创建的主题 推广 五分钟学会一个有意思的排序:计数排序
学算法导论有这个算法,不过那个写得比较简洁,被数组的[]弄得特别晕,不过慢慢调试看下来就发现本质了。
2018-11-25 19:39:31 +08:00
回复了 stevenbipt 创建的主题 问与答 有点想找工作
@stevenbipt 没找打☞没找到
2018-11-25 19:39:12 +08:00
回复了 stevenbipt 创建的主题 问与答 有点想找工作
@Better184 没找打,不过这段时间看了两遍深入了解 java 虚拟机收获但是挺大的。估计今年基本上没戏了,假期好好充充电为明年准备吧
2018-11-24 20:01:21 +08:00
回复了 aawei 创建的主题 问与答 装机翻车了??
需要根据自检码排除部件问题 https://ws4.sinaimg.cn/bmiddle/62e721e4gw1et02g5wksrj200k00k3y9.jpg 吃饭的时候打字真不行
2018-11-24 19:57:37 +08:00
回复了 aawei 创建的主题 问与答 装机翻车了??
@aawei #8 主板上应该有两个十六进制数的自检码,如果开机连 bois/uefi 都进不去,可能是开机自检没有通过,需要根据自检码部件不见问题,如果已经进入了 bois/uefi 请忽略我的回答。如果主板没有自检码,看看屏幕上有没有,都没有的话可能得考虑自检卡了
2018-11-24 19:00:34 +08:00
回复了 aawei 创建的主题 问与答 装机翻车了??
没显示查一下主板上的自检码,对着自检码看一下是哪里问题
2018-11-23 15:34:57 +08:00
回复了 leafiy 创建的主题 问与答 经常忘记呼吸是怎么回事
说不定还能像乌龟那样增长寿命 2333333
2018-11-22 21:34:44 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@rockyou12 #27 谢谢啦,算是开眼界了
2018-11-22 20:55:14 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@rockyou12 #24 刚入坑自己搭框架,没一点经验都是翻别人的博客,所以效果比较感人,可能自己太笨了吧哈哈
2018-11-22 20:40:08 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@ywcjxf1515 #16
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<localRepository>D:\Repositories\Maven</localRepository>
<pluginGroups>
<!-- pluginGroup
| Specifies a further group identifier to use for plugin lookup.
<pluginGroup>com.your.plugins</pluginGroup>
-->
<pluginGroup>org.mortbay.jetty</pluginGroup>
</pluginGroups>

<!-- proxies
| This is a list of proxies which can be used on this machine to connect to the network.
| Unless otherwise specified (by system property or command-line switch), the first proxy
| specification in this list marked as active will be used.
|-->
<proxies>
<!-- proxy
| Specification for one proxy, to be used in connecting to the network.
|
<proxy>
<id>optional</id>
<active>true</active>
<protocol>http</protocol>
<username>proxyuser</username>
<password>proxypass</password>
<host>proxy.host.net</host>
<port>80</port>
<nonProxyHosts>local.net|some.host.com</nonProxyHosts>
</proxy>
-->
</proxies>

<!-- servers
| This is a list of authentication profiles, keyed by the server-id used within the system.
| Authentication profiles can be used whenever maven must make a connection to a remote server.
|-->
<servers>
<server>
<id>releases</id>
<username>ali</username>
<password>ali</password>
</server>
<server>
<id>Snapshots</id>
<username>ali</username>
<password>ali</password>
</server>
</servers>

<!-- mirrors
| This is a list of mirrors to be used in downloading artifacts from remote repositories.
|
| It works like this: a POM may declare a repository to use in resolving certain artifacts.
| However, this repository may have problems with heavy traffic at times, so people have mirrored
| it to several places.
|
| That repository definition will have a unique id, so we can create a mirror reference for that
| repository, to be used as an alternate download site. The mirror site will be the preferred
| server for that repository.
|-->
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<mirror>
<!--This is used to direct the public snapshots repo in the
profile below over to a different nexus group -->
<id>nexus-public-snapshots</id>
<mirrorOf>public-snapshots</mirrorOf>
<url>http://maven.aliyun.com/nexus/content/repositories/snapshots/</url>
</mirror>
</mirrors>
<profiles>
<profile>
<id>development</id>
<repositories>
<repository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<!--this profile will allow snapshots to be searched when activated-->
<id>public-snapshots</id>
<repositories>
<repository>
<id>public-snapshots</id>
<url>http://public-snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<url>http://central</url>
<releases><enabled>true</enabled><updatePolicy>always</updatePolicy></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<!--this profile will allow snapshots to be searched when activated-->
<id>public-snapshots</id>
<repositories>
<repository>
<id>public-snapshots</id>
<url>http://public-snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>public-snapshots</id>
<url>http://public-snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled><updatePolicy>always</updatePolicy></snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>

<activeProfiles>
<activeProfile>development</activeProfile>
<activeProfile>public-snapshots</activeProfile>
</activeProfiles>
</settings>
2018-11-22 17:04:45 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@disagree #12 在 idea 里面项目右键 Maven — Open “ setting.xml ”,在这里面改了也试过还是不行
2018-11-22 16:51:09 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@xgfan #5 设置过代理,可能是设置有问题吧,工具显示能连接 Google 但是下载还是很慢
2018-11-22 16:49:52 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@misaka19000 #3
@sonyxperia #4
手动设置以后在 maven 里面 update 直接 ERROR,下载进度条都没了
2018-11-22 16:42:13 +08:00
回复了 stevenbipt 创建的主题 问与答 要被 maven 下载依赖包搞疯了
@ywcjxf1515 #1 修改了 seting.xml 的镜像地址还是会使用原来的默认地址,重启了也不行,是需要刷新加载的配置吗?
2018-11-18 00:26:41 +08:00
回复了 rtwzer0 创建的主题 问与答 想学一门外语不包括英语,求推荐?
芬兰语~
2018-11-17 10:23:36 +08:00
回复了 yixinlove 创建的主题 问与答 大家平时还会用钢笔写字吗?
练练硬笔字还行,平常记笔记速度太慢了,不过对用其他笔写字也有一点提升
2018-11-17 00:00:31 +08:00
回复了 pikachuSophia 创建的主题 问与答 有没有降噪耳机或者耳塞推荐的
睡觉的话 bose 有一款用于睡觉的遮罩蓝牙耳塞效果特别好
1 ... 3  4  5  6  7  8  9  10  11  12 ... 18  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2843 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 25ms · UTC 09:29 · PVG 17:29 · LAX 02:29 · JFK 05:29
Developed with CodeLauncher
♥ Do have faith in what you're doing.