- 缩小模拟与现实之间的差距:使用 NVIDIA Isaac Lab 训练 Spot 四足动物运动
AI人工智能集结号
人工智能
目录在IsaacLab中训练四足动物的运动能力目标观察和行动空间域随机化网络架构和RL算法细节先决条件用法训练策略执行训练好的策略结果使用JetsonOrin在Spot上部署经过训练的RL策略先决条件JetsonOrin上的硬件和网络设置Jetson上的软件设置运行策略开始开发您的自定义应用程序由于涉及复杂的动力学,为四足动物开发有效的运动策略对机器人技术提出了重大挑战。训练四足动物在现实世界中上
- deepstream | deepstream6.0配置python接口
__AtYou__
经验分享python开发语言人工智能
先决条件:ubuntu18.04deepstreamSDK6.0或更高版本python3.6Gstpythonv1.14.5,如果Jetson上缺少Gstpython安装,请使用以下命令安装:sudoapt-getinstallpython-gi-devexportGST_LIBS="-lgstreamer-1.0-lgobject-2.0-lglib-2.0"exportGST_CFLAGS="
- 百度飞浆目标检测PPYOLOE模型在PC端、Jetson上的部署(python)
代码能跑就可以
百度目标检测python学习计算机视觉笔记
部署目标检测模型前,需要配置好paddlepaddle的环境:开始使用_飞桨-源于产业实践的开源深度学习平台(paddlepaddle.org.cn)PC端和Jetson板卡端的部署方法相同,如下(直接放置部署和测试代码):importpaddle.inferenceimportcv2importnumpyasnpimporttimefrompaddle.inferenceimportConfig
- Jetson-AGX-Orin 安装ros1
skynetkang
nvidia-orinNVIDIA-Orin
Jetson-AGX-Orin安装ros1系统:ubuntu20.04ARM64ros1版本:Noetic添加ROS源sudosh-c'echo"debhttp://packages.ros.org/ros/ubuntu$(lsb_release-sc)main">/etc/apt/sources.list.d/ros-latest.list'添加密钥sudoapt-keyadv--keyserv
- 【jetson交叉编译(5)】如何将apt安装的库复制出来?
Hali_Botebie
linux服务器运维
将apt将apt安装的库复制出来安装的库复制出来,通常指的是将apt-get命令,通常指的是将apt-get命令安装的软件包及其相关文件从系统中提取出来,以便在其他系统或环境中安装的软件包及其相关文件从系统中提取出来,以便在其他系统或环境中使用。使用。以下是将apt安装的库复制出来的步骤:以下是将apt安装的库复制出来的步骤:一、定位安装包路径一、定位安装包路径apt-get下载的软件包默认保存在
- 【jetson交叉编译(6)】orin ubuntu的库安装,通过apt下载deb 库,然后的解压到具体位置/opt/test/3rd
Hali_Botebie
ubuntulinux运维
基于【【jetson交叉编译(5)】如何将apt安装的库复制出来?】得到了deb库要将一个.deb包解压缩到特定位置/opt/test/3rd,你可以使用以下步骤:安装dpkg和ar工具:确保你已经安装了dpkg和ar工具。这些工具通常在大多数Ubuntu系统中已经安装。如果没有安装,可以使用以下命令进行安装:sudoapt-getupdatesudoapt-getinstalldpkgar创建目
- 【网络】 arp 命令 得到网段内所有物理设备ip
DFminer
linux网络运维
我的笔记本和NVIDIAJetsonOrin都位于同一个192.168.1.x的网段内,我想远程访问Orin,但我不知道orin的ip方法1:使用arp命令打开命令提示符:按下Win+R键,打开“运行”对话框。输入cmd并按Enter键打开命令提示符。使用arp命令:在命令提示符中输入arp-a并按Enter键。结果:试了两个动态地址,第二个就是我要找的
- [NVIDIA]-6 入手 Jetson Xavier NX USB摄像头图像采集+显示(opencv)示例
钟学森
JetsonXavierNXopencvc++linux
[NVIDIA]-6入手JetsonXavierNXUSB摄像头图像采集+显示(基于opencv)示例本文主要讲述,基于JetsonXavierNX开发者套件及安装opencv3.3.1,进行USB摄像头图像采集+显示,其中显示前进行resize操作。WhatisJetsonXavierNX:NVIDIA®JetsonXavier™NX是体型超小的AI超级计算机,适用于嵌入式系统和边缘系统。高达2
- jetson agx orin 实时内核 调度延时测试
王燕龙(大卫)
unix服务器
jetsonagxorin是nvidia推出的计算平台,在自动驾驶领域得到广泛应用。确定性执行是自动驾驶系统的基本要求,而任务调度的确定性是影响确定性执行的重要因素。本文测试了jetsonagxorin的调度延时,对比测试了两种情况:打实时内核补丁和不打实时内核补丁。从测试结果来看,对于rt调度策略来说,打了实时内核补丁之后,最大调度延时在70μs以内;而不打实时内核补丁的话,最大调度延时在100
- Jetson TX1 system & ROS
羊羊羊羊羊羊羊--
Jetsonubuntulinux
1systemreference:https://blog.csdn.net/prophet_xh/article/details/123931775Wheninstep01,noneedtochoose“HostMachine”.Wheninstep02,noneedtochoose“jetsonSDKcomponents”ifyouonlyneedthesystem.2ROSreference
- Jetson TX1 UART0(/dev/ttyS0)转为普通串口方法
羊羊羊羊羊羊羊--
Jetsonubuntulinux
1解决方法参考网址https://connecttech.com/resource-center/kdb347-reassigning-disable-serial-debug-connect-tech-tx1-carriers/2参考网址中JetPack版本对应关系*虽然参考网址中区分了TX1和TX2,但是我用TX1、JetPack4.6.2直接看JetPack版本对应的解决方法也行L4TJet
- jetson orin nano 使用yolov8导出engine
coder攻城狮
YOLO
1.导出onnx经过前面训练,得到了best.pt模型,现在想要使用tensorrt进行推理,需要先导出为onnx格式,再转化为engine格式。yoloexportmodel=best.ptformat=onnxopset=12simplify=True2.解决错误在导出过程中,可能会出现错误,cmake版本问题安装好后,默认cmake版本为3.16,需要对cmake进行升级sudopipins
- Linux 36.2@Jetson Orin Nano之Hello AI World!
lida2003
Linuxlinux人工智能计算机视觉
Linux36.2@JetsonOrinNano之HelloAIWorld!1.源由2.HelloAIWorld!3.步骤3.1准备阶段3.2获取代码3.3Python环境3.4重点环节3.5软件配置3.6PyTorch安装3.7编译链接3.8安装更新4.测试4.1video-viewer4.2detectnet4.3演示命令5.参考资料6.附录AI模型1.源由AI到底有多神奇???记得神奇的年代
- 【NVIDIA】Jetson Orin Nano系列:sdkmanager 报错 invalid_request - Authorization flow not allowed
郭老二
AIOrinNano
【AI】AI学习目录汇总1、问题描述在启动sdkmanager后,点击登录,一般在web中弹出登录链接。但是这次报错:invalid_request-Authorizationflownotallowed2、原因分析在Ubuntu20.04上当sdkmanager版本过低时,会报错。参见官网论坛:https://forums.developer.nvidia.com/t/authorization
- orin 36.2 /sys/class/gpio/export节点没有
Janet CHU
orinlinux
JetsonAGXOrin升级sdk到JetPack-36.2,发现/sys/class/gpio/export节点没有,需要怎么配置?kernel-jammy-src/arch/arm64/configs/defconfig中新增配置CONFIG_GPIO_SYSFS=yCONFIG_GPIOLIB=yCONFIG_EXPERT=y然后重新触发Image编译即可。排查过程:makemenucon
- Linux 36.2@Jetson Orin Nano基础环境构建
lida2003
Linuxlinux人工智能计算机视觉运维
Linux36.2@JetsonOrinNano基础环境构建1.源由2.步骤2.1安装NVIDIAJetsonLinux36.2系统2.2必备软件安装2.3基本远程环境2.3.1远程ssh登录2.3.2samba局域网2.3.3VNC远程登录2.4开发环境安装3.总结1.源由现在流行什么,也跟风来么一个一篇。当然,后续是要用到这个AI环境的GPU算力。不过其实很多技术都是具有共通性的,所以大可不必
- 【Yolo】YoloV5训练自定义模型
Jamie.T
YoloYOLOpython开发语言
【Yolo】JetsonOrinNano下部署YoloV5上一篇博文主要记录了在JetsonOrinNano下部署YoloV5环境,并运行了yoloV5n.pt模型,本篇在上一篇的基础上,进一步记录如何训练自己的目标模型,我们以一根口香糖盒子为训练对象进行说明。一、目标资源标记1.安装labelimg通过以下命令安装labelimg软件,labelimg用于在待训练的图片上进行目标标记。可以在wi
- 【Yolo】Jetson Orin Nano下部署 YoloV5
Jamie.T
YoloYOLO
在网上找了好多关于JetsonNano部署Yolov5的帖子,由于每个人的环境和版本都不同,过程也都有所不同,因此在JetsonOrinNanoCLB上安装Yolov5也有必要记录一下过程,以便后续无脑重装,让我们开始。由于我这个JetsonOrinNanoCLB是固态硬盘的形式,没有SD卡槽,因此不能按Nvidia官方采用SD卡进行系统烧录的方式。环境:Jetpack:5.1.1CUDA:11.
- CUDA编程学习笔记(三)
HHHANG___
学习笔记
本篇记录学习cuda的执行模式,主要有几个方面的内容:理解jetsonnano上的gpu架构;理解线程束执行的本质;分支化与避免分支化;展开循环;其他;一、理解jetsonnano的gpu架构这块内容在上一篇笔记中有学习到一些,本篇就进行一个补充和复习。jetsonnano上的gpu是Maxwell架构的,整个gpu上面只有一个SM(流多处理器)。该SM上包含128个处理核心,这128个计算核心被
- 关于学生课堂行为识别算法
NineDays66
算法行为识别深度学习学生行为分析考试分析
目前基于针对学校做了一款考生行为识别算法,算法可以在服务器部署,也可以在前端设备如Jetson、RK等边缘设备运行,目前算法已经投入使用,算法效果如下目前算法在2080Ti服务器运行效率是150帧每秒算法运行平台模型大小吞吐量张/秒PC-2080TI50M150ARM-RK3399PRO10M10行为类别划分如下:学生未到、存在空位学生双手放在桌子下学生左、右看学生传纸条学生举手学生爬桌子睡觉学生
- Jetson AGX Orin安装Anaconda,Cuda,Cudnn,pytorch,Tensorrt,ROS
枭玉龙
#ubuntu系统下安装pytorch人工智能python
Anaconda:https://repo.anaconda.com/archive/Cuda:https://forums.developer.nvidia.com/t/pytorch-for-jetson/720481:安装Anaconda3下载:Anaconda3-2021.11-Linux-aarch64.shchmod+xAnaconda3-2021.11-Linux-aarch64.s
- Jetson nano配置jtop和nvidia-smi高级使用教程
YSUSE15w
linux运维服务器
目录1.更新源2.安装JTOP查看CPU等的占用情况3.关于nvidia-smi持续模式nvidia-smi支持的GPU查询GPU状态监控和管理GPUBoostreference:1.更新源sudoapt-getupdatesudoapt-getfull-upgrade在过程中输入Y确认更新。第二个过程时间根据网络情况可能会花2个小时左右,请耐心等待。如果安装不上,尝试源码安装https://gi
- Jetson Xavier NX CUDA、cuDNN、TensorRT与Pytorch环境配置
想努力的人
pytorch人工智能python
橘子大虾关注IP属地:江苏0.1312022.05.1911:31:43字数331阅读3,854torch与vision源码安装包下载链接:https://pan.baidu.com/s/1mrIgGoMo0bq6otGhlh-E3A提取码:6sb31.Cuda、CuDNN和TensorRT在JetsonXavierNx控制台中执行指令#更新软件源sudoaptupdate#安装JetPack组件
- 2019-05-06 nano操作I2C
马超波
Nano扩展口有两组I2C,分别为bus0bus1接口定义如下:https://www.jetsonhacks.com/nvidia-jetson-nano-j41-header-pinout/https://elinux.org/Jetson/I2CI2C寄存器操作i2cdumpPORTSLAVE_ADDR$sudoi2cdump-f-y40x40i2csetPORTSLAVE_ADDRREGV
- YOLO部署实战(5):NVIDIA Jetson Tx2部署YOLO
马上到我碗里来
YOLO部署实战YOLONVIDIAJetsonTx2
1一些概念JetsonTx2NVIDIAJetson是NVIDIA为新一代自主机器设计的的嵌入式系统,是一个AI平台,它的优势就是可以覆盖不同领域、不同行业。目前Jetson产品线已经有四个产品系列,包括JetsonNano、JetsonTX2、XavierNX和AGXXavier。四个产品系列的定位不同:JetsonNano比较适合和体量较小的设备,定位入门级,售价99美元;JetsonTX2比
- linux 安装vscode后打开,报错 undefined symbol:gbm_bo_get_modifier
HeroYDHY
vscodelinux打开报错
更换低版本安装教程如下:JetsonAGX安装VScode教程,适用于所有系统安装旧版本VScode_vscode低版本-CSDN博客
- 在Jetson Nano上实现单目相机 apritag_ros识别
蒋程扬
ROS机器人自动驾驶视觉检测人工智能
一,apritag_ros安装最开始采用克隆源码编译的方式进行安装,后来在Jetsonnano上有opencv4与opencv3的依赖问题,后来索性直接采用二进制安装:sudoapt-getinstallros-melodic-apriltag-ros二,单目相机数据读取这里使用的是uvc_camera包:launch文件:这里使用了命名空间head_camerahead_camera为相机标定参
- Jetson Nano 2G(1)开箱
宙仔
裸板一块~~~image.png要准备的东东还真不少:1.128G的TF卡,2.USB键鼠套装,3.网线一条(或无线网卡),4.显示器+HDMI线,5.5V3A电源+TypeC线一条.在Nvidia网站下载2G的镜像文件~~https://developer.nvidia.com/zh-cn/embedded/downloads镜像文件下载用Win32DiskImager刷入镜像文件,期间看到一些
- JetsonNX编译librealsense,解决ERROR: Could not find a version that satisfies the requirement pyrealsense2
吾系桉宁
Jetsonrealsense计算机视觉智能硬件arm开发
环境:JetsonNX+Jetpack4.4+Ubuntu18.04感谢问题描述安装教程感谢https://github.com/IntelRealSense/librealsense/issues/7722https://github.com/IntelRealSense/librealsense/issues/6964问题描述#InstallLibRealSensefromsource#Wen
- jetson-inferenc显示fatal error: connect_parts.hpp
recode123
github
https://github.com/dusty-nv/jetson-inference/issues/1188/home/x/jetson-inference/c/poseNet.cpp:32:10:致命错误:connect_parts.hpp:没有那个文件或目录#include"connect_parts.hpp"^~~~~~~~~~~~~~~~~~~编译终止。CMakeFiles/jetso
- PHP,安卓,UI,java,linux视频教程合集
cocos2d-x小菜
javaUIlinuxPHPandroid
╔-----------------------------------╗┆
- zookeeper admin 笔记
braveCS
zookeeper
Required Software
1) JDK>=1.6
2)推荐使用ensemble的ZooKeeper(至少3台),并run on separate machines
3)在Yahoo!,zk配置在特定的RHEL boxes里,2个cpu,2G内存,80G硬盘
数据和日志目录
1)数据目录里的文件是zk节点的持久化备份,包括快照和事务日
- Spring配置多个连接池
easterfly
spring
项目中需要同时连接多个数据库的时候,如何才能在需要用到哪个数据库就连接哪个数据库呢?
Spring中有关于dataSource的配置:
<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
&nb
- Mysql
171815164
mysql
例如,你想myuser使用mypassword从任何主机连接到mysql服务器的话。
GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%'IDENTIFIED BY 'mypassword' WI
TH GRANT OPTION;
如果你想允许用户myuser从ip为192.168.1.6的主机连接到mysql服务器,并使用mypassword作
- CommonDAO(公共/基础DAO)
g21121
DAO
好久没有更新博客了,最近一段时间工作比较忙,所以请见谅,无论你是爱看呢还是爱看呢还是爱看呢,总之或许对你有些帮助。
DAO(Data Access Object)是一个数据访问(顾名思义就是与数据库打交道)接口,DAO一般在业
- 直言有讳
永夜-极光
感悟随笔
1.转载地址:http://blog.csdn.net/jasonblog/article/details/10813313
精华:
“直言有讳”是阿里巴巴提倡的一种观念,而我在此之前并没有很深刻的认识。为什么呢?就好比是读书时候做阅读理解,我喜欢我自己的解读,并不喜欢老师给的意思。在这里也是。我自己坚持的原则是互相尊重,我觉得阿里巴巴很多价值观其实是基本的做人
- 安装CentOS 7 和Win 7后,Win7 引导丢失
随便小屋
centos
一般安装双系统的顺序是先装Win7,然后在安装CentOS,这样CentOS可以引导WIN 7启动。但安装CentOS7后,却找不到Win7 的引导,稍微修改一点东西即可。
一、首先具有root 的权限。
即进入Terminal后输入命令su,然后输入密码即可
二、利用vim编辑器打开/boot/grub2/grub.cfg文件进行修改
v
- Oracle备份与恢复案例
aijuans
oracle
Oracle备份与恢复案例
一. 理解什么是数据库恢复当我们使用一个数据库时,总希望数据库的内容是可靠的、正确的,但由于计算机系统的故障(硬件故障、软件故障、网络故障、进程故障和系统故障)影响数据库系统的操作,影响数据库中数据的正确性,甚至破坏数据库,使数据库中全部或部分数据丢失。因此当发生上述故障后,希望能重构这个完整的数据库,该处理称为数据库恢复。恢复过程大致可以分为复原(Restore)与
- JavaEE开源快速开发平台G4Studio v5.0发布
無為子
我非常高兴地宣布,今天我们最新的JavaEE开源快速开发平台G4Studio_V5.0版本已经正式发布。
访问G4Studio网站
http://www.g4it.org
2013-04-06 发布G4Studio_V5.0版本
功能新增
(1). 新增了调用Oracle存储过程返回游标,并将游标映射为Java List集合对象的标
- Oracle显示根据高考分数模拟录取
百合不是茶
PL/SQL编程oracle例子模拟高考录取学习交流
题目要求:
1,创建student表和result表
2,pl/sql对学生的成绩数据进行处理
3,处理的逻辑是根据每门专业课的最低分线和总分的最低分数线自动的将录取和落选
1,创建student表,和result表
学生信息表;
create table student(
student_id number primary key,--学生id
- 优秀的领导与差劲的领导
bijian1013
领导管理团队
责任
优秀的领导:优秀的领导总是对他所负责的项目担负起责任。如果项目不幸失败了,那么他知道该受责备的人是他自己,并且敢于承认错误。
差劲的领导:差劲的领导觉得这不是他的问题,因此他会想方设法证明是他的团队不行,或是将责任归咎于团队中他不喜欢的那几个成员身上。
努力工作
优秀的领导:团队领导应该是团队成员的榜样。至少,他应该与团队中的其他成员一样努力工作。这仅仅因为他
- js函数在浏览器下的兼容
Bill_chen
jquery浏览器IEDWRext
做前端开发的工程师,少不了要用FF进行测试,纯js函数在不同浏览器下,名称也可能不同。对于IE6和FF,取得下一结点的函数就不尽相同:
IE6:node.nextSibling,对于FF是不能识别的;
FF:node.nextElementSibling,对于IE是不能识别的;
兼容解决方式:var Div = node.nextSibl
- 【JVM四】老年代垃圾回收:吞吐量垃圾收集器(Throughput GC)
bit1129
垃圾回收
吞吐量与用户线程暂停时间
衡量垃圾回收算法优劣的指标有两个:
吞吐量越高,则算法越好
暂停时间越短,则算法越好
首先说明吞吐量和暂停时间的含义。
垃圾回收时,JVM会启动几个特定的GC线程来完成垃圾回收的任务,这些GC线程与应用的用户线程产生竞争关系,共同竞争处理器资源以及CPU的执行时间。GC线程不会对用户带来的任何价值,因此,好的GC应该占
- J2EE监听器和过滤器基础
白糖_
J2EE
Servlet程序由Servlet,Filter和Listener组成,其中监听器用来监听Servlet容器上下文。
监听器通常分三类:基于Servlet上下文的ServletContex监听,基于会话的HttpSession监听和基于请求的ServletRequest监听。
ServletContex监听器
ServletContex又叫application
- 博弈AngularJS讲义(16) - 提供者
boyitech
jsAngularJSapiAngularProvider
Angular框架提供了强大的依赖注入机制,这一切都是有注入器(injector)完成. 注入器会自动实例化服务组件和符合Angular API规则的特殊对象,例如控制器,指令,过滤器动画等。
那注入器怎么知道如何去创建这些特殊的对象呢? Angular提供了5种方式让注入器创建对象,其中最基础的方式就是提供者(provider), 其余四种方式(Value, Fac
- java-写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
bylijinnan
java
public class CommonSubSequence {
/**
* 题目:写一函数f(a,b),它带有两个字符串参数并返回一串字符,该字符串只包含在两个串中都有的并按照在a中的顺序。
* 写一个版本算法复杂度O(N^2)和一个O(N) 。
*
* O(N^2):对于a中的每个字符,遍历b中的每个字符,如果相同,则拷贝到新字符串中。
* O(
- sqlserver 2000 无法验证产品密钥
Chen.H
sqlwindowsSQL ServerMicrosoft
在 Service Pack 4 (SP 4), 是运行 Microsoft Windows Server 2003、 Microsoft Windows Storage Server 2003 或 Microsoft Windows 2000 服务器上您尝试安装 Microsoft SQL Server 2000 通过卷许可协议 (VLA) 媒体。 这样做, 收到以下错误信息CD KEY的 SQ
- [新概念武器]气象战争
comsci
气象战争的发动者必须是拥有发射深空航天器能力的国家或者组织....
原因如下:
地球上的气候变化和大气层中的云层涡旋场有密切的关系,而维持一个在大气层某个层次
- oracle 中 rollup、cube、grouping 使用详解
daizj
oraclegroupingrollupcube
oracle 中 rollup、cube、grouping 使用详解 -- 使用oracle 样例表演示 转自namesliu
-- 使用oracle 的样列库,演示 rollup, cube, grouping 的用法与使用场景
--- ROLLUP , 为了理解分组的成员数量,我增加了 分组的计数 COUNT(SAL)
- 技术资料汇总分享
Dead_knight
技术资料汇总 分享
本人汇总的技术资料,分享出来,希望对大家有用。
http://pan.baidu.com/s/1jGr56uE
资料主要包含:
Workflow->工作流相关理论、框架(OSWorkflow、JBPM、Activiti、fireflow...)
Security->java安全相关资料(SSL、SSO、SpringSecurity、Shiro、JAAS...)
Ser
- 初一下学期难记忆单词背诵第一课
dcj3sjt126com
englishword
could 能够
minute 分钟
Tuesday 星期二
February 二月
eighteenth 第十八
listen 听
careful 小心的,仔细的
short 短的
heavy 重的
empty 空的
certainly 当然
carry 携带;搬运
tape 磁带
basket 蓝子
bottle 瓶
juice 汁,果汁
head 头;头部
- 截取视图的图片, 然后分享出去
dcj3sjt126com
OSObjective-C
OS 7 has a new method that allows you to draw a view hierarchy into the current graphics context. This can be used to get an UIImage very fast.
I implemented a category method on UIView to get the vi
- MySql重置密码
fanxiaolong
MySql重置密码
方法一:
在my.ini的[mysqld]字段加入:
skip-grant-tables
重启mysql服务,这时的mysql不需要密码即可登录数据库
然后进入mysql
mysql>use mysql;
mysql>更新 user set password=password('新密码') WHERE User='root';
mysq
- Ehcache(03)——Ehcache中储存缓存的方式
234390216
ehcacheMemoryStoreDiskStore存储驱除策略
Ehcache中储存缓存的方式
目录
1 堆内存(MemoryStore)
1.1 指定可用内存
1.2 驱除策略
1.3 元素过期
2 &nbs
- spring mvc中的@propertysource
jackyrong
spring mvc
在spring mvc中,在配置文件中的东西,可以在java代码中通过注解进行读取了:
@PropertySource 在spring 3.1中开始引入
比如有配置文件
config.properties
mongodb.url=1.2.3.4
mongodb.db=hello
则代码中
@PropertySource(&
- 重学单例模式
lanqiu17
单例Singleton模式
最近在重新学习设计模式,感觉对模式理解更加深刻。觉得有必要记下来。
第一个学的就是单例模式,单例模式估计是最好理解的模式了。它的作用就是防止外部创建实例,保证只有一个实例。
单例模式的常用实现方式有两种,就人们熟知的饱汉式与饥汉式,具体就不多说了。这里说下其他的实现方式
静态内部类方式:
package test.pattern.singleton.statics;
publ
- .NET开源核心运行时,且行且珍惜
netcome
java.net开源
背景
2014年11月12日,ASP.NET之父、微软云计算与企业级产品工程部执行副总裁Scott Guthrie,在Connect全球开发者在线会议上宣布,微软将开源全部.NET核心运行时,并将.NET 扩展为可在 Linux 和 Mac OS 平台上运行。.NET核心运行时将基于MIT开源许可协议发布,其中将包括执行.NET代码所需的一切项目——CLR、JIT编译器、垃圾收集器(GC)和核心
- 使用oscahe缓存技术减少与数据库的频繁交互
Everyday都不同
Web高并发oscahe缓存
此前一直不知道缓存的具体实现,只知道是把数据存储在内存中,以便下次直接从内存中读取。对于缓存的使用也没有概念,觉得缓存技术是一个比较”神秘陌生“的领域。但最近要用到缓存技术,发现还是很有必要一探究竟的。
缓存技术使用背景:一般来说,对于web项目,如果我们要什么数据直接jdbc查库好了,但是在遇到高并发的情形下,不可能每一次都是去查数据库,因为这样在高并发的情形下显得不太合理——
- Spring+Mybatis 手动控制事务
toknowme
mybatis
@Override
public boolean testDelete(String jobCode) throws Exception {
boolean flag = false;
&nbs
- 菜鸟级的android程序员面试时候需要掌握的知识点
xp9802
android
熟悉Android开发架构和API调用
掌握APP适应不同型号手机屏幕开发技巧
熟悉Android下的数据存储
熟练Android Debug Bridge Tool
熟练Eclipse/ADT及相关工具
熟悉Android框架原理及Activity生命周期
熟练进行Android UI布局
熟练使用SQLite数据库;
熟悉Android下网络通信机制,S