Jeff Linse

  • HOME
  • About Me
  • My Projects
  • Contact Me

Archive for the ‘ Development ’ Category

Creating a Tree Structure within a CakePHP Model

  • October 5th, 2008
  • Posted in Development . PHP

My assumption going into this was that creating a tree-like relationship within one of my models would be fairly straightforward with Cake’s model relationships.  As it turns out, I was absolutely correct. Let’s say we want to create a model called “Category”, and each category can belong to a parent category.  In other words, we [ READ MORE ]

10 Useful PHP Functions You May Not Have Known About

  • September 15th, 2008
  • Posted in Development . PHP

10. get_browser() This function comes in handy when collecting information about a user’s browser to determine the content capabilities for that user.  It returns an associative array containing information such as the browser type, version, whether or not it is capable of handling frames, cookies, and javascript, and the platform on which the browser is [ READ MORE ]

malloc() Causes a Segfault at _malloc_unlocked

  • August 27th, 2008
  • Posted in C/C++ . Development

I ran into a strange bug this week in the code to the C project I’ve been working on.  Seemingly randomly, I was encountering a segfault in a call to malloc() while allocating memory for a new struct.  The problem had me completely baffled, and web searches turned up no useful information, since most people [ READ MORE ]

  • «
  • 1
  • 2
  • 3
  • 4
  • 5
  • »

About Me

I'm Jeff, a software engineer in Seattle, WA.

Recent

  • I Just Wouldn’t Stand It Anymore
  • SSE Tech Talk on Functional Programming
  • New Hosting Provider
  • How to Maintain Simple, Static Pages in CakePHP
  • Functional Programming, Here I Come!

Not So Recent

  • June 2010
  • March 2010
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • January 2009
  • October 2008
  • September 2008
  • August 2008
  • June 2008

Categories

SEARCH

TAG LIST
  • memcpy
  • memory
  • malloc
  • hexadecimal
  • functions
  • hex
  • model
  • number
  • printf
  • programming
  • oriented
  • octal
  • object
  • oct
  • format
  • error
  • code
  • association
  • arguments
  • convert
  • calendar
  • dec
  • element
  • decimal
  • cakephp
  • function
  • tutorial
  • cake
  • PHP
  • c
  • Copyright ©  2008-2010  Jeff Linse