pts.blog

2014-08-16

On generating integer-sided triangles with an integer area/perimeter ratio

›
This blog post contains come comments about finding all triangles whose sizes are integers and the area/perimeter ratio is the integer r . T...
2014-08-12

How the lifetime of temporaries is extended because of references in C++

›
This blog post summarizes what I learned about C++ today about how the lifetime of temporaries is extended because of references. Normally ...
2014-07-29

How to discard committer info from git history

›
This blog post explains how to overwrite the git committer name, git committer e-mail and git committer date in previous commits in a git re...
2014-07-08

Programming tips for students

›
This blog post gives you advice to make the best use of your time for learning how to program and enjoying programming in your pre-college y...

Recommended books for programming students

›
This blog post lists the best books I can recommend to students who want to learn how to program. Please note that programming is more about...
2014-06-20

Message to the students

›
Dear Student, This is your life. Make it happy, productive and full for yourself! The smarter and more skilled you are, the more choices a...

What's the difference between StaticPython and PyRun?

›
This blog post explains the difference between StaticPython and PyRun . Both StaticPython and PyRun are free, portable binary distribution...
5 comments:
2014-04-26

How to parse an integer in C++ (and C) with overflow detection

›
This blog post explains how to write C++ code which parses integers, in a type-safe way for any integral type, paying attention to overflows...
9 comments:
2014-04-10

Announcing ssweb: single-shot webserver in Python

›
This blog post announces ssweb , a single-shot HTTP server library in Python 2.x. Single-shot means is that the webserver accepts only a sin...
2014-04-04

How to convert all YouTube links from http:// to https:// in Firefox history

›
This blog post explains how to convert the protocol from http:// to https:// in YouTube URLs in the browsing history of a Mozilla Firefox pr...
2014-01-19

How to run custom code before and after main in GCC?

›
This blog post explains how to register C or C++ code to be run at process startup (i.e. just before *main*) and process exit (e.g. when *ma...
3 comments:
2014-01-15

Announcing mplaylist: Audio playlist player using mplayer, with checkpointing

›
This blog post is the formal announcement of mplaylist , and audio playlist player using mplayer, with checkpointing. mplaylist is Python s...
1 comment:
2014-01-11

How to prevent YouTube from using HTTPS

›
This blog post explains how to configure your web browser (Mozilla Firefox or Google Chrome) to prevent YouTube from redirecting from the ht...
1 comment:
2014-01-10

How to remove almost all files from a Git repository

›
This blog post explains how to remove all files (including their history) from a Git repository, except for files in a whitelist. This can b...
1 comment:
2014-01-05

A short file size comparison of small libc implementations for Linux

›
This blog post gives a short executable file size comparison when the same statically linked, i386 ELF executable was compiled with various ...

Announcing pts-xstatic: A tool for creating small, statically linked Linux i386 executables with any compiler

›
This blog post announces pts-xstatic, a convenient wrapper tool for compiling and creating portable, statically linked Linux i386 executable...
2014-01-02

How to detect integer overflow in C and C++ addition and subtraction

›
This blog post explains how to detect integer overflow (and underflow) in C and C++ addition and subtraction, and it also gives example code...
2013-12-31

How to implement in-place set intersection in C++

›
This blog post shows and explains C++ source code implementing in-place set intersection, i.e. removing each element from a set (or another ...
‹
›
Home
View web version
Powered by Blogger.