-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathatom.xml
525 lines (403 loc) · 58.5 KB
/
atom.xml
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
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title><![CDATA[Eventually /dev/null]]></title>
<link href="http://philnate.me/atom.xml" rel="self"/>
<link href="http://philnate.me/"/>
<updated>2013-04-05T09:42:09+02:00</updated>
<id>http://philnate.me/</id>
<author>
<name><![CDATA[Philipp Knobel]]></name>
</author>
<generator uri="http://octopress.org/">Octopress</generator>
<entry>
<title type="html"><![CDATA[DB2 Remote Connection]]></title>
<link href="http://philnate.me/blog/2013/04/01/db2-remote-connection/"/>
<updated>2013-04-01T15:04:00+02:00</updated>
<id>http://philnate.me/blog/2013/04/01/db2-remote-connection</id>
<content type="html"><![CDATA[<p>As I found out within the last days it isn’t that easy to find informations about how to connect Java through JDBC with a DB2 Database remotely. So if you should come into these troubles as well, take care of this:<br/>
As DB2 driver you need to use <em>COM.ibm.db2.jdbc.<strong>net</strong>.DB2Driver</em> which is located in the same file (<code>db2java.zip</code>) as the default driver (<em>COM.ibm.db2.jdbc.<strong>app</strong>.DB2Driver</em>) which is “promoted” on most sites. The problem with these two drivers is that they’re not able to work with the other kind of connection. So If you inserted the <strong>net</strong> driver you can’t create local connections and vice versa. If you want to be flexible you need to use as driver <code>com.ibm.db2.jcc.DB2Driver</code> which is capable to handle both types of connections. The driver can be found within the <code>db2jcc.jar</code> file, which should be located in the same place as <code>db2java.zip</code>. At least for me it was further needed to provide a license in order to establish a remote connection, to achieve this add a file called <code>db2jcc_license_cu.jar</code> or maybe some file which is similiar named to your Classpath.<br/>
Connection string: After some search I found the DB2 page where the remote connection string was described. The string has follow this scheme for remote connections: <code>jdbc:db2://SERVERNAME:PORT/DATABASE</code>.<br/>
Not sure if you can leave the DATABASE and run later a <em>Connect to DATABASE</em> Query. At least my quick tries resulted each time with an Exception caused by wrong connection strings.<br/>
If you don’t know on which port your DB2 Instance is running take a look at your <code>/etc/services</code> and look for the corresponding line.<br/>
Now you should be ready to successfully open a remote Connection.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[mongosniff: error while loading shared libraries: libpcap.so.0.9]]></title>
<link href="http://philnate.me/blog/2012/03/28/mongosniff-error-while-loading-shared-libraries-libpcap-dot-so-dot-0-9/"/>
<updated>2012-03-28T17:26:00+02:00</updated>
<id>http://philnate.me/blog/2012/03/28/mongosniff-error-while-loading-shared-libraries-libpcap-dot-so-dot-0-9</id>
<content type="html"><![CDATA[<p>Lately I’ve worked with <a href="http://mongodb.org">mongoDB</a> which is a great NoSQL database. A tool which can come in handy is <a href="http://mongodb.org/display/DOCS/mongosniff">mongosniff</a>, which comes with mongodb binaries. Mongosniff is something like tcpdump for TCP/IP.<br/>
On my Fedora 16 x86_64 System I’m running mongodb binaries available from mongodb, this allows me to easily run the version I want. But mongosniff didn’t worked right out the box for it. When starting mongosniff I got following error: <strong>mongosniff: error while loading shared libraries: libpcap.so.0.9: cannot open shared object file: No such file or directory</strong>. So this mostly means that libpcap isn’t installed, but this wasn’t the case as you can see soon.<br/>
My first try was to install libpcap for my system but this didn’t solve the problem. A lookup with <code>ldd</code> showed that indeed libpcap.so.0.9 was missing for it:</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
<span class='line-number'>5</span>
<span class='line-number'>6</span>
<span class='line-number'>7</span>
<span class='line-number'>8</span>
<span class='line-number'>9</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="nv">$:</span> ldd /usr/bin/mongosniff
</span><span class='line'> linux-vdso.so.1 <span class="o">=</span>> <span class="o">(</span>0x00007fffa30d2000<span class="o">)</span>
</span><span class='line'> libpthread.so.0 <span class="o">=</span>> /lib64/libpthread.so.0 <span class="o">(</span>0x0000003ef0400000<span class="o">)</span>
</span><span class='line'> libstdc++.so.6 <span class="o">=</span>> /usr/lib64/libstdc++.so.6 <span class="o">(</span>0x0000003655a00000<span class="o">)</span>
</span><span class='line'> libpcap.so.0.9 <span class="o">=</span>> not found
</span><span class='line'> libm.so.6 <span class="o">=</span>> /lib64/libm.so.6 <span class="o">(</span>0x0000003ef1000000<span class="o">)</span>
</span><span class='line'> libgcc_s.so.1 <span class="o">=</span>&gt; /lib64/libgcc_s.so.1 <span class="o">(</span>0x0000003654600000<span class="o">)</span>
</span><span class='line'> libc.so.6 <span class="o">=</span>> /lib64/libc.so.6 <span class="o">(</span>0x0000003ef0000000<span class="o">)</span>
</span><span class='line'> /lib64/ld-linux-x86-64.so.2 <span class="o">(</span>0x0000003eefc00000<span class="o">)</span>
</span></code></pre></td></tr></table></div></figure>
<p>A check if any libpcap module was available showed that a too new version was installed and that a symlink as libpcap.so.0.9 was missing:</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
<span class='line-number'>4</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'><span class="nv">$:</span> ls /usr/lib64/libpcap*
</span><span class='line'>/usr/lib64/libpcapnav.so /usr/lib64/libpcapnav.so.0
</span><span class='line'>/usr/lib64/libpcap.so.1 /usr/lib64/libpcapnav.so.0.0.0
</span><span class='line'>/usr/lib64/libpcap.so.1.1.1 /usr/lib64/libpcap.so
</span></code></pre></td></tr></table></div></figure>
<p>So creating a symlink for libpcap.so.0.9 solved the startup problem: <code>ln -s /usr/lib64/libpcap.so.1.1.1 /usr/lib64/libpcap.so.0.9</code>. If you’re running a 32bit mongodb version you may check your <code>/usr/lib</code> to see if the required libpcap is missing. Don’t know if this problem still exists if you’re running mongodb from the offical repositoy.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[crontab -r -- a logic gap?]]></title>
<link href="http://philnate.me/blog/2010/03/09/crontab-r-a-logic-gap/"/>
<updated>2010-03-09T15:02:00+01:00</updated>
<id>http://philnate.me/blog/2010/03/09/crontab-r-a-logic-gap</id>
<content type="html"><![CDATA[<p>Just worked a bit with crontab to edit some no longer working cron job. But instead of typing <code>crontab -e</code> I had written <code>crontab -r</code>, without any warning or notice my crontab was dropped! What’s the logic behind that behaviour? Isn’t the normal, userfriendly way, that you have to confirm you want to drop something? All Programms I can remember want a confirmation for not saving data or dropping some file, or even for exiting.<br/>
I could life with the problem, if it wouldn’t be too likely to do the typo. But the keys are on a normal qwert(y|z) keyboard next to the other one, so a typo isn’t that unlikely. To avoid the problem I need to add the parameter -i to it, to be asked If I’m sure I want drop that crontab. Since when do I need to add additional parameter to have a higher <em>security</em> level? Normally you need to add parameters to avoid such behaviour not to initialize it.<br/>
But as I just see my crontab version is even the userfriendly one(on Debian 5 amd64), which offers such a parameter <em>-i</em>. The standard BSD(as on Debian 4 x86) one hasn’t this parameter nor does <em>-r</em> ask the user to confirm the operation.<br/>
Anyone knows why it behaves that way, I mean a multiliner crontab isn’t too nice to be lost by accident?</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[The long and stony way to get Mod_AuthMySQL working]]></title>
<link href="http://philnate.me/blog/2010/01/20/the-long-and-stony-way-to-get-mod-authmysql-working/"/>
<updated>2010-01-20T14:59:00+01:00</updated>
<id>http://philnate.me/blog/2010/01/20/the-long-and-stony-way-to-get-mod-authmysql-working</id>
<content type="html"><![CDATA[<p>Somedays it’s really hard to come along with Linux, it’s apps and tools. Recently I’ve tried to use AuthMySQL for authentication within a certain webfolder. To reach this, many trails and even more errors were needed :(.<br/>
The first point was to configure the module correctly, which isn’t that easy, as no post tells which version of AuthMySQL is used nor that there are two of them out, additionally it seems that the module can handle at least partially both directives, but later more.<br/>
I’ve searched quickly for some resources about how to configure AuthMySQL, some of the commands worked other didn’t. After several tries with extensive watching the apache error.log I finally managed to get the authentication running, upto the point of the used Encryption. The first try was to use MD5, but sadly the module did not support that value, although somewhere was talked about it (later I encountered it was for the other module). No Problem there’s another MD5 Setting, let’s switch to that one (Crypt_MD5), now AuthMySQL was working, but didn’t accepted the login details. A google search later I discovered that Crypt_MD5 uses a default Salt of 12 signs (or so) to encrypt the passwords, but my password is encrypted with md5, so no way to get it working. After a few searches why md5 isn’t working with my version of the module I found that <a href="http://www.php-resource.de/forum/showthread/t-34784.html">forum entry</a> which revealed that there are two modules out, which offer Authentication through MySQL.<br/>
But as I already supposed Debian doesn’t offer a package for the other module or I didn’t find it, anyway I got to the <a href="http://modauthmysql.sourceforge.net">website of the other module</a> and downloaded it’s source code. A fast lookup on howto compile and install modules for apache showed that I need to run apxs. But for my debian install the application wasn’t installed, you need to get some apache-dev package to install apxs. A few minutes later I’ve got a matching package and installed it. Next problem: while compiling apxs throws an error 65536, but luckily I found soon an patch, in this <a href="http://www.zoosau.de/technik/mod_auth_mysql-fur-apache22x-kompilieren">blog entry</a> a patch is supplied so that the module was successful compiled under my linux installation.<br/>
The needed renaming of the module directives was done quickly and finally I got the authentication through MySQL working.<br/>
Alltogether it took a few hours to get that simple job working, anyway I’ve increased my knowledge about Apache and Linux, which isn’t that bad :).<br/>
Maybe this post will help the one or other to solve his problems quicker, as it contains quite well condensed errors and their solution.<br/>
If you want to use AuthMySQL get this <a href="http://modauthmysql.sourceforge.net">version</a> as it supplies in my eyes the best functionality. The easiest way to differ both versions is that one requires underlines within the directives and the other one doesn’t (the one which is linked).</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Internet Explorer and JavaScript problems]]></title>
<link href="http://philnate.me/blog/2010/01/16/internet-explorer-and-javascript-problems/"/>
<updated>2010-01-16T14:57:00+01:00</updated>
<id>http://philnate.me/blog/2010/01/16/internet-explorer-and-javascript-problems</id>
<content type="html"><![CDATA[<p>I’ve seen in within my two years of JavaScript progamming some weird things, about browser behaviour. But the one I’ve discovered yesterday tops them all. Some of my JavaScript class use the <code>document.createElement</code> function within it’s init procedure. The Script is working fine used within one Website, even with IE. But when the Script is added to another Website, IE complaints that document.createElement isn’t supported by this Object. An alert directly before the call is executed shows:</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
<span class='line-number'>3</span>
</pre></td><td class='code'><pre><code class='javascript'><span class='line'><span class="kd">function</span> <span class="nx">createElement</span><span class="p">()</span> <span class="p">{</span>
</span><span class='line'><span class="p">[</span><span class="kr">native</span> <span class="nx">Code</span><span class="p">]</span>
</span><span class='line'><span class="p">}</span>
</span></code></pre></td></tr></table></div></figure>
<p>
But it still doesn’t work in IE.<br/>
Someone ever encountered that problem? I’m currently missing a solutin except the try to manually create the HTML-Node.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[mbox to .eml Converter]]></title>
<link href="http://philnate.me/blog/2009/05/27/mbox-to-eml-converter/"/>
<updated>2009-05-27T14:55:00+02:00</updated>
<id>http://philnate.me/blog/2009/05/27/mbox-to-eml-converter</id>
<content type="html"><![CDATA[<p>If you need to extract all mails from a single mbox file to seperate .eml files, take a look at this <a href="http://www.opera-fansite.de/files/Mbox2eml_DEU.zip">tool</a>. I had recently the need to do so, and this tool was just perfect for it. It lets you choose which files to extract from mbox to .eml. In order to import a normal GNU/Linux (any *nix?) mbox into the tool, you need to set as file-ending <code>.mbx</code>. The Only restriction is that it can only handle western character sets, but not sure if that’s a big problem, aren’t most Emails still in latin?<br/>
To run the tool you need to have installed Java Runtime 1.2 or higher</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[WordPress(/PHP) and the Byte Order Mask (BOM)]]></title>
<link href="http://philnate.me/blog/2008/09/28/wordpress-slash-php-and-the-byte-order-mask-bom/"/>
<updated>2008-09-28T14:51:00+02:00</updated>
<id>http://philnate.me/blog/2008/09/28/wordpress-slash-php-and-the-byte-order-mask-bom</id>
<content type="html"><![CDATA[<p>A few days ago I started to write since some time a Plugin for WordPress again, for a customer. As I read over on WordPress you shall declare the files as UTF-8, but I would have changed it myself as well. Now after some initial testings I encountered this Problem:<br/>
<code>
<strong>Warning:</strong> Cannot modify header information - headers already sent by (output started at /xampp/htdocs/blog/wp-content/plugins/phRelatedLinks.php:1) in /xampp/htdocs/blog/wp-includes/pluggable.php on line 776)<br/>
</code><br/>
Ah yeah…some known Problem within the WordPress Universe and the PHP one as well, caused by the Problem that infront of the starting <code>< ?php</code> are some other signs. Now when WordPress wants to send the header Information of the Page the whitespace/sign was already sent, but the header needs to be the first part of the website which is sent…therefore PHP throws this error.<br/>
Unfortunally this wasn’t the case for my Problem. As I had no clue what it could be else I searched for some time, and anything I could find told it’s a problem with leading signs before <code>< ?php</code>. Luckily I found <a href="http://robv.de/read/headers-already-sent-durch-wordpress-plugin">this Post with the same Problem</a>, which solved it.<br/>
While saving my file with SciTE as <em>UTF-8</em>, SciTE added a Byte Order Mask to the file, which isn’t needed at all as UTF-8 doesn’t encounter differences between big-Endian and little-Endian. Anyway it’s now widely used to easily tell apart <em>UTF-8</em> and <em>ISO-8859</em>. So if a file contains as starting Bytes: <code>EF BB BF</code> it’s (mostly) a <em>UTF-8</em> formatted file. But as these Bytes aren’t displayed within SciTE at all, you can go crazy with it. To write a file without this optional BOM you need to select as Encoding <em>UTF-8 Cookie</em> within SciTE.<br/>
Now the real cause was found, and it wasn’t WordPress who tried to drive me crazy at all. A look within PHP revealed that PHP isn’t able to interpret these Bytes as mark for a following <em>UTF-8</em> Encoding. The <a href="http://bugs.php.net/bug.php?id=22108">related Bug Post</a> was closed as won’t fix for PHP 5/4, the correct behavior will be implemented with PHP 6+.<br/>
In the meantime I hope that not too many other people will encounter that Problem and if, they’re able to find the solution faster than me!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Image.onload() Problems]]></title>
<link href="http://philnate.me/blog/2008/09/24/image-dot-onload-problems/"/>
<updated>2008-09-24T14:48:00+02:00</updated>
<id>http://philnate.me/blog/2008/09/24/image-dot-onload-problems</id>
<content type="html"><![CDATA[<p>Since a while I’m working with Javascript. I have to say, that it’s for sure not that hard to write cross-browser Source Code, like it’s still with CSS. But some parts aren’t easy to get them working. A recent problem is indeed the image.onload. At first it’s obviously that you should register an onload EventListener, before you assign an Image, like this:</p>
<figure class='code'><figcaption><span></span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class='javascript'><span class='line'><span class="nx">image</span><span class="p">.</span><span class="nx">onload</span> <span class="o">=</span> <span class="kd">function</span><span class="p">()</span> <span class="p">{</span> <span class="nx">alert</span><span class="p">(</span><span class="s2">"let's do something in here!"</span><span class="p">);};</span>
</span><span class='line'><span class="nx">image</span><span class="p">.</span><span class="nx">src</span> <span class="o">=</span> <span class="s2">"myURL"</span><span class="p">;</span>
</span></code></pre></td></tr></table></div></figure>
<p>
As it’s quite possible that the other way around, the picture is already loaded before the EventListener is registered.<br/>
But Hey! That’s no reason to make this mistake a few times…Now after you solve that self-made problem you can run into the next one! Opera calls the onload Event, only if the Object is newly created or the Image loaded isn’t already cached. That’s the state of <em>Opera 7.5</em>, as I read several times on various sites, this problem was fixed with <em>Opera 8.x</em>. But now it seems that this Problem is back with <em>Opera 9.26+</em>( or earlier).<br/>
Unfortunately my Script needs to be noticed everytime a new Image is loaded, although it may already be cached. The only way I’m aware of getting what I want, is to disable the Cache of Opera, through Opera’s settings or per HTTP Header. Ok another way would be a function which looks the whole time if the image is changing, but both aren’t that what I’m searching for. Someone knows if it’s possible to get some real onload for Images in Opera, without any of the previously mentioned <em>hack</em>?<br/>
Or can Opera fix this problem? It’s working correctly in IE, why not in Opera?</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[find: missing argument to `-exec`]]></title>
<link href="http://philnate.me/blog/2008/03/07/find-missing-argument-to-exec/"/>
<updated>2008-03-07T14:45:00+01:00</updated>
<id>http://philnate.me/blog/2008/03/07/find-missing-argument-to-exec</id>
<content type="html"><![CDATA[<p>That’s maybe some common Error you’re receiving, when you’re new to <strong>find and the exec</strong> parameter. So I encountered the Problem as well.<br/>
After a short research within the man page of find the problem was found: <code>;</code> needs to be escaped with a Backslash <code>\</code>. The look over to my commandline just showed that this was already the case. Now the internet was asked and most results just reveal the same thing: escape the <code>;</code> with a Backslash.<br/>
Some hits later I found a <a href="http://www.bimminger.at/content/beitrag/tipp_linux_suche_in_datei_bestimmter_inhalt.html">german page</a> where they told that it’s even required that the <code>\;</code> is separated from the previous commands with a space <code> \;</code>. So it’s not enough to write:</p>
<figure class='code'><figcaption><span>wrong invocation</span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'>find <query> -exec <<span class="nb">command</span>><span class="o">{}</span><span class="se">\;</span>
</span></code></pre></td></tr></table></div></figure>
<p>,
it needs to be (notice the extra whitespace between <code>command</code> and <code>{}</code>):</p>
<figure class='code'><figcaption><span>correct invocation</span></figcaption><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
</pre></td><td class='code'><pre><code class='bash'><span class='line'>find <query> -exec <<span class="nb">command</span>> <span class="o">{}</span> <span class="se">\;</span>
</span></code></pre></td></tr></table></div></figure>
<p>Well from my point of view some mistake which can be fast overseen, even more if you suppose that <code>{}\;</code> should work out nicely as it’s something which occurs often or everytime within the exec(at least these groups of signs).</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Restoring Windows]]></title>
<link href="http://philnate.me/blog/2007/12/05/restoring-windows/"/>
<updated>2007-12-05T23:07:00+01:00</updated>
<id>http://philnate.me/blog/2007/12/05/restoring-windows</id>
<content type="html"><![CDATA[<p>Just the latest example how stupid I can be sometimes:<br/>
I’ve dropped yesterday my Linux Partition from my laptop. It wouldn’t be that problematic if it hadn’t the Boot session on it. Anyway I didn’t noticed that big mistake until I restarted my Laptop and encounter some Error while Loading GRUB.<br/>
After the first seconds of thinking, what happened, I started to knock my head against the table(not really:)). As soon as I stopped to hate myself I made a search for a solution and quickly found an Answer: <a href="http://www.pcwelt.de/forum/windows-xp-server-2003/158389-grub-bootloader-gel-scht-xp-startet-2.html">Start your PC with your Recovery CD</a> and run fixmbr and fixboot. Ok, no big deal…as long as you have your Recovery CD with you, but I didn’t…(second time some knocking, was hearable).<br/>
So my next try was to get some Recovery Application on the base of some small DOS Boot, I found quickly something, anyway it didn’t worked for XP(at least for my PC it didn’t).<br/>
Next I’ve inserted the Vista Recovery from some friend( I would like to mention that without any Install you can run already some Safe-Mode like Vista…with working Notepad, aso.). I was even able to start a Cmd.exe, but the next shock wasn’t far as I noticed that <code>fixmbr</code> and <code>fixboot</code> didn’t worked within Vista. A new search was on the way, on how to get fixmbr&fixboot working on Vista Recovery CDs, again I had luck and found soon, <a href="http://www.linuxforums.org/forum/installation/94066-need-fix-mbr.html">a solution</a>…you have to call them as Parameter through some other application:</p>
<figure class='code'><div class="highlight"><table><tr><td class="gutter"><pre class="line-numbers"><span class='line-number'>1</span>
<span class='line-number'>2</span>
</pre></td><td class='code'><pre><code class=''><span class='line'>bootrec.exe /fixmbr
</span><span class='line'>bootrec.exe /fixboot </span></code></pre></td></tr></table></div></figure>
<p>
I’ve applied both commands, the had be done correctly and after a Restart I was able to Boot Windows again. The only good point is that I don’t have to take care on startup if the correct OS is selected, anymore :).<br/>
A side note for the next time I make any changes to an OS, be sure to have the recovery CD near myself!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Be careful with approving Comments]]></title>
<link href="http://philnate.me/blog/2007/10/28/be-careful-with-approving-comments/"/>
<updated>2007-10-28T22:56:00+01:00</updated>
<id>http://philnate.me/blog/2007/10/28/be-careful-with-approving-comments</id>
<content type="html"><![CDATA[<p>Ever got Comments you don’t understand, because they’re in some language you’re not able to speak? Ever asked why someone writes a Comment in Russian to some post, which is let’s say written in english, german, french or whatever( at the same time I want to notice that I don’t talk about Comments made to some .de, .fr, .ru Blog, in the depending language where the owner of the Blog is able to speak that language as well. Where a commenter could believe it would be better to write in their native language as possible missunderstandings could be avoided because of better knowledge of this language).<br/>
What could be the reason to behave like that? In general they should be able to write some basic text in english, german, french, as it seems that they’re able to read the text, quite good enough to be able to add their own comment/opinion. So why don’t they do so?<br/>
Let’s try to get behind the reason. Following I’ll show you how I handle comments in languages I don’t understand, with an example I received the last day:</p>
<h2>The Comment</h2>
<p>So let’s take a look at the given Comment(to avoid contribution to this Spammer/Hacker, I replaced some Data):<br/>
<code>1000 Ñ„�?¾Ñ€Ñƒ�?¼�?¾�?² 2 �?´�?¾�?»�?»�?°Ñ€�?° 5000 Ñ„�?¾Ñ€Ñƒ�?¼�?¾�?² 8 �?´�?¾�?»�?»�?°Ñ€�?¾�?² 10000 Ñ„�?¾Ñ€Ñƒ�?¼�?¾�?² 13 �?´�?¾�?»�?»�?°Ñ€�?¾�?² 50000 Ñ„�?¾Ñ€Ñƒ�?¼�?¾�?² 50 �?´�?¾�?»�?»�?°Ñ€�?¾�?²<br/>
�?‘�?¾�?½ÑƒÑ? �?¿Ñ€�?µ�?´�?»�?¾�?¶�?µ�?½�?¸�?µ �?´�?»Ñ? Ñ‚�?µÑ… �?ºÑ‚�?¾ �?·�?°�?º�?°�?¶�?µÑ‚ 20000 Ñ„�?¾Ñ€Ñƒ�?¼�?¾�?² ч�?µÑ€�?µ�?· �?½�?µ�?´�?µ�?»ÑŽ �?¿�?¾�?²Ñ‚�?¾Ñ€�?½�?°Ñ? �?¾Ñ‚�?¿Ñ€�?°�?²�?º�?°<br/>
�?� �?µÑ„�?¿Ñ€�?µ�?´�?»�?¾�?¶�?µ�?½�?¸�?µ: ч�?µ�?»�?¾�?²�?µ�?º �?º�?¾Ñ‚�?¾Ñ€Ñ‹�?¹ �?¿Ñ€�?¸�?²�?µ�?´�?µÑ‚ �?¼�?½�?µ �?º�?»�?¸�?µ�?½Ñ‚�?° �?±Ñƒ�?´�?µÑ‚ �?¿�?¾�?»ÑƒÑ‡�?°Ñ‚ÑŒ 10% �?¾Ñ‚ �?·�?°�?º�?°�?·�?° �?º�?»�?¸�?µ�?½�?º�?°!!!<br/>
�?ž�?±Ñ€�?°Ñ‰�?°Ñ‚ÑŒÑ?Ñ? �?² �?°Ñ?ÑŽ 3�?¿Ñ?Ñ‚ÑŒ3-8ш�?µÑ?Ñ‚ÑŒ7-0�?½�?¾�?»ÑŒ1 �?¼Ñ‹�?»�?¾ mymail(�?³�?°�?²)example.com</code><br/>
That one made me curious as there are quite some numbers added, as well as an additional email is added which doesn’t fit to the input in the Email field. Let’s check that Comment by translating it in our native language or some language we understand.</p>
<h3>Translating the Comment</h3>
<p>In general I can recommend to translate it into your native language, as you mostly understand that one best. On the other hand the chosen translator, has maybe your language not available(or the dictionary is quite limited), or it’s not possible to translate between these languages directly.<br/>
You should avoid to have the text translated more than once before it’s in some language you understand, as the general problem with automatic translations are: that not the best sentence structure and word choosing is done. So you could end upon two or three translations steps within some nonsense text(that wouldn’t be better). The best way maybe, to let it translate to English, and if you don’t understand some english words let them be translated to your native language.<br/>
for the example above we would get something like that:<br/>
<code>1000 forums 2 dollars of 5000 forums of 8 dollars of 10000 forums of 13 dollars of 50000 forums of 50 dollars the Bonus the offer for those who will order 20000 forums in a week repeated sending �?� �?µÑ„�?¿Ñ€�?µ�?´�?»�?¾�?¶�?µ�?½�?¸�?µ: the person which will result to me the client will receive 10 % from the order �?º�?»�?¸�?µ�?½�?º�?°!!! To address in �?°Ñ?ÑŽ 3»nÃ��?ý3-8ÞÑßÃ��?ý7-0¡«½ý1 soap mymail (�?³�?°�?²) example.com</code><br/>
That makes now quite more sense, doesn’t it? It seems as that’s the pricelist for Spamming of Forums, we even see that we get 10% of the profit from something!</p>
<h3>Translate unknown words</h3>
<p>Now we know quite surely that this is a Spam comment, but as you can see as well, we have some not translated words, like <code>�?º�?»�?¸�?µ�?½�?º�?°</code> (these can be sometimes important) so let’s have them translated as well, don’t we want to know how to receive our 10%?<br/>
If you’re using some good Translator, you should have the option to have unknown words transliterated into the target language. So for our <code>�?º�?»�?¸�?µ�?½�?º�?°</code> we would get something like: <code>klienka</code> that sounds like client. Let’s guess that we receive 10% of the Money the client pay for his contract.</p>
<h3>Deciding dropping or keeping?</h3>
<p>Now you should have enough information to decide if it’s a Spam comment or some legit one. If it’s Spammy it shouldn’t be hard to decide, if it’s some legit Comment I advice to keep the initial comment and add below it the translation. If you like you can as well improve the comment, but note explicit where you made changes!</p>
<h2>Some good online Translators</h2>
<p>Where can I get my text translated to some other language?<br />
Just search for some <em>Translate/Translation <strong>From-Language</strong> <strong>to-language</strong></em> and you should find some useful result. A good translator is <a href="http://www.online-translator.com">PROMT</a>, there you’re able to translate some texts as whole(no word for word translations) of some languages, or <a href="http://babelfish.altavista.digital.com">Babelfish</a>. If you need to get some words translated into your language search for some dictionary for the given languages.</p>
<h2>Conclusion</h2>
<p>As you see, it’s better to prove comments of other languages as well(these will often pass Spamfilter) for Spam. If you can’t get the comment translated, it’s mostly better to keep the comment back or to drop it. From my point of view it’s better to have one or two legit comments less than to have one Spammy.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[How to prevent most of the SPAM]]></title>
<link href="http://philnate.me/blog/2007/10/21/how-to-prevent-most-of-the-spam/"/>
<updated>2007-10-21T17:23:00+02:00</updated>
<id>http://philnate.me/blog/2007/10/21/how-to-prevent-most-of-the-spam</id>
<content type="html"><![CDATA[<p>As Spam is a real big Problem within the Internet, today nearly no one gets around it, as Internet consumer(someone who doesn’t offer own communication platforms) you may not notice that Problem too much, maybe you didn’t even noticed it really. But it’s definitely a real Problem, Spam is everywhere.<br/>
You get it with your Daily Emails, already when you input your Email once to some untrustworthy Mailing list or application, and from that date it never will stop again. If you’re lucky that’s everything where you get into contact with Spam, as soon as you own some Blog/Forum aso. your Spam contact will be much bigger. How can I now prevent these platforms from Spam?</p>
<h2>Registered Users only</h2>
<p>One Option which is widely used is to allow Postings only to registered Users. This keeps out every Spambot who doesn’t have a routine to register to this platform(or to register in general). Additional many registering processes require that the email is validated, if that doesn’t happen the account will not be able to use this Account. Again that will prevent many Spambots from Posting Spam, as many Bots do have some registering routine, but they don’t use valid Email Accounts and/or don’t do the needed steps to activate the platform account.</p>
<h3>What’s the reason that they don’t do this?</h3>
<p>Mostly it’s the reason that there are enough platforms outside who still doesn’t use such a protection mechanism. Sadly that method may take away some Users, who would like to post some Comment/Post, but they’re not willed to create therefore some Useraccount just for one or two single contributions. The reason why they’re not willed to do so is,(you will know it mostly as you’ll surely think similar) is that they’re afraid of getting Spammed on their Email. And that only because he registered at some small website who delivers your Email to some Spam mailer.<br/>
Fortunately there’s a way to receive Contributions from non-Members, and that without a big level of Spam you’ll have to fight with.</p>
<h2>Spamblock and -labeling</h2>
<p>One reason wasn’t mentioned above explicit, but you could read it between the lines. Maybe you, the platform owner, want although to catch the users who don’t want to register at your site just for a single post. But this position don’t needs to be negative for you. There are many solutions out who are really nice and widely used, so proved to work well.<br/>
In general I see three different kinds of applications, who mostly differ between what needs to be done in future by yours:</p>
<h3>Install and care yourself about</h3>
<p>These kinds of Software is just installed, then the User needs to add what words will block the user contribution, that kind of blocking was more commonly in the early days of spam, where no services where available to Check Messages for Spam. You have to take care of the filter list, as the spam messages get changed regularly. At some point you’re within a dead end, the spam messages doesn’t contain any words you can block without blocking potentially legit posts. This kind of App, isn’t doing too well any more as Spam gets changed regularly, and sometimes don’t even appear a human to be Spam on the first moment. The mentioned problem is more likely to happen on Websites which handle common Spam themes like Real Estate, Pharmacy and so on.<br/>
An example Can be get here for <a href="http://www.phpbb.com/community/viewtopic.php?f=15&amp;t=354376&amp;st=0&amp;sk=t&amp;sd=a">phpBB</a></p>
<h2>Human or Bot Tests</h2>
<p>Some quite well working approach is to decide upon a Message, is Spam or not, is to ask for something which is only doable by a human. The best example is the CAPTCHA, the user is asked to type in some Letters and Numbers from a picture in order to be able to post the Message(or tagging it as no-Spam). But you need to be careful, there are already some Bots out who can read early CAPTCHAs or weak ones. On the other hand there are newer CAPTCHAs out which are quite hard to solve even for no handy caped people(just imagine how hard it would be for handy caped ones). Some good CAPTCHA method was developed by <a href="http://research.microsoft.com/asirra/">Microsoft</a> you’re given 9 Photos of Dogs and Cats and you have to select only the Cats/or Dog ones. The project is called <strong>Asirra</strong> (Animal Species Image Recognition for Restricting Access) and is powered with photos by <a href="http://petfinder.com">Petfinder.com</a><br/>
Then you have some Checkboxes you need to click if you’re a human(this is nowadays no problem for Bots any more, as they fill in every field). Another idea is to ask to calculate two values together through some addition, subtraction. This one is quite hard to solve for them, a newer version of it is to ask some questions which needs to be answered.</p>
<h3>Spamlabeling as Service</h3>
<p>Nowadays you’re served with Webservices who check your Email/Comments. These are used by many users and do catch the latest Spam quite fast, every User is able to improve the Ruleset as he can report false positives or not caught Spam. The best Example would be the well known <a href="http://akismet.com">Akismet</a>.<br/>
These services are mostly the future of Spamblocking as your work is quite low at all, and you have a real good rate of false positives to catched Spam.</p>
<h2>Conclusion</h2>
<p>Spam is a really heavy Problem, since some years and will mostly stay another few years as long as no worldwide antispam act is done, so the Spammer can be suit everywhere one the world. But you have since the start some really good Protect mechanism, and fighting Spam was never easier before with Services like Akismet. Don’t belong to the People who loose time and money through Spam. Fight it, you’ll not regret it!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Why Stealing is bad]]></title>
<link href="http://philnate.me/blog/2007/10/04/why-stealing-is-bad/"/>
<updated>2007-10-04T13:42:00+02:00</updated>
<id>http://philnate.me/blog/2007/10/04/why-stealing-is-bad</id>
<content type="html"><![CDATA[<p>I never thought about such an step by myself, maybe as I never encountered such a thing upto date.<br/>
But if you run your own Webspace you should never steal any ones content or bandwidth. Then as soon as he notice it you can get some real problems, maybe he starts a lawsuite against yours(you maybe ignored some copyright laws, you caused some additional costs for him(bandwidth)). What does happen if he simply replaces the content/redirects your website to something which does harm your visitors, or does blame you?<br/>
On the Following <a href="http://wordpress.org/support/topic/96098">WordPress Topic</a> you’ll can read that someone linked to some JS of Website_A. This JS is the Output of some public free available WP Plugin, the JS code even mentions that it’s generated by some Plugin. But somehow the owner of Website_B was too lazy, or wanted to save some bandwidth that he simply linked to this JS file, on Website_A.<br/>
After the owner of Website_A recognized that someone was stealing his Bandwidth he created some mod_Rewrite Rule which redirected the Request from this JS to some other JS file, which contained an alertbox which appeared in front of the Visitor and told him that this Website steals some Traffic from another one. After one month the owner of Website_B discovered that JS change and removed the JS.<br/>
But it’s important to say that theoretically the owner of Website_A could have written any JS code into that file. So he could steal some Cookies of the Users of Website_B or anything else he would like, he could even start some Phishing attack.<br/>
The owner of Website_B made his website vulnerable because he was to lazy to get the script itself.<br/>
Every good Webmaster/Site owner does not steal any content, as this is unethical and maybe more important dangerous!</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[How to get PHP5 working on Debian 3.1]]></title>
<link href="http://philnate.me/blog/2007/09/13/how-to-get-php5-working-on-debian-3-dot-1/"/>
<updated>2007-09-13T22:28:00+02:00</updated>
<id>http://philnate.me/blog/2007/09/13/how-to-get-php5-working-on-debian-3-dot-1</id>
<content type="html"><![CDATA[<p>It took me ages to get my server updated to PHP5. I’ve tried multiple ways to get it working as well compiling the sources itself…(Yeah I’m quite new to Linux and it’s install behaves and blame me if you like, but I like the easy way not the hard one)<br/>
But I got none working except I found today that <a href="http://www.debianhelp.co.uk/apachephp5.htm">post</a>, it’s quite short but it is totally enough. I’ve got everything I need to run my PHP now under the Version 5.<br/>
Ok it wasn’t exactly as in the Post stated, I had to install as well php5-mysql, to get the database running again and I didn’t needed to create softlinks to php5.conf & php5.load, but it still was quite easy no need to compile the source code yourself… <br/>
With that post I’m adding as well some New Category Webserver where I take notes for everyone Public, but mostly they’re for my personal usage for the case that I should need them again.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[http:BL - remedy or just painkiller?]]></title>
<link href="http://philnate.me/blog/2007/05/21/httpbl---remedy-or-just-painkiller/"/>
<updated>2007-05-21T00:00:00+02:00</updated>
<id>http://philnate.me/blog/2007/05/21/httpbl—remedy-or-just-painkiller</id>
<content type="html"><![CDATA[<p>As you surely noticed already a few weeks ago, Project Honey Pot announced that they’re now also <a href="http://www.projecthoneypot.org/5days_tuesday.php">tracking Comment Spammers</a>. And they’re doing it quite successfully, the current rate of newly catched spammers is around 100 per day. Part of the success is for sure the the http:BL Plugin for WordPress, which can be grabbed <a href="http://stepien.com.pl/2007/04/28/httpbl_wordpress_plugin/">here</a>. Which made http:BL more known, and in order to use this Plugin you need a Project Honey Pot Account and if you have an account it’s not much work to get your own Honey Pot.</p>
<h3>http:BL the success</h3>
<p>Many users from http:BL WP Plugin reported that their daily Spam value dropped dramatically from 100 and above, to just a handful Spam Comments per day, some also report that they don’t receive any Spam at all after setting up this Plugin and Service.<br/>
For myself I got some similar figure but not too successful at all, my Spam count is still around 15-20 per day, but the amount dropped around 66%.</p>
<h2>Remedy</h2>
<p>After just a short time delay, new Spammer IPs will be caught and everyone who uses the http:BL Plugin profits from it, as the service(-Plugin) will block the attempts. So your Website will not receive any Spam and also the traffic, to the site can be lowered, for some heavy traffic pages it will have a big affect and will be a real mercy. One of the main aims is further to reach some Level of Informations about some Spammer/Bot Networks to start lawsuits against them.<br/>
That could lower the amount of daily Spam, although it’s a long and hard way to this date. So some day, we can live without Spamming at all. It’s our <strong>remedy</strong>!</p>
<h2>Painkiller</h2>
<p>The other facts are: Much Spam is coming from <a href="http://en.wikipedia.org/wiki/Zombie_PC">Zombie Computers</a>, and these are just the PCs of poor unsuspecting Internet Users. Which behave just like normal PC Users, who gets everytime he logs into the internet another IP.<br/>
http:BL only logs and blocks the exact spammy IP, and after a few days of no Spam from this IP it’s supposed to be clean. So if a Zombie enters the Internet, he mostly gets an innocent IP, the user stays connected for some time and sends 10 Spam posts(without his knowledge), where 3 off them reach the Blog. The IP is now blocked…but not the next time he connects to the Internet, he will be mostly innocent again…and there are millions of Zombies out. Now just imagine that this problem just gets even bigger when IPv6 makes it way into the wide world.<br/>
http:BL is just a painkiller which makes it liveable with Spam, at least for Users which use http:BL.</p>
<h3>From Painkiller to remedy</h3>
<p>You see there are some easy to see positive effects, but these alone will not stop Spam at all. To succeed the competition against spam, we need a world wide Anti Spam Act, which enables it from everywhere in the world to start a lawsuit against Spammer and that they can nowhere hide, any more. As well it’s important to make the Internet Users more awake to keep Anti-Virus and -Malware Applications up to date, to not end as Zombie. As well as the use of http:BL or similar tools need to be spread to a wide range of websites to make it gainless for Spammer to Spam, also if they’re using just Zombies, as the risk to be catched is too high.</p>
<h3>Conclusion</h3>
<p>It’s possible to get the Web mostly Spam free, but it will take much work, and not from just a handful Website owner, to achieve it. Mostly it will be that we have to use some protections for ever, as the less we try to fight them the more Spam will be. Equal what will happen, to successful fight Spam, now, you need to participate to http:BL or similar projects. Together we can stand Spam.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Be nice, give your visitors some sweet]]></title>
<link href="http://philnate.me/blog/2007/05/06/be-nice-give-your-visitors-some-sweet/"/>
<updated>2007-05-06T00:00:00+02:00</updated>
<id>http://philnate.me/blog/2007/05/06/be-nice-give-your-visitors-some-sweet</id>
<content type="html"><![CDATA[<p>Aren’t you bugged of all this evil around you and in the world? Not Even the Internet is a nice place.<br/>
Everywhere are phisher, Spammer, Harvester, Viruses, Trojans and so on. But that’s no reason not to give some love to your visitors by handling them over some sweet( for sure in digital kind!).<br/>
I mean if no one starts to be nice, the web never changes.</p>
<h2>Who sweets deserve</h2>
<p>So who deserves sweets? These who deserve sweets are a minority within our web community. Although they’re just a small part they have much influence and visit more websites within a week than most of us do within their live!<br/>
These good labourers deserve some sweets for their hard work. I mean they visit each and every link. Although links a normal user Never see! Because the normal user just visits your site skin-deep, but this minority finds every link! And that’s not all they do, they fill our email boxes with live and long awaited content, bring comments to our blogs and forums. They really deserve something. Something <strong>SPECIAL</strong>!</p>
<h2>How to give some sweet</h2>
<p>How do we give them now sweets? As we know they’re the only ones who find each and every link. Therefore why should a normal user be able to find the way to the sweets too? To block this we put simply some “hidden sweet links” to our website, which just these labourer find.<br/>
And behind this link they find the paradise. Some unused Email addresses! And they turn happy and know why they’re working so hard!</p>
<h2>They’re getting what they deserve!</h2>
<p>After they found the sweets, they’re tracked and as soon as they use this unused email you can block the IPs which use it. That works not only for Harvesters and Spam Mails. No, you can now also fight with this way Spammer. Project Honey Pot which just signed a <a href="http://www.projecthoneypot.org/5days_thursday.php">1$ Billion Lawsuit</a> has also ways to find and block Comment Spammer.</p>
<h2>How it works</h2>
<h3>Setting up your own Honey Pot</h3>
<p>Setting up your own honey Pot to trap the evil is as easy as uploading an additional page or editing the template of your blog.<br/>
At first you need an <a href="http://www.projecthoneypot.org">account</a>.<br/>
After that you can install your own honey pot. Just define in what language the file shall be written, as well as some other informations. Download the file, Upload the file. View the file, Follow the instructions and visit the link. And you’re done. Now you need only to add some links to your websites so that Crawlers can find them.<br/>
If you don’t own webspace you need only to be able to edit the template files and add Quicklinks to your theme.<br/>
Quicklinks are links to other Honey Pots. After these few steps you run your own Honey pot, which catches Harvester, Spam Server, and Comment Spammer. At Project Honey Pot you can track your trap.</p>
<h3>How to profit from the Data</h3>
<p>Ok with the current Information you don’t profit in anyway, except that the Spammer, maybe some day will be sued. Another Press Release from Project Honey Pot was http:BL. With this Blacklist API you can send the Visitor IP to Project Honey Pot. There it’s compared with the collected data. After that you get a result back, where you can find out if and when, which Type the malicious server is. Also you can find out, when the IP was last time active(maybe they Spammer moved to another IP and the visitor is legit?). And how much he scores within Threat and Damage.<br/>
Depending on that Information you can decide either to block the access attempt or allow it.</p>
<h3>Which software does already make use of it?</h3>
<p>There’s a good version for <a href="http://stepien.com.pl/2007/04/28/httpbl_wordpress_plugin/">WordPress</a><br/>
And for phpBB is a Knowledge article <a href="http://www.phpbb.com/kb/article/httpbl-on-phpbb-fight-back-against-spammers/">available</a></p>
<h2>Conclusion</h2>
<p>Try to install a honey Pot at your Website or at least try to link to one. The more we are the more we have impact on it. Maybe we can get the Web a cleaner place to stay! Install http:BL Plugins/Mods to protect your website from these evil.</p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Having fun with Google]]></title>
<link href="http://philnate.me/blog/2007/04/07/having-fun-with-google/"/>
<updated>2007-04-07T00:00:00+02:00</updated>
<id>http://philnate.me/blog/2007/04/07/having-fun-with-google</id>
<content type="html"><![CDATA[<p>Are you bored and don’t know what to do? Ever tried to have fun while working with Google?<br/>
No?<br/>
You have to try it, it can be real fun!</p>
<h3><a href="http://google.com/codesearch">Google Code Search</a></h3>
<p>This service was made public by Google in October last year. The sense behind this feature is to make it easier for programmer to search for Code examples. The Source Code which you get as result was crawled by Google at websites all over the web. The Source Code you can view is open source, so no copyright problems are caused.</p>
<h4>How you have fun</h4>
<p>As you surely as developer of programs know it’s sometimes the hell to get your code working. And as it seems many programmer want to remember this also years after creation, when they have to work with the code again. If you search for damn, fuck, and other 4 letter words and other expressions you find many funny statements. You can see some of them at this website: <a href="http://webthreads.de/2006/10/google-code-search-oder-wie-finde-ich-lustige-kommentare">webthreads.de</a>.<br/>
Don’t think you find no comments about persons who haven’t to do anything with programming. So let’s see what you can get by crawling for <strong>George W Bush</strong>:</p>
<blockquote><p> 85: AddReply([’ george ‘, ’ bush ‘], [</p>
<pre><code> 'Bush, this man is a war criminal, and we will see that he is brought to trial.';
, 'The leader of the international criminal gang of bastards.';
</code></pre>
<p> 790: ;; MORAL-II: Redefining somebody else’s advice is BAAAAD (to speak with</p>
<pre><code> ;; George Walker Bush), and why would you redefine your own advice anyway?
;; Advice is a mechanism to facilitate function redefinition, not advice
</code></pre></blockquote>
<h3>Let’s talk with <a href="http://douweosinga.com/projects/googletalk">Google</a></h3>
<p>Googles search Engine is already able to talk with you! Visit <a href="http://douweosinga.com/projects/googletalk">douweosinga</a> and you’ll see that this is possible.</p>
<h4>How it works</h4>
<p>It’s totally simple at the website above you simply write 3 or 4 words into a Textbox. The script searches then at Google and returns you for the first search Result the first Word after the term given by yours. Now it removes the first word of your word group and searches after it again, with the first returned word added. Also this time is the first word after the group taken and added to your sentence, as well as it is now part of the search term. And so on.<br/>
So you get often funny sentences, which end everytime, just a question of time, after a while as mess.<br/>
As the search results for the terms changes just as the web changes your results can be tomorrow totally different than they were today.<br/>
So for example I got from Google (<strong>Bold</strong> are my words):<br/>
* <strong> <strong>George Bush drinks</strong> the Blood of the Jews and Poles.</strong><br/>
* <strong> <strong>bill gates plan</strong> to Win the War on terror, as a tool for learning. and Teaching. in the Social Sciences.</strong> – That’s the answer to the question why the hell MS products are so expensive. we help to fight terrorism!</p>
<h2>Conclusion</h2>
<p>As you see you can get alot of fun with Googles services. So why don’t you try it for yourself? It’s worth a look!<br/>
Here are the links again:<br/>
<a href="http://google.com/codesearch/advanced_code_search">Google Code Search</a><br/>
<a href="http://douweosinga.com/projects/googletalk">Google Talk</a></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[HTML - this is the reality]]></title>
<link href="http://philnate.me/blog/2007/03/17/html---this-is-the-reality/"/>
<updated>2007-03-17T00:00:00+01:00</updated>
<id>http://philnate.me/blog/2007/03/17/html—this-is-the-reality</id>
<content type="html"><![CDATA[<p>Google <a href="http://code.google.com/webstats/index.html">crawled in 2005</a> around a billion pages to find out what Tags and Tag attributes are used within them.</p></p>
<h3>General</h3>
<p>So this Study shows for example that within the <html> the attribute <strong>xml:lang</strong> is quite often used, but it’s totally senseless within a HTML Document as no HTML processor does look at it.<br/>
It also shows that many people aren’t able to write values within quotes, so mostly wrong attributes and values for them would be the answer.<br/>
As you also can find out is that the meta name <strong>revisit-after</strong> is useless as just one Spider ever looked at this attribute.</p>
<h3>Do we need this for SEO?!</h3>
<p>What I personally found really interesting is this Sentence about meta attributes:</p>
<blockquote><p>Next we have two name values: keywords, which these days is mostly useless, ironically, and description, which is still somewhat useful.<br/>
Does that mean that parts of SEO, like the meta SEO is totally senseless, as these tags aren’t taken serious any more?</p></blockquote>
<h3>The Look is the Content</h3>
<p>As we already know Tables are misused by many websites and templates for designing purpose, therefore most attributes uses within them are just for presentation. But that applies also for to the body tag. As you also can see from these results most pages still use the attributes to define the Styling rather than css to do this.</p>
<h3>Hyper Text Mark-up Langauge is Difficult</h3>
<p>It’s really interesting to see how many misspell attributes just one example is the above already misspelled Language which can be found in a lot of versions on the internet. And what I didn’t know for myself you don’t need to add even the language attribute to the script tag, as there’s just one valid language for it!</p>
<h3>I need my own Tag attribute</h3>
<p>The last thing I want to mention is the quite big amount of self invented tags, which comes from Adobe GoLive, MicroSoft Office and some more. Where I can’t see any sense behind it as these tags aren’t supported by Browser, or mostly not supported. So what are they for?</p>
<h3>Conclusion</h3>
<p>To write 100% HTML 4.01 Mark-up is a lot of work and needs much attention. Not only when you have written it also after you published it. Maybe HTML isn’t for everyone, and you may need a HTML Expert, to be able to publish HTML code.<br/>
Take a look at the Study for yourself, it’s worth looking.</p></p>
]]></content>
</entry>
<entry>
<title type="html"><![CDATA[Tip of the Week!]]></title>
<link href="http://philnate.me/blog/2005/10/25/tip-of-the-week/"/>
<updated>2005-10-25T00:00:00+02:00</updated>
<id>http://philnate.me/blog/2005/10/25/tip-of-the-week</id>
<content type="html"><![CDATA[<p>I’m happy to announce that the <strong>Tip: Fake-Transparency for UserControls</strong>, is taken as Tip of the Week 24.10-30.10 on the biggest german Website for VisualBasic, <a href="http://vbarchiv.net">Vb@rchiv.net</a>.<br/>
I feel me now a bit proud and I’m strengthened that my work, what I do isn’t so worse as I sometimes see it.<br/>
I hope that my following tips I will someday release and other coding work will connect on this success.</p>
]]></content>
</entry>
</feed>