Posts by Tag

Rails

Ensuring the file uploaded by Refile

less than 1 minute read

Refile is an neat and simple file upload library for Ruby applications. It can be easily to integrated into Rails app. Be advised, I am on its git version 6a...

Binding ACE editor with Rails form helper

1 minute read

ACE editor only can bind with a div container which means rails form helper can’t help when you want to bind with an attribute. I am going to work through my...

Back to top ↑

Python

How PyTorch implements DataParallel?

10 minute read

PyTorch can send batches and models to different GPUs automatically with DataParallel(model). How is it possible? I assume you know PyTorch uses dynamic comp...

Digging in Python iterator and enumerate

4 minute read

When a PyTorch DataLoader repeat its data? Why it’s so magical and impossible to see in its code. It is implemented as an iterator in Python. Pythonic but im...

Back to top ↑

Wiki

Complicated Wikipedia Scripts Management

1 minute read

After MediaWiki 1.23/wmf3 had been deployed to all Wikimedia sites, old collapse element didn’t work any more on zhwikipedia. The administrator Liangent dele...

Back to top ↑

MediaWiki

Complicated Wikipedia Scripts Management

1 minute read

After MediaWiki 1.23/wmf3 had been deployed to all Wikimedia sites, old collapse element didn’t work any more on zhwikipedia. The administrator Liangent dele...

Back to top ↑

Mechanize

Back to top ↑

Linux

Adding a system call to Linux 3.14

4 minute read

There are plenty of blog posts about adding a system call to Linux 2.6, but they are out of date now. Here is a article about adding a system call to Linux 3...

Back to top ↑

GFW

Back to top ↑

Bundler

Back to top ↑

JavaScript

Binding ACE editor with Rails form helper

1 minute read

ACE editor only can bind with a div container which means rails form helper can’t help when you want to bind with an attribute. I am going to work through my...

Back to top ↑

ACE

Binding ACE editor with Rails form helper

1 minute read

ACE editor only can bind with a div container which means rails form helper can’t help when you want to bind with an attribute. I am going to work through my...

Back to top ↑

Ruby

Ensuring the file uploaded by Refile

less than 1 minute read

Refile is an neat and simple file upload library for Ruby applications. It can be easily to integrated into Rails app. Be advised, I am on its git version 6a...

Back to top ↑

Gem

Ensuring the file uploaded by Refile

less than 1 minute read

Refile is an neat and simple file upload library for Ruby applications. It can be easily to integrated into Rails app. Be advised, I am on its git version 6a...

Back to top ↑

Web

Hooray, Webhooks

2 minute read

Webhooks are “user-defined HTTP callbacks” brought by Jeff Lindsay. While it’s augmented for some time, it comes to my sight because of continuous integratio...

Back to top ↑

Unicode

Bridging ICU with Ruby

2 minute read

Chinese Discourse users have more complains to the text problems. A community software induce users to read and write which certainly deals with texts. Numer...

Back to top ↑

Tip

Back to top ↑

Programming Language

Back to top ↑

Pattern Recognition

Back to top ↑

Artificial Intelligence

Back to top ↑

Programing language

Digging in Python iterator and enumerate

4 minute read

When a PyTorch DataLoader repeat its data? Why it’s so magical and impossible to see in its code. It is implemented as an iterator in Python. Pythonic but im...

Back to top ↑

Psychology

Take it slow in life

4 minute read

Internet profoundly changes human life. I read a magazine when I was a kid. It says “Everything at your fingertip.” This refers to the internet. It finally b...

Back to top ↑

Development

Take it slow in life

4 minute read

Internet profoundly changes human life. I read a magazine when I was a kid. It says “Everything at your fingertip.” This refers to the internet. It finally b...

Back to top ↑

Programing

Back to top ↑

Science

Back to top ↑

PyTorch

How PyTorch implements DataParallel?

10 minute read

PyTorch can send batches and models to different GPUs automatically with DataParallel(model). How is it possible? I assume you know PyTorch uses dynamic comp...

Back to top ↑

Programming

How PyTorch implements DataParallel?

10 minute read

PyTorch can send batches and models to different GPUs automatically with DataParallel(model). How is it possible? I assume you know PyTorch uses dynamic comp...

Back to top ↑

Society

Back to top ↑

Wikimedia

Back to top ↑

Computers

Back to top ↑

Runtime

WebAssembly vs. JVM: An Informal Peek

3 minute read

Recently, WebAssembly (WASM) has gained traction as a reference runtime, providing a way to run programs written in different programming languages. However,...

Back to top ↑

Latency

Latency values for programmers in 2024

1 minute read

Latency matters in software. As hardware evolves, the assumptions we make about computer systems must evolve with it. Programs often spend time waiting—on di...

Back to top ↑