insanecoding.blogspot.com
Insane Coding: April 2013
http://insanecoding.blogspot.com/2013_04_01_archive.html
Coz good thinking requires going outside the box. Tuesday, April 2, 2013. Designing C functions to write/save to any storage mechanism. Posted by insane coder. Tuesday, April 02, 2013. A common issue when dealing with a custom object or any kind of data is to create some sort of save functionality with it, perhaps writing some text or binary to a file. So what is the correct C method to allow an object to save its data anywhere. Void save(const char *filename);. How about send the data over the network?
insanecoding.blogspot.com
Insane Coding: Dealing with randomness
http://insanecoding.blogspot.com/2014/05/dealing-with-randomness.html
Coz good thinking requires going outside the box. Tuesday, May 20, 2014. Posted by insane coder. Tuesday, May 20, 2014. Two weeks ago, I wrote an article. Regarding randomness on UNIX systems and libraries. In it, I dealt with some theoretical API issues, and real world issues of libraries being horribly misdesigned. Today I'd like to focus more on the current state of things, and further discuss real world problems. Essentially, we're left with trying to do our best, without really being able to ensure ...
insanecoding.blogspot.com
Insane Coding: May 2014
http://insanecoding.blogspot.com/2014_05_01_archive.html
Coz good thinking requires going outside the box. Wednesday, May 21, 2014. Posted by insane coder. Wednesday, May 21, 2014. I've recently covered some issues with LibreSSL. And some common porting mistakes. Since these articles came out, I've noticed two broken ports I saw prior seem to have vanished. One port has seen significant improvement in response to these articles, although still has significant concerns. And worst of all, more ports are popping up. The official team has since reiterated. Child p...
insanecoding.blogspot.com
Insane Coding: A good idea with bad usage: /dev/urandom
http://insanecoding.blogspot.com/2014/05/a-good-idea-with-bad-usage-devurandom.html
Coz good thinking requires going outside the box. Saturday, May 3, 2014. A good idea with bad usage: /dev/urandom. Posted by insane coder. Saturday, May 03, 2014. Last week, I wrote two. Pointing out issues with unofficial porting efforts of LibreSSL. In these articles, I highlighted some issues that I currently see going on with some of these projects. In the second article, I called attention to poor arc4random buf(). Implementations being created, specifically saying: ". Using poor sources of entropy.
insanecoding.blogspot.com
Insane Coding: Hashing out Hashing and Hash Libraries
http://insanecoding.blogspot.com/2007/05/hashing-out-hashing-and-hash-libraries.html
Coz good thinking requires going outside the box. Wednesday, June 13, 2007. Hashing out Hashing and Hash Libraries. Posted by insane coder. Wednesday, June 13, 2007. This topic is one that I enjoy quite a bit, but unfortunately there is a lot of problems out there. I'm sure everyone has heard of hashing before, but many are not quite sure what it is, how it works, why it's used, or the various uses for it, and why are there so many hashing algorithms. Why not flip every other bit here? Since hashing code...
insanecoding.blogspot.com
Insane Coding: What's really wrong with systemd?
http://insanecoding.blogspot.com/2014/10/whats-wrong-with-systemd.html
Coz good thinking requires going outside the box. Thursday, October 2, 2014. What's really wrong with systemd? Posted by insane coder. Thursday, October 02, 2014. Unless you've been living under a rock or on a park bench during the past two years, you've probably heard of systemd. Involved. You probably also have also heard about some new. Now instead of boring you with long lengthy arguments and debatable concepts and anecdotes, I'm going to boil the core problem with systemd down to two simple points:.
insanecoding.blogspot.com
Insane Coding: February 2014
http://insanecoding.blogspot.com/2014_02_01_archive.html
Coz good thinking requires going outside the box. Saturday, February 15, 2014. HTTP 308 Incompetence Expected. Posted by insane coder. Saturday, February 15, 2014. The Internet from every angle has always been a house of cards held together with defective duct tape. It's a miracle that anything works at all. Those who understand a lot of the technology involved generally hate it, but at the same time are astounded that for end users, things seem to usually work rather well. Some browser or server would i...
insanecoding.blogspot.com
Insane Coding: April 2014
http://insanecoding.blogspot.com/2014_04_01_archive.html
Coz good thinking requires going outside the box. Wednesday, April 30, 2014. Common LibreSSL porting mistakes. Posted by insane coder. Wednesday, April 30, 2014. The other day I wrote an article. So here is a more verbose explanation of some of the most common problems I'm seeing:. This function needs to ensure it cannot be optimized out. However, several projects are either using macros to define explicit bzero. Or are wrapping explicit bzero(). Without using any optimization parameters. Is supposed to ...
insanecoding.blogspot.com
Insane Coding: LibreSSL: The good and the bad
http://insanecoding.blogspot.com/2014/04/libressl-good-and-bad.html
Coz good thinking requires going outside the box. Sunday, April 27, 2014. LibreSSL: The good and the bad. Posted by insane coder. Sunday, April 27, 2014. Recently forked the popular SSL/TLS. Most of the reaction to this that I've seen tends to be pretty angry. People don't like the idea of a project being forked, they'd rather people work together, and have the OpenBSD team instead join OpenSSL. Ensuring libraries work correctly for tons of cases which are difficult to test for, and where unit tests cann...
insanecoding.blogspot.com
Insane Coding: October 2014
http://insanecoding.blogspot.com/2014_10_01_archive.html
Coz good thinking requires going outside the box. Thursday, October 2, 2014. What's really wrong with systemd? Posted by insane coder. Thursday, October 02, 2014. Unless you've been living under a rock or on a park bench during the past two years, you've probably heard of systemd. Involved. You probably also have also heard about some new. Now instead of boring you with long lengthy arguments and debatable concepts and anecdotes, I'm going to boil the core problem with systemd down to two simple points:.