- 第八周的点滴记录
aefb1b6871b5
1.由于各种主客观原因,这周开了初一年级的第一次家长会,我们一班的家长来得不多,但是方便了一对一的沟通。在家长会开始前播放了皮克斯《包包包》给家长们看,引起部分家长的共鸣,差点泪目。2.在六班开始了dailyspeech,按照学号轮流每天课前三分钟内的英语演讲.我给孩子们提供了获取演讲灵感的途径,例如TED,Chinadaily,留学征途等。让我印象深刻的是汤义讲了最近高校流行的payforpra
- 商务英语 Level 2 Unit 1 Part 2
流非沫
Listening【DailySchedule】Maryisanemployeeatarealestatecompany.Thisisherdailyworkschedule.ShegoestoworkfromMondaytoFriday.Sheusuallyworksfrom9a.m.to5p.m.Shegetsupat7:30inthemorning.Sheleavesforworkat8:1
- 2019-03-02
朝凪
不切实际的期望有时候就是一剂毒药,明知继续沉沦下去只会越来越糟,却还是忍不住地继续往坑里跳,甘之如饴。如果说去年之前我还会分不清现实和想象,今年伊始,我感觉自己终于要黑化了,好像褪去了那一层名为少女心的塑料壳之后,迅速成长了起来,在短时间内便让心理年龄追赶上了现在,眼前仿佛是立起了一层放大镜,瞬间清晰无比,把自己从前的所有误解一并购销,认清楚现状,站在一个过来人的角度看待从前种种恩怨情仇,皆为浮云
- 即时通讯项目
NingDream816
即时通讯项目网络redis数据库服务器缓存设计模式
即时通讯项目需求分析功能约束可行解更优解高性能接入层优化存储层优化消息时序一致性高可用需求分析功能添加好友聊天会话列表单聊AB群聊多设备登录消息漫游消息已读,查看已读/未读列表视频通话(学音视频技术时补上)语音通话约束DAU(DailyActiveUsers,日活跃用户数量)10亿假设每人平均每天发100条消息,1000Mli*100/86400=12MliQPS(Queriespersecond
- 2019-03-02
莲花白雪
红尘俗事/周五:填仓昨天是正月二十五,有熬鲫鱼汤的说法,当一锅熬制的白白的鲫鱼汤端上餐桌时,不由人食指大动。尤其是“雨水”节气后,空气湿润,人体内一冬天的内火,在春季万物生发中喝些鲫鱼汤,祛湿排毒,滋阴补水,也是食疗,也是一种调理。当春天来了的时候,会有一种温暖慢慢地给你带来不一样的感觉,虽说会有雾霭,会有阴天,总有一种暖融融的感觉让人醉了!
- Oracle rman 没有0级时1级备份和0级大小一样,可以用来做恢复 resetlogs后也可以
jnrjian
oracledba
[oracle@rac3rman_backup]$du-sk/nfs24708/nfs[oracle@rac3rman_backup]$sh-x/home/oracle/rman_backup/rman_backup_fradb3_pdb.shcdbdaily+exportORACLE_HOME=/u01/app/oracle/product/19.0.0/db_1+ORACLE_HOME=/u0
- 2019-03-02
y_我一直走
为什么要看这部电影然后哭的稀里哗啦青春里最闪亮的是那个与这个世界碰撞不服输的自己图片发自App图片发自App图片发自App
- 解锁LLMs的“思考”能力:Chain-of-Thought(CoT) 技术推动复杂推理的新发展
汀、人工智能
LLM技术汇总人工智能大模型COT思维链大模型推理自然语言处理AI大模型
解锁LLMs的“思考”能力:Chain-of-Thought(CoT)技术推动复杂推理的新发展1.简介Chain-of-Thought(CoT)是一种改进的Prompt技术,目的在于提升大模型LLMs在复杂推理任务上的表现,如算术推理(arithmeticreasoning)、常识推理(commonsensereasoning)、符号推理(symbolicreasoning)。起源:CoT技术的概
- 2019-03-02
夏秋爱画
莫名烦躁的一天今天从清晨就很不顺利。今天本该是姐姐去书法班上书法课的日子,可是她说作业很多,不想去了。家属和奶奶对她的要求不置可否。我一气之下自己去单位开会了。等我回到家,她作业也没有做多少啊,因为橙子一直缠着她,让她陪他玩!早知这样,还不如让她到我办公室去做作业呢!哎,人生难得早知道啊!姐姐的早餐是一碗汤圆,临走前我想尝一个,奶奶竟然用手挡着不让我吃,生怕她孙女吃不饱!也罢也罢,我自己买来自己煮
- Bilingual engineering 201707 No.360 Alyee
AlyeeBonnie
GamesandDailylife:Makealittlemousewithher.Steps1.Useorangepapertomakeacone2.Maketworoundearsandalongtailwiththeorangepaper3.Cutasmallpieceofblackpapertomakethemouseswhiskers4.Pasteallthepartstogether5
- 【单调栈】|代码随想录算法训练营第41天|739. 每日温度、 496.下一个更大元素 I、503.下一个更大元素II
toolhow
数据结构与算法算法
刷题神器代码随想录往期回顾>【回溯算法】|代码随想录算法训练营第22天|491.递增子序列、46.全排列、47.全排列II、【总结】题目739.每日温度题目:题目链接文章:文章讲解视频:视频讲解学后思路使用单调栈解决,注意单调栈里面的存放内容为下标值解法1:classSolution{publicint[]dailyTemperatures(int[]temperatures){intlen=te
- 2021-10-11
冉来如此
Voscreen练听力,ChinaDaily练阅读,Rachel'sEnglish练音标生活口语作文纸条,西窗烛,微信读书,不背英语,烧杯,微软数学,1.拼音发音点读2.小学古诗学习3.小学成语学习4.数学加减算数5.小学英语录音6.猜猜猜我最棒1靠谱背单词2.古诗文网3.Mathfuns每日英语听力,voscreen,搜狗翻译,pitaya,墨墨背单词,扇贝,不背单词中国诗词大会1:墨墨背单词2
- 2019-03-02
龙心须言
七律春雨颂文/常龙须腊冬少雪天藏玉,正月多雨地献金。桃浴跳珠生蓓蕾,柳沾甘露荡丝新。青山滋润千峰秀,田野津淋万木春。爱洒黎民齐奋进,情盈华夏共欢欣。2019年3月2日12点
- 2019-03-02
中中地山谦
春逢️二六生日到,晨起二六公里跑。启始辛苦非满状,东南眉月给我笑。紫气出处乌金照,凡遇喜鹊枝头叫。家人关怀心头暖,兄弟和睦护老小。
- 日志文件log4j
T_Y9943
工作记录log4jjunit
今天在处理一个文件,不打印日志的情况,刚好其他项目是logback,这个项目是log4j。另外这个项目中的logback.xml未生效。应该和pom文件有一点关系。不过懒得改了。能用就行。log4j的DailyRollingFileAppender,在当天不会显示出来。(困扰我许久)学习的详细配置如下:log4j配置详解
- git克隆远程项目到本地并修改提交到gitee仓库
澜雲
笔记gitgiteegithub
第一步创建一个新文件夹(自行命名)第二步在gitee仓库下载文件到创建的文件夹中第三步选择文件夹,右击选择gitbashhere第四步进行命令行管理//克隆仓库项目gitclone仓库地址//如gitclonehttps://gitee.com/hyxiaotouming/daily-practice-.git//如果文件不再当前目录下,则需要切换到文件坐在目录ls//查看子目录cd文件名//切换
- 2019-03-02
沄莹
收到了买的欧卡牌,迫不及待的根据说明书测了一下自己未来的职业方向。这张牌好像是一个预示,或者对我来说是一次开启。我看见我是一名心理医生,正在给病人看病。这个病人的后面还有一位在等候。厅外排着长长的队伍。都是预约来咨询的人。说实话以前并没有想过要做什么特殊的事情,我以为我的人生就这样按部就班的过了呢。没想到我心里还有这样的向往。人就怕没有梦想,心里有梦就不怕不能实现。加油吧!
- 桑币笔记 Zombit Daily 投资日报 02.20
桑币笔记Zombit
桑币笔记ZombitDaily投资日报02.20#市场行情走势BTC昨日一度挑战4000大关,最高来到3994.5,随后不敌卖压,跌破3900,最低来到3870,最大跌幅约在3%,目前仍然是偏多看待,不要轻易摸头,目前并没有太多的迹象显示接下来会开始...(更多内容在日报里面喔!)点我看日报【投资小知识】培养常赚比大赚更重要的观念。桑币笔记ZombitDaily汇整桑币笔记官方网站订阅桑币笔记Zo
- 自己搭建的GPT4中转API国内免费使用
暴风雨544
gpt
https://daily.w-l-h.xyz注册获得3美金,过年期间3.5模型免费使用可用模型包括GPT所有模型有任何问题联系qq
- 2019-03-02
M_Moana
考一科凉一科,知道自己剧作肯定也过不了(要是过了我都瞧不起北电的那种笃定)反正谢谢北电给我一个进复试的机会也谢谢我为天子脚下城市的发展做出来的绵薄的GDP贡献,这让我很有成就感北电的食堂很便宜很好吃,老师很棒很奶思我马上要回学校专心学习文化课啦会把自己照顾的很好,接受失败,正视不足不也是一个慢慢成长的过程嘛不用担心啦我在变好,在长大
- 【AI视野·今日NLP 自然语言处理论文速览 第八十二期】Tue, 5 Mar 2024
hitrjj
LLMNLPPapers人工智能自然语言处理NLP预训练模型文本摘要情绪识别推理训练
AI视野·今日CS.NLP自然语言处理论文速览Tue,5Mar2024(showingfirst100of175entries)Totally100papers上期速览✈更多精彩请移步主页DailyComputationandLanguagePapersKey-Point-DrivenDataSynthesiswithitsEnhancementonMathematicalReasoningAut
- 时政新闻学英语之44:广东海南高铁逐步恢复通行
小书童札记
本文选自Chinadaily,原文链接RailwaysinGuangdongandHainanresumeoperation。High-speedtrainsoperatinginsideSouthChina'sGuangdongprovinceresumedoperation(恢复运行)onMonday,includingBeijing-Guangzhouhigh-speedrailwayand
- 2019-03-02
池鱼思故渊吖
越长大越明白一个人只有爱自己才能够收获别人的爱,每个人都是一样的。每个人在遇到爱情的时候心里都能开出花来,我们面对自己所爱的人全心全意的付出,把自己的所有爱意表达出来,我们甚至爱别人超过爱自己,只是很多时候结局也许不能如我们所愿,我们满心的付出没有得到所爱之人的尊重。后来的我们才明白原来爱一个人是要有余地的,我们只有真正的学会了爱自己才有被爱的余地。
- #LLM入门|Prompt#2.5_思维链推理_Chain_of_Thought_Reasoning
向日葵花籽儿
LLM入门教程笔记prompt电脑AIGC人工智能
第五章处理输入-思维链推理“思维链推理”(ChainofThoughtReasoning)的策略,在查询中明确要求语言模型先提供一系列相关推理步骤,进行深度思考,然后再给出最终答案,这更接近人类解题的思维过程。引导语言模型逐步推理而非直接要求输出结果,可以减少其匆忙错误,生成更准确可靠的响应。思维链推理使语言模型更好地模拟人类逻辑思考,是提升其回答质量的重要策略之一。?如何处理语言模型的输入,以生
- 宋舒蕾一单元复盘
宋舒蕾
Part11,从本单元中我学到的最重要的理念(精读和视听说分别总结)精读:TheembarrassingthingsareineluctableinourdailyLife.视听说:Wecanlearnnewthingsinoursparetime.2,我在本片文章/音频/视频中学到的怦然心动的单词(精读和视听说分别总结)精读:endupdoingsthman-to-manfadesuspense
- 零基础部署前后端分离SpringBoot+Vue项目到阿里云服务器
心上秋可上可
vue.jsspringbootjava
1、用支付宝账号登录阿里云购买服务器可以试用一个月金秋十月,注册抽好礼https://www.aliyun.com/activity/daily/lottery-October?utm_content=se_10102706432、购买服务器登录后点击控制台再点击云服务器3、进入控制台后点击云服务器ecs4、点击远程连接出现如下图界面、用户root、密码:你的服务器密码、点击确定即可进入网页版服务
- 2019-03-02
泰康人寿诗人
《果说》原谅!我不是早熟的果允许我的青涩。相信有一天果会落那可是智慧的果。自信人与自然同息与植物脉合。历史上就曾有过三个。被雅当偷吃落在释伽头上启动牛顿灵感的那三个果…愿读到我的诗歌都得到果的许诺新年伊始幸福不在是传说…
- 晨会汇报表达积累3
进击切图仔
English前端
Iwishyouahappynewyearaheadoftime.–提前祝你们新年快乐Ihopeallofyouenjoyedahappynewyear–希望你们过了个好年,whichservesasadailyreportreminder–解释某个东西的功能theupcomingworkshop–即将到来的研讨会pleasefeelfreetoreachouttomeduringthisvaca
- Daily Reflection 19(2019-02-15)政治是更高级的视角
不准减肥
PartI每日杂想经济(市场)和政治的思维偏差 1月至今,英国脱欧的问题一直是活跃在国际政治舞台上的话题。简单概述一下,自诩为“日不落帝国”的英国一向不愿与欧洲大陆的国家为伍,不过由于国力衰弱、经济遭遇瓶颈,英国最终在1973年加入欧共体(也就是欧盟的前身)。但即使在欧盟中,英国享有种种特殊待遇——比如在财政义务上相较其他国家轻,比如没有加入欧元区,我们知道特殊往往也意味着格格不入,英国似乎始终
- 1693. 每天的领导和合伙人
luckycoding
leetcode
文章目录题意思路代码题意题目链接表信息,日期,人,领导和合伙人,统计每个人每天有多少合伙人和领导。思路代码selectdate_id,make_name,count(distinctlead_id)asunique_leads,count(distinctpartner_id)asunique_partnersfromDailySalesgroupbydate_id,make_name;
- Java常用排序算法/程序员必须掌握的8大排序算法
cugfy
java
分类:
1)插入排序(直接插入排序、希尔排序)
2)交换排序(冒泡排序、快速排序)
3)选择排序(直接选择排序、堆排序)
4)归并排序
5)分配排序(基数排序)
所需辅助空间最多:归并排序
所需辅助空间最少:堆排序
平均速度最快:快速排序
不稳定:快速排序,希尔排序,堆排序。
先来看看8种排序之间的关系:
1.直接插入排序
(1
- 【Spark102】Spark存储模块BlockManager剖析
bit1129
manager
Spark围绕着BlockManager构建了存储模块,包括RDD,Shuffle,Broadcast的存储都使用了BlockManager。而BlockManager在实现上是一个针对每个应用的Master/Executor结构,即Driver上BlockManager充当了Master角色,而各个Slave上(具体到应用范围,就是Executor)的BlockManager充当了Slave角色
- linux 查看端口被占用情况详解
daizj
linux端口占用netstatlsof
经常在启动一个程序会碰到端口被占用,这里讲一下怎么查看端口是否被占用,及哪个程序占用,怎么Kill掉已占用端口的程序
1、lsof -i:port
port为端口号
[root@slave /data/spark-1.4.0-bin-cdh4]# lsof -i:8080
COMMAND PID USER FD TY
- Hosts文件使用
周凡杨
hostslocahost
一切都要从localhost说起,经常在tomcat容器起动后,访问页面时输入http://localhost:8088/index.jsp,大家都知道localhost代表本机地址,如果本机IP是10.10.134.21,那就相当于http://10.10.134.21:8088/index.jsp,有时候也会看到http: 127.0.0.1:
- java excel工具
g21121
Java excel
直接上代码,一看就懂,利用的是jxl:
import java.io.File;
import java.io.IOException;
import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
import jxl.write.Label;
import
- web报表工具finereport常用函数的用法总结(数组函数)
老A不折腾
finereportweb报表函数总结
ADD2ARRAY
ADDARRAY(array,insertArray, start):在数组第start个位置插入insertArray中的所有元素,再返回该数组。
示例:
ADDARRAY([3,4, 1, 5, 7], [23, 43, 22], 3)返回[3, 4, 23, 43, 22, 1, 5, 7].
ADDARRAY([3,4, 1, 5, 7], "测试&q
- 游戏服务器网络带宽负载计算
墙头上一根草
服务器
家庭所安装的4M,8M宽带。其中M是指,Mbits/S
其中要提前说明的是:
8bits = 1Byte
即8位等于1字节。我们硬盘大小50G。意思是50*1024M字节,约为 50000多字节。但是网宽是以“位”为单位的,所以,8Mbits就是1M字节。是容积体积的单位。
8Mbits/s后面的S是秒。8Mbits/s意思是 每秒8M位,即每秒1M字节。
我是在计算我们网络流量时想到的
- 我的spring学习笔记2-IoC(反向控制 依赖注入)
aijuans
Spring 3 系列
IoC(反向控制 依赖注入)这是Spring提出来了,这也是Spring一大特色。这里我不用多说,我们看Spring教程就可以了解。当然我们不用Spring也可以用IoC,下面我将介绍不用Spring的IoC。
IoC不是框架,她是java的技术,如今大多数轻量级的容器都会用到IoC技术。这里我就用一个例子来说明:
如:程序中有 Mysql.calss 、Oracle.class 、SqlSe
- 高性能mysql 之 选择存储引擎(一)
annan211
mysqlInnoDBMySQL引擎存储引擎
1 没有特殊情况,应尽可能使用InnoDB存储引擎。 原因:InnoDB 和 MYIsAM 是mysql 最常用、使用最普遍的存储引擎。其中InnoDB是最重要、最广泛的存储引擎。她 被设计用来处理大量的短期事务。短期事务大部分情况下是正常提交的,很少有回滚的情况。InnoDB的性能和自动崩溃 恢复特性使得她在非事务型存储的需求中也非常流行,除非有非常
- UDP网络编程
百合不是茶
UDP编程局域网组播
UDP是基于无连接的,不可靠的传输 与TCP/IP相反
UDP实现私聊,发送方式客户端,接受方式服务器
package netUDP_sc;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.Ine
- JQuery对象的val()方法执行结果分析
bijian1013
JavaScriptjsjquery
JavaScript中,如果id对应的标签不存在(同理JAVA中,如果对象不存在),则调用它的方法会报错或抛异常。在实际开发中,发现JQuery在id对应的标签不存在时,调其val()方法不会报错,结果是undefined。
- http请求测试实例(采用json-lib解析)
bijian1013
jsonhttp
由于fastjson只支持JDK1.5版本,因些对于JDK1.4的项目,可以采用json-lib来解析JSON数据。如下是http请求的另外一种写法,仅供参考。
package com;
import java.util.HashMap;
import java.util.Map;
import
- 【RPC框架Hessian四】Hessian与Spring集成
bit1129
hessian
在【RPC框架Hessian二】Hessian 对象序列化和反序列化一文中介绍了基于Hessian的RPC服务的实现步骤,在那里使用Hessian提供的API完成基于Hessian的RPC服务开发和客户端调用,本文使用Spring对Hessian的集成来实现Hessian的RPC调用。
定义模型、接口和服务器端代码
|---Model
&nb
- 【Mahout三】基于Mahout CBayes算法的20newsgroup流程分析
bit1129
Mahout
1.Mahout环境搭建
1.下载Mahout
http://mirror.bit.edu.cn/apache/mahout/0.10.0/mahout-distribution-0.10.0.tar.gz
2.解压Mahout
3. 配置环境变量
vim /etc/profile
export HADOOP_HOME=/home
- nginx负载tomcat遇非80时的转发问题
ronin47
nginx负载后端容器是tomcat(其它容器如WAS,JBOSS暂没发现这个问题)非80端口,遇到跳转异常问题。解决的思路是:$host:port
详细如下:
该问题是最先发现的,由于之前对nginx不是特别的熟悉所以该问题是个入门级别的:
? 1 2 3 4 5
- java-17-在一个字符串中找到第一个只出现一次的字符
bylijinnan
java
public class FirstShowOnlyOnceElement {
/**Q17.在一个字符串中找到第一个只出现一次的字符。如输入abaccdeff,则输出b
* 1.int[] count:count[i]表示i对应字符出现的次数
* 2.将26个英文字母映射:a-z <--> 0-25
* 3.假设全部字母都是小写
*/
pu
- mongoDB 复制集
开窍的石头
mongodb
mongo的复制集就像mysql的主从数据库,当你往其中的主复制集(primary)写数据的时候,副复制集(secondary)会自动同步主复制集(Primary)的数据,当主复制集挂掉以后其中的一个副复制集会自动成为主复制集。提供服务器的可用性。和防止当机问题
mo
- [宇宙与天文]宇宙时代的经济学
comsci
经济
宇宙尺度的交通工具一般都体型巨大,造价高昂。。。。。
在宇宙中进行航行,近程采用反作用力类型的发动机,需要消耗少量矿石燃料,中远程航行要采用量子或者聚变反应堆发动机,进行超空间跳跃,要消耗大量高纯度水晶体能源
以目前地球上国家的经济发展水平来讲,
- Git忽略文件
Cwind
git
有很多文件不必使用git管理。例如Eclipse或其他IDE生成的项目文件,编译生成的各种目标或临时文件等。使用git status时,会在Untracked files里面看到这些文件列表,在一次需要添加的文件比较多时(使用git add . / git add -u),会把这些所有的未跟踪文件添加进索引。
==== ==== ==== 一些牢骚
- MySQL连接数据库的必须配置
dashuaifu
mysql连接数据库配置
MySQL连接数据库的必须配置
1.driverClass:com.mysql.jdbc.Driver
2.jdbcUrl:jdbc:mysql://localhost:3306/dbname
3.user:username
4.password:password
其中1是驱动名;2是url,这里的‘dbna
- 一生要养成的60个习惯
dcj3sjt126com
习惯
一生要养成的60个习惯
第1篇 让你更受大家欢迎的习惯
1 守时,不准时赴约,让别人等,会失去很多机会。
如何做到:
①该起床时就起床,
②养成任何事情都提前15分钟的习惯。
③带本可以随时阅读的书,如果早了就拿出来读读。
④有条理,生活没条理最容易耽误时间。
⑤提前计划:将重要和不重要的事情岔开。
⑥今天就准备好明天要穿的衣服。
⑦按时睡觉,这会让按时起床更容易。
2 注重
- [介绍]Yii 是什么
dcj3sjt126com
PHPyii2
Yii 是一个高性能,基于组件的 PHP 框架,用于快速开发现代 Web 应用程序。名字 Yii (读作 易)在中文里有“极致简单与不断演变”两重含义,也可看作 Yes It Is! 的缩写。
Yii 最适合做什么?
Yii 是一个通用的 Web 编程框架,即可以用于开发各种用 PHP 构建的 Web 应用。因为基于组件的框架结构和设计精巧的缓存支持,它特别适合开发大型应
- Linux SSH常用总结
eksliang
linux sshSSHD
转载请出自出处:http://eksliang.iteye.com/blog/2186931 一、连接到远程主机
格式:
ssh name@remoteserver
例如:
ssh
[email protected]
二、连接到远程主机指定的端口
格式:
ssh name@remoteserver -p 22
例如:
ssh i
- 快速上传头像到服务端工具类FaceUtil
gundumw100
android
快速迭代用
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOExceptio
- jQuery入门之怎么使用
ini
JavaScripthtmljqueryWebcss
jQuery的强大我何问起(个人主页:hovertree.com)就不用多说了,那么怎么使用jQuery呢?
首先,下载jquery。下载地址:http://hovertree.com/hvtart/bjae/b8627323101a4994.htm,一个是压缩版本,一个是未压缩版本,如果在开发测试阶段,可以使用未压缩版本,实际应用一般使用压缩版本(min)。然后就在页面上引用。
- 带filter的hbase查询优化
kane_xie
查询优化hbaseRandomRowFilter
问题描述
hbase scan数据缓慢,server端出现LeaseException。hbase写入缓慢。
问题原因
直接原因是: hbase client端每次和regionserver交互的时候,都会在服务器端生成一个Lease,Lease的有效期由参数hbase.regionserver.lease.period确定。如果hbase scan需
- java设计模式-单例模式
men4661273
java单例枚举反射IOC
单例模式1,饿汉模式
//饿汉式单例类.在类初始化时,已经自行实例化
public class Singleton1 {
//私有的默认构造函数
private Singleton1() {}
//已经自行实例化
private static final Singleton1 singl
- mongodb 查询某一天所有信息的3种方法,根据日期查询
qiaolevip
每天进步一点点学习永无止境mongodb纵观千象
// mongodb的查询真让人难以琢磨,就查询单天信息,都需要花费一番功夫才行。
// 第一种方式:
coll.aggregate([
{$project:{sendDate: {$substr: ['$sendTime', 0, 10]}, sendTime: 1, content:1}},
{$match:{sendDate: '2015-
- 二维数组转换成JSON
tangqi609567707
java二维数组json
原文出处:http://blog.csdn.net/springsen/article/details/7833596
public class Demo {
public static void main(String[] args) { String[][] blogL
- erlang supervisor
wudixiaotie
erlang
定义supervisor时,如果是监控celuesimple_one_for_one则删除children的时候就用supervisor:terminate_child (SupModuleName, ChildPid),如果shutdown策略选择的是brutal_kill,那么supervisor会调用exit(ChildPid, kill),这样的话如果Child的behavior是gen_