More than code

More Than Code
The efficiency of your iteration of reading, practicing and thinking decides your understanding of the world.
ScummVM

ScummVM-Charm of Opensource

Charm of OpenSource hi hi, some simple talks here. Not really related to GSoC. Few days ago, sev told me that some one fixed my previous work of debugflags. I'm really surprising. I checked that PR, and got astonished that there are others helping me with thos…

2021年6月14日 0条评论 1017点热度 1人点赞 sheep 阅读全文
ScummVM

ScummVM-GSoC 2021/6/14

2021/6/14 We are at the end of the first week now, and i'm going to write a summary here for the tasks that i do in the past week Previously, i fixed the selection of mactext, and implement the basic text operations to mactext. so then i started to fix the tex…

2021年6月14日 0条评论 1013点热度 0人点赞 sheep 阅读全文
tech

RSS 快速上手

RSS快速上手 有关更全面的RSS介绍,大家可以看这个链接 我是因为在阅读途中发现步骤较为繁琐,于是就找了个简单的方法 同时也是因为RSS相关的软件与时间的关联性比较强,过期了有时候就不好用了 这里就给出一个可以迅速使用RSS的教程 很简单,打开你的chrome 打开应用,在chrome web store直接搜索RSS,看到这个 把他下载下来,然后在拓展里打开他,然后点击add feed,就可以添加你想要的看的网站的feed了,当然前提是那些网站要支持 这里推荐一个RSS资源推荐网站site 从里面复制了feed…

2021年6月12日 2条评论 1639点热度 0人点赞 sheep 阅读全文
ScummVM

ScummVM-GSOC 2021/6/11

2021/6/11 Still in the first week of GSoC, this blog is a record for a problem which confused me over day, and finally solved with help of sev wish to write more blogs which can help me with the communication skills let me describe more detailed here. few day'…

2021年6月11日 0条评论 1053点热度 0人点赞 sheep 阅读全文
ARTS

ARTS打卡 第五周

ARTS打卡 第五周 每周算法题,仍然是挑的这周的其中的一个每日一题 链接 具体的讲解已经发在我的博客中了,是一个对于动态规划优化的例子 博客 然后有关技术文章,上周看了看effective C++和极客时间中的现代C++,主要看了看资源管理和有关右值引用的部分,我也有总结到博客中 还有一个好消息是这周GSOC的项目正式开始了,所以我也会将更多的经历投入到ScummVM中,届时会更新在ScummVM中的工作更新到博客上 上周看书看的较少,比较罪恶 还有一个好消息是github打卡已经打满一个月了,这个比leetco…

2021年6月11日 0条评论 915点热度 0人点赞 sheep 阅读全文
daily

Daily C/C++ 算法小技巧-动态规划

算法小技巧-动态规划 这篇文章灵感来源于今天的leetcode的每日一题 题 其实就是很明显的多维的背包问题,但是题目问的是不少于minProfit的种类数 最开始我定义的转移方程是dp[i][j]表示i个人挣j的钱,然后最后再统计大于minProfit的方案数 但是超时了,看了题解后发现,应该定义dp[i][j]为i个人挣至少j的钱 那么这样我们最大k的枚举范围也才到minProfit,不需要枚举总共的sum 所以最终的答案就是dp[n][minProfit] 这里还有个小细节,就是如果最开始初始化只是dp[0]…

2021年6月9日 0条评论 874点热度 0人点赞 sheep 阅读全文
CSAPP

CSAPP LAB1

csappp_lab1 题解 1.bitxor 题目描述: bitXor - x^y using only ~ and & Example: bitXor(4, 5) = 1 Legal ops: ~ & Max ops: 14 Rating: 1 解题思路: 利用~和&生成^,简单拆分异或即可,并运用德尔摩根定律 代码: int bitXor(int x, int y) { return ~(~(x & ~y) & ~(~x & y)); } 2.tmin 题目描述…

2021年6月8日 0条评论 931点热度 0人点赞 sheep 阅读全文
其他

IEEE浮点表示

ieee浮点表示 ieee浮点表示用下式表示一个数 V=(-1)^S * M * 2^E + 符号 S表示这个数是正数(0)还是负数(1),由单独符号位s直接编码 + 尾数 M是一个二进制小数,由n位小数字段frac编码,同时还依赖阶码字段判断是否为0 + 阶码 E的作用是对浮点数进行加权,权重是2的E次幂,由k位的阶码字段exp编码 在单精度浮点数格式中,s,exp和frac字段分别为1位,k=8位和n=23位,得到一个32位的表示,而双精度浮点数中,在c语言中共64位,s,exp和frac字段分别为1位,k=1…

2021年6月8日 0条评论 876点热度 0人点赞 sheep 阅读全文
ScummVM

ScummVM-GSOC 2021/6/8

2021/6/8 First day of GSOC This is my first time to write a blog in English, hopefully there won't be many mistakes which will confuse others. Because of the school stuffs, i didn't managed to give a lot of time on ScummVM in past few weeks. But since GSOC is …

2021年6月8日 0条评论 980点热度 0人点赞 sheep 阅读全文
daily

Daily C/C++ 右值引用

右值引用 还是谈一谈我对右值引用的理解 有关右值引用的讲解网上有很多,这里就不在一一罗列了 右值引用,毫无疑问是用来解决冗余拷贝的问题的。 比如在拷贝构造函数里实现了深拷贝,那么在某些情况下我们就有可能重复的进行大量资源的拷贝,造成资源的浪费 C++的编译器有对这方面的优化,叫做RVO(return value optimization) 我们在函数返回的时候,不进行一次次的拷贝构造,而是直接将对象构造在他应该放的地方,从而省略了中途冗余的拷贝 但是这毕竟只是编译器做的优化,不能完全帮助我们优化性能,所以有的时候这…

2021年6月8日 0条评论 846点热度 0人点赞 sheep 阅读全文
1…3031323334
分类
  • Agent/RAG
  • ARTS
  • C++
  • CSAPP
  • daily
  • database
  • leetcode
  • linux
  • ml
  • nlp
  • paper
  • RL
  • rocksdb
  • rust
  • ScummVM
  • tech
  • 其他
  • 周报
  • 未分类
  • 笔记
  • 算法
  • 计算机图形学
归档
  • 2026 年 6 月
  • 2026 年 5 月
  • 2026 年 4 月
  • 2026 年 3 月
  • 2026 年 2 月
  • 2026 年 1 月
  • 2025 年 12 月
  • 2025 年 11 月
  • 2025 年 10 月
  • 2025 年 9 月
  • 2025 年 8 月
  • 2025 年 7 月
  • 2025 年 5 月
  • 2025 年 4 月
  • 2025 年 3 月
  • 2025 年 2 月
  • 2025 年 1 月
  • 2024 年 12 月
  • 2024 年 10 月
  • 2024 年 9 月
  • 2024 年 8 月
  • 2024 年 7 月
  • 2024 年 6 月
  • 2024 年 5 月
  • 2024 年 4 月
  • 2024 年 3 月
  • 2024 年 2 月
  • 2023 年 12 月
  • 2023 年 11 月
  • 2023 年 9 月
  • 2023 年 7 月
  • 2023 年 6 月
  • 2023 年 5 月
  • 2023 年 4 月
  • 2023 年 2 月
  • 2023 年 1 月
  • 2022 年 9 月
  • 2022 年 7 月
  • 2022 年 6 月
  • 2022 年 5 月
  • 2022 年 4 月
  • 2022 年 3 月
  • 2022 年 2 月
  • 2022 年 1 月
  • 2021 年 12 月
  • 2021 年 11 月
  • 2021 年 10 月
  • 2021 年 9 月
  • 2021 年 8 月
  • 2021 年 7 月
  • 2021 年 6 月
  • 2021 年 5 月
  • 2021 年 4 月
  • 2021 年 3 月
  • 2021 年 1 月
  • 2020 年 12 月

COPYRIGHT © 2021 heavensheep.xyz. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS