blog.0xbbc.com
Jetson TX1的散热风扇问题 | 0xBBC
https://blog.0xbbc.com/2017/01/jetson-tx1-fan-not-working
判断温度,然后在 /sys/kernel/debug/tegra fan/target pwm. Shall we allow the fan to stop. Constant fan can stop. Minimal fan pwm value. Stop or minimize the fan if temp is below than thremal lower bound. 设定一个温度的下界 正常摄氏度的数值 * 1000 ,低于这个温度则最小或停止散热风扇. Thremal lower bound = 35000;. Maxmize the fan speed if temp exceeds. 设定一个温度的上界 正常摄氏度的数值 * 1000 ,高于这个温度则最大散热风扇的pwm值. Thremal upper bound = 50000;. 这一计算过程在 line 53 - 59. 本文为0xBBC原创, 转载注明 出处. Linear Vector Combination Problem. What's behind and beyond the congested network.
blog.0xbbc.com
Congested network笔记(1) | 0xBBC
https://blog.0xbbc.com/2016/12/congested-network-note-1
John Nash, Game Theory. AND THE MODERN QUEST FOR A CODE OF NATURE. 首先需要说明这里 Congested network 中的"network"并非专指计算机网络,它也可以是交通网络,人口迁移网络。 或者我们可以将这里的网络理解为 图 ,用 ( mathcal{G} )表示。 既然是图的话,那么必定少不了顶点、边,在这里,图 ( mathcal{G} )是由这些因素定义的 一组共有 (n mathcal{L} )条有向线段(link)的集合, ( mathcal{L} ),一组共有 (n mathcal{W} )个源点/终点对(O/D Pair)的集合, ( mathcal{W} )。 Nash equilibrium是博弈论中众多均衡的一种,它是一种非合作博弈均衡,即这种均衡假设了竞争者之间不存在合作,都采用 自私自利 的策略时,系统最终等达到的平衡状态。 假设这个网络 或可称为系统 总的需求(demand)是 (d ),并且对于第 (i )条线段上的流量记为 (x i )。 Mathcal{P} {2=(1,3,5)}. 我们通过凹函...
blog.0xbbc.com
0xBBC | 0xBBC
https://blog.0xbbc.com/author/0xbbc
Linear Vector Combination Problem. Linear Vector Combination Problem,即线性向量组合问题。 写这个其实是由前一篇 post 而来 从百鸡问题到数学思维. 继续阅读 Linear Vector Combination Problem. 这里从最最简单的算法开始一步一步讲如何优化,主要涉及的还是数学,Roger Bacon曾在 Opus Majus 写到. It is impossible to know things of this world unless you know mathematics. Roger Bacon Opus Majus. 本文是个人对 C 标准库里的 std: sort 函数的分析、解读。 LLVM libcxx release 37 algorithm. 即 Xcode 8.2.1 中所使用的版本。 而且那一行也不涉及到这里讨论的 std: sort 函数。 Sort4, sort5 的实现. 判断温度,然后在 /sys/kernel/debug/tegra fan/target pwm.
blog.0xbbc.com
Hack Space | 0xBBC
https://blog.0xbbc.com/category/hack-space
本文是个人对 C 标准库里的 std: sort 函数的分析、解读。 LLVM libcxx release 37 algorithm. 即 Xcode 8.2.1 中所使用的版本。 而且那一行也不涉及到这里讨论的 std: sort 函数。 Sort4, sort5 的实现. 判断温度,然后在 /sys/kernel/debug/tegra fan/target pwm. 就算是PIP只要有弹幕就没问题了吧 (/ / ). 之前写了个Safari Extension,可以 在macOS Sierra及以上系统中为bilibili启用画中画功能. 继续阅读 就算是PIP只要有弹幕就没问题了吧 (/ / ). 前两周住院用不了电脑,看到新的Touch Bar觉得还是很有趣的,一种新的交互方式,虽然暂时还没有接触到实物,but, why not? 于是今天就顺手写了个Touch Bar的小工具 CPUBar 虽然并没有什么用www. CPUBar可以让你在Touch Bar上开/关任意slave CPU core 我相信没人会想关掉master CPU core的. It's time to 2017.
blog.0xbbc.com
Congested network笔记(4) | 0xBBC
https://blog.0xbbc.com/2017/01/congested-network-note-4
在网络中有一个著名的理论 The Braess Paradox,布雷斯悖论。 在 A network efficiency measure for congested networks. Varepsilon= varepsilon( mathcal{G},d)= frac{ sum {w in mathcal{W} frac{d w}{ lambda w} {n { mathcal{W} }$. 在这个公式里, ( mathcal{G} )是一个网络拓扑。 Mathcal{W} )是具有 (n { mathcal{W} )个元素的源点/终点对(O/D Pair)的集合。 D w )是源点/终点对 (w )的需求。 Lambda w )则是源点/终点对 (w )在网络平衡时的最小花费。 那么 ( frac{d w}{ lambda w} )则是给定源点/终点对 (w )中,单位花费能够完成的需求。 若花费的计量方式是时间的话, ( frac{d w}{ lambda w} )可以看作是源点/终点对 (w )的吞吐量(thoughput)。 15 , text{GB/h}. Left { begin{al...
blog.0xbbc.com
It's time to 2017 | 0xBBC
https://blog.0xbbc.com/2017/01/it-is-time-to-2017
It's time to 2017. It's time to 2017" ). 回顾2016,参加了好几个比赛,ASC、Google Code Jam、HACK x FDU。 这样的方式跟过去的一年道别,一转眼现在都快出 Swift 4 了,不过个人也比较少做 iOS / macOS 的程序了。 于是2017年准备做的是数学、CUDA 和 Go 语言。 Hello 2017 from thread %d n" , i);. I count; i ) {. 本文为0xBBC原创, 转载注明 出处. What's behind and beyond the congested network. It's time to 2017 有6个想法. 新的一年也要萌萌哒哦. ゚ . ゚ .゚. Linear Vector Combination Problem. What's behind and beyond the congested network. It's time to 2017. 就算是PIP只要有弹幕就没问题了吧 (/ / ). 友链( (o(*゚ ゚*)o) ).
blog.0xbbc.com
Congested network笔记(3) | 0xBBC
https://blog.0xbbc.com/2017/01/congested-network-note-3
在 上一篇 Congested network笔记(2). Left { begin{align} frac{ partial mathcal{Z(F)} { partial underline{ mathcal{F} } cdot( mathcal{F}- underline{ mathcal{F} )& ge 0& forall mathcal{F} in S& text{ 最优解} mathcal{C}( mathcal{F} *) cdot( mathcal{F}- mathcal{F} *)& ge 0& forall mathcal{F} in S& text{ 均衡解} end{align} right.$. A= left( frac{ partial mathcal{C} i}{ partial mathcal{F} j} right)$. A= left( frac{ partial 2 mathcal{Z} { partial mathcal{F} i partial mathcal{F} j} right)$. Left { begin{align}x tAx& gt 0.
blog.0xbbc.com
留言☆〜(ゝ。∂) | 0xBBC
https://blog.0xbbc.com/biubiubiu
Linear Vector Combination Problem. What's behind and beyond the congested network. It's time to 2017. 就算是PIP只要有弹幕就没问题了吧 (/ / ). 友链( (o(*゚ ゚*)o) ).
blog.0xbbc.com
Jetson TX1入手(/ω\) | 0xBBC
https://blog.0xbbc.com/2017/01/jetson-tx1-get-daze
其实在去年12月10来号的时候,就已经决定要入手一个Jetson TX1做开发了,一方面是因为现在使用的MacBook自带的Intel(R) HD Graphics 515性能比较低,当时用waifu2x把一个720P的视频拉到了2560x1440,跑了两周多吧另一方面是想学习一些并行计算和机器学习的技术。 于是剁了一块SSD 下个月吃土吧 (: ). Jetson TX1刷系统没什么好说的,按照Nvidia的给的套路走就行,不过国内Jetpack L4T偶尔下载不了某些包 原因想必都懂 ,这时可以自己在repository.json中找一下对应的包,然后想办法手动下载到jetpack download里面。 比如cuDNN-v5.1.zip这个包,可以用wget下载repository.json中给出的url。 必要时还可以把repository.json、manifest.json、update.lock删掉,之后再辅以重启大法,为什么这么玄学. 这里我选择让它 /dev/sda 挂载到 /home/ubuntu/ssd 这个目录下 当然你得先建立这个目录 ,这个完全是出于个人偏好。
blog.0xbbc.com
RANDOM THOUGHTS(´-ω-`) | 0xBBC
https://blog.0xbbc.com/category/random-thoughts-ω
分类目录归档 RANDOM THOUGHTS( -ω-`). What's behind and beyond the congested network. 不知不觉,这次的 Congested Network, Equilibrium Flow, and System Optimal Flow 课程就结束了,这里面的数学上的细节就都在前几篇笔记中 估计还会有两三篇笔记,近期会整理出来 ,这一篇post大概是在上完这个课程之后的一些想法吧。 继续阅读 What's behind and beyond the congested network. 这是最近一周看了 TCP BBR 相关内容之后,站在自己 一个general developer 的角度所想,并非作为专研网络 控制论角度所写。 Linear Vector Combination Problem. What's behind and beyond the congested network. It's time to 2017. 就算是PIP只要有弹幕就没问题了吧 (/ / ). 友链( (o(*゚ ゚*)o) ).