Article View: news.software.readers
Article #261682Re: Dynamic X-Face (was: slrn/1.0.3 and OpenSSL/1.1.0c?)
From: Neodome Admin
Date: Sun, 08 Jan 2017 06:07
Date: Sun, 08 Jan 2017 06:07
154 lines
8140 bytes
8140 bytes
Marcel Logen <333200007110-0201@ybtra.de> wrote:
> tlvp wrote:
>
>> On Sat, 24 Dec 2016 10:58:24 +0000 (UTC), Marcel Logen wrote:
>>> tlvp in news.software.readers:
>
>>>> You have some programmatic way to get your X-Face to show your posting
>>>> time/date-stamp?
>>>
>>> Yes, some years ago I wrote a set of (Perl-)Scripts to
>>> achieve this.
>>>
>>
>> Magnificent :-) !
>>
>>>> Care to expand on that in any way, please? Thanks!
>>>
>>> I'm not shure to understand you correctly:
>>> Do you mean there is a security problem with this?
>>
>> Oh, no, Marcel, not at all. What I meant was that I'd welcome further
>> information regarding how those (Perl-)Scripts might look, and whether I
>> might be able to achieve a similar result even though on a Windows system.
>
> OK, well. :-)
>
> There are two Perl scripts, "pxface.pl" and "fxface.pl".
>
> | Archive: xface.zip
> | Length Date Time Name
> | --------- ---------- ----- ----
> | 903 2016-12-23 00:12 fxface.pl
> | 9669 2016-12-23 00:07 pxface.pl
> | --------- -------
> | 10572 2 files
>
> These scripts take each a "unix time" specification as
> argument, e. g.:
>
> ./pxface.pl 1483562531
>
> at which the "1483562531" represents the date/time
> "Wed, 04 Jan 2017 21:42:11 +0100".
>
> The pxface.pl script produces output like this (48x48):
>
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000111000000111000000010000001111100000000
> | 000000001000100001000100000110000001000100000000
> | 000000000001000001000100000010000000000100000000
> | 000000000010000001000100000010000000001000000000
> | 000000000100000001000100000010000000010000000000
> | 000000001000100001000100000010000000010000000000
> | 000000001111100000111000000111000000010000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000111000000100000000000000011100000001000000
> | 000001000100001100000000000000100010000010000000
> | 000001000100000100000000000000100010000100000000
> | 000001000100000100000111111000100010001001000000
> | 000001000100000100000000000000100010001111100000
> | 000001000100000100000000000000100010000001000000
> | 000000111000001110000000000000011100000001000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000001000001000010000010000000000000000
> | 000000000000001100011000000000010000000000000000
> | 000000000000001010101000110000111100000000000000
> | 000000000000001001001000010000010000000000000000
> | 000000000000001000001000010000010000000000000000
> | 000000000000001000001000010000010100000000000000
> | 000000000000001000001000111000001000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 001110000010000000000100001110000000010000001000
> | 010001000110000000001000010001000000110000011000
> | 000010000010000100010000000010001000010000001000
> | 000100000010000000100100000100000000010000001000
> | 001000000010000100111110001000001000010000001000
> | 010001000010000000000100010001000000010000001000
> | 011111000111000000000100011111000000111000011100
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
> | 000000000000000000000000000000000000000000000000
>
> The fxface.pl script generates the actual X-Face string (by
> dint of the "compface" program which has to be installed):
>
> ./fxface.pl 1483562531
>
> | X-Face:
> #*d+E#4\"xN:\p3hi]Kadv[='h"Q>ZF/PkV13A2G'A")#YLT3UvK~dgAaao]|Gz$.-:8R"KAC?s9/|6@g`M:S't&Ephgv|9%unk:EJ23Sk/z\)Vwn9~gZp&^q9<UN;f$&nRtp|{6]>nX&eSoO
>
> "fxpace.pl" calls "pxface.pl", so it is sufficient to launch
> "./fxface.pl 1483562531" to produce the X-Face string. However,
> you have to adjust the path to "pxface.pl" at line 16 of
> "fxface.pl". (Line 15 is only a comment without effect.)
>
> I don't know, if there is a Windows version of compface, but
> I assume that.
>
> You have to adjust the path to the "compface" (or compface.exe?)
> binary at line 37 of "fxface.pl". (Line 36 is a comment.)
>
> Furthermore, I don't know how to attach these scripts to
> 40tude Dialog in Windows.
>
> Here some links:
>
> <https://en.wikipedia.org/wiki/Unix_time>
>
> <http://www.dairiki.org/xface/> (there you can input the above
> mentioned X-Face string "X-Face: #*d+E#4[...]" and you get the
> corresponding 48x48 black-and-white image; there is also some
> information about X-Face in general)
>
> <http://ybtra.de/div/2016h2/xface.zip> (here you can download a
> ZIP archive with my two scipts)
>
> Hint: These scripts have Linux line endings (LF instead of CRLF as
> in Windows), so you can open the files with WordPad and save them
> from there; then the line endings should be CRLF.
>
> Use these scripts at your own risk, I'm not a programmer, but
> I have written them back then for my own use. There is no warranty
> at all!
>
> Have fun! :-)
>
> Marcel
Marcel, just FYI.
I'm running news server neodome.net and I created some custom scripts for
it. One of them is collecting X-Face: and Face: headers from messages
passing through my server. When I'll have time I will write a program to
automatically generate HTML pages with said collection.
I didn't dig into X-Face: headers yet, but majority of Face: headers are
coming from you. :) I guess I will have to update the script to ignore
messages with your name in From: field.
--
Neodome
Technical Details
Message-ID:
<o4skvf$ith$1@neodome.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<20161223fr165226@o15.ybtra.de> <pccm7q1xh7c6$.j2zrpfb4d3ec.dlg@40tude.net> <slrno5sl6g.vv.4@o15.ybtra.de> <lct37dbjz54t$.17fg68hxdu8me$.dlg@40tude.net> <20170106fr211858@r18.ybtra.de>Show Full Headers
Complete Article Headers
Message-ID: <o4skvf$ith$1@neodome.net> Subject: Re: Dynamic X-Face (was: slrn/1.0.3 and OpenSSL/1.1.0c?) Date: Sun, 08 Jan 2017 06:07:44 +0000 From: Neodome Admin <admin@neodome.net> References: <20161223fr165226@o15.ybtra.de> <pccm7q1xh7c6$.j2zrpfb4d3ec.dlg@40tude.net> <slrno5sl6g.vv.4@o15.ybtra.de> <lct37dbjz54t$.17fg68hxdu8me$.dlg@40tude.net> <20170106fr211858@r18.ybtra.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: Neodome | news.neodome.net | news.neodome.i2p Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Sun, 8 Jan 2017 06:07:44 +0000 (UTC) Injection-Info: neodome.net; posting-account="h8YZtNFv8TPjn57PAcAJXl/VuxuN72GlD/bv8LvaNvvQdtNnOx/HWqvjCm/yNsXJpHx8wtIzEJRx kzGJi/cRhcURFeEeKaiHWaWWLvpphzj+A3LAh14CTeA70nvK3QwUWL8BoDexZnmIBXIJRnS7X5Zu C1fDPERa1TctWk2dflz1oPJdhtcAUZf8exHcr2LqtIOKY3M4NDUaE+IB5AclAAPTN9kaqwg/AcLF KAxj85/pY+UnIWTRizWY6cJkFkuzw0vI9jlryGfYTBYLMIgxLzbVMGUaPnNwMRZdJW2M1ZtNr6F4 opHiKII6cD72q8t1+C8d8GJCHsr8g12tmZkyiQ=="; posting-host="3vuUA9K+nDNlg884TzdcEarWnG+Q1vI6tyUwZLIwgq75L3GTSOBTiOpEM6ugL2aHe16USVVB/uhS IF/V0hXUfSRLi9TyAoEat10zCmJYMqDhhWboU+zWWGC7NprXw/TxXEjN48XlRAzzXxNXjz8zELRO gQn/LrAgvFX1R8hoBUyX8Gqg48bnol+xrN8oRc9Viv1qP7cTcUL8QLjnLrgKxesZOXIEUVPxyyga vwwaoP1366PGTtIo2eIayW6D9aSfFj789m2YowS0NJV04S6zIzn+1wcS8rH3p9qc55lZ/AYNVpTh WYI9+mDIglS+vf5ow8U8qKRjhFAm5URPhmFabA=="; logging-data="19377"; mail-complaints-to="abuse@neodome.net" User-Agent: NewsTap/5.2.1 (iPhone/iPod Touch) X-No-Archive: Yes X-Face: ;-) Cancel-Lock: sha1:gBJ9+BV2ViCSV9ovUT5nuAsaJ5g= X-Received-Body-CRC: 2033773270 X-Received-Bytes: 8121