LinkedIn Reddit icon

Jingnan Si's Blog

Programming, Graphics Rendering and Life

日常lvm和便宜硬件

使用便宜ssd引发的问题以及修复过程

闲聊在家办公的装备(三) – 我的DAS来了

在家办公装备,爱折腾的石头折腾的DAS系统

闲聊在家办公的装备(二) – 存储之NAS VS. DAS

在家办公装备,NAS和DAS共享到底重要不

闲聊在家办公的装备(一) – 存储及服务器系统

在家办公装备必须跟上啊,存储和服务器是有需求的

[ZT] 中年男人的掩耳盗铃

中年男人的掩耳盗铃

(续)Function static变量引发的血案

Function static variable的后续研究和例程

Function static变量引发的血案

函数静态变量引发的奇怪crash

最新版本未必好,记两个需要降级的问题

最新的kernel和软件版本不一定适合

Enable .local doman suffix on Linux

add .local doman suffix

Fix mdadm unable to activate array after upgrade kernel

mdadm soft raid fails after kernel upgrade

How to compare version string in a better way from shell command line

In shell command, compare version string in a better way

[ZT][历史随笔]唐诗七绝十大排名

summary

Draw thick lines in opengl core profile

Modern opengl (core profile), the line width is limited by system. In order to draw a free width line smooth, we draw multiple triangles to construct a thick line. pyopengl implmentation is at github: https://github.com/stonewell/code-snippets/tree/master/opengl%5Fthick%5Fline

Draw anti-alias circle at give point with specified radius using OpenGL Core profile

In modern opengl (core profile), there are a lot of tutorials on how to draw a circle using fragment shader, but most of lack of source code and only show how to draw at (0,0). This code piece draw circle at given center point with specified radius. pyopengl implementation is at github: https://github.com/stonewell/code-snippets/tree/master/opengl%5Fcircle

Calculate div and mod result between 2 uint64_t values without directly using / and % operator

calculate div and mod result between 2 uint64_t values without directly using / and % operator

Text Redering with OpenGL

Rendering 2d text with opengl, either using bitmap font or freetype library

Simplified Wrapper and Interface Generator

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby. The list of supported languages also includes non-scripting languages such as C#, Common Lisp (CLISP, Allegro CL, CFFI, UFFI), D, Go language, Java including Android, Lua, Modula-3, OCAML, Octave, Scilab and R.

Some interesting blog about security needs to be checkout

http://www.darkreading.com/ http://securityweekly.com/ http://www.technewsworld.com/perl/section/tech-security/ http://ddosattackprotection.org/blog/cyber-security-blogs/ https://heimdalsecurity.com/blog/best-internet-security-blogs/ http://www.rasmussen.edu/degrees/technology/blog/top-cyber-security-blogs/ http://www.veracode.com/blog/2012/02/top-20-security-blogs http://www.marblesecurity.com/2014/01/22/top-10-security-blogs/

Build your own render farm

To Build your own render farm Render Manager: http://cgru.info/home A blog page talking about how to built your own Render Farm: http://arstechnica.com/information-technology/2014/05/how-to-network-lots-of-dumb-computing-muscle-in-a-fast-efficient-render-farm/1/ a maya script for v-ray http://www.creativecrash.com/maya/script/v-ray-tuner-for-maya

[ZT] 拜服吧,关于唐诗的那些猛人猛事

关于唐诗的那些猛人猛事