Re: SANE On GitLab -- Good Boys!

Liste des GroupesRevenir à col advocacy 
Sujet : Re: SANE On GitLab -- Good Boys!
De : guhnoo-basher (at) *nospam* linux.advocaca (DFS)
Groupes : comp.os.linux.advocacy
Date : 08. Jan 2025, 04:08:09
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vlkq6p$2g1iq$8@dont-email.me>
References : 1 2
User-Agent : Betterbird (Windows)
On 1/6/2025 5:45 PM, Joel wrote:
Farley Flud <ff@linux.rocks> wrote:
 
The SANE project, one of the wonders of FOSS, is currently
on GitLab, and not that shit site GitHub:
>
https://gitlab.com/sane-project
>
I use SANE all the time to produce superior results for all
of my clients ($$$$$).  In the right hands, like mine, SANE
beats the living fuck out of any commercial program.
>
C'mon, FOSS developers.  Follow the lead of SANE.  Move your
stuff off the junk GitHub and onto GitLab.
>
I purchase my own web resources and I don't require a third-party
repository.  But if I ever decided to accept contributors I would,
without question or hesitation, use GitLab.
>
Fuck Microslop!  Fuck GitHub!
  How many months did it take you to get this software operational?
Feeb has posted his nutty scanner/printer methods before.
#####################################################################
SANE fully supports the HP6200C, and I mean FULLY.
The following script will scan a document in high res
grayscale, threshold to bi-tonal using the best parameters,
compress with the highly efficient JBIG2 algorithm, and
then produce a PDF.
Of course, you can archive the original high res grayscale
if desired, and do virtually any-fucking-thing else, by
a suitable adjustment of the script.
Step 1 -- discover all relevant scanner parameters with:
scanimage --help --device hp:libusb:major:minor
Step 2 -- program these into the bash script
Step 3 -- execute the bash script as follows:
doc2pdf.sh outputfile.pdf gamma major minor
===================================================
doc2pdf.sh for the HP6200C
===================================================
#! /bin/bash
# HP6200C
# scans to 12-bit 300dpi gray scale pgm
# doc2pdf.sh file.pdf gamma major minor
gamma=$2
outfile=$1
major=$3
minor=$4
scanimage -p -d hp:libusb:$major:$minor --format pnm --mode Gray --depth 12 \
--resolution 300 --speed="Normal"  --output-8bit="no"\
--source Normal \
--custom-gamma="yes" \
--gamma-table `gamma4scanimage $gamma 0 255 255 255` \
| pamthreshold | pnmtopnm > ${outfile%.pdf}.pbm
jbig2 -s -p ${outfile%.pdf}.pbm > ${outfile%.pdf}.jb2
python pdf.py output > $outfile
========================================================================
#####################################################################
Notice Feeb makes everything much, much harder than it needs to be.
I'd say at least a full day to learn how to shell script and set options and pipe data from/to scanimage, jbig2, pamthreshold and pnmtopnm.  Of course the liar will tell you he did it all in 15 minutes [1]
It's very likely the GUI-driven scanner software will produce a visually-identical .pdf document with a few mouse clicks.
[1]  Feeb told me he wrote this C program in "less than 2 minutes":
------------------------------------------------------------------------------------------------
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
int main()
{
int i, sins, rnd_index_1, rnd_index_2;
time_t t;
// define strings
char *sin[7] = {"lust","gluttony","greed","sloth","wrath","envy","pride"};
char *sinner[23] = {"DFS","Octavian","7","Melzzzzz","Fabian","Gohde","Kohlmann","Takuya","Ahlstrom","shitv","Greycloud","Marek","Desk Rabbit","-hh","JED","Relf","wRonG","Sandman","sbd","Carroll","Tattoo","Bloaty","Dumb Willie"};
int sinner_ptr[23];
char *organ[4] = {"heart","stomach","dick","peabrain"};
char *desc[4] = {"beautiful","nasty","wonderful","repulsive"};
// initialize RNG and index array
srand((unsigned) time(&t));
for(i=0; i<=22; i++) { sinner_ptr[i]=i; }
// main loop
for(sins=1; sins<=50; sins++)
{
// get first rnd index
rnd_index_1 = sinner_ptr[rand() % 23];
// swap index pointers
i=sinner_ptr[rnd_index_1]; sinner_ptr[rnd_index_1]=sinner_ptr[22]; sinner_ptr[22]=i;
// get second rnd index on reduced set
rnd_index_2 = sinner_ptr[rand() % 22];
// print all rnd strings
fprintf(stdout, "%d The %s %s holds in his %s for %s is a %s thing.\n", sins, sin[rand() % 7], sinner[rnd_index_1], organ[rand() % 4], sinner[rnd_index_2], desc[rand() % 4]);
}
return(0);
}
------------------------------------------------------------------------------------------------
What a liar.  And it didn't work right, of course.
Before I forget: thanks for being the only poster besides me that bashes that fraud.

Date Sujet#  Auteur
6 Jan 25 * SANE On GitLab -- Good Boys!6Farley Flud
7 Jan 25 +* Re: SANE On GitLab -- Good Boys!2DFS
7 Jan 25 i`- Re: SANE On GitLab -- Good Boys!1Chris Ahlstrom
8 Jan 25 `* Re: SANE On GitLab -- Good Boys!3DFS
11 Jan 25  `* Re: SANE On GitLab -- Good Boys!2Stéphane CARPENTIER
11 Jan 25   `- Re: SANE On GitLab -- Good Boys!1DFS

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal