storm集群执行 storm supervisor & 命令后,一直在kill进程,怎么解决?

zookeeper版本 3.4.10
apache-storm版本 1.2.2

搭建了三台服务器的storm集群,ubuntu1执行storm nimbus & 命令,ubuntu2和ubuntu3都执行storm supervisor & 命令,三条命令都执行成功。


但是ubuntu2和ubuntu3一直在kill不存在的进程,如图所示:
图片说明


图片说明


虽然不影响程序的执行,但是看着很难受,百度没有查到解决办法,特地来请教如何处理。

2个回答

问题已解决,谢谢百度,感谢CSDN

weixin_44256906
weixin_44256906 这个是怎么解决的啊
10 个月之前 回复
qq_36405484
明柯 谢谢姐姐回复,问题没解决
大约一年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
storm集群执行 storm supervisor & 命令后,一直在kill进程,怎么解决?
zookeeper版本 3.4.10</br> apache-storm版本 1.2.2</br> </br> 搭建了三台服务器的storm集群,ubuntu1执行storm nimbus & 命令,ubuntu2和ubuntu3都执行storm supervisor & 命令,三条命令都执行成功。 </br> </br> 但是ubuntu2和ubuntu3一直在kill不存在的进程,如图所示: ![图片说明](https://img-ask.csdn.net/upload/201902/20/1550655718_492561.png) </br> </br> ![图片说明](https://img-ask.csdn.net/upload/201902/20/1550655745_453460.png) </br> </br> 虽然不影响程序的执行,但是看着很难受,百度没有查到解决办法,特地来请教如何处理。
storm集群nimbus连接不上supervisor
Ubuntu12.04系统,使用0.9.3版的storm 通过单独的终端,启动:主机的nimbus和ui,2台从机上的supervisor,但在ui的网页上,supervisor summary的数量是0。
storm可操作集群的客户端就是supervisor吗?
请教:在一台机器上安装storm客户端,这台客户端会变成一台supervisor吗? 客户端与storm集群是什么关系?因为我看yaml配置里只配了nimbus,而没有说明哪台是supervisor,是不是就是默认有这样配置的都是supervisor呢?新人只有5币 劳驾各位道友
关于Storm/Zookeeper集群配置
我在搭建一套Zookeeper+Kafka+Storm的集群环境,由于只有两台服务器,所以Zookeeper搭建 了三个节点,服务器1有两个zookeeper节点,端口分别是2181,2182。在Strom.yaml配置文件中,![图片说明](http://img.ask.csd n.net/upload/201707/31/1501469925_400368.png) 请问:1、storm的配置文件中的端口配置是否正确? 2、在服务器1中启动Storm的nimbus节点和UI,在服务器2启动Storm的supervisor节点,但是在Storm ui中并没有显的supervisor节点?
storm1.0.2 supervisor still hasn't started
问题描述 在新搭建的storm1.0.2环境下提交jar包,执行后不出数据,检查日志发现 ![图片说明](https://img-ask.csdn.net/upload/201609/08/1473300062_814497.jpg) 而相对应的work日志 worker.log.err为空 worker.log如下 ![图片说明](https://img-ask.csdn.net/upload/201609/08/1473300106_514498.jpg) 会在这里卡上一段时间,supervisor的日志还是继续supervisor {taskid} still hasn't started 然后无限的循环。
storm提示connection attempt to Netty-Client-ubuntu1
当我提交任务给storm时,发现2台supervisor中对应的日志输出都如下,请问如何解决: connection attempt 367 to Netty-Client-ubuntu1:6704 failed: java.nio.channels.UnresolvedAddressException b.s.m.n.StormClientHandler [INFO] Connection failed Netty-Client-ubuntu1:6704 java.nio.channels.UnresolvedAddressException at sun.nio.ch.Net.checkAddress(Net.java:101) ~[?:1.8.0_121] at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:622) ~[?:1.8.0_121] at org.apache.storm.shade.org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.connect(NioClientSocketPipelineSink.java:108) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink.eventSunk(NioClientSocketPipelineSink.java:70) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendDownstream(DefaultChannelPipeline.java:779) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.handler.codec.oneone.OneToOneEncoder.handleDownstream(OneToOneEncoder.java:54) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:591) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.DefaultChannelPipeline.sendDownstream(DefaultChannelPipeline.java:582) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.Channels.connect(Channels.java:634) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.channel.AbstractChannel.connect(AbstractChannel.java:207) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:229) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.bootstrap.ClientBootstrap.connect(ClientBootstrap.java:182) [storm-core-0.10.2.jar:0.10.2] at backtype.storm.messaging.netty.Client$Connect.run(Client.java:518) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:546) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.util.HashedWheelTimer$Worker.notifyExpiredTimeouts(HashedWheelTimer.java:446) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:395) [storm-core-0.10.2.jar:0.10.2] at org.apache.storm.shade.org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108) [storm-core-0.10.2.jar:0.10.2] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
supervisor托管的进程的子进程异常退出了,如何重启
被supervisor托管的进程会产生子进程,但是查看status似乎supervisor不会管理这里产生的子进程,如果父进程被杀死了,supervisor 会将其重启,但如果父进程的子进程被杀死了,不会被重启,有办法解决这个问题吗?
storm配置后启动nimbus后查看日志报错
[WARN] Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect java.net.NoRouteToHostException: 没有到主机的路由 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) ~[na:1.7.0_45] at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735) ~[na:1.7.0_45] at org.apache.storm.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361) ~[storm-core-0.9.5.jar:0.9.5] at org.apache.storm.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081) ~[storm-core-0.9.5.jar:0.9.5] 2016-05-07T12:51:58.640+0800 o.a.s.c.ConnectionState [ERROR] Connection timed out for connection string (itsm-app-006:2181,itsm-app-007:2181,itsm-app-008:2181) and timeout (15000) / elapsed ( 15040) org.apache.storm.curator.CuratorConnectionLossException: KeeperErrorCode = ConnectionLoss at org.apache.storm.curator.ConnectionState.checkTimeouts(ConnectionState.java:198) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.ConnectionState.getZooKeeper(ConnectionState.java:88) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.CuratorZookeeperClient.getZooKeeper(CuratorZookeeperClient.java:115) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.CuratorFrameworkImpl.getZooKeeper(CuratorFrameworkImpl.java:488) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:172) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.ExistsBuilderImpl$2.call(ExistsBuilderImpl.java:161) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.RetryLoop.callWithRetry(RetryLoop.java:107) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.ExistsBuilderImpl.pathInForeground(ExistsBuilderImpl.java:157) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:148) [storm-core-0.9.5.jar:0.9.5] at org.apache.storm.curator.framework.imps.ExistsBuilderImpl.forPath(ExistsBuilderImpl.java:36) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.zookeeper$exists_node_QMARK_$fn__1826.invoke(zookeeper.clj:101) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.zookeeper$exists_node_QMARK_.invoke(zookeeper.clj:98) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.zookeeper$mkdirs.invoke(zookeeper.clj:114) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.cluster$mk_distributed_cluster_state.invoke(cluster.clj:43) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.cluster$mk_storm_cluster_state.invoke(cluster.clj:238) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.nimbus$nimbus_data.invoke(nimbus.clj:67) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.nimbus$fn__3724$exec_fn__1103__auto____3725.invoke(nimbus.clj:898) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.AFn.applyToHelper(AFn.java:163) [clojure-1.5.1.jar:na] at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na] at clojure.core$apply.invoke(core.clj:617) [clojure-1.5.1.jar:na] at backtype.storm.daemon.nimbus$fn__3724$service_handler__3814.doInvoke(nimbus.clj:895) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.RestFn.invoke(RestFn.java:421) [clojure-1.5.1.jar:na] at backtype.storm.daemon.nimbus$launch_server_BANG_.invoke(nimbus.clj:1152) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.nimbus$_launch.invoke(nimbus.clj:1184) [storm-core-0.9.5.jar:0.9.5] at backtype.storm.daemon.nimbus$_main.invoke(nimbus.clj:1206) [storm-core-0.9.5.jar:0.9.5] at clojure.lang.AFn.applyToHelper(AFn.java:159) [clojure-1.5.1.jar:na] at clojure.lang.AFn.applyTo(AFn.java:151) [clojure-1.5.1.jar:na] at backtype.storm.daemon.nimbus.main(Unknown Source) [storm-core-0.9.5.jar:0.9.5] 配置文件为(主控节点和其他节点配置文件一致): storm.zookeeper.servers: - "itsm-app-006" - "itsm-app-007" - "itsm-app-008" storm.zookeeper.port: 2181 storm.zookeeper.root: "/storm" nimbus.host: "itsm-app-006" nimbus.thrift.port: 16627 storm.local.dir: "/itsm/storm/applog/data" ui.port: 18181 supervisor.slots.ports: - 16704 - 16705 - 16706 - 16707
supervisor杀掉进程前能否执行脚本或其他命令
supervisorctl 进入交互模式 stop shadPY ; 在停掉管理的这个子进程之前能否执行一些其他的操作 比如kill掉这个程序之前先打出一个日志 或执行一个其他的shell/python脚本
stirm集群中每台机器都需要保存其他机器的ip和主机名对照么
最近在玩storm,发现多个supervisor时,需要每台机器的etc/hosts都要保存其他机器的主机名和ip对照,否则worker间使用netty通信时,就会因为使用对方的主机名(暂时还不知道是在哪获取,怀疑是nimbus或zookeeper)而无法找到对应的地址报错,这样会导致后续集群新增机器时要同步修改所有的机器,有大神知道有什么办法可以解决或有好办法呢,谢谢
Supervisor, Supervisee
Description Suppose some supervisors each get to hire a new person for their department. There are N people to be placed in these N departments. Each supervisor interviews all N people, and ranks them according to how much she wants each of them in her department (1 being "really want" and N being "really don't want"). In turn, each of the N candidates ranks each of the supervisors as to how much that person would like to work for that supervisor (again, 1 is "really want to work for him/her" and N is "really don't want to work for him/her"). Given the scores that each supervisor has for each candidate, and the scores each candidate has for each manager, write a computer program to determine the "best match" of candidates to supervisors. The "best match" is determined by finding the distribution that leads to the highest overall (i.e. sum of) satisfaction for all people. The closer a person is to her number one choice, the better. If everyone gets their number one choice, the average difference will be 0. Input The first line of the input will contain a single integer greater than 0 specifying the number of test cases. The next line will contain a single integer value N, 0 < N < 15, representing the number of supervisors (and the number of employees - there are N supervisors and N employees). The next N lines will be the preferences of each of the N supervisors. Each line will contain N integer entries (1 through N for employees 1 through N), each separated by a space character, that represents the preferences of that supervisor from most preferred to least preferred. More specifically, the first entry on the line will represent that supervisor's first choice, the second entry her second, and so on. The next N lines will be the preferences of the N employees, in the same format as the supervisors. All lines of data in the input file will end with an empty line. Output For each test case, write the test case number (starting with 1) followed by the best average difference written to six digits of precision to the right of the decimal point. On the next line, show which best match it was (starting with 1). On the next N lines, show each supervisor (starting with 1) followed by the employee with which she was matched (1 per line). NOTE: if there is more than one best match, matches should be listed in ascending permuted order (see sample output). Separate each data set with an empty line. Sample Input 2 7 1 2 3 4 5 6 7 2 1 3 4 5 6 7 3 1 2 4 5 6 7 4 1 2 3 5 6 7 5 1 2 3 4 6 7 6 1 2 3 4 5 7 7 1 2 3 4 5 6 1 2 3 4 5 6 7 2 1 3 4 5 6 7 3 1 2 4 5 6 7 4 1 2 3 5 6 7 5 1 2 3 4 6 7 6 1 2 3 4 5 7 7 1 2 3 4 5 6 2 1 2 2 1 1 2 1 2 Sample Output Data Set 1, Best average difference: 0.000000 Best Pairing 1 Supervisor 1 with Employee 1 Supervisor 2 with Employee 2 Supervisor 3 with Employee 3 Supervisor 4 with Employee 4 Supervisor 5 with Employee 5 Supervisor 6 with Employee 6 Supervisor 7 with Employee 7 Data Set 2, Best average difference: 0.250000 Best Pairing 1 Supervisor 1 with Employee 1 Supervisor 2 with Employee 2
Centos7中怎么卸载supervisor
在Centos7系统中怎么卸载supervisor呢??????????????????????
虚拟机版本CentOS Linux release 7.6.1810 (Core)下离线安装keepalived+nginx+supervisor
如题, 求大神帮忙整理:在一台纯净的linux虚拟机centos7.6.1810版本下 离线安装keepalived+nginx的rpm包整理(不能使用任何在线安装的方式 rpm yum)整理好之后可以私我发我整理好之后的包,也可以直接回答, 我确认可以安装后确认采纳,分不多,希望有大神帮个忙。 另外对版本的要求是希望版本号越高越好,keepalived2.0以上,nginx也尽 可能新一些,据我所述目前keepalived最新版是2.0.18,nginx最新版是1.17.3 supervisor是4.0.4, 不要求都是最新版,尽可能版本号高一点。可以把keepalived+nginx 和supervisor的rpm依赖包分开。
JAVA的NameValuePair解析问题
想向各位大佬请教一下Java的NameValuePair解析问题, 之前没用过NameValuePair去请求数据。。。 想问下这段代码传到后端接口的数据是啥样的?需要解析嘛? ``` List<NameValuePair> pairs = new ArrayList<NameValuePair>(); NameValuePair pair1 = new BasicNameValuePair("supervisor", supervisorEt.getEditableText().toString()); NameValuePair pair2 = new BasicNameValuePair("content", superviseContentEt.getEditableText().toString()); NameValuePair pair3 = new BasicNameValuePair("userId", String.valueOf(signedUser.getId())); pairs.add(pair1); pairs.add(pair2); pairs.add(pair3); ``` 后端参数要求写的是insertPlan(List<String》 param),这样对吗?还是直接写String,那要如何取出"content"的值呢。。。? 谢谢各位
cloudera集群安装总是出现如下错误:
![图片说明](https://img-ask.csdn.net/upload/201708/29/1503940445_627985.png) ![图片说明](https://img-ask.csdn.net/upload/201708/29/1503940463_713476.png) [09/Aug/2017 17:01:13 +0000] 9573 MainThread agent ERROR Failed to connect to previous supervisor. Traceback (most recent call last): File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.0-py2.6.egg/cmf/agent.py", line 2038, in find_or_start_supervisor self.configure_supervisor_clients() File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/cmf-5.8.0-py2.6.egg/cmf/agent.py", line 2222, in configure_supervisor_clients supervisor_options.realize(args=["-c", os.path.join(self.supervisor_dir, "supervisord.conf")]) File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/supervisor-3.0-py2.6.egg/supervisor/options.py", line 1578, in realize Options.realize(self, *arg, **kw) File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/supervisor-3.0-py2.6.egg/supervisor/options.py", line 312, in realize self.process_config() File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/supervisor-3.0-py2.6.egg/supervisor/options.py", line 320, in process_config self.process_config_file(do_usage) File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/supervisor-3.0-py2.6.egg/supervisor/options.py", line 355, in process_config_file self.usage(str(msg)) File "/usr/lib64/cmf/agent/build/env/lib/python2.6/site-packages/supervisor-3.0-py2.6.egg/supervisor/options.py", line 143, in usage self.exit(2) SystemExit: 2 每次都出现这样的错误,SELinux和防火墙均关闭,9000和9001端口均空闲
请问下windows有没有类似supervisor的软件
想把python文件一直运行在后台,曾经做过centos用supervisor把python一直运行在后台,但是windows没有这个软件,所以问问大大们,windows有类似的软件么
yaws服务器windows下启动报错
Yaws服务器我2.0.4 2.0.3 1.99都有尝试过,全部启动不起来. erlang版本是 OTP/21. . ``` PS C:\Develop\yaws1.9> yaws -i Eshell V10.0.1 (abort with ^G) 1> =INFO REPORT==== 9-Dec-2019::10:57:22.039000 === Yaws: Using config file C:\Develop\yaws1.9\yaws.conf 1> =ERROR REPORT==== 9-Dec-2019::10:57:22.070000 === Config Warning: Directory c:/Develop/yaws1.9/yaws/ebin for ebin_dir doesn't exist 1> =ERROR REPORT==== 9-Dec-2019::10:57:22.117000 === ** Generic server yaws_log terminating ** Last message in was {setup, {gconf,"c:/Develop/yaws1.9",false,100, "c:/Develop/yaws1.9/logs", ["c:/Develop/yaws1.9/examples/ebin", "c:/Develop/yaws1.9/examples/ebin"], [],[],30000,nolimit,400,1000000,8000,nolimit, [],10240,[],1000000,30, ["c:/Develop/yaws1.9/examples/include", "c:/Develop/yaws1.9/examples/include"], "/usr/bin/php-cgi","Yaws 1.99","default",false, [],yaws_session_server,8,undefined, [inet]}, [[{sconf,8080,7,[],undefined,undefined, "c:/Develop/yaws1.9/www",[], {0,0,0,0}, "localhost:8080",[],undefined,undefined, undefined, [{"c:/Develop/yaws1.9/www",[]}], 10240, [{"cgi-bin",yaws_appmod_cgi}], [],yaws_outmod,yaws_outmod,yaws_outmod,yaws, yaws_log,[],undefined, [yaws,php,cgi,fcgi], [], ["index.yaws","index.html","index.php"], [], [{listen_opts,[{backlog,1024}]}], [],undefined,undefined, {cgi,"/usr/bin/php-cgi"}, undefined,undefined,undefined,undefined}]]} ** When Server state == {state,false,undefined, ["[","09","/","Dec","/","2019",":","10",":", "57",":","22"," ", [43,"08","00"], "]"], 1000000,undefined,false} ** Reason for termination == ** {noproc,[{gen,do_for_proc,2,[{file,"gen.erl"},{line,228}]}, {gen_event,rpc,2,[{file,"gen_event.erl"},{line,239}]}, {yaws_log,terminate,2, [{file,"../../src/yaws_log.erl"},{line,397}]}, {gen_server,try_terminate,3,[{file,"gen_server.erl"},{line,673}]}, {gen_server,terminate,10,[{file,"gen_server.erl"},{line,858}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}]} ** Client yaws_server stacktrace ** [{gen,do_call,4,[{file,"gen.erl"},{line,169}]}, {gen_server,call,3,[{file,"gen_server.erl"},{line,219}]}, {yaws_server,init,1,[{file,"../../src/yaws_server.erl"},{line,170}]}, {gen_server,init_it,2,[{file,"gen_server.erl"},{line,374}]}, {gen_server,init_it,6,[{file,"gen_server.erl"},{line,342}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,249}]}] 1> =CRASH REPORT==== 9-Dec-2019::10:57:22.133000 === crasher: initial call: yaws_log:init/1 pid: <0.77.0> registered_name: yaws_log exception exit: noproc in function gen:do_for_proc/2 (gen.erl, line 228) in call from gen_event:rpc/2 (gen_event.erl, line 239) in call from yaws_log:terminate/2 (../../src/yaws_log.erl, line 397) in call from gen_server:try_terminate/3 (gen_server.erl, line 673) in call from gen_server:terminate/10 (gen_server.erl, line 858) ancestors: [yaws_sup,<0.75.0>] message_queue_len: 0 messages: [] links: [<0.76.0>] dictionary: [] trap_exit: true status: running heap_size: 4185 stack_size: 27 reductions: 119617 neighbours: 1> =SUPERVISOR REPORT==== 9-Dec-2019::10:57:22.133000 === supervisor: {local,yaws_sup} errorContext: start_error reason: {noproc, {gen_server,call, [yaws_log, {setup, {gconf,"c:/Develop/yaws1.9",false,100, "c:/Develop/yaws1.9/logs", ["c:/Develop/yaws1.9/examples/ebin", "c:/Develop/yaws1.9/examples/ebin"], [],[],30000,nolimit,400,1000000,8000,nolimit,[], 10240,[],1000000,30, ["c:/Develop/yaws1.9/examples/include", "c:/Develop/yaws1.9/examples/include"], "/usr/bin/php-cgi","Yaws 1.99","default",false, [],yaws_session_server,8,undefined, [inet]}, [[{sconf,8080,7,[],undefined,undefined, "c:/Develop/yaws1.9/www",[], {0,0,0,0}, "localhost:8080",[],undefined,undefined, undefined, [{"c:/Develop/yaws1.9/www",[]}], 10240, [{"cgi-bin",yaws_appmod_cgi}], [],yaws_outmod,yaws_outmod,yaws_outmod,yaws, yaws_log,[],undefined, [yaws,php,cgi,fcgi], [], ["index.yaws","index.html","index.php"], [], [{listen_opts,[{backlog,1024}]}], [],undefined,undefined, {cgi,"/usr/bin/php-cgi"}, undefined,undefined,undefined,undefined}]]}, infinity]}} offender: [{pid,undefined}, {id,yaws_server}, {mfargs, {yaws_server,start_link, [{env,false,false,false, {file,"C:\\Develop\\yaws1.9\\yaws.conf"}, false,false,"default"}]}}, {restart_type,permanent}, {shutdown,120000}, {child_type,worker}] 1> =SUPERVISOR REPORT==== 9-Dec-2019::10:57:22.133000 === supervisor: {local,yaws_sup} errorContext: shutdown_error reason: noproc offender: [{pid,<0.77.0>}, {id,yaws_log}, {mfargs,{yaws_log,start_link,[]}}, {restart_type,permanent}, {shutdown,5000}, {child_type,worker}] 1> =CRASH REPORT==== 9-Dec-2019::10:57:22.133000 === crasher: initial call: yaws_server:init/1 pid: <0.79.0> registered_name: [] exception exit: {noproc, {gen_server,call, [yaws_log, {setup, {gconf,"c:/Develop/yaws1.9",false,100, "c:/Develop/yaws1.9/logs", ["c:/Develop/yaws1.9/examples/ebin", "c:/Develop/yaws1.9/examples/ebin"], [],[],30000,nolimit,400,1000000,8000, nolimit,[],10240,[],1000000,30, ["c:/Develop/yaws1.9/examples/include", "c:/Develop/yaws1.9/examples/include"], "/usr/bin/php-cgi","Yaws 1.99","default", false,[],yaws_session_server,8,undefined, [inet]}, [[{sconf,8080,7,[],undefined,undefined, "c:/Develop/yaws1.9/www",[], {0,0,0,0}, "localhost:8080",[],undefined, undefined,undefined, [{"c:/Develop/yaws1.9/www",[]}], 10240, [{"cgi-bin",yaws_appmod_cgi}], [],yaws_outmod,yaws_outmod,yaws_outmod, yaws,yaws_log,[],undefined, [yaws,php,cgi,fcgi], [], ["index.yaws","index.html","index.php"], [], [{listen_opts,[{backlog,1024}]}], [],undefined,undefined, {cgi,"/usr/bin/php-cgi"}, undefined,undefined,undefined, undefined}]]}, infinity]}} in function gen_server:call/3 (gen_server.erl, line 223) in call from yaws_server:init/1 (../../src/yaws_server.erl, line 170) in call from gen_server:init_it/2 (gen_server.erl, line 374) in call from gen_server:init_it/6 (gen_server.erl, line 342) ancestors: [yaws_sup,<0.75.0>] message_queue_len: 0 messages: [] links: [<0.76.0>] dictionary: [{start_time,{{2019,12,9},{10,57,22}}}] trap_exit: true status: running heap_size: 6772 stack_size: 27 reductions: 64032 neighbours: 1> =CRASH REPORT==== 9-Dec-2019::10:57:22.133000 === crasher: initial call: application_master:init/4 pid: <0.74.0> registered_name: [] exception exit: {{shutdown, {failed_to_start_child,yaws_server, {noproc, {gen_server,call, [yaws_log, {setup, {gconf,"c:/Develop/yaws1.9",false,100, "c:/Develop/yaws1.9/logs", ["c:/Develop/yaws1.9/examples/ebin", "c:/Develop/yaws1.9/examples/ebin"], [],[],30000,nolimit,400,1000000,8000,nolimit,[], 10240,[],1000000,30, ["c:/Develop/yaws1.9/examples/include", "c:/Develop/yaws1.9/examples/include"], "/usr/bin/php-cgi","Yaws 1.99","default",false,[], yaws_session_server,8,undefined, [inet]}, [[{sconf,8080,7,[],undefined,undefined, "c:/Develop/yaws1.9/www",[], {0,0,0,0}, "localhost:8080",[],undefined,undefined, undefined, [{"c:/Develop/yaws1.9/www",[]}], 10240, [{"cgi-bin",yaws_appmod_cgi}], [],yaws_outmod,yaws_outmod,yaws_outmod,yaws, yaws_log,[],undefined, [yaws,php,cgi,fcgi], [], ["index.yaws","index.html","index.php"], [], [{listen_opts,[{backlog,1024}]}], [],undefined,undefined, {cgi,"/usr/bin/php-cgi"}, undefined,undefined,undefined,undefined}]]}, infinity]}}}}, {yaws_app,start,[normal,[]]}} in function application_master:init/4 (application_master.erl, line 138) ancestors: [<0.73.0>] message_queue_len: 0 messages: [{'EXIT',<0.75.0>,normal}] links: [<0.73.0>,<0.42.0>] dictionary: [] trap_exit: true status: running heap_size: 1598 stack_size: 27 reductions: 263 neighbours: 1> =INFO REPORT==== 9-Dec-2019::10:57:22.148000 === application: yaws exited: {{shutdown, {failed_to_start_child,yaws_server, {noproc, {gen_server,call, [yaws_log, {setup, {gconf,"c:/Develop/yaws1.9",false,100, "c:/Develop/yaws1.9/logs", ["c:/Develop/yaws1.9/examples/ebin", "c:/Develop/yaws1.9/examples/ebin"], [],[],30000,nolimit,400,1000000,8000,nolimit,[],10240,[], 1000000,30, ["c:/Develop/yaws1.9/examples/include", "c:/Develop/yaws1.9/examples/include"], "/usr/bin/php-cgi","Yaws 1.99","default",false,[], yaws_session_server,8,undefined, [inet]}, [[{sconf,8080,7,[],undefined,undefined, "c:/Develop/yaws1.9/www",[], {0,0,0,0}, "localhost:8080",[],undefined,undefined,undefined, [{"c:/Develop/yaws1.9/www",[]}], 10240, [{"cgi-bin",yaws_appmod_cgi}], [],yaws_outmod,yaws_outmod,yaws_outmod,yaws,yaws_log,[], undefined, [yaws,php,cgi,fcgi], [], ["index.yaws","index.html","index.php"], [], [{listen_opts,[{backlog,1024}]}], [],undefined,undefined, {cgi,"/usr/bin/php-cgi"}, undefined,undefined,undefined,undefined}]]}, infinity]}}}}, {yaws_app,start,[normal,[]]}} type: permanent 1> {"Kernel pid terminated",application_controller,"{application_start_failure,yaws,{{shutdown,{failed_to_start_child,yaws_server,{noproc,{gen_server,call,[yaws_log,{setup,{gconf,\"c:/Develop/yaws1.9\",false,100,\"c:/Develop/yaws1.9/logs\",[\"c:/Develop/yaws1.9/examples/ebin\",\"c:/Develop/yaws1.9/examples/ebin\"],[],[],30000,nolimit,400,1000000,8000,nolimit,[],10240,[],1000000,30,[\"c:/Develop/yaws1.9/examples/include\",\"c:/Develop/yaws1.9/examples/include\"],\"/usr/bin/php-cgi\",\"Yaws 1.99\",\"default\",false,[],yaws_session_server,8,undefined,[inet]},[[{sconf,8080,7,[],undefined,undefined,\"c:/Develop/yaws1.9/www\",[],{0,0,0,0},\"localhost:8080\",[],undefined,undefined,undefined,[{\"c:/Develop/yaws1.9/www\",[]}],10240,[{\"cgi-bin\",yaws_appmod_cgi}],[],yaws_outmod,yaws_outmod,yaws_outmod,yaws,yaws_log,[],undefined,[yaws,php,cgi,fcgi],[],[\"index.yaws\",\"index.html\",\"index.php\"],[],[{listen_opts,[{backlog,1024}]}],[],undefined,undefined,{cgi,\"/usr/bin/php-cgi\"},undefined,undefined,undefined,undefined}]]},infinity]}}}},{yaws_app,start,[normal,[]]}}}"} Kernel pid terminated (application_controller) ({application_start_failure,yaws,{{shutdown,{failed_to_start_child,yaws_server,{noproc,{gen_server,call,[yaws_log,{setup,{gconf,"c:/Develop/yaws1.9",fals Crash dump is being written to: erl_crash.dump...done ``` 这是个windows下执行yaws -i命令后的信息. 最近刚开始学这个,网上找了很久没有找到有类似的错误与解决办法
Tiles of Tetris, NOT! 怎么可以实现的
Problem Description You’ve really messed up this time. “Go buy some square tiles” your supervisor told you. But as usual, you were either busy reading that message, answering that e-email, or updating your wall status on facebook. “Go buy some tiles” was all that you could remember. Your supervisor is now complaining that the tiles you bought were not squares and you’ll be fired if you don’t fix it! “Fix it? How am I supposed to fix it?” you say to yourself. “I’m a programmer, The only tiles I know are those of the game Tetris!” There is no way you can afford to be fired either. This is your third job in less than a month. “I have to fix it!” you keep repeating. You call the store you bought the tiles from, but they won’t take them back or even exchange. “We cannot cancel orders once the merchandise has left the store”, they tell you. You take a look at the tiles, they’re all rectangleshaped and all of the same size. You’d be losing a lot if you cut them, not that you’d be able to cut them into perfect squares in the first place. “Wait a minute!” you say to yourself. You grab a bunch of tiles, put them in some arrangement and Voila, that’s a square. But that won’t convince your boss. Tiles are supposed to be small, and what you came-up with is rather big. You take another look at your arrangement, and it hits you again. “I’m on a roll today!” you say proudly to yourself.You just figured out how to find the smallest number of tiles needed to form the smallest possible square. You rush and bring your supervisor to show him your discovery. He’s not that much impressed. You’re not making sense anyway (given all the blood rushing in your head trying to explain your algorithm.) You know that the calculation is definitely much simpler than what you’re saying, but you just can’t seem to think clearly. Finally, your supervisor shouts: “First of all, the tiles have to be laid-down in the same orientation. Second, I’m running a construction site here, not a software shop! How do you expect the workers to figure out that number! You either write me a program to do the calculation you’re describing, or you go collect your netbook, your cell, your ipod, and your blackberry, and you get out of here this minute!” Input Your program will be tested on one or more data sets. Each test set is described on a single line made of two positive numbers: (0 < W,H < 1, 000, 000) which are the width and height of each tile. The last line is made of two zeros. Output For each test case, write the answer on a separate line. Sample Input 2 3 1 2 0 0 Sample Output 6 2
关于PYTHON下进程控制器supervisor的设置,为啥文件修改被拒绝?
XXXX@ubuntu:/usr/local/bin$ echo_supervisord_conf > /etc/supervisord.conf bash: /etc/supervisord.conf: Permission denied XXXX@ubuntu:/usr/local/bin$ sudo echo_supervisord_conf > /etc/supervisord.conf bash: /etc/supervisord.conf: Permission denied
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小人工智障。 思路可以运用在不同地方,主要介绍的是思路。
Linux(服务器编程):15---两种高效的事件处理模式(reactor模式、proactor模式)
前言 同步I/O模型通常用于实现Reactor模式 异步I/O模型则用于实现Proactor模式 最后我们会使用同步I/O方式模拟出Proactor模式 一、Reactor模式 Reactor模式特点 它要求主线程(I/O处理单元)只负责监听文件描述符上是否有事件发生,有的话就立即将时间通知工作线程(逻辑单元)。除此之外,主线程不做任何其他实质性的工作 读写数据,接受新的连接,以及处...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
C语言魔塔游戏
很早就很想写这个,今天终于写完了。 游戏截图: 编译环境: VS2017 游戏需要一些图片,如果有想要的或者对游戏有什么看法的可以加我的QQ 2985486630 讨论,如果暂时没有回应,可以在博客下方留言,到时候我会看到。 下面我来介绍一下游戏的主要功能和实现方式 首先是玩家的定义,使用结构体,这个名字是可以自己改变的 struct gamerole { char n
进程通信方式总结与盘点
​ 进程通信是指进程之间的信息交换。这里需要和进程同步做一下区分,进程同步控制多个进程按一定顺序执行,进程通信是一种手段,而进程同步是目标。从某方面来讲,进程通信可以解决进程同步问题。 ​ 首先回顾下我们前面博文中讲到的信号量机制,为了实现进程的互斥与同步,需要在进程间交换一定的信息,因此信号量机制也可以被归为进程通信的一种方式,但是也被称为低级进程通信,主要原因为: 效率低:一次只可操作少量的...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
听说了吗?阿里双11作战室竟1根网线都没有
双11不光是购物狂欢节,更是对技术的一次“大考”,对于阿里巴巴企业内部运营的基础保障技术而言,亦是如此。 回溯双11历史,这背后也经历过“小米加步枪”的阶段:作战室从随处是网线,交换机放地上的“一地狼藉”;到如今媲美5G的wifi网速,到现场却看不到一根网线;从当年使用商用AP(无线路由器),让光明顶双11当天断网一分钟,到全部使用阿里自研AP……阿里巴巴企业智能事业部工程师们提供的基础保障...
在阿里,40岁的奋斗姿势
在阿里,40岁的奋斗姿势 在阿里,什么样的年纪可以称为老呢?35岁? 在云网络,有这样一群人,他们的平均年龄接近40,却刚刚开辟职业生涯的第二战场。 他们的奋斗姿势是什么样的呢? 洛神赋 “翩若惊鸿,婉若游龙。荣曜秋菊,华茂春松。髣髴兮若轻云之蔽月,飘飖兮若流风之回雪。远而望之,皎若太阳升朝霞;迫而察之,灼若芙蕖出渌波。” 爱洛神,爱阿里云 2018年,阿里云网络产品部门启动洛神2.0升...
关于研发效能提升的思考
研发效能提升是最近比较热门的一个话题,本人根据这几年的工作心得,做了一些思考总结,由于个人深度有限,暂且抛转引入。 三要素 任何生产力的提升都离不开这三个因素:人、流程和工具,少了其中任何一个因素都无法实现。 人,即思想,也就是古人说的“道”,道不同不相为谋,是制高点,也是高层建筑的基石。 流程,即方法,也是古人说的“法”。研发效能的提升,也就是要提高投入产出比,既要增加产出,也要减...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆  每天早上8:30推送 作者| Mr.K   编辑| Emma 来源| 技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯
程序员该看的几部电影
##1、骇客帝国(1999) 概念:在线/离线,递归,循环,矩阵等 剧情简介: 不久的将来,网络黑客尼奥对这个看似正常的现实世界产生了怀疑。 他结识了黑客崔妮蒂,并见到了黑客组织的首领墨菲斯。 墨菲斯告诉他,现实世界其实是由一个名叫“母体”的计算机人工智能系统控制,人们就像他们饲养的动物,没有自由和思想,而尼奥就是能够拯救人类的救世主。 可是,救赎之路从来都不会一帆风顺,到底哪里才是真实的世界?
入职阿里5年,他如何破解“技术债”?
简介: 作者 | 都铎 作为一名技术人,你常常会听到这样的话: “先快速上线” “没时间改” “再缓一缓吧” “以后再解决” “先用临时方案处理” …… 当你埋下的坑越来越多,不知道哪天哪位同学就会踩上一颗雷。特别赞同“人最大的恐惧就是未知,当技术债可说不可见的时候,才是最让人不想解决的时候。” 作为一个程序员,我们反对复制粘贴,但是我们经常会见到相似的代码,相同的二方包,甚至整个代码...
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布了 2019年国民经济报告 ,报告中指出:年末中国大陆总人口(包括31个
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
2020年的1月,我辞掉了我的第一份工作
其实,这篇文章,我应该早点写的,毕竟现在已经2月份了。不过一些其它原因,或者是我的惰性、还有一些迷茫的念头,让自己迟迟没有试着写一点东西,记录下,或者说是总结下自己前3年的工作上的经历、学习的过程。 我自己知道的,在写自己的博客方面,我的文笔很一般,非技术类的文章不想去写;另外我又是一个还比较热衷于技术的人,而平常复杂一点的东西,如果想写文章写的清楚点,是需要足够...
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
Java坑人面试题系列: 包装类(中级难度)
Java Magazine上面有一个专门坑人的面试题系列: https://blogs.oracle.com/javamagazine/quiz-2。 这些问题的设计宗旨,主要是测试面试者对Java语言的了解程度,而不是为了用弯弯绕绕的手段把面试者搞蒙。 如果你看过往期的问题,就会发现每一个都不简单。 这些试题模拟了认证考试中的一些难题。 而 “中级(intermediate)” 和 “高级(ad
深度学习入门笔记(十八):卷积神经网络(一)
欢迎关注WX公众号:【程序员管小亮】 专栏——深度学习入门笔记 声明 1)该文章整理自网上的大牛和机器学习专家无私奉献的资料,具体引用的资料请看参考文献。 2)本文仅供学术交流,非商用。所以每一部分具体的参考资料并没有详细对应。如果某部分不小心侵犯了大家的利益,还望海涵,并联系博主删除。 3)博主才疏学浅,文中如有不当之处,请各位指出,共同进步,谢谢。 4)此属于第一版本,若有错误,还需继续修正与...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
节后首个工作日,企业们集体开晨会让钉钉挂了
By 超神经场景描述:昨天 2 月 3 日,是大部分城市号召远程工作的第一天,全国有接近 2 亿人在家开始远程办公,钉钉上也有超过 1000 万家企业活跃起来。关键词:十一出行 人脸...
Java基础知识点梳理
Java基础知识点梳理 摘要: 虽然已经在实际工作中经常与java打交道,但是一直没系统地对java这门语言进行梳理和总结,掌握的知识也比较零散。恰好利用这段时间重新认识下java,并对一些常见的语法和知识点做个总结与回顾,一方面为了加深印象,方便后面查阅,一方面为了学好java打下基础。 Java简介 java语言于1995年正式推出,最开始被命名为Oak语言,由James Gosling(詹姆
2020年全新Java学习路线图,含配套视频,学完即为中级Java程序员!!
新的一年来临,突如其来的疫情打破了平静的生活! 在家的你是否很无聊,如果无聊就来学习吧! 世上只有一种投资只赚不赔,那就是学习!!! 传智播客于2020年升级了Java学习线路图,硬核升级,免费放送! 学完你就是中级程序员,能更快一步找到工作! 一、Java基础 JavaSE基础是Java中级程序员的起点,是帮助你从小白到懂得编程的必经之路。 在Java基础板块中有6个子模块的学
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
你也能看懂的:蒙特卡罗方法
蒙特卡罗方法,也称统计模拟方法,是1940年代中期由于科学技术的发展和电子计算机的发明,而提出的一种以概率统计理论为指导的数值计算方法。是指使用随机数(或更常见的伪随机数)来解决很多计算问题的方法 蒙特卡罗方法可以粗略地分成两类:一类是所求解的问题本身具有内在的随机性,借助计算机的运算能力可以直接模拟这种随机的过程。另一种类型是所求解问题可以转化为某种随机分布的特征数,比如随机事件出现的概率,或...
如何优雅地打印一个Java对象?
你好呀,我是沉默王二,一个和黄家驹一样身高,和刘德华一样颜值的程序员。虽然已经写了十多年的 Java 代码,但仍然觉得自己是个菜鸟(请允许我惭愧一下)。 在一个月黑风高的夜晚,我思前想后,觉得再也不能这么蹉跎下去了。于是痛下决心,准备通过输出的方式倒逼输入,以此来修炼自己的内功,从而进阶成为一名真正意义上的大神。与此同时,希望这些文章能够帮助到更多的读者,让大家在学习的路上不再寂寞、空虚和冷。 ...
相关热词 c#如何定义数组列表 c#倒序读取txt文件 java代码生成c# c# tcp发送数据 c#解决时间格式带星期 c#类似hashmap c#设置istbox的值 c#获取多线程返回值 c# 包含数字 枚举 c# timespan
立即提问