Logo

Hawk Software

Programming, web design, and more

Recent Posts

Category

Archives

Meta

Phil’s Accessibility Guidelines

Accessibility, Web Design No Comments

I wanted to share some basic accessibility guidelines I created a few years to share with some other web developers I work with.

  • Don’t use tables for layout, use CSS.
  • Don’t use font tags, use CSS.
  • Don’t use <b></b> to emphasize words, use <strong></strong> instead. Read the rest of this entry »

Ask Phil – Porting sockets to WIN64

Programming No Comments

Pat asked me a while back:

I need to port code to WIN64.  Sockets descriptors are now 64 bits on WIN64 (type SOCKET). Socket API now uses the SOCKET type.  The problem I have is that the code I need to port uses I/O function read, write and close giving the socket file descriptor to to the operations.  Those functions are still using a 32 bits descriptor.

What would be the clean way to port ?

Is it a problem now to use the socket descriptor as a file descriptor ?

Why is the socket descriptor need to be 64 bits ?  I don`t see any gain…

My Reply: Read the rest of this entry »

C is for Control

Programming No Comments

Hi, my name is Phil Frisbie, and I am a control freak.  I prefer autos with manual transmissions, and when driving my wife’s car I look for any excuse to put the auto transaxle into manual mode (honey, downshifting on this mountain road will save the brakes).  And while I use a lot of JavaScript and PHP for web development, my preference is still C.

Read the rest of this entry »

Ask Phil – Using GSM Codec

Programming 1 Comment

Terry asks:

hello,i need your help about gsm 06.10. thanks for your code but i don’t know built it become a program which record/play file .gsm ( or .au, . wav) ,can you help me rebuilt it by VC++. Thanks so much. good luck!!

My reply: Read the rest of this entry »

Windows 7 or Ubuntu Linux?

News, Programming No Comments

Today is the official launch of Windows 7 and the media coverage is surprisingly low key.  From all the positive reviews it sounds like Windows 7 will do well.  Microsoft seems to have removed or toned down the most annoying features of Vista; perhaps many businesses will finally take the plunge and upgrade from XP!  But not me!  I am going to go the Ubuntu Linux route. Read the rest of this entry »