相关推荐
STM32实战:手把手教你移植CanFestival协议栈(附完整代码)
本文提供了一份详尽的STM32平台移植CanFestival协议栈的实战指南。文章从工程搭建、定时器驱动、CAN硬件适配到对象字典配置,手把手讲解核心步骤,并附完整代码示例。重点剖析了时间管理、报文收发等关键环节的实现与常见问题解决方案,旨在帮助开发者深入理解并成功实现CANopen通信。
bash ps1变量_Bash Shell PS1: 10 Examples to Study Linux Prompt
\a an ASCII bell character (07)\d the date in "Weekday Month Date" format (e.g., "Tue May 26")\D{format} - the format is passed to strftime(3) and the result is inserted into the prompt string; an emp...
Oracle EBS R12 AP模块发票导入接口实战:从SQL插入到API调用的完整流程
本文详细解析了Oracle EBS R12 AP模块发票导入接口的完整流程,从SQL插入到API调用的实战技巧。涵盖接口表设计、数据验证、双通道导入机制及错误诊断,特别分享官方文档未提及的高阶优化方案,助力企业实现财务数字化转型。
ORA-12162: TNS:net service name is incorrectly specified
这样就不用经常执行 export ORACLE_SID=study 命令了。SQL plus 连接实例报错,已确定实例是open状态。修改 .bash_profile 文件。可能是没有指定正确的SID。
WindTerm 安装使用教程
WindTerm是一款Github上开源的 SSH 终端工具,它是完全可以比肩MobaXterm工具的。
ic后端学习笔记-floorplan
floorplan是布图规划,规划包括定义芯片的大小,定义芯片内各种模块、hard macros(硬核。比如RAM,ROM及其他IP模块等)、IO等的大小和位置,有时候还需要提前定义一些placement blockages,groups/regions等等,是后端设计的第一步,也是后续所有P&R工作的基础。floorplan与placement的区别是。
SHELL programing study in linux
# 显示文件中的前10行 (模拟“head”的行为) sed 10q # 删除文件中开头的10行 sed '1,10d' # 删除匹配式样的行 sed '/pattern/d's/a/b/g g:replace everyplace;without g:replace firsts:replace脚本内容如下: #!/bin/sh echo "number:$#" echo "scn
完整的申请邓白氏编码的流程(手把手教你申请邓白氏编码)
申请公司的苹果开发者账号和企业级的苹果开发者账号时,都会用到邓白氏编码,也就是我们申请苹果开发者账号时需要填写的D-U-N-S Number。 申请这个邓白氏编码是免费的,但是从像华夏邓白氏公司提交申请到可以申请苹果开发者账号来用这个9位的D-U-N-S Number,需要一段时间,我申请得到D-U-N-S Number,用了8个工作日(不算周末哦)
git - study
progit 这本书是官方的,权威。以下内容都是对这本书的读书笔记和实验的体会。这本官方的书,前半部分说git命令具体怎么用,后半部分说github怎么用 + git高级和细节的操作。因为作者就是github的人。能看完前半部分对自己有用的部分,就可以熟练用git命令来进行日常的git操作了。对于危险的git操作(e.g. 删除本地分支,删除远程分支,删除tag, rebase, reset), 最好不要做。如果非要做的话,最好找个靠谱的GUI工具来弄。
FPGA时钟设计陷阱:为什么你的MRCC引脚总触发Place 30-675错误?
本文深入解析FPGA开发中常见的Place 30-675错误,揭示MRCC引脚与时钟资源分配的关键问题。通过对比MRCC与普通IO引脚特性,分析错误根源,并提供时钟约束优化、IP核重配置和手动布局三套解决方案,帮助工程师规避时钟设计陷阱,提升FPGA系统稳定性。
图像处理:张量分解在图像处理领域的应用
随着计算机视觉和图像处理技术的快速发展,图像数据呈现出高维、多模态、海量等特点。传统的矩阵分解方法已经无法有效处理这些复杂的图像数据。张量分解作为一种高阶矩阵分解方法,可以很好地捕捉图像数据的高维结构信息,在图像处理领域展现出巨大的应用前景。本节介绍几种常用的张量分解算法,包括高阶SVD(HOSVD)、Tucker-ALS、CP-ALS等。这些算法的核心思想是通过迭代优化的方式,交替更新张量分解的因子矩阵,直到收敛为止。综上所述,本文系统地介绍了张量分解技术在图像处理领域的应用。
掌握HTTP协议的第一步:用http_study写下你的第一行OpenResty Lua脚本
学习 HTTP 协议最快的方式,就是亲手写一个能跑的 HTTP 服务。开源项目 http_study 正是一个为初学者打造的 HTTP 协议学习仓库:它配套《透视HTTP协议》课程,内置 OpenResty + Lua 实验脚本、Wireshark 抓包文件和 Docker 一键环境,让你从第一行 Lua 脚本开始,真正"看懂"每一次请求与响应。 ## 为什么选择 http_study 学习 H
npm install failed如何办?
上网搜索,说是网络配置不太对。按照如下几步,保证解决问题。在运行npm install指令时,出现如下错误。
bash 之备份文件
#!/usr/bin/bash #备份的目的目录 BACDIR="/home/wxr/backup" #备份的子目录每天备份在一个子目录下 SUBDIR=backup-$(date +%m%d%y) #备份的源目录 DIRS[0]="/home/wxr/workspace" DIRS[1]="...
大中型超市收银系统(可直接运行)
光步前台收银系统系统功能:商品销售、商品退货、挂单、收银员权限、会员销售、单品取消、整单取消、商品查询、脱机销售、脱机数据上传,基本资料下载,开钱箱、小票打印、收款结算,支持多币种付款方式(现金、储值卡、礼券、微信等),支持多种促销。运行环境:.net 4.0登陆信息用户名:1001 密码:123456内置商品信息,商品编码可输入00001000 - 00010000,测试效果相关功能键F5 结算 F9挂单 F11商品查询 F8退货 Insert单品取消 Del整单取消 F12开钱箱F2 会员 Ctrl+Z退出系统 Home 锁屏 相关源码待公开
最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版
Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。
2xx到5xx一网打尽:用http_study快速搞懂HTTP状态码的正确打开方式
还在背 HTTP 状态码?开源项目 **http_study** 是一个专为 HTTP 协议学习而生的实验环境(follow me to study http),基于 Nginx + OpenResty 构建,内置大量可交互的 Lua 实验脚本。它能让你在本机一键复现从 2xx 到 5xx 的各种状态码响应,配合 Wireshark 抓包文件,快速搞懂每个状态码背后的真实行为,是新手入门 HTTP
文档:亲测可用解决vnc灰屏,黑屏,鼠标大黑叉情况
主要解决vnc-viewer灰屏,黑屏,鼠标大黑叉等现象,详细见文档。
llama-nemotron-rerank-vl-1b-v2-fp8 vs BF16 基线:ViDoRe V3、KoViDoRe 视觉文档检索基准测试全解读
**摘要**:`llama-nemotron-rerank-vl-1b-v2-fp8` 是 NVIDIA 发布的 FP8 量化多模态重排(Rerank)模型,专为视觉文档检索与问答检索场景设计。本文全解读它在 ViDoRe V3、KoViDoRe、ZhViDoRe 三大基准上与 BF16 基线相比的表现:评测是怎么跑的、99%~100% 的得分意味着什么、以及如何用 vLLM 一键部署,帮助新手快
深度学习工具包 DeepLearningToolbox
深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[](https://bitdeli.com/free "Bitdeli Badge")
登录态到底怎么保存?http_study完整实战Cookie的一生
http_study 是一个基于 OpenResty + Nginx 的开源 HTTP 实战学习项目,本文带你完整走一遍 **Cookie** 的一生——从服务器首次下发 Set-Cookie、浏览器存储与自动携带,到 Max-Age 过期失效,彻底弄懂 Web 登录态到底是怎么保存的。 ## 一、为什么 Web 需要 Cookie?🔑 HTTP 协议是**无状态**的:每一次请求对服务器来
【Linux 嵌入式系列】开发板刷机实战记录--基于Study210开发板
【Linux 嵌入式系列】开发板刷机实战记录--基于Study210开发板 【1】基于串口的控制台搭建 【1.1】安装USB转串口驱动 未安装USB转串口驱动时设备管理器图示 成功安装USB转串口驱动时设备管理器图示 注意1,windows对USB设备的管理是和USB口有关的,每次把usb转串口线插到固定的USB口中,从而得到的COM口号码是不变的,方便后期使用;若每次胡乱更换插口则可能得到的COM口会变; 注意2,COM口号码是可以修改改的,可以强制占用显示“已使用”的COM号,一般改成
FreshRSS 的 HTTP Retry-After 限流机制:data/Retry-After 目录的存储设计与实现原理
在自托管的 RSS 聚合服务中,订阅源服务器常常会以 HTTP `429 Too Many Requests` 或 `503 Service Unavailable` 响应来实施限流(rate limiting),并附带 `Retry-After` 响应头告知客户端何时可以重试。如果聚合器无视这一信号立即反复抓取,不仅会加剧与上游服务器的冲突,还会白白消耗自身带宽与 CPU。FreshRSS 在
docker study
替换为你想要运行的容器镜像的名称或ID。这将显示你本地计算机上的所有 Docker 镜像,找到你刚刚构建的镜像并记下它的名称和标签。这将在容器内启动一个新的 Bash shell,使你能够同时在两个终端窗口中与容器进行交互。这将启动一个新的容器,并使你进入容器的交互式终端(通常是 Bash shell)。这将显示正在运行的容器列表,包括容器的 ID、名称、镜像、端口映射等信息。这将在后台启动容器,并返回容器的唯一标识符(Container ID)。一旦你进入了容器的终端,你可以在容器内运行各种命令。
shell 语法---study
SHELL
study
ARM学习博客: https://www.cnblogs.com/zhugeanran/archive/2018/02.html linux+ARM学习路线 学习步骤如下: 1、Linux 基础 安装Linux操作系统 Linux文件系统 Linux常用命令 Linux启动过程详解 熟悉Linux服务能够独立安装Linux操作系统 能够熟练使用Linux系统的基本命令 认识Linux系...
shell study
2019独角兽企业重金招聘Python工程师标准>>> ...
一个URL藏了多少秘密?http_study实战解析URI的五大组成部分
**http_study** 是一个「跟我一起学 HTTP」的实战项目,基于 OpenResty + Nginx 搭建本地实验环境,用真实请求拆解 URI、请求头、Cookie 等协议细节。本文将带你亲手解析 **URI 的五大组成部分**:协议(scheme)、主机(host)、端口(port)、路径(path)和查询串(query),并教你用一行 curl 命令验证它们。 ## 一张图看懂
HTTP协议实战从0到1:如何用http_study快速搭建自己的HTTP学习实验室(新手完整指南)
**http_study** 是一个帮助新手「跟着学 HTTP」的开源实战项目,配套《透视HTTP协议》课程的完整学习方案。它基于 Nginx/OpenResty 搭建了一个私人的 **HTTP协议实验室**:内置 HTTP、HTTPS、HTTP/2 三种服务的 Nginx 配置、多套 SSL 证书、30+ 个 Lua 示例脚本,以及用 Wireshark 抓好的报文文件,让你在一台电脑上就能完整
Git Study
Git 是一个开源的分布式版本控制系统Git 是为了帮助管理 Linux 内核开发而开发的一个版本控制软件。Git 与常用的版本控制工具 CVS, Subversion 等不同,它采用了分布式版本库的方式,不必服务器端软件支持。
273



被折叠的 条评论
为什么被折叠?



