What I Touched

A collection of 162 articles

What I Touched This Week 2017-04-24

Programming Functional programming design patterns by Scott Wlaschin - YouTube. Introduction to basic concepts in FP. Working Of Yarn and npm – Rajan Tiwari – Medium. Why yarn is better than npm. Hard-won lessons: Five years with Node.js | Scott Nonnenberg. Tips and gotchas. NASA’s 10 Coding Rules for Writing Safety Critical Program - RankRed. Good references. Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. Performance Tuning Performance test frameworks: Gatling Load and Performance testing using Java, and Locust using Python. Android performance tool: Tegra Graphics Debugger from NVIDIA and Snapdragon Profiler from Qualcomm. Twitter Lite and High Performance React Progressive Web Apps at Scale and how to improve Infinite List and React. The performance metric Flame Graphs used in the post, and chrome addons for React performance test Game Development Quaternion Rotation - YouTube. Explanation of Quaternion. Godot Engine - Free and open source 2D and 3D game engine. Yet another game engine.

Updated  •  2 min read

What I Touched This Week 2017-04-16

各种加密代理协议的简单对比 – Yachen Liu 比较了常用的 HTTPS,SOCKS5-TLS 和 shadowsocks 等加密协议。 ChrisRx/dungeonfs: A FUSE filesystem and dungeon crawling adventure game engine. Brilliant to map MUD game to filesystem. TypeScript at Slack. How Slack migrate to TypeScript and the migration guidance. Fast Drawing for Everyone. It can suggest nice clipart according to drawing. Shields.io: Quality metadata badges for open source projects. All in one place to find badges for the project. Robert Haas: New Features Coming in PostgreSQL 10. Many features for distributed PostgreSQL. Use JetBrains Rider as Unity3D C# IDE. Wedding at Scale: How I Used Twilio, Python and Google to Automate My Wedding 树莓派入门指南 很详尽,很全面。 他热衷拍摄人与建筑的微妙关系,为了不同视角冒险爬上城市高空。 热衷于「爬楼」拍摄的独立摄影师的访谈。 Read a specific length data from socket in Python Use a memoryview to wrap your bytearray: buf = bytearray(toread) view = memoryview(buf) while toread: nbytes = sock.recv_into(view, toread) view = view[nbytes:] # slicing views is cheap toread -= nbytes

Updated  •  1 min read

What I Touched This Week 2017-02-20

I had to work on Windows for a project, thus did some research to make it suck less. Visual Studio product name and internal version numbers The ultimate guide to Windows 10 keyboard shortcuts | Windows Central Delete lang directory to force vim to use English. How to Drag Files to the Taskbar to Open Them in Windows 7 VC++ package manager which can be used with cmake. 开始分享一些 Lua 的心得,这是第一篇 Lua C API 简介…

Updated  •  1 min read

What I Touched This Week 2017-02-12

This week I have worked on Lua API of Sentry using its Objective-C and Android client. Add extern "C" around Lua C function in header compiled as Objective-C. LuaJavaBridge - Lua 与 Java 互操作的简单解决方案 是很详细的在 Cocos2d-x Lua 中调用 Java 方法的文章。不过有个地方已经过时了,就是 Java 的方法可以接收和返回 HashMap, 和 Vector (用 ArrayList 也可以)两种复杂变量的。有一些限制,调用的时候 Lua 不能传 nil,HashMap 对应的 Lua table 的 key 和 value 都会转成 String,在 Java 中可以强转成 HashMap<String, String>。Vector 对应的 Lua table 会当成是 list,所有成员也会转成 String,在 Java 中可以强转成 Vector<String>。对应的类型签名如下 Ljava/util/HashMap; Ljava/util/Vector; Ljava/util/ArrayList; Sentry-Android is an open source library to report errors in Android apps to Sentry. It is better than official Java library in my opinion.

Updated  •  1 min read