This file is indexed.

/usr/share/php/tests/Horde_Feed/Horde/Feed/fixtures/lexicon/http-www.preinheimer.com-index.php%2F-feeds-index.rss2 is in php-horde-feed 2.0.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>&lt;?paul</title>
    <link>http://blog.preinheimer.com/</link>
    <description>Paul Reinheimer</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    <pubDate>Mon, 21 Jul 2008 21:37:01 GMT</pubDate>

    <image>
        <url>http://blog.preinheimer.com/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: &lt;?paul - Paul Reinheimer</title>
        <link>http://blog.preinheimer.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Climbing</title>
    <link>http://blog.preinheimer.com/index.php?/archives/272-Climbing.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/272-Climbing.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=272</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=272</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    I climbed recently at Val-David, and had a rather interesting time. The climbs weren&#039;t particularly hard, just... different. Most of them were &quot;slab&quot; I think. Where the rock isn&#039;t straight up, but actually leans in, which makes it easier, which is cool. The problem was a near complete lack of handholds. &lt;br /&gt;
&lt;br /&gt;
I think the climbs were really good for me from a technical prospective. I (and apparently most men) use a lot of upper body strength when climbing. Now while I&#039;m actually not that strong, it&#039;s not uncommon to see me hanging off one or both hands while my feet do something rather silly that generally works out in the end. Another favourite is pulling with a hand and pushing with my feet to jump up and grab something higher. This works, but it can only get me so far.&lt;br /&gt;
&lt;br /&gt;
Rock climbing shoes are curiously good at gripping things, putting all your weight on a small rock sticking out less than a centimeter is pretty common. So once I actually started trusting my feet to carry all my weight, things went pretty well. I&#039;d like to try a few slabs at allez-up next time, and restrict myself from using any hand holds while I&#039;m on them. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#039;ve also discovered my new favorite formation, the crack. Easier than stairs!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note to my PHP friends: I had zero posts for a long time, so I&#039;ve gone with some personal posts to get back in the swing of things, I should get back into PHP posts soon.  
    </content:encoded>

    <pubDate>Mon, 21 Jul 2008 17:37:01 -0400</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/272-guid.html</guid>
    
</item>
<item>
    <title>Cycling</title>
    <link>http://blog.preinheimer.com/index.php?/archives/271-Cycling.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/271-Cycling.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=271</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=271</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    So I&#039;ve been biking for a while, and I&#039;m really starting to enjoy it. As I mentioned before I aim to rock climb, cycle, or hit the weights at the gym every day so I generally bike about three times a week. I went biking with a friend earlier this week and he contrasted our cycling styles. &lt;br /&gt;
&lt;br /&gt;
Apparently, I bike like I&#039;m a car, while he cycles like he&#039;s a pedestrian (apparently my methodology requires a bit more guts). While when biking down the road I&#039;ll stick to the right, but I&#039;m more than willing to take the left lane when I&#039;m turning (there&#039;s something empowering about towering over almost every car on the road), even on some of Montreal&#039;s busier roads. I also signal my turns, and stop for red lights. My friend on the other hand relentlessly sticks to the right, crosses roads with pedestrian lights rather than the big turn, and runs lights like any true Montreal pedestrian would.&lt;br /&gt;
&lt;br /&gt;
As a small disclaimer, I also wear a helmet, have a blinking LED tail light, appropriate headlight and all required reflectors. &lt;br /&gt;
&lt;br /&gt;
On a side note, I found a bigger hill. &lt;a href=&quot;http://www.screencast.com/users/preinheimer/folders/Jing/media/8c3c649d-6bfb-449a-bf9f-464205b10ee4&quot;&gt;54.8km/h&lt;/a&gt;, I could have gone much faster but there&#039;s always a street light at the bottom of these things, and the roads here are horrible. I find I actually peak well after the bottom of the hill (after I&#039;ve passed the street light).  
    </content:encoded>

    <pubDate>Fri, 11 Jul 2008 23:38:58 -0400</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/271-guid.html</guid>
    
</item>
<item>
    <title>Getting in Shape</title>
    <link>http://blog.preinheimer.com/index.php?/archives/270-Getting-in-Shape.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/270-Getting-in-Shape.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=270</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=270</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    So, I&#039;ve decided this is the summer that I finally get into shape. Apart from not being happy with my current weight, getting out will also allow me to meet more people in Montreal which can only be a good thing. &lt;br /&gt;
&lt;br /&gt;
I&#039;ve come up with three key activities, and my goal is to do one every day. I don&#039;t always make it, but I&#039;ve had some good stretches. The activities are: rock climbing, cycling (currently 12k, planning on upping this a bit once I find a better half way point), and weights at the gym. &lt;br /&gt;
&lt;br /&gt;
Rock Climbing: A friend introduced me to this a few months ago, and apart from a rather difficult first experience I quite enjoy it. There&#039;s a couple local climbing gyms, as well as a great group of people who go out doors every week or two. Thanks to some great help and instruction I&#039;m now gaining confidence on 5.7s (&lt;a href=&quot;http://www.climber.org/data/decimal.html&quot;&gt;Yosemite Decimal System&lt;/a&gt;). I usually climb at &lt;a href=&quot;http://www.allezup.com/&quot;&gt;Allez Up&lt;/a&gt; but tried &lt;a href=&quot;http://www.horizonroc.com/&quot;&gt;Horizen Roc&lt;/a&gt;  this past weekend. I can&#039;t wait until I&#039;m good enough to take a lead climbing class. Also, there&#039;s a trapeze class at Horizen Roc &lt;img src=&quot;http://blog.preinheimer.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;. &lt;br /&gt;
&lt;br /&gt;
Cycling: I&#039;ve loved riding a bike forever, and it seems to satisfy a need to spend time doing &lt;strong&gt;something&lt;/strong&gt; thoughtless while being outdoors that&#039;s been left empty since I didn&#039;t have a dog to take for a walk. I bought a bike a while back, and have started biking to a distant grocery store for a bottle of water and an apple, then back. I&#039;ve already had several minor repairs to my bike as a result of Montreal&#039;s crappy roads. I average 24Km/h, and my max speed so far is 47Km/h. &lt;br /&gt;
&lt;br /&gt;
Gym: I joined the YMCA a while back with a friend. The downtown YMCA here has two gyms, the regular one on the third floor (that&#039;s huge, and quite busy), and a &quot;technogym&quot; on the second floor that&#039;s small, doesn&#039;t have the nice big windows, and is usually almost dead. They&#039;ve got this great program where included in your membership every 6 weeks you can have a meeting (~1hr) with a personal trainer to work on setting up a program, your goals etc. They will also teach you how to use the machines (critical for me). In the techno-gym, it goes one step further where your work out program is encoded into a smart key, all the machines take the key, they then: set the appropriate weight/resistance, #repetitions, #sets, seat height and other adjustments, plus it records your work out. I like this option, as it basically lets me shut my brain down for an hour while I work out. Thanks to the computerized machines, I get handy little reports, so for example: during my first workout I lifted a total of 7,945Kg (that total could be obtained by lifting a 1Kg weight 7954 times, or some more sensible combination of more weight on different muscles), I&#039;m now past 10,500Kg. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&#039;m pretty sure I&#039;ve got some new muscles where there was none before, though you&#039;d have to be quite familiar with my body in order to notice... So if you&#039;ve noticed please stop stalking me. &lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 30 Jun 2008 22:55:09 -0400</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/270-guid.html</guid>
    
</item>
<item>
    <title>Selling stuff to the pawn shop</title>
    <link>http://blog.preinheimer.com/index.php?/archives/269-Selling-stuff-to-the-pawn-shop.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/269-Selling-stuff-to-the-pawn-shop.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=269</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=269</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    Well, my apartment is a mess. I&#039;m single, and don&#039;t have a roommate, so there&#039;s been little incentive to clean. However, I&#039;d rather not live in a pig sty forever, so it was time to clean. I like fancy new technology, so I&#039;ve got a bunch kicking around that I don&#039;t use anymore. Parting with junk is tough, but it&#039;s way easier if you can get money for it, it seems easier. Plus, you get money. So I took my &lt;a href=&quot;http://blog.preinheimer.com/index.php?/archives/239-The-Look-and-Sound-of-Perfect.html&quot;&gt;aforementioned&lt;/a&gt; (but unplayed for the past year) PSP to the pawn shop to sell it (once I did one last game for memories sake).&lt;br /&gt;
&lt;br /&gt;
Running a pawn shop has to suck, apart from needing to take down details on everyone they buy from, they need to hold onto everything they buy for 30 days before they can sell it again. So they pay first, then can sell again after a month. This is reverse of a lot of retailers who manage to get products, then pay for them later! 
    </content:encoded>

    <pubDate>Sun, 27 Apr 2008 01:56:25 -0400</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/269-guid.html</guid>
    
</item>
<item>
    <title>Open Web Vancouver</title>
    <link>http://blog.preinheimer.com/index.php?/archives/268-Open-Web-Vancouver.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/268-Open-Web-Vancouver.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=268</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=268</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    I (despite Air Canada&#039;s best efforts) have arrived safely in Vancouver in preperation for &lt;a href=&quot;http://www.openwebvancouver.ca/&quot;&gt;Open Web Vancouver&lt;/a&gt;. I&#039;ll be doing a new talk on State and History in Ajax. I&#039;ll be leveraging the &lt;a href=&quot;http://developer.yahoo.com/yui/&quot;&gt;YUI&lt;/a&gt; throughout the talk. Registration is still open for the conference so if you&#039;re in the area come on by, tickets are a steal at only $150!&lt;br /&gt;
&lt;br /&gt;
I&#039;d also like to thank &lt;a href=&quot;http://phparchitect.com&quot;&gt;php|architect&lt;/a&gt; for sponsoring my attendance once again this year.  
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 13:40:21 -0400</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/268-guid.html</guid>
    
</item>
<item>
    <title>PDO Week!</title>
    <link>http://blog.preinheimer.com/index.php?/archives/267-PDO-Week!.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/267-PDO-Week!.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=267</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=267</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    So we&#039;re half way into PDO week at &lt;a href=&quot;http://funcaday.com/&quot; title=&quot;PHP Function a Day&quot;&gt;funcaday&lt;/a&gt;. I&#039;ve wanted to do theme weeks since the beginning, a few emails prompted me to take a look at PDO for this first theme week, and now that i&#039;ve gotten i started I&#039;m quite enjoying it. If you&#039;ve got any suggestions for future weeks let me know.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 05 Mar 2008 00:25:00 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/267-guid.html</guid>
    
</item>
<item>
    <title>I miss Zend Studio</title>
    <link>http://blog.preinheimer.com/index.php?/archives/266-I-miss-Zend-Studio.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/266-I-miss-Zend-Studio.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=266</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=266</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    So I dual develop, I flip back and forth between Active State&#039;s &lt;a href=&quot;http://activestate.com/Products/komodo_ide/&quot;&gt;Komodo&lt;/a&gt;, and Zend&#039;s &lt;a href=&quot;http://www.zend.com/products/studio/studio55&quot;&gt;Zend Studio&lt;/a&gt; (the first generation). One of my favourite features of Zend Studio is the Code Analyzer, it basically reads through your code and tells you about all your bugs. No, I&#039;m not talking about syntax errors, I&#039;m talking about using variables before they were defined, an assignment in condition, variables only being used once, functions returning something sometimes and nothing other times. It helps you find those tiny annoying bugs that take you hours to find normally in less than a second. Anyways, it&#039;s great, it&#039;s something I flip over for.&lt;br /&gt;
&lt;br /&gt;
I miss it because it wont register... 
    </content:encoded>

    <pubDate>Tue, 04 Mar 2008 00:20:19 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/266-guid.html</guid>
    
</item>
<item>
    <title>Contest</title>
    <link>http://blog.preinheimer.com/index.php?/archives/265-Contest.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/265-Contest.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=265</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=265</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    Hey all, if you like PHP and are looking for some fun stuff to just experiment with, why not try one of our contests? php|architect is launching regular PHP Programming contests, so take a look at our first running, &lt;a href=&quot;http://c7y-bb.phparchitect.com/viewtopic.php?f=2&amp;t=1108&quot;&gt;a link parser&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Also, take a look at some of our new free great articles up at &lt;a href=&quot;http://c7y.phparch.com/c/tag/ART&quot;&gt;C7Y&lt;/a&gt;.  
    </content:encoded>

    <pubDate>Sat, 23 Feb 2008 11:14:19 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/265-guid.html</guid>
    
</item>
<item>
    <title>Happy Valentines Day - The funcaday way</title>
    <link>http://blog.preinheimer.com/index.php?/archives/264-Happy-Valentines-Day-The-funcaday-way.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/264-Happy-Valentines-Day-The-funcaday-way.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=264</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=264</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    I trust you&#039;ve seen today&#039;s &lt;a href=&quot;http://funcaday.com/&quot;&gt;funcaday&lt;/a&gt;, if not head over and look now. Want a custom one to share with someone you care about. Fill out the form &lt;a href=&quot;http://funcaday.com/form.php&quot;&gt;here&lt;/a&gt;. It&#039;s a subtle effect though, they&#039;ll need to read it. &lt;br /&gt;
&lt;br /&gt;
Valid characters for names are just alphabetics and the underscore, sorry. &lt;br /&gt;
&lt;br /&gt;
You could also buy advertising, I&#039;d like to eat this month.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Thu, 14 Feb 2008 00:01:00 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/264-guid.html</guid>
    
</item>
<item>
    <title>Today's Funcaday</title>
    <link>http://blog.preinheimer.com/index.php?/archives/263-Todays-Funcaday.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/263-Todays-Funcaday.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=263</wfw:comment>

    <slash:comments>9</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=263</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    I&#039;m really restricted on space, so I wanted to present a counter point on today&#039;s &lt;a href=&quot;http://funcaday.com/&quot;&gt;funcaday&lt;/a&gt;: Performance.&lt;br /&gt;
&lt;br /&gt;
The disadvantage with the escape for now, not for later approach is simple. If you save a user&#039;s post to the database, then that user&#039;s post is displayed 2,000 times there will be some serious differences. Under the approach I reccomend the post will be escaped with mysql_real_escape_string() once, and with htmlentiteis() 2,000 times. If you had escaped it twice in the first place those functions would have been called once each, saving you 1,999 calls to htmlentities.&lt;br /&gt;
&lt;br /&gt;
You will need to balance your security concerns with performance needs. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note: This blog post was written well in advance, I&#039;m on vacation, don&#039;t have my laptop or internet, and it&#039;s likely that my cell phone won&#039;t even turn on. So replies may be a bit tardy. &lt;br /&gt;
&lt;br /&gt;
Note^2: But I&#039;m not dumb, someone&#039;s looking after my server &lt;img src=&quot;http://blog.preinheimer.com/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 05 Jan 2008 01:21:00 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/263-guid.html</guid>
    
</item>
<item>
    <title>Merry Christmas</title>
    <link>http://blog.preinheimer.com/index.php?/archives/262-Merry-Christmas.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/262-Merry-Christmas.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=262</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=262</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    &lt;!-- s9ymdb:3 --&gt;&lt;img width=&quot;800&quot; height=&quot;536&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.preinheimer.com/uploads/Christmas-Eau-Claire.jpg&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Talk to you in the new year.  
    </content:encoded>

    <pubDate>Tue, 25 Dec 2007 00:08:11 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/262-guid.html</guid>
    
</item>
<item>
    <title>Photoshop - Working with different pixel ratios</title>
    <link>http://blog.preinheimer.com/index.php?/archives/261-Photoshop-Working-with-different-pixel-ratios.html</link>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/261-Photoshop-Working-with-different-pixel-ratios.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=261</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=261</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    My grandparents are getting a digital photo frame for Christmas, they don&#039;t own a computer so the cat&#039;s not out of the bag. This digital frame has a stated resolution that&#039;s way off what you&#039;re looking at, the frame is like 16:9, but the pixel is... something else. I had a hard time working in Photoshop trying to prep the images for the system, since the pixels aren&#039;t square, they&#039;re rectangles, what looked good here looked like crap over there, etc. Then I found the pixel aspect ratio option under Image, created my own aspect ratio (using a ruler, and the pixel counts) and voila, I could now draw squares in photoshop that were square within the frame. &lt;br /&gt;
&lt;br /&gt;
I still had a problem, when I converted existing images over to the new ratio, they got squished, it showed me a preview (which is all it really does), but didn&#039;t resample the image to look right under the new ratio. The solution is pretty easy, open up image size, turn off constrain properties then divide the width by the pixel aspect ratio and apply. Your image is now stretched. Then apply the pixel aspect ratio, and it should look normal. 
    </content:encoded>

    <pubDate>Tue, 18 Dec 2007 15:46:51 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/261-guid.html</guid>
    
</item>
<item>
    <title>Get it Right or Get it Up.</title>
    <link>http://blog.preinheimer.com/index.php?/archives/260-Get-it-Right-or-Get-it-Up..html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/260-Get-it-Right-or-Get-it-Up..html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=260</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=260</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    When working on any web development project, you have two central choices, Get it Right, or Get it Up. While the same choices dominate development as a whole, the low cost, high speed, and largely transparent nature of updates on the web make getting it up more tempting. &lt;br /&gt;
&lt;br /&gt;
Getting it Right is what most developers strive for: clean code, easy to read, easy to use, easy to refractor. It&#039;s great, but it&#039;s not fast. I would even go as far to say that it&#039;s relatively easy to estimate how long it will take to develop something, but very difficult to estimate how long it will take to develop something &quot;right&quot;. &lt;br /&gt;
&lt;br /&gt;
Getting it Up (pun unintentional) is when you release just as soon as things work (mostly). You get the code working in some manner that vaguely represents what you&#039;re actually hoping for, push it live, then fix things as they break, add new features as they&#039;re required. It&#039;s faster, but you don&#039;t get to have that grand release party as soon as the application goes live, as you&#039;re probably madly mashing the keyboard trying to fix all the bugs that your users are finding. &lt;br /&gt;
&lt;br /&gt;
(more after the jump) &lt;br /&gt;&lt;a href=&quot;http://blog.preinheimer.com/index.php?/archives/260-Get-it-Right-or-Get-it-Up..html#extended&quot;&gt;Continue reading &quot;Get it Right or Get it Up.&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 16 Dec 2007 16:55:58 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/260-guid.html</guid>
    
</item>
<item>
    <title>Resources are &quot;special&quot;</title>
    <link>http://blog.preinheimer.com/index.php?/archives/259-Resources-are-special.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/259-Resources-are-special.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=259</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=259</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    Working on &lt;a href=&quot;http://funcaday.com&quot;&gt;funcaday&lt;/a&gt; I&#039;ve spent a lot of time dealing with variables of the type resource in the past few weeks, after all GD images are held in variables of that type. I ran into some &quot;functionality&quot; of resources late last night that I initially chalked up to a bug, a variable of type resource went from being a resource of type GD to unknown while merely getting returned back a few steps. After some experimentation (and the inevitable epiphany while brushing my teeth) I&#039;ve figured it out, and there&#039;s no bug. &lt;br /&gt;
&lt;br /&gt;
Here&#039;s a longish snippet explaining what I was encountering:&lt;br /&gt;
&lt;blockquote&gt;class imageTest {&lt;br /&gt;
    private $image;&lt;br /&gt;
    public function __construct() {&lt;br /&gt;
        $this-&gt;image = imagecreatetruecolor(2,2);&lt;br /&gt;
    }&lt;br /&gt;
    public function getImage() {&lt;br /&gt;
        var_dump($this-&gt;image);&lt;br /&gt;
        return array($this-&gt;image);&lt;br /&gt;
    }&lt;br /&gt;
    public function __destruct() {&lt;br /&gt;
        imagedestroy($this-&gt;image);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
function test() {&lt;br /&gt;
    $x = new imageTest();&lt;br /&gt;
    $image = $x-&gt;getImage();&lt;br /&gt;
    var_dump($image);&lt;br /&gt;
    return $image;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$image = test();&lt;br /&gt;
var_dump($image);&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Which returns something like:&lt;br /&gt;
&lt;blockquote&gt;resource(3, gd)&lt;br /&gt;
resource(3, gd)&lt;br /&gt;
resource(3, Unknown)&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
(more after the jump)&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://blog.preinheimer.com/index.php?/archives/259-Resources-are-special.html#extended&quot;&gt;Continue reading &quot;Resources are &amp;quot;special&amp;quot;&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 15 Dec 2007 19:08:52 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/259-guid.html</guid>
    
</item>
<item>
    <title>funcaday</title>
    <link>http://blog.preinheimer.com/index.php?/archives/258-funcaday.html</link>
            <category>PHP</category>
    
    <comments>http://blog.preinheimer.com/index.php?/archives/258-funcaday.html#comments</comments>
    <wfw:comment>http://blog.preinheimer.com/wfwcomment.php?cid=258</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.preinheimer.com/rss.php?version=2.0&amp;type=comments&amp;cid=258</wfw:commentRss>
    

    <author>nospam@example.com (Paul Reinheimer)</author>
    <content:encoded>
    Sorry to everyone for the issues this evening, non-feed based users of the site should have seen everything up and working perfectly by 12:05am EST, while feed users needed to wait until almost 1:00am EST&lt;br /&gt;
1) Today&#039;s post posed a few issues, namely, it&#039;s the first weekend based post we&#039;ve had so it&#039;s running through a different image creation path. &lt;br /&gt;
2) Since there&#039;s only one image for two days over the weekend, there&#039;s a whole bunch of code in various places to handle that. &lt;br /&gt;
&lt;br /&gt;
The Real Issue:&lt;br /&gt;
I think I&#039;ve found a bug in PHP. I didn&#039;t have time to develop a base case to prove it this evening (while the clock struck down towards midnight) but it seems as though resources can get mangled when being returned a few levels.&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Generating Weekday!&lt;br /&gt;
resource(532) of type (gd)&lt;br /&gt;
resource(532) of type (Unknown)&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you&#039;re interested in presenting funcaday to anyone through a project of your own, I&#039;d reccomend taking a look at the json feed. Either &lt;a href=&quot;http://funcaday.com/json.xml&quot;&gt;json.xml&lt;/a&gt;, or &lt;a href=&quot;http://funcaday.com/funcaday.json&quot;&gt;funcaday.json&lt;/a&gt;. The information is identical in those two files, the difference is really just the extension, Technically if you&#039;re using JS the XHR object wants a text/html content type, so I provide the .xml version to get Apache to give you that header, if you&#039;re using anything else, go for the .json. Let me know if there&#039;s anything else you&#039;d like to see in there.  &lt;br /&gt;
&lt;br /&gt;
One question for the mindful readers, in the RSS code I have:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
 file_put_contents(&#039;/path/funcaday.com/rss.xml.temp&#039;, $rss);&lt;br /&gt;
 rename(&#039;/path/funcaday.com/rss.xml.temp&#039;, &#039;/path/funcaday.com/rss.xml&#039;);&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
Can anyone tell me why I would add the extra step? Do I actually need to do this, or is this just me following outdated practices? &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
P.S. &lt;br /&gt;
There&#039;s aparently a &lt;a href=&quot;http://funcaday.blip.tv&quot;&gt;video version&lt;/a&gt; of funcaday by an anonymous... fan? 
    </content:encoded>

    <pubDate>Sat, 15 Dec 2007 01:03:59 -0500</pubDate>
    <guid isPermaLink="false">http://blog.preinheimer.com/index.php?/archives/258-guid.html</guid>
    
</item>

</channel>
</rss>