mitos riscv for xv6

【Azure 应用服务】App Service for Linux 环境中为Tomcat页面修改默认的Azure 404页面

问题描述 在App Service Linux环境中,如部署Tomcat 应用后,如果访问的页面找不到,应用会返回一个由Azure生成的404页面,那么是否可以修改它呢? PS: 如果是App Service for Windows,可以参考博文 [ App Service for Windows ......
页面 Azure 应用服务 Service 环境

Educational Codeforces Round 150 (Rated for Div. 2) B. Keep it Beautiful

数组 \(a = [a_1, a_2, \cdots, a_n]\) 被称为是美丽的,如果可以将 \([1, x]\) 段移到 \([x + 1, n]\) 段后面,\(x \geq 0\) ,数组可以构成非降序。 现在有一个数组 \(a\) (一开始为空)和 \(q\) 个询问,第 \(i\) 个 ......
Educational Codeforces Beautiful Round Rated

Conditional Probability Models for Deep Image Compression

深度神经网络被训练来作为图像压缩的自动编码器是一个前沿方向,面临的挑战有两方面——量化(quantization)和权衡reconstruction error (distortion) and entropy (rate),这篇文章关注后者。 主要思想是使用上下文模型直接对潜在表示的熵建模;3D- ......

Go - Changing the Timing for Running Performance Tests

Problem: You want to run performance tests for a specific duration or a specific number of iterations. Solution: You can increase the minimum duration ......
Performance Changing Running Timing Tests

Go - Generating Random Test Inputs for Tests

Problem: You want to generate random test data for running your test functions. Solution: Use fuzzing , which is an automated testing technique to gen ......
Generating Random Inputs Tests Test

Internet-augmented language models through few-shot prompting for open-domain question answering阅读笔记

Internet-augmented language models through few-shot prompting for open-domain question answering 其实我没怎么正经读过论文,尤其是带实验的,我目前认真读过的(大部头)也就是一些LLM的综述。记录这个文档主 ......

xv6 traps

trap: 在xv6操作系统中,"trap"是指程序从用户态切换到内核态的一种机制。这种切换通常会在几种情况下发生,例如:系统调用、出现页错误(page fault)或者外部设备触发了中断。Trap机制是通过一些特定的硬件指令和硬件状态来实现的,例如修改程序计数器(PC)的值,以便将程序的控制权转移 ......
traps xv6 xv

论文阅读 Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection

原始题目:Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection 中文翻译:Generalized Focal Loss:学习用于密集目标检测的 Qual ......

Program does not contain a static 'Main' method suitable for an entry point

http://www.kangry.net/blog/?article_id=391&type=article 修改办法,对着项目右键-》属性-》application-》output type设为Class Library即可。 ......
suitable Program contain method static

3D Math for Graphics and Game笔记

这个机器人的原点在世界坐标系下的(4.5,1.5),而她右肩膀上的那个灯的模型坐标系为(-1,5),怎样计算这个灯的世界坐标呢? 开始: 获取原点,这个原点为(4.5,1.5) 向右移动一个位置,机器人的"左边"是[0.87,0.50],这样得到的位置为(4,5,1.5) + (-1)X[0.87, ......
Graphics 笔记 Math Game for

Educational Codeforces Round 152 (Rated for Div. 2) B. Monsters

有 \(n\) 个怪物,第 \(i\) 个怪物的血量为 \(a_i\) 。英雄一次攻击可以造成 \(k\) 点伤害,但只会攻击当前生命值最高的怪物。若有多个最高血量的怪物,则选择编号最小的怪物攻击。当怪物的血量 \(\leq 0\) 时则被消灭。 输出一个排列,表示怪物被消灭的编号顺序。 容易想到, ......
Educational Codeforces Monsters Round Rated

Go - Using Templates for Go Web Applications

Problem: You want to use Go’s templating system to create a web application. Solution: Use the html/template package to create a web application. pack ......
Applications Templates Using Go for

使用 'for' 循环遍历字典

内容来自 DOC[ https://q.houxu6.top/?s=使用 'for' 循环遍历字典](https://q.houxu6.top/?s=使用 'for' 循环遍历字典) d = {'x': 1, 'y': 2, 'z': 3} for key in d: print(key, '对应于 ......
字典 39 for

怎么避免v-for和v-if一起使用

背景 接手了别的项目,然后打开一个文件,看到了有个error提示信息。 大概是说不能同时使用v-for和v-if。 具体如下截图所示: 为啥不能同时使用? 其实,不能同时使用的原因,主要是会存在性能问题。 那怎么优化呢? 方法一 详情请查看: 怎么避免v-for和v-if一起使用 ......
v-for v-if for if

antd for vue3 table 使用rowClassName设置样式固定列不生效

依赖库版本 : Vue 3 + antd for vue v3. X 样式问题 :固定列背景色不生效,鼠标移入对应行背景色变为初始的白色 columns: [ { title: '装置', width: 100, dataIndex: 'areaName', fixed: 'left' }, ... ......
rowClassName 样式 table antd vue3

Django中出现报错:TypeError: unsupported operand type(s) for /: 'str' and 'str' 时的解决办法

如果遇到上述报错情况 解决办法: 1、点击报错路径,进入源码 2、将' / '替换为' , ' 3、再次运行Django 问题解决。 ......
39 unsupported TypeError str operand

[Compose] Callback is not suitable for Async programming

An example of callback implemnetation for handling async flow: function fakeAjax(url, cb) { var fake_responses = { file1: "The first text", file2: "Th ......
programming Callback suitable Compose Async

ORA-12899: value too large for column

Errors in file /lbc/lionrdb/app/product/diag/rdbms/cnlionrdb/lionrdb02/trace/lionrdb02_j000_242326.trc: ORA-12012: error on auto execute of job 3964 O ......
column 12899 value large ORA

《Deep Residual Learning for Image Recognition》阅读笔记

论文标题 《Deep Residual Learning for Image Recognition》 撑起CV界半边天的论文 Residual :主要思想,残差。 作者 何恺明,超级大佬。微软亚研院属实是人才辈出的地方。 初读 摘要 提问题: 更深层次的神经网络更难训练。 提方案: 提出了残差网络 ......
Recognition Residual Learning 笔记 Image

论文阅读(四)—— Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognition

![image](https://img2023.cnblogs.com/blog/3279428/202310/3279428-20231016232154691-2008412580.png) ![image](https://img2023.cnblogs.com/blog/3279428/2... ......

Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation

Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation 关键词:GRU、Encoder-Decoder 📜 研究主题 提出了Encoder-Decoder结构,采用两 ......

论文:Very deep convolutional networks for large-scale image recognition-VGG

论文名: Very deep convolutional networks for large-scale image recognition "用于大规模图像识别的深度卷积网络" 了解VGG模型 研究问题: 研究方法: 主要结论: 模型: 问题: 行文结构梳理: ......

Educational Codeforces Round 154 (Rated for Div. 2) B. Two Binary Strings

给定两个长度相等的 \(01\) 字符串 \(a\) 和 \(b\) 。每个字符串都是以 \(0\) 开始以 \(1\) 结束。 在一步操作中,你可以选择任意一个字符串: 选择任意两个位置 \(l, r\) 满足 \(s_l = s_r\) ,然后让 \(\forall i \in [l, r], ......
Educational Codeforces Strings Binary Round

Educational Codeforces Round 155 (Rated for Div. 2) B. Chips on the Board

给一个 \(n \times n\) 的棋盘,和两个大小为 \(n\) 的 \(a\) \(b\) 数组。\(a_i\) 代表第 \(i\) 列的权值,\(b_i\) 代表第 \(i\) 列的权值。坐标 \((i, j)\) 的权值为 \(a_i + b_j\) 。 现在需要放若干个芯片和到棋盘上, ......
Educational Codeforces Chips Board Round

[论文阅读] Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization

Exact Feature Distribution Matching for Arbitrary Style Transfer and Domain Generalization 论文源码:https://github.com/YBZh/EFDM 1. Introduction 传统的特征分布匹配 ......

2D物理引擎 Box2D for javascript Games 第四章 将力作用到刚体上

2D物理引擎 Box2D for javascript Games 第四章 将力作用到刚体上 将力作用到刚体上 Box2D 是一个在力作用下的世界,它可以将力作用于刚体上,从而给我们一个更加真实的模拟。 但是,如果你想要移动刚体,发射子弹,抛掷小鸟,驾驶汽车和当你在玩物理游戏时你看到的一切令人起劲的 ......
刚体 力作 javascript 物理 引擎

Educational Codeforces Round 153 (Rated for Div. 2) A. Not a Substring

给一个长度为 \(n\) 的括号字符串 \(a\) 。你需要构造一个长度为 \(2n\) 的合法括号字符串 \(b\) ,且满足 \(a\) 不是 \(b\) 的子串。或者回答不可能。 显然若 \(a = ()\) ,则一定不可能构造出 \(b\) ,否则可以。 观察到合法括号穿串中, \(()() ......
Educational Codeforces Substring Round Rated

论文阅读(三)——Channel-wise Topology Refinement Graph Convolution for Skeleton-Based Action Recognition

代码 实验 python main.py --config config/nturgbd-cross-subject/default.yaml --work-dir work_dir/ntu/csub/ctrgcn --device 0 --num-worker 0 综述 ......

ABC159F Knapsack for All Segments

原题 翻译 \(O(n^3)\) 的朴素 \(dp\) 是 simple 的 考虑定义一个子序列是”好的子序列”当且仅当 \(a_l\) 和 \(a_r\) 都在子序列中,容易发现他对答案的贡献是包含他的区间,即 \(l \times (n - r + 1)\) 先说我自己的做法:设 \(dp_{i ......
Knapsack Segments 159F ABC 159

[Ubuntu 20.04] 修复‘systemd-shutdown[1]: waiting for process: crond’需等待1分半钟的问题

由于在2020-2021年期间下载过Linux版本的Free Download Manager(简称FDM,一款免费但不开源的跨平台下载工具),而该软件的官网被挂了木马,因此在此期间下载安装过FDM的Linux用户,其定时任务crond中都被挂上了木马。 具体现象为,关机时需要等待1分30秒,系统显 ......