- AI大模型探索之路-实战篇9:探究Agent智能数据分析平台的架构与功能
寻道AI小兵
AI大模型Agent探索实践人工智能AIGC语言模型AI编程自然语言处理Agent数据分析
系列篇章AI大模型探索之路-实战篇4:深入DB-GPT数据应用开发框架调研AI大模型探索之路-实战篇5:探索OpenInterpreter开放代码解释器调研AI大模型探索之路-实战篇6:掌握FunctionCalling的详细流程AI大模型探索之路-实战篇7:FunctionCalling技术实战自动生成函数AI大模型探索之路-实战篇8:多轮对话与FunctionCalling技术应用目录系列篇章
- 【大模型实战篇】大模型周边NLP技术回顾及预训练模型数据预处理过程解析(预告)
源泉的小广场
大模型自然语言处理人工智能大模型LLM预训练模型数据预处理高质量数据
1.背景介绍进入到大模型时代,似乎宣告了与过去自然语言处理技术的结束,但其实这两者并不矛盾。大模型时代,原有的自然语言处理技术,依然可以在大模型的诸多场景中应用,特别是对数据的预处理阶段。本篇主要关注TextCNN、FastText和Word2Vec等低成本的自然语言处理技术,如何在大模型时代发挥其余热。今天先抛出这个主题预告,接下来会花些时间,逐步细化分析这些周边技术的算法原理、数学分析以及大模
- ndk开发教程,Android-Binder机制及AIDL使用,实战篇
clhcowboy
程序员android
开头1、一定要把基本的数据结构,经典的算法,Unix编程,程序编译链接及计算机原理等基础知识扎牢,这些会长远影响你的职业发展。2、推荐从C语言入门,不单是因为很多操作系统、网络协议栈开源代码由C/C++实现,更多是因为C语言自身的特性:作为高级语言用户无需关注底层细节,同时能直观的看到数据流向。而且C相对语法规则较为简单,可以短时间的上手应用。最重要的是,遵循C/C++、python的学习方式,比
- 【实战篇】Mcu配置
李白LeeBai
AUTOSAR学习笔记单片机嵌入式硬件mcu汽车学习笔记
目录1前言2步骤2.1General配置2.2时钟源配置2.3新建时钟参考2.4配置时钟参考2.6结果展示3总结1前言本章我们开始配置Mcu模块,Mcu的配置项非常多,为最简化完成CAN的配置,我们需要按照【实战篇】新建EB工程的方法和步骤完成工程创建。本文中,我们将重点放在CAN的时钟配置上。时钟的配置,需要我们准备好芯片数据手册进行查询,这里以英飞凌TC397芯片为例,我们需要下载如下两份手册
- 基于DDD的微服务设计和开发实战
九龙冰室083
设计模式微服务javamicroservices
本文已在InfoQ发表。你是否还在为微服务应该拆多小而争论不休?到底如何才能设计出收放自如的微服务?怎样才能保证业务领域模型与代码模型的一致性?或许本文能帮你找到答案。本文是基于DDD的微服务设计和开发实战篇,通过借鉴领域驱动设计思想,指导微服务项目团队进行设计和开发(理论篇详见《当中台遇上DDD,我们该如何设计微服务》)。本文包括三部分内容:第一部分讲述领域驱动设计基本知识,包括:分层架构、服务
- 读书——财务自由之路II
弥志伟
沿着《小狗钱钱》的足迹,我找到了作者博多·舍费尔写给成人的理财书——《财务自由之路》(I,II,III),因为第二本是进阶实战篇,所以我选择先从第二本读起。作者先是告诉我们两个消息,好消息是:赚钱是一项游戏,你可以在不延长工作时间,也不提高工作强度的情况下,12个月内多赚20%,并且在三年内将总收入翻一番。但坏消息是,大部分人并不了解游戏规则。要想学习新的游戏规则,首先我们要看清我们思维中的老规则
- Pandas数据库大揭秘:read_sql、to_sql 参数详解与实战篇【第81篇—Pandas数据库】
一见已难忘的申公豹
数据库pandassqlpython数据存储数据科学
Pandas数据库大揭秘:read_sql、to_sql参数详解与实战篇Pandas是Python中一流的数据处理库,而数据库则是数据存储和管理的核心。将两者结合使用,可以方便地实现数据的导入、导出和分析。本文将深入探讨Pandas中用于与数据库交互的两个关键方法:read_sql和to_sql。通过详细解析这两个方法的参数,我们将为读写数据库提供清晰的指导,并附带实际代码演示,以帮助读者更好地理
- STM32玩转物联网实战篇:3.1.ESP8266 WIFI模块WEBClient通信示例详解GET、POST(心知天气、Onenet)
AIoT-韶华分明
STM32玩转物联网实战篇stm32单片机嵌入式物联网网络通信
1、准备开发板开发板功能区分布图开发板俯视图2、HTTP协议介绍HTTP协议简介 HTTP(HyperTextTransferProtocol)协议,即超文本传输协议,是一种用于分布式、协作式和超媒体信息系统的应用层协议。HTTP协议是基于TCP/IP协议的网络应用层协议。 HTTP是一个客户端终端(用户)和服务器端(网站)请求和应答的标准(TCP)。通过使用网页浏览器、网络爬虫或者其
- Jmeter接口测试实战篇:10分钟学会Jmeter的用法
.咖啡加剁椒.
软件测试jmeter软件测试自动化测试功能测试程序人生职场和发展
一提到接口测试,通常大家会有这样的疑问:前端测试不是已经覆盖到各种业务逻辑了吗?为什么还要做接口测试,接口测试和前端测试是不是重复了?对于这个问题,可以从下面几个方面来解释:什么是接口测试?接口测试是测试系统组件间接口的一种测试。接口测试主要用于检测外部系统与系统之间以及内部各个子系统之间的交互点。测试的重点是要检查数据的交换,传递和控制管理过程,以及系统间的相互逻辑依赖关系等。为什么要做接口测试
- 理财小白实战篇【1】 20.2.21
ChenZi1892
2020定个小目标先挣个2W[本金5000]看了很多博主的文章说养成理财的习惯就能使得财富,而我觉得理财是一门很大的学问,需要终身学习和总结实战首先提醒一下各位理财是使得自己的富余财富增长的过程,要有只要是投资就有风险的意识。最佳的理财形势是留足日常所需的现金。最好不要贷款投资,这样会让你压力增大,投资判断失误,影响生活质量。小编将关注并从事基金,黄金,股票,虚拟币的投资,希望和大家一起学习,共同
- 2019-10-21
丛培国
图片发自App【精进打卡第646天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍【今年计划读十五本书】一、《正念领导力》OK二、《马云内部讲话》102三、《毛泽东》罗斯·特里尔OK四、《卓越企业的经营手法》OK五、《公司开了,你该这样管理》OK六、《我的第一本思维导图》015七、《阿米巴经营.实战篇》OK八、《稻盛哲学与阳明心学》OK九、《成功的真谛》OK十、《老板财务管控必修课》OK
- 2020-12-22
阿戴儿_f4c0
游戏力养育实战篇一早上起床的时候现在天气比较冷,我们怎么叫孩子起床的呢?孩子在被窝里磨蹭不肯起床,你是否总喊:快点儿快点儿,要迟到啦,来不及啦,但是你发现躺着还是一动不动,而且你越喊他越磨蹭。然后父母就更着急了,开始吼起来,结果呢?可想而知,孩子不高兴不配合我们自己心情也不好了!我们试着换种方法,宝宝,听说你自己会穿衣服裤子和袜子了,对吧!那我想知道你穿完一整套,需要多少时间!妈妈给你计时,好
- 重要的事情,虽然不着急,也要马上处理。否则随时都会变成重要紧急的事情,而且会比当初更加的棘手
丛培国
姓名:丛培国机构:丛迪服装公司【日精进打卡第253天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍今年计划十五本一、《活法》OK二、《OKR工作法》二遍OK三、《创造高收益.贰》OK四、《思维导图.记忆力与专注力训练》OK五、《经营三十四问》P100六、《经营十二条》OK七、《调动员工积极性的七个关键》OK八、《经营与会计》OK九、《心法》二遍29十、《阿米巴经营.实战篇》015十一、
- 深度学习实战篇之 ( 十八) -- Pytorch之SeNet
fengyuxie
深度学习pytorch人工智能python机器学习
科普知识注意力机制(AttentionMechanism)源于对人类视觉的研究。在认知科学中,由于信息处理的瓶颈,人类会选择性地关注所有信息的一部分,同时忽略其他可见的信息。上述机制通常被称为注意力机制。人类视网膜不同的部位具有不同程度的信息处理能力,即敏锐度(Acuity),只有视网膜中央凹部位具有最强的敏锐度。为了合理利用有限的视觉信息处理资源,人类需要选择视觉区域中的特定部分,然后集中关注它
- Python 散点图线性拟合_线性回归(实战)
weixin_39929595
Python散点图线性拟合python线性回归统计检验p值线性回归系数的标准误
前面介绍了线性回归的理论知识后,有些朋友建议我写一篇实战篇,这样可以方便理解。今天我们就来使用Python实现多元线性回归模型的落地。本次数据集如下链接:https://pan.baidu.com/s/16w8-snxnTKtU3boAJGN1Cgpan.baidu.com提取码:3udf各个变量解释为AT:温度V:压力AP:相对湿度RH:排气量PE:发电量(因变量)下面正式开始吧!1,导入包#导
- Kubernetes系列之监控Metres-server实战篇
weixin_30843605
json5ggit
本次系列使用的所需部署包版本都使用的目前最新的或最新稳定版,安装包地址请到公众号内回复【K8s实战】获取介绍从Kubernetes1.8开始,Kubernetes通过MetricsAPI获取资源使用指标,例如容器CPU和内存使用情况。这些度量指标可以由用户直接访问,例如通过使用kubectltop命令,或者使用集群中的控制器。MetricsAPI:通过MetricsAPI,您可以获得node或po
- 2019-05-31
丛培国
图片发自App姓名:丛培国机构:丛迪服装公司【日精进打卡第503天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍【今年计划读十五本书】一、《正念领导力》OK二、《马云内部讲话》102三、《毛泽东》罗斯·特里尔OK四、《卓越企业的经营手法》OK五、《公司开了,你该这样管理》OK六、《我的第一本思维导图》015七、《阿米巴经营.实战篇》OK八、《稻盛哲学与阳明心学》OK九、《永不放弃—特朗
- 打磨产品-润总线下课
杨荣鹏
图片发自App今天参加了润总的线下大课,又见到润总。跟润总学习一年半了,从第一季度的《5分钟商学院基础篇》到第二季度的《5分钟商学院的实战篇》,还参加了两次线下大课。算下来也算是忠实粉丝了。很感谢润总带给我商业的世界。让我知道每个事情背后都有其商业原理。今天的线下课主要讲的是打磨产品。现在躺在床上,把印象最深刻的点跟大家分享下。第一、产品即是满足顾客的欲望。我们都知道产品是为了满足顾客的需求,其实
- kubernetes实战篇之nexus oss服务器部署及基于nexus的docker镜像仓库搭建
weixin_30326515
运维操作系统json
系列目录Nexusoss仓库管理平台搭建Nexus是一款仓库管理工具,支持Npm,bower,maven,nuget,apt,yum甚至docker,helm等各种仓库,说的通俗以下,就是私服镜像仓库.并且有免费版,OSS版即为免费版,下载的时候请注意版本的选择.下载地址往下面滚动页面,可以看到ChooseyourNexus,有osx,windows和unix版本可供选择.这里我选择的是windo
- 2019-08-14
丛培国
图片发自App机构:丛迪服装公司【日精进打卡第577天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍【今年计划读十五本书】一、《正念领导力》OK二、《马云内部讲话》102三、《毛泽东》罗斯·特里尔OK四、《卓越企业的经营手法》OK五、《公司开了,你该这样管理》OK六、《我的第一本思维导图》015七、《阿米巴经营.实战篇》OK八、《稻盛哲学与阳明心学》OK九、《成功的真谛》OK十、《老板
- DDD学习笔记---实战篇
激流勇进_
领域驱动设计学习
如何构建中台业务模型?我们可以用DDD领域建模的方法来构建中台业务模型。你可以选择两种建模策略:自顶向下和自底向上的策略。具体采用哪种策略,你需要结合公司的具体情况来分析。1.自顶向下的策略第一种策略是自顶向下。这种策略是先做顶层设计,从最高领域逐级分解为中台,分别建立领域模型,根据业务属性分为通用中台或核心中台。领域建模过程主要基于业务现状,暂时不考虑系统现状。自顶向下的策略适用于全新的应用系统
- Prometheus监控实战篇Nginx、Hbase
运维那些事儿
Prometheusnginxhbase运维
一、Prometheus监控Nginx1、监控Nginx相关插件下载地址nginx_exporter下载地址Nginx_module-vts下载地址nginx-release下载地址Prometheus(8.3.3)和grafana(2.32.1)我使用的是官网最新版2、编译Nginx注意:我这边是使用rpm安装的Nginx。所以要进行编译一下,可以根据自己的实际情况进行操作2.1下载nginx-
- Redis集群实战篇
燃灯工作室
Redisredispythondjango数据库linux
Redis集群实战篇目录1.拉取redis镜像2.配置文件2.1生成目录2.2建立配置文件3.启动redis实例3.1.启动一个实例(带参数说明)3.2.利用批量命令,同时启动6个实例5.编排集群操作6.连接集群,进行读写操作6.1.Python直接进行操作6.2.Django进行操作这篇博客是续redis集群理论篇后的redis集群实战篇,全篇没有任何理论,基本都是代码和一些备注1.拉取redi
- Redis(三)(实战篇)
xxxxxxxpp
Redisredis数据库缓存springbootjava
查漏补缺1.spring事务失效有时候我们需要在某个Service类的某个方法中,调用另外一个事务方法,比如:@ServicepublicclassUserService{@AutowiredprivateUserMapperuserMapper;publicvoidadd(UserModeluserModel){userMapper.insertUser(userModel);updateSta
- MongoDB从入门到实战之Docker快速安装MongoDB
追逐时光者
mongodbdocker数据库
前言在上一篇文章中带领带同学们快速入门MongoDB这个文档型的NoSQL数据库,让大家快速的了解了MongoDB的基本概念。这一章开始我们就开始实战篇教程,为了快速把MongoDB使用起来我将会把MongoDB在Docker容器中安装起来作为开发环境使用。然后我这边MongoDB的可视化工具用的是Navicate。废话不多说,我们先花了几分钟开始的把MongoDB环境搭建起来。MongoDB从入
- 在一个崇高的目标支持下,不停地工作,即使慢,也一定会获得成功
丛培国
姓名:丛培国机构:丛迪服装公司【日精进打卡第290天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍今年计划十五本一、《活法》OK二、《OKR工作法》二遍OK三、《创造高收益.贰》OK四、《思维导图.记忆力与专注力训练》OK五、《经营三十四问》OK六、《经营十二条》OK七、《调动员工积极性的七个关键》OK八、《经营与会计》OK九、《心法》二遍29十、《阿米巴经营.实战篇》025十一、《非
- 2019-08-01
丛培国
图片发自App机构:丛迪服装公司【日精进打卡第563天】【知~学习】《六项精进》0遍共61遍《大学》0遍共60遍【今年计划读十五本书】一、《正念领导力》OK二、《马云内部讲话》102三、《毛泽东》罗斯·特里尔OK四、《卓越企业的经营手法》OK五、《公司开了,你该这样管理》OK六、《我的第一本思维导图》015七、《阿米巴经营.实战篇》OK八、《稻盛哲学与阳明心学》OK九、《成功的真谛》OK十、《老板
- Netty实战篇-手写DubboRpc框架
蒙娜丽莎的Java
java学习路线面试dubborpcjavaredis分布式
1.RPC基本介绍rpc是远程调用的一种行为,在数据传输过程中涉及到传输协议,http就是一种传输协议。RPC(RemoteProcedureCall)—远程过程调用,是一个计算机通信协议。该协议允许运行于一台计算机的程序调用另一台计算机的子程序,而程序员无需额外地为这个交互作用编程。两个或多个应用程序都分布在不同的服务器上,它们之间的调用都像是本地方法调用一样常见的RPC框架有:阿里的Dubbo
- Kubernetes operator(六)CRD控制器 开发实战篇
格桑阿sir
云原生学习专栏kubernetes容器云计算云原生控制器OperatorCRD
云原生学习路线导航页(持续更新中)本文是Kubernetesoperator学习系列第六篇,前面5篇的学习,我们已经清楚CRD开发的各个环节,本节就实际设计一个CRD,并为之编写控制器基于kubernetesv1.24.0代码分析Kubernetesoperator学习系列快捷链接Kubernetesoperator(一)client-go篇Kubernetesoperator(二)CRD篇Kub
- Flink SQL 知其所以然(一)| source\sink 原理
大数据羊说
1.序篇-本文结构本文从以下五个小节介绍flinksqlsource\sink\format的概念、原理。背景篇-关于sql定义篇-sqlsource、sink实战篇-sqlsource、sink的用法原理剖析篇-sqlsource、sink是怎么跑起来的总结与展望篇2.背景篇-关于sql关于flinksql的定位。先聊聊使用sql的原因,总结来说就是一切从简。SQL属于DSLSQL易于理解SQL
- 强大的销售团队背后 竟然是大数据分析的身影
蓝儿唯美
数据分析
Mark Roberge是HubSpot的首席财务官,在招聘销售职位时使用了大量数据分析。但是科技并没有挤走直觉。
大家都知道数理学家实际上已经渗透到了各行各业。这些热衷数据的人们通过处理数据理解商业流程的各个方面,以重组弱点,增强优势。
Mark Roberge是美国HubSpot公司的首席财务官,HubSpot公司在构架集客营销现象方面出过一份力——因此他也是一位数理学家。他使用数据分析
- Haproxy+Keepalived高可用双机单活
bylijinnan
负载均衡keepalivedhaproxy高可用
我们的应用MyApp不支持集群,但要求双机单活(两台机器:master和slave):
1.正常情况下,只有master启动MyApp并提供服务
2.当master发生故障时,slave自动启动本机的MyApp,同时虚拟IP漂移至slave,保持对外提供服务的IP和端口不变
F5据说也能满足上面的需求,但F5的通常用法都是双机双活,单活的话还没研究过
服务器资源
10.7
- eclipse编辑器中文乱码问题解决
0624chenhong
eclipse乱码
使用Eclipse编辑文件经常出现中文乱码或者文件中有中文不能保存的问题,Eclipse提供了灵活的设置文件编码格式的选项,我们可以通过设置编码 格式解决乱码问题。在Eclipse可以从几个层面设置编码格式:Workspace、Project、Content Type、File
本文以Eclipse 3.3(英文)为例加以说明:
1. 设置Workspace的编码格式:
Windows-&g
- 基础篇--resources资源
不懂事的小屁孩
android
最近一直在做java开发,偶尔敲点android代码,突然发现有些基础给忘记了,今天用半天时间温顾一下resources的资源。
String.xml 字符串资源 涉及国际化问题
http://www.2cto.com/kf/201302/190394.html
string-array
- 接上篇补上window平台自动上传证书文件的批处理问卷
酷的飞上天空
window
@echo off
: host=服务器证书域名或ip,需要和部署时服务器的域名或ip一致 ou=公司名称, o=公司名称
set host=localhost
set ou=localhost
set o=localhost
set password=123456
set validity=3650
set salias=s
- 企业物联网大潮涌动:如何做好准备?
蓝儿唯美
企业
物联网的可能性也许是无限的。要找出架构师可以做好准备的领域然后利用日益连接的世界。
尽管物联网(IoT)还很新,企业架构师现在也应该为一个连接更加紧密的未来做好计划,而不是跟上闸门被打开后的集成挑战。“问题不在于物联网正在进入哪些领域,而是哪些地方物联网没有在企业推进,” Gartner研究总监Mike Walker说。
Gartner预测到2020年物联网设备安装量将达260亿,这些设备在全
- spring学习——数据库(mybatis持久化框架配置)
a-john
mybatis
Spring提供了一组数据访问框架,集成了多种数据访问技术。无论是JDBC,iBATIS(mybatis)还是Hibernate,Spring都能够帮助消除持久化代码中单调枯燥的数据访问逻辑。可以依赖Spring来处理底层的数据访问。
mybatis是一种Spring持久化框架,要使用mybatis,就要做好相应的配置:
1,配置数据源。有很多数据源可以选择,如:DBCP,JDBC,aliba
- Java静态代理、动态代理实例
aijuans
Java静态代理
采用Java代理模式,代理类通过调用委托类对象的方法,来提供特定的服务。委托类需要实现一个业务接口,代理类返回委托类的实例接口对象。
按照代理类的创建时期,可以分为:静态代理和动态代理。
所谓静态代理: 指程序员创建好代理类,编译时直接生成代理类的字节码文件。
所谓动态代理: 在程序运行时,通过反射机制动态生成代理类。
一、静态代理类实例:
1、Serivce.ja
- Struts1与Struts2的12点区别
asia007
Struts1与Struts2
1) 在Action实现类方面的对比:Struts 1要求Action类继承一个抽象基类;Struts 1的一个具体问题是使用抽象类编程而不是接口。Struts 2 Action类可以实现一个Action接口,也可以实现其他接口,使可选和定制的服务成为可能。Struts 2提供一个ActionSupport基类去实现常用的接口。即使Action接口不是必须实现的,只有一个包含execute方法的P
- 初学者要多看看帮助文档 不要用js来写Jquery的代码
百合不是茶
jqueryjs
解析json数据的时候需要将解析的数据写到文本框中, 出现了用js来写Jquery代码的问题;
1, JQuery的赋值 有问题
代码如下: data.username 表示的是: 网易
$("#use
- 经理怎么和员工搞好关系和信任
bijian1013
团队项目管理管理
产品经理应该有坚实的专业基础,这里的基础包括产品方向和产品策略的把握,包括设计,也包括对技术的理解和见识,对运营和市场的敏感,以及良好的沟通和协作能力。换言之,既然是产品经理,整个产品的方方面面都应该能摸得出门道。这也不懂那也不懂,如何让人信服?如何让自己懂?就是不断学习,不仅仅从书本中,更从平时和各种角色的沟通
- 如何为rich:tree不同类型节点设置右键菜单
sunjing
contextMenutreeRichfaces
组合使用target和targetSelector就可以啦,如下: <rich:tree id="ruleTree" value="#{treeAction.ruleTree}" var="node" nodeType="#{node.type}"
selectionChangeListener=&qu
- 【Redis二】Redis2.8.17搭建主从复制环境
bit1129
redis
开始使用Redis2.8.17
Redis第一篇在Redis2.4.5上搭建主从复制环境,对它的主从复制的工作机制,真正的惊呆了。不知道Redis2.8.17的主从复制机制是怎样的,Redis到了2.4.5这个版本,主从复制还做成那样,Impossible is nothing! 本篇把主从复制环境再搭一遍看看效果,这次在Unbuntu上用官方支持的版本。 Ubuntu上安装Red
- JSONObject转换JSON--将Date转换为指定格式
白糖_
JSONObject
项目中,经常会用JSONObject插件将JavaBean或List<JavaBean>转换为JSON格式的字符串,而JavaBean的属性有时候会有java.util.Date这个类型的时间对象,这时JSONObject默认会将Date属性转换成这样的格式:
{"nanos":0,"time":-27076233600000,
- JavaScript语言精粹读书笔记
braveCS
JavaScript
【经典用法】:
//①定义新方法
Function .prototype.method=function(name, func){
this.prototype[name]=func;
return this;
}
//②给Object增加一个create方法,这个方法创建一个使用原对
- 编程之美-找符合条件的整数 用字符串来表示大整数避免溢出
bylijinnan
编程之美
import java.util.LinkedList;
public class FindInteger {
/**
* 编程之美 找符合条件的整数 用字符串来表示大整数避免溢出
* 题目:任意给定一个正整数N,求一个最小的正整数M(M>1),使得N*M的十进制表示形式里只含有1和0
*
* 假设当前正在搜索由0,1组成的K位十进制数
- 读书笔记
chengxuyuancsdn
读书笔记
1、Struts访问资源
2、把静态参数传递给一个动作
3、<result>type属性
4、s:iterator、s:if c:forEach
5、StringBuilder和StringBuffer
6、spring配置拦截器
1、访问资源
(1)通过ServletActionContext对象和实现ServletContextAware,ServletReque
- [通讯与电力]光网城市建设的一些问题
comsci
问题
信号防护的问题,前面已经说过了,这里要说光网交换机与市电保障的关系
我们过去用的ADSL线路,因为是电话线,在小区和街道电力中断的情况下,只要在家里用笔记本电脑+蓄电池,连接ADSL,同样可以上网........
 
- oracle 空间RESUMABLE
daizj
oracle空间不足RESUMABLE错误挂起
空间RESUMABLE操作 转
Oracle从9i开始引入这个功能,当出现空间不足等相关的错误时,Oracle可以不是马上返回错误信息,并回滚当前的操作,而是将操作挂起,直到挂起时间超过RESUMABLE TIMEOUT,或者空间不足的错误被解决。
这一篇简单介绍空间RESUMABLE的例子。
第一次碰到这个特性是在一次安装9i数据库的过程中,在利用D
- 重构第一次写的线程池
dieslrae
线程池 python
最近没有什么学习欲望,修改之前的线程池的计划一直搁置,这几天比较闲,还是做了一次重构,由之前的2个类拆分为现在的4个类.
1、首先是工作线程类:TaskThread,此类为一个工作线程,用于完成一个工作任务,提供等待(wait),继续(proceed),绑定任务(bindTask)等方法
#!/usr/bin/env python
# -*- coding:utf8 -*-
- C语言学习六指针
dcj3sjt126com
c
初识指针,简单示例程序:
/*
指针就是地址,地址就是指针
地址就是内存单元的编号
指针变量是存放地址的变量
指针和指针变量是两个不同的概念
但是要注意: 通常我们叙述时会把指针变量简称为指针,实际它们含义并不一样
*/
# include <stdio.h>
int main(void)
{
int * p; // p是变量的名字, int *
- yii2 beforeSave afterSave beforeDelete
dcj3sjt126com
delete
public function afterSave($insert, $changedAttributes)
{
parent::afterSave($insert, $changedAttributes);
if($insert) {
//这里是新增数据
} else {
//这里是更新数据
}
}
 
- timertask
shuizhaosi888
timertask
java.util.Timer timer = new java.util.Timer(true);
// true 说明这个timer以daemon方式运行(优先级低,
// 程序结束timer也自动结束),注意,javax.swing
// 包中也有一个Timer类,如果import中用到swing包,
// 要注意名字的冲突。
TimerTask task = new
- Spring Security(13)——session管理
234390216
sessionSpring Security攻击保护超时
session管理
目录
1.1 检测session超时
1.2 concurrency-control
1.3 session 固定攻击保护
 
- 公司项目NODEJS实践0.3[ mongo / session ...]
逐行分析JS源代码
mongodbsessionnodejs
http://www.upopen.cn
一、前言
书接上回,我们搭建了WEB服务端路由、模板等功能,完成了register 通过ajax与后端的通信,今天主要完成数据与mongodb的存取,实现注册 / 登录 /
- pojo.vo.po.domain区别
LiaoJuncai
javaVOPOJOjavabeandomain
POJO = "Plain Old Java Object",是MartinFowler等发明的一个术语,用来表示普通的Java对象,不是JavaBean, EntityBean 或者 SessionBean。POJO不但当任何特殊的角色,也不实现任何特殊的Java框架的接口如,EJB, JDBC等等。
即POJO是一个简单的普通的Java对象,它包含业务逻辑
- Windows Error Code
OhMyCC
windows
0 操作成功完成.
1 功能错误.
2 系统找不到指定的文件.
3 系统找不到指定的路径.
4 系统无法打开文件.
5 拒绝访问.
6 句柄无效.
7 存储控制块被损坏.
8 存储空间不足, 无法处理此命令.
9 存储控制块地址无效.
10 环境错误.
11 试图加载格式错误的程序.
12 访问码无效.
13 数据无效.
14 存储器不足, 无法完成此操作.
15 系
- 在storm集群环境下发布Topology
roadrunners
集群stormtopologyspoutbolt
storm的topology设计和开发就略过了。本章主要来说说如何在storm的集群环境中,通过storm的管理命令来发布和管理集群中的topology。
1、打包
打包插件是使用maven提供的maven-shade-plugin,详细见maven-shade-plugin。
<plugin>
<groupId>org.apache.maven.
- 为什么不允许代码里出现“魔数”
tomcat_oracle
java
在一个新项目中,我最先做的事情之一,就是建立使用诸如Checkstyle和Findbugs之类工具的准则。目的是制定一些代码规范,以及避免通过静态代码分析就能够检测到的bug。 迟早会有人给出案例说这样太离谱了。其中的一个案例是Checkstyle的魔数检查。它会对任何没有定义常量就使用的数字字面量给出警告,除了-1、0、1和2。 很多开发者在这个检查方面都有问题,这可以从结果
- zoj 3511 Cake Robbery(线段树)
阿尔萨斯
线段树
题目链接:zoj 3511 Cake Robbery
题目大意:就是有一个N边形的蛋糕,切M刀,从中挑选一块边数最多的,保证没有两条边重叠。
解题思路:有多少个顶点即为有多少条边,所以直接按照切刀切掉点的个数排序,然后用线段树维护剩下的还有哪些点。
#include <cstdio>
#include <cstring>
#include <vector&