🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #266902

Re: (iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...

#266902
From: Stefan Ram
Date: Mon, 26 Feb 2024 11:13
21 lines
2268 bytes
Colin Macleod <cgm@erehwon.invalid> writes:
>There's a big difference between encoding gigabyte videos into hundreds 
>of posts, and including a small picture or graphic *as part of a 
>message* just as one might do in an email. I think it would be very 
>helpful to allow the second more generally, with sensible limits on 
>attachment size.

  You can just post a Python program to /generate/ the binary.
  For example:

with open( 'output202402261208430100ergahei_tmp_DML.bin', 'wb' )as sink:
    sink.write( b'\00\01\02' )

  . Now, one can run this Python program and will get the binary file
  "output202402261208430100ergahei_tmp_DML.bin" with the three bytes
  00, 01, and 02.

  But be warned: If you already have a file named 
  "output202402261208430100ergahei_tmp_DML.bin"
  on your hard drive, the above program may *overwrite*
  (delete) your existing file. So proceed with care!
Technical Details
Message-ID: <binary-20240226121322@ram.dialup.fu-berlin.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <urgajg$22g45$1@dont-email.me> <urgusr$eq4$1@tncsrv09.home.tnetconsulting.net> <XnsB124645989C50colingmacleodyahooco@135.181.20.170>

Show Full Headers
Complete Article Headers
Message-ID: <binary-20240226121322@ram.dialup.fu-berlin.de>
Subject: Re: (iso Pythonic code) -- if Usenet allowed a small image embedded in a msg, ...
Date: Mon, 26 Feb 2024 11:13:59 +0000
From: ram@zedat.fu-berlin.de (Stefan Ram)
References: <urgajg$22g45$1@dont-email.me> <urgusr$eq4$1@tncsrv09.home.tnetconsulting.net> <XnsB124645989C50colingmacleodyahooco@135.181.20.170>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.readers,alt.culture.usenet
Organization: Stefan Ram
Lines: 21
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de j7NtwH9ePC/TAU41b3+dnwnCvkKysGIy8vzkBTU3nLfcT5
Cancel-Lock: sha1:dJwXpFNhvpyIRHRi6x1M0sByl94= sha256:qY9ZvXbaTJe/XcvGCxB+NoesTwwSa+/WeXzf1b/7EWM=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
    and to transfer the body without this notice, but quotations
    of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
X-No-Html: yes
Content-Language: en-US
Accept-Language: de-DE-1901, en-US, it, fr-FR