Friday night (e:paul) and I finished a quick PHP script for Meredith and one of her clients. Basically she wanted to call a script that took a specific SQL query and have the results placed in a CSV file, with a log of successes and failures.
Writing the initial version of the script was straight forward logic-wise, although I did have some trouble connecting to a Azure MSSQL server. After the database was changed to a MySQL database, it worked perfectly.
Then I sat down with Paul and we worked on making it object oriented, fully commented and documented, completely abstracted and reusable. It was really satisfying to take something simple like that and flesh it out fully. The auto-PHPdocs are really cool. I've gotten paid for programming jobs before but that was probably the cleanest job I've worked on.
I really want to work on more freelance type scripting jobs now that I have a better idea of how to setup a good workflow.
[bgcolor]#bcfeff[/bgcolor]
Joe's Journal
My Podcast Link
04/21/2014 12:31 #58928
CSV WriterCategory: programming
04/20/2014 23:14 #58926
Easter dinnerCategory: holiday
Easter dinner was amazing. I went home to my parents, where we had so many friends and relatives over.
There was a bunch of delicious Lebanese food like taboleh and spinach pies. We had cake to celebrate 314 years of birthday.
My mom got me an easter basket - Ill try and keep the candy addiction away.
04/20/2014 01:50 #58919
Premature liver spotsCategory: health
What is this? I don't know. Liver spots? Huves? these spots were not here before. (e:tinypliny) where are you?
joe - 04/23/14 12:54
Nope, nothing! They're slowly fading, or at least it looks like it to me. So hopefully it was just some weird allergy - maybe from cleaning out the moldy garage?
Nope, nothing! They're slowly fading, or at least it looks like it to me. So hopefully it was just some weird allergy - maybe from cleaning out the moldy garage?
tinypliny - 04/21/14 16:14
Any fever to go along with them? Nausea? Headache? Loss in hunger?
If the answer to all the above is no, most likely they are superficial allergic reactions to something new (or maybe be even a blast from a past re-exposure) in your environment. If the answer to even one of the above is true, then I need to know more. :-)
Any fever to go along with them? Nausea? Headache? Loss in hunger?
If the answer to all the above is no, most likely they are superficial allergic reactions to something new (or maybe be even a blast from a past re-exposure) in your environment. If the answer to even one of the above is true, then I need to know more. :-)
joe - 04/21/14 12:48
I first saw them about 5 days ago. The day I noticed them I felt a little itchy and hivey but it went away quickly and these spots were never itchy themselves. They're the same temperature.
They actually seem to be fading compared to this picture, so maybe it was flukey?
I first saw them about 5 days ago. The day I noticed them I felt a little itchy and hivey but it went away quickly and these spots were never itchy themselves. They're the same temperature.
They actually seem to be fading compared to this picture, so maybe it was flukey?
tinypliny - 04/20/14 16:13
When did you first see them? Are they itchy? When you place the back of your hand on them do they feel warmer or cooler or the same temp as the rest of skin around the place?
When did you first see them? Are they itchy? When you place the back of your hand on them do they feel warmer or cooler or the same temp as the rest of skin around the place?
04/20/2014 01:24 #58918
Lucy's EthiopianCategory: food
After the hike, we went to Lucy's for Ethiopian. The food was too spicy for me, but I didn't cry like last night. The food wasn't as good at Garturs but the service was slightly better.
Afterwards we stopped at the coop for a peanut butter treat. (e:Paul) noticed a scallop that was orange? why?
Afterwards we stopped at the coop for a peanut butter treat. (e:Paul) noticed a scallop that was orange? why?
sina - 04/25/14 15:27
wow interesting, i never had been tried scallops and i have no idea about its taste
wow interesting, i never had been tried scallops and i have no idea about its taste
joe - 04/23/14 12:56
(e:sina) They're scallops, one is just a weird color we hadn't seen before.
(e:uncutsaniflush) That makes sense. :::link:::
(e:sina) They're scallops, one is just a weird color we hadn't seen before.
(e:uncutsaniflush) That makes sense. :::link:::
uncutsaniflush - 04/20/14 23:50
If memory serves, "orange" scallops are female Cooking should get rid of the color.
If memory serves, "orange" scallops are female Cooking should get rid of the color.
04/19/2014 18:59 #58915
Hike at the GorgeCategory: hiking
We went up today to wandern up at the gorge. It was a perfect temperature, so good to be outside more now.
The water and rapids were crazy high today. Most of the low rocks were submurged. (e:terry) and I went spelunking in holes and almost a sewer overflow.
:-)