Bryce Boe

The Adventures of a UCSB Computer Science Ph.D. Student

Skip to: Content | Sidebar | Footer

Tag: C

Properly Handling the Keyboard Interrupt Exception (SIGINT) within a Python C Module

14 September, 2010 (23:54) | General | By: Bryce Boe

Recently I’ve done a lot of work requiring heavy computation on large datasets. While python is not a great choice for speed, it can be extended by modules written in C for those speed critical moments. For such moments I always try to find solutions written as C modules. This approach works very well save [...]

Telnet-like client

22 September, 2007 (10:17) | General | By: Bryce Boe

Using the methods I discussed previously I wrote a telnet-like client which can be used to communicate with any type of text based server such as mail and web servers. The following isn’t 100% perfect as it doesn’t handle early returns from send as I wasn’t able to properly test this behavior. 1 2 3 [...]

Signal Handling and Select in C

2 September, 2007 (18:26) | General | By: Bryce Boe

Two weeks ago I started a journey to read a textbook cover to cover so that I’ll be ready for the research I will be assisting with. Since I have yet to take a networking class I am a bit behind where I need to be, but that’s not a problem as I learn rather [...]