Re: How to save filtered less results in a file or on stdout
On Lu, 05 apr 21, 22:29:31, David Wright wrote: > > But I don't know how vim would do on-the-fly filtering like > less can do with & (not being very familiar with vim). A quick web search suggests: :v/pattern/d press 'u' to undo or ':w filename.txt' to write the result to a different file. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: How to save filtered less results in a file or on stdout
On Tue 06 Apr 2021 at 01:09:09 (+0100), jr wrote: > on Mon, 5 Apr 2021 17:44:28 Andrei POPESCU wrote: > > If you are willing to learn (neo)vim, '(n)vim -R' as 'view' can be used > > instead of 'less', with all the power of an advanced editor at your > > disposal. … or '| vim -R -' or even '| vim -' in place of '| less'. But I don't know how vim would do on-the-fly filtering like less can do with & (not being very familiar with vim). > or just press 'v' in 'less'? $ sort -m /var/log/kern.log /var/log/user.log | EDITOR=emacs less Pressing v gives me: Cannot edit standard input (press RETURN) Cheers, David.
Re: Modern best practice for putting a contact email on the web
On Mon, 05 Apr 2021 21:31:16 -0400 Stefan Monnier wrote: > > I use some GMX accounts, and they apparently don't support plus > > addressing (I just tried, and the message was refused with "550 > > Requested action not taken: mailbox unavailable."). I suppose it would be > > nice if they did support it, but I can't really fault them for not > > supporting a non-standard Google invention. > > It predates Google by a long shot. > It was a fairly standard config option back in the days of sendmail+procmail. Thanks for the correction. I just haven't been able to figure out how much of a "standard" it actually is. Some RFCs (e.g., https://tools.ietf.org/html/rfc5233) acknowledge it as existing ("On email systems that allow for 'subaddressing' or 'detailed addressing' (e.g., "ken+si...@example.org") ..."), but it doesn't seem to be a formal standard. Celejar
Re: Modern best practice for putting a contact email on the web
> I use some GMX accounts, and they apparently don't support plus > addressing (I just tried, and the message was refused with "550 > Requested action not taken: mailbox unavailable."). I suppose it would be > nice if they did support it, but I can't really fault them for not > supporting a non-standard Google invention. It predates Google by a long shot. It was a fairly standard config option back in the days of sendmail+procmail. Stefan
Re: Modern best practice for putting a contact email on the web
Hellow, Celejar writes: > Hi, > > What's the recommended modern best practice for putting a contact email > address on the web while avoiding having it scraped by spam / fraud > bots? Personally i use Gmail. That is all. Thanks for reading my thought ^^^ Sincerely, Byung-Hee -- ^고맙습니다 _和合團結_ 감사합니다_^))//
Re: ubuntu/snap future
On 4/5/21 4:53 PM, Paul Johnson wrote: On Sat, Apr 3, 2021 at 11:39 AM George Shuklin mailto:george.shuk...@gmail.com>> wrote: It looks to me like they desperately want to jump away from debs into 'vendor friendly packaging' There's nothing user-unfriendly about .debs. They just don't want to maintain their software and are looking for a "fire and forget" solution. I can't see this as anything but a bad thing, something the world can live without. +1
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 19:39:43 -0400 Dan Ritter wrote: > Celejar wrote: > > On Mon, 5 Apr 2021 15:51:28 -0400 > > Dan Ritter wrote: > > > > > > Okay, but why isn't trying to limit spammers getting hold of an address > > > > a logical part of a defense in depth strategy? > > > > > > Because it doesn't work. If it worked as well as, say, moving > > > your SSH port*, I would encourage it. It does not. > > > > Source? Is this your personal experience, or do you have some other > > basis for this? Cloudflare, for example, asserts that: > > > > "Cloudflare Email Address Obfuscation helps in spam prevention by > > hiding email addresses appearing in your pages from email harvesters > > and other bots, while remaining visible to your site visitors." > > Source: experience from being actively involved in the Internet > for 25 years, including time on anti-spam initiatives at BBN and > Akamai, various mail anti-abuse working groups (now > https://www.m3aawg.org/ which I'm not currently involved with > particularly) and running personal and corporate mail servers > for most of that time. Sounds good to me :) > > > OK, use tagged addresses. Gmail has that feature for free. > > > > > > page and tell Gmail to spam-bin the old address. > > > > Worth considering, certainly. I try to avoid Gmail as much as possible > > (I know that I'm still using it for d-u), but I can check to see > > whether the other email providers I use support plus addressing. > > The good ones will. The best ones will also offer - addressing > on the same terms. Turns out that a bunch of idiots think that + > is not a valid mail left-hand-side character, but - is. I use some GMX accounts, and they apparently don't support plus addressing (I just tried, and the message was refused with "550 Requested action not taken: mailbox unavailable."). I suppose it would be nice if they did support it, but I can't really fault them for not supporting a non-standard Google invention. Celejar
Re: Modern best practice for putting a contact email on the web
On Mon, 2021-04-05 at 20:18 -0400, Dan Ritter wrote: > Jim Popovitch wrote: > > On Mon, 2021-04-05 at 19:39 -0400, Dan Ritter wrote: > > With experiences like that, you should be already well on your way to > > taking care of this: > > > > https://www.spamhaus.org/css/removal/record/2600:3c03::f03c:91ff:fe25:c4ae > > > > Your emails keep going into Spam/Bulk folders. :) > > They do that every so often. Spamhaus doesn't like Linode, and I > have a VM there that occasionally forwards mail for me. > > I ask them to unban it, they do, then a few weeks or months > later they blanket-ban Linode again. > > If it were more of an issue for me, I might consider switching. Try sending via ipv4 only to lists.d.o, etc. -Jim P.
Re: Modern best practice for putting a contact email on the web
Jim Popovitch wrote: > On Mon, 2021-04-05 at 19:39 -0400, Dan Ritter wrote: > With experiences like that, you should be already well on your way to > taking care of this: > > https://www.spamhaus.org/css/removal/record/2600:3c03::f03c:91ff:fe25:c4ae > > Your emails keep going into Spam/Bulk folders. :) They do that every so often. Spamhaus doesn't like Linode, and I have a VM there that occasionally forwards mail for me. I ask them to unban it, they do, then a few weeks or months later they blanket-ban Linode again. If it were more of an issue for me, I might consider switching. -dsr-
Re: How to save filtered less results in a file or on stdout
on Mon, 5 Apr 2021 17:44:28 Andrei POPESCU wrote: > If you are willing to learn (neo)vim, '(n)vim -R' as 'view' can be used > instead of 'less', with all the power of an advanced editor at your > disposal. or just press 'v' in 'less'? -- regards, jr. You have the right to free speech, as long as you're not dumb enough to actually try it. (The Clash 'Know Your Rights')
Re: ubuntu/snap future
On Sat, Apr 3, 2021 at 11:39 AM George Shuklin wrote: > It looks to me like they desperately want to jump away from debs into > 'vendor friendly packaging' > There's nothing user-unfriendly about .debs. They just don't want to maintain their software and are looking for a "fire and forget" solution. I can't see this as anything but a bad thing, something the world can live without.
Re: Modern best practice for putting a contact email on the web
On Mon, 2021-04-05 at 19:39 -0400, Dan Ritter wrote: > Celejar wrote: > > On Mon, 5 Apr 2021 15:51:28 -0400 > > Dan Ritter wrote: > > > > > > Okay, but why isn't trying to limit spammers getting hold of an address > > > > a logical part of a defense in depth strategy? > > > > > > Because it doesn't work. If it worked as well as, say, moving > > > your SSH port*, I would encourage it. It does not. > > > > Source? Is this your personal experience, or do you have some other > > basis for this? Cloudflare, for example, asserts that: > > > > "Cloudflare Email Address Obfuscation helps in spam prevention by > > hiding email addresses appearing in your pages from email harvesters > > and other bots, while remaining visible to your site visitors." > > Source: experience from being actively involved in the Internet > for 25 years, including time on anti-spam initiatives at BBN and > Akamai, various mail anti-abuse working groups (now > https://www.m3aawg.org/ which I'm not currently involved with > particularly) and running personal and corporate mail servers > for most of that time. With experiences like that, you should be already well on your way to taking care of this: https://www.spamhaus.org/css/removal/record/2600:3c03::f03c:91ff:fe25:c4ae Your emails keep going into Spam/Bulk folders. :) Best wishes, -Jim P.
Re: Modern best practice for putting a contact email on the web
Celejar wrote: > On Mon, 5 Apr 2021 15:51:28 -0400 > Dan Ritter wrote: > > > > Okay, but why isn't trying to limit spammers getting hold of an address > > > a logical part of a defense in depth strategy? > > > > Because it doesn't work. If it worked as well as, say, moving > > your SSH port*, I would encourage it. It does not. > > Source? Is this your personal experience, or do you have some other > basis for this? Cloudflare, for example, asserts that: > > "Cloudflare Email Address Obfuscation helps in spam prevention by > hiding email addresses appearing in your pages from email harvesters > and other bots, while remaining visible to your site visitors." Source: experience from being actively involved in the Internet for 25 years, including time on anti-spam initiatives at BBN and Akamai, various mail anti-abuse working groups (now https://www.m3aawg.org/ which I'm not currently involved with particularly) and running personal and corporate mail servers for most of that time. > > OK, use tagged addresses. Gmail has that feature for free. > > > > page and tell Gmail to spam-bin the old address. > > Worth considering, certainly. I try to avoid Gmail as much as possible > (I know that I'm still using it for d-u), but I can check to see > whether the other email providers I use support plus addressing. The good ones will. The best ones will also offer - addressing on the same terms. Turns out that a bunch of idiots think that + is not a valid mail left-hand-side character, but - is. -dsr-
Re: Dell R440 with Debian 10.7.0 Display Issues
On Mon 05 Apr 2021 at 22:54:37 +0300, Andrei POPESCU wrote: > On Sb, 27 mar 21, 10:48:43, Brian wrote: > > > > I did previously note the reiteration and acknowledge that video > > hardware could require non-free firmware. However, does a d-i carrying > > such firmware ever make any attempt to install it? As I understand it, > > the installer is designed to probe for and load non-free firmware for > > network hardware only. > > [citation needed] I think I asked my question first. -- Brian.
Re: Modern best practice for putting a contact email on the web
On Mon, 05 Apr 2021 16:50:30 -0400 Stefan Monnier wrote: > Celejar [2021-04-05 14:49:15] wrote: > > On Mon, 5 Apr 2021 14:12:07 -0400 Dan Ritter wrote: > >> Celejar wrote: > >> > What's the recommended modern best practice for putting a contact email > >> > address on the web while avoiding having it scraped by spam / fraud > >> > bots? > >> Assume that every address will be hit by spammers and scammers. > >> Put in appropriate antispam and antimalware precautions. > > Okay, but why isn't trying to limit spammers getting hold of an address > > a logical part of a defense in depth strategy? > > I think Dan is right: what he says is "the recommended modern practice". > Defense in depth has to be weighted against the annoyance for real > users, and sadly it's much easier to tweak a scraper once to handle > yet-another-obfuscation-trick than it is for real users to jump through > the same hoops (because those users only jump through those hoops once, > so they pay the full price rather than spreading the price over > millions of pages). > > >> Train your people to recognize spam and scams. > > I'm talking about a small hobby project that I run in my spare time. I > > just want to reduce spam to an address that I may put up to allow > > people to reach me. > > The only alternative is to use something else than email, which requires > users to have/create an account and authenticate themselves (e.g. an issue > tracker on SourceHut). Understood. In this particular case, at least, it will be difficult to do that, since I don't control the page in question - I just have the ability to drop some text / HTML into it. I suppose I could put a link on the page to a page that I do control, and have some type of form / login system there ... Celejar
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 21:57:50 +0100 Joe wrote: > On Mon, 5 Apr 2021 16:10:05 -0400 > Celejar wrote: > > > On Mon, 5 Apr 2021 20:36:39 +0100 > > Joe wrote: > > > > > On Mon, 5 Apr 2021 14:49:15 -0400 > > > Celejar wrote: > > > > > > > > Okay, but why isn't trying to limit spammers getting hold of an > > > > address a logical part of a defense in depth strategy? > > > > > > It is, but if you are reachable then a human can enter your address > > > on > > > > Yes, but humans don't scale the way bots do ;) > > No, but you don't care about how many other addresses are harvested, > just about yours. Well, actually I care about others as well ;) But my point was that if it takes a human to scrape my email address, then spammers are less likely to do it, since to scrape emails manually at scale would be prohibitively expensive, whereas if the address can be scraped by bots, then they will do it, since the cost of the bot can be amortized over lots of addresses. > > > Unfortunately, there's nothing to beat running your own mail server, > > > which is not particularly high-maintenance after setup. The address > > > at the top of this email was created nearly 23 years ago, and has > > > been used widely around the Net, including several Usenet groups. I > > > get between one and four spams a day in my inbox. As it happens, I > > > put a new CIDR group on my blacklist today, for the first time in > > > perhaps a year. > > > > I've certainly been tempted for a while. And I suppose that receiving > > is less problematic then sending, where one apparently has to manage > > reputation, worry about past users of an IP address, monitor > > blacklists, etc. > > > Yes, sadly that boils down to having a competent ISP, and I know that > in some parts of the world there's not much choice. In the UK, we have > three good ISPs, one of which is amazing but expensive. In general, if > you can find an ISP who will provide a fixed IPv4 address at little or > no extra cost, they probably know what they're doing. > > It is possible to send through a smarthost, which an ISP may provide, > without worrying about your own address, but you lose one of the > advantages of your own server, of having troubleshooting information > about outgoing emails. ('My message, ID , was accepted by your > server at xx:yy:zz two days ago... what did you do with it?') Understood. Celejar
Re: Modern best practice for putting a contact email on the web
On Mon, Apr 05, 2021 at 04:14:52PM -0400, Celejar wrote: > On Mon, 5 Apr 2021 15:51:28 -0400 > Dan Ritter wrote: > > > Celejar wrote: > > > On Mon, 5 Apr 2021 14:12:07 -0400 > > > Dan Ritter wrote: > > > > > > > Celejar wrote: > > > > > Hi, > > > > > > > > > > What's the recommended modern best practice for putting a contact > > > > > email > > > > > address on the web while avoiding having it scraped by spam / fraud > > > > > bots? > > > > > > > > Assume that every address will be hit by spammers and scammers. > > > > Put in appropriate antispam and antimalware precautions. > > > > > > Okay, but why isn't trying to limit spammers getting hold of an address > > > a logical part of a defense in depth strategy? > > > > Because it doesn't work. If it worked as well as, say, moving > > your SSH port*, I would encourage it. It does not. > > Source? Is this your personal experience, or do you have some other > basis for this? Cloudflare, for example, asserts that: And what is their "source"? Judging by current spam pattern on the email server I administer, cloudflare (and sendgrid, google, MS) are a big contributer to spam by sneaking mail by dnsbl filter. They are rather a big part of the problem than part of an solution. > > "Cloudflare Email Address Obfuscation helps in spam prevention by > hiding email addresses appearing in your pages from email harvesters > and other bots, while remaining visible to your site visitors." Sure, bud! > > https://support.cloudflare.com/hc/en-us/articles/200170016-What-is-Email-Address-Obfuscation- > -H -- Henning Follmann | hfollm...@itcfollmann.com
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 16:10:05 -0400 Celejar wrote: > On Mon, 5 Apr 2021 20:36:39 +0100 > Joe wrote: > > > On Mon, 5 Apr 2021 14:49:15 -0400 > > Celejar wrote: > > > > > Okay, but why isn't trying to limit spammers getting hold of an > > > address a logical part of a defense in depth strategy? > > > > It is, but if you are reachable then a human can enter your address > > on > > Yes, but humans don't scale the way bots do ;) No, but you don't care about how many other addresses are harvested, just about yours. > > > > > Unfortunately, there's nothing to beat running your own mail server, > > which is not particularly high-maintenance after setup. The address > > at the top of this email was created nearly 23 years ago, and has > > been used widely around the Net, including several Usenet groups. I > > get between one and four spams a day in my inbox. As it happens, I > > put a new CIDR group on my blacklist today, for the first time in > > perhaps a year. > > I've certainly been tempted for a while. And I suppose that receiving > is less problematic then sending, where one apparently has to manage > reputation, worry about past users of an IP address, monitor > blacklists, etc. > Yes, sadly that boils down to having a competent ISP, and I know that in some parts of the world there's not much choice. In the UK, we have three good ISPs, one of which is amazing but expensive. In general, if you can find an ISP who will provide a fixed IPv4 address at little or no extra cost, they probably know what they're doing. It is possible to send through a smarthost, which an ISP may provide, without worrying about your own address, but you lose one of the advantages of your own server, of having troubleshooting information about outgoing emails. ('My message, ID , was accepted by your server at xx:yy:zz two days ago... what did you do with it?') -- Joe
Re: Modern best practice for putting a contact email on the web
Celejar [2021-04-05 14:49:15] wrote: > On Mon, 5 Apr 2021 14:12:07 -0400 Dan Ritter wrote: >> Celejar wrote: >> > What's the recommended modern best practice for putting a contact email >> > address on the web while avoiding having it scraped by spam / fraud >> > bots? >> Assume that every address will be hit by spammers and scammers. >> Put in appropriate antispam and antimalware precautions. > Okay, but why isn't trying to limit spammers getting hold of an address > a logical part of a defense in depth strategy? I think Dan is right: what he says is "the recommended modern practice". Defense in depth has to be weighted against the annoyance for real users, and sadly it's much easier to tweak a scraper once to handle yet-another-obfuscation-trick than it is for real users to jump through the same hoops (because those users only jump through those hoops once, so they pay the full price rather than spreading the price over millions of pages). >> Train your people to recognize spam and scams. > I'm talking about a small hobby project that I run in my spare time. I > just want to reduce spam to an address that I may put up to allow > people to reach me. The only alternative is to use something else than email, which requires users to have/create an account and authenticate themselves (e.g. an issue tracker on SourceHut). Stefan
Re: Help with msmtp-mta
geoad...@sapo.pt writes: > This worked: from https://moritzvd.com/email-with-smtp-debian-ubuntu/: > > In order to be able to use the mail command we need to install mailx: > > sudo apt-get install bsd-mailx > > Set mail transport agent to use msmtp > > sudo nano /etc/mail.rc > > append the following: > > set mta=/usr/bin/msmtp Good for you if it works! I have the feeling that unfortunately the root cause of the initial problem (it works with bsd-mailx but still fails with mailutils, correct?) remains a mystery though. Maybe you would like to help investigating the issue, in which case we could discover and fix a bug, so that the issue doesn't hit anybody else in the future, which is good for the community. If you would like to do that, there are things we can do to investigate, such as enabling msmtp logging with: logfile - Which would allow to see the actual error message. See https://marlam.de/msmtp/msmtp.html#Logging But don't feel obliged to do that. It's OK. I have updated the wiki page with your inputs anyway. Thanks! -- Fabrice Bauzac-Stehly PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6 old PGP 015AE9B25DCB0511D200A75DE5674DEA514C891D
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 15:51:28 -0400 Dan Ritter wrote: > Celejar wrote: > > On Mon, 5 Apr 2021 14:12:07 -0400 > > Dan Ritter wrote: > > > > > Celejar wrote: > > > > Hi, > > > > > > > > What's the recommended modern best practice for putting a contact email > > > > address on the web while avoiding having it scraped by spam / fraud > > > > bots? > > > > > > Assume that every address will be hit by spammers and scammers. > > > Put in appropriate antispam and antimalware precautions. > > > > Okay, but why isn't trying to limit spammers getting hold of an address > > a logical part of a defense in depth strategy? > > Because it doesn't work. If it worked as well as, say, moving > your SSH port*, I would encourage it. It does not. Source? Is this your personal experience, or do you have some other basis for this? Cloudflare, for example, asserts that: "Cloudflare Email Address Obfuscation helps in spam prevention by hiding email addresses appearing in your pages from email harvesters and other bots, while remaining visible to your site visitors." https://support.cloudflare.com/hc/en-us/articles/200170016-What-is-Email-Address-Obfuscation- ... > > > Train your people to recognize spam and scams. > > > > I'm talking about a small hobby project that I run in my spare time. I > > just want to reduce spam to an address that I may put up to allow > > people to reach me. > > OK, use tagged addresses. Gmail has that feature for free. > > I'll give you an example: when I registered for an account on > tvtropes.org, I handed them dsr-tro...@randomstring.org. > > A few months later, I knew that their database had been raided, > and since I had never received anything useful at that address, > I told my mailfilter to drop dsr-tropes@ into the spam bin. > > celejar+debianus...@gmail.com will be directed to your GMail > account. So will celejar+celerysticks@, celejar+support@, and > celejar+supportapril2...@gmail.com. > > When the spam load becomes too much, change it on the support > page and tell Gmail to spam-bin the old address. Worth considering, certainly. I try to avoid Gmail as much as possible (I know that I'm still using it for d-u), but I can check to see whether the other email providers I use support plus addressing. Thanks, Celejar
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 20:36:39 +0100 Joe wrote: > On Mon, 5 Apr 2021 14:49:15 -0400 > Celejar wrote: > > > On Mon, 5 Apr 2021 14:12:07 -0400 > > Dan Ritter wrote: > > > > > Celejar wrote: > > > > Hi, > > > > > > > > What's the recommended modern best practice for putting a contact > > > > email address on the web while avoiding having it scraped by spam > > > > / fraud bots? > > > > > > Assume that every address will be hit by spammers and scammers. > > > Put in appropriate antispam and antimalware precautions. > > > > Okay, but why isn't trying to limit spammers getting hold of an > > address a logical part of a defense in depth strategy? > > It is, but if you are reachable then a human can enter your address on Yes, but humans don't scale the way bots do ;) > a list. Or, as you suggest, OCR will eventually find it. > > > > > Train your people to recognize spam and scams. > > > > I'm talking about a small hobby project that I run in my spare time. I > > just want to reduce spam to an address that I may put up to allow > > people to reach me. > > > > > Unfortunately, there's nothing to beat running your own mail server, > which is not particularly high-maintenance after setup. The address at > the top of this email was created nearly 23 years ago, and has been used > widely around the Net, including several Usenet groups. I get between > one and four spams a day in my inbox. As it happens, I put a new CIDR > group on my blacklist today, for the first time in perhaps a year. I've certainly been tempted for a while. And I suppose that receiving is less problematic then sending, where one apparently has to manage reputation, worry about past users of an IP address, monitor blacklists, etc. > The next best method is a new free mailbox, with collection piped > through the anti-spam software of your choice. But I tried spamassassin > some years ago, and decided I couldn't spare the time that staying > ahead in the arms race was costing me. Maybe the maintainers have made > better algorithms since then. Celejar
Re: Dell R440 with Debian 10.7.0 Display Issues
On Sb, 27 mar 21, 10:48:43, Brian wrote: > > I did previously note the reiteration and acknowledge that video > hardware could require non-free firmware. However, does a d-i carrying > such firmware ever make any attempt to install it? As I understand it, > the installer is designed to probe for and load non-free firmware for > network hardware only. [citation needed] Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: Modern best practice for putting a contact email on the web
Celejar wrote: > On Mon, 5 Apr 2021 14:12:07 -0400 > Dan Ritter wrote: > > > Celejar wrote: > > > Hi, > > > > > > What's the recommended modern best practice for putting a contact email > > > address on the web while avoiding having it scraped by spam / fraud > > > bots? > > > > Assume that every address will be hit by spammers and scammers. > > Put in appropriate antispam and antimalware precautions. > > Okay, but why isn't trying to limit spammers getting hold of an address > a logical part of a defense in depth strategy? Because it doesn't work. If it worked as well as, say, moving your SSH port*, I would encourage it. It does not. *Moving your SSH port does nothing for your security; it does reduce the number of log entries to ignore. > > Train your people to recognize spam and scams. > > I'm talking about a small hobby project that I run in my spare time. I > just want to reduce spam to an address that I may put up to allow > people to reach me. OK, use tagged addresses. Gmail has that feature for free. I'll give you an example: when I registered for an account on tvtropes.org, I handed them dsr-tro...@randomstring.org. A few months later, I knew that their database had been raided, and since I had never received anything useful at that address, I told my mailfilter to drop dsr-tropes@ into the spam bin. celejar+debianus...@gmail.com will be directed to your GMail account. So will celejar+celerysticks@, celejar+support@, and celejar+supportapril2...@gmail.com. When the spam load becomes too much, change it on the support page and tell Gmail to spam-bin the old address. -dsr-
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 14:49:15 -0400 Celejar wrote: > On Mon, 5 Apr 2021 14:12:07 -0400 > Dan Ritter wrote: > > > Celejar wrote: > > > Hi, > > > > > > What's the recommended modern best practice for putting a contact > > > email address on the web while avoiding having it scraped by spam > > > / fraud bots? > > > > Assume that every address will be hit by spammers and scammers. > > Put in appropriate antispam and antimalware precautions. > > Okay, but why isn't trying to limit spammers getting hold of an > address a logical part of a defense in depth strategy? It is, but if you are reachable then a human can enter your address on a list. Or, as you suggest, OCR will eventually find it. > > > Train your people to recognize spam and scams. > > I'm talking about a small hobby project that I run in my spare time. I > just want to reduce spam to an address that I may put up to allow > people to reach me. > > Unfortunately, there's nothing to beat running your own mail server, which is not particularly high-maintenance after setup. The address at the top of this email was created nearly 23 years ago, and has been used widely around the Net, including several Usenet groups. I get between one and four spams a day in my inbox. As it happens, I put a new CIDR group on my blacklist today, for the first time in perhaps a year. The next best method is a new free mailbox, with collection piped through the anti-spam software of your choice. But I tried spamassassin some years ago, and decided I couldn't spare the time that staying ahead in the arms race was costing me. Maybe the maintainers have made better algorithms since then. -- Joe
Re: Modern best practice for putting a contact email on the web
On Mon, Apr 05, 2021 at 02:49:15PM -0400, Celejar wrote: > On Mon, 5 Apr 2021 14:12:07 -0400 > Dan Ritter wrote: > > > Celejar wrote: > > > Hi, > > > > > > What's the recommended modern best practice for putting a contact email > > > address on the web while avoiding having it scraped by spam / fraud > > > bots? > > > > Assume that every address will be hit by spammers and scammers. > > Put in appropriate antispam and antimalware precautions. > > Okay, but why isn't trying to limit spammers getting hold of an address > a logical part of a defense in depth strategy? > All these methods are obfuscation. Sorry to say that is no strategy. They will be a waste of time. Dan pointed out the only option you have. I hve for years my e-mail out in the open. I get spam and there is not much I can do apout that. I however employ reasonable measures to minimize the amount of spam coming through. -H -- Henning Follmann | hfollm...@itcfollmann.com
Re: Cannot mount DFS shares after upgrade to 10.9
Hi, On Mon, Apr 05, 2021 at 07:35:45PM +0200, Salvatore Bonaccorso wrote: > Hi, > > On Sat, Apr 03, 2021 at 06:32:50PM +, Joel Davies wrote: > > We have some autofs mounts that stopped working after the 10.9 > > updates were applied. Seems that the kernel update is the cause - I > > applied just the kernel update and same thing happens. The mounts > > that stopped working were targeting Windows domain DFS shares. The > > DFS root can still be mounted (//domain.local/DFS) which we may have > > to end up using but then will have to reconfigure stuff. Subfolders > > of normal shares also can still be mounted > > (//Server.domain.local/Share/Subfolder). It is just the DFS shares > > that don't work currently (//domain.local/DFS/Share). > > > > Here is what happens mounting the shares manually: > > > > Under kernel 4.19.0-14-amd64 (previous to 10.9 updates): > > > > $sudo mount -t cifs -o username=user,vers=3.0 //domain.local/DFS/Share /mnt > > --verbose > > Password for user@//domain.local/DFS/Share: * > > mount.cifs kernel mount options: > > ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= > > > > Normally no messages in syslog and share is successfully mounted. > > > > After updating kernel to 4.19.0-16-amd64: > > > > $sudo mount -t cifs -o username=user, //domain.local/DFS/Share /mnt > > --verbose > > Password for user@//domain.local/DFS/Share: * > > mount.cifs kernel mount options: > > ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= > > mount error(2): No such file or directory > > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) > > > > Syslog shows: > > CIFS VFS: cifs_read_super: get root inode failed > > > > I didn't find much of use online to troubleshoot that message. I did > > try different values of vers option as well as each of serverino and > > noserverino and several combinations of both - no difference. Any > > suggestions? > > > > (Occasionally syslog also shows "CIFS VFS: error -2 on ioctl to get > > interface list". This happened about one in five mount attempts both > > before and after the kernel update, regardless of whether or not the > > share mounted. Since it did appear before the update when mounting > > always worked, I am assuming it is not relevant.) > > This is probably a regression between 4.19.171 and 4.19.181. > > There were cifs related changes. a738c93fb1c1 ("cifs: Set > CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.") might > be a candidate. > > Can you please report a bug against the kernel? > > If you can test a build, please do test with that commit reverted and > see if the issue disappers. More precisely I think to be able to reproduce the behaviour with 4.19.181-1 but not with 4.19.177-1. Regards, Salvatore
Re: Modern best practice for putting a contact email on the web
On Mon, 5 Apr 2021 14:12:07 -0400 Dan Ritter wrote: > Celejar wrote: > > Hi, > > > > What's the recommended modern best practice for putting a contact email > > address on the web while avoiding having it scraped by spam / fraud > > bots? > > Assume that every address will be hit by spammers and scammers. > Put in appropriate antispam and antimalware precautions. Okay, but why isn't trying to limit spammers getting hold of an address a logical part of a defense in depth strategy? > Train your people to recognize spam and scams. I'm talking about a small hobby project that I run in my spare time. I just want to reduce spam to an address that I may put up to allow people to reach me. > -dsr- Celejar
Re: Modern best practice for putting a contact email on the web
Celejar wrote: > Hi, > > What's the recommended modern best practice for putting a contact email > address on the web while avoiding having it scraped by spam / fraud > bots? Assume that every address will be hit by spammers and scammers. Put in appropriate antispam and antimalware precautions. Train your people to recognize spam and scams. -dsr-
Re: Cannot mount DFS shares after upgrade to 10.9
Hi, On Sat, Apr 03, 2021 at 06:32:50PM +, Joel Davies wrote: > We have some autofs mounts that stopped working after the 10.9 > updates were applied. Seems that the kernel update is the cause - I > applied just the kernel update and same thing happens. The mounts > that stopped working were targeting Windows domain DFS shares. The > DFS root can still be mounted (//domain.local/DFS) which we may have > to end up using but then will have to reconfigure stuff. Subfolders > of normal shares also can still be mounted > (//Server.domain.local/Share/Subfolder). It is just the DFS shares > that don't work currently (//domain.local/DFS/Share). > > Here is what happens mounting the shares manually: > > Under kernel 4.19.0-14-amd64 (previous to 10.9 updates): > > $sudo mount -t cifs -o username=user,vers=3.0 //domain.local/DFS/Share /mnt > --verbose > Password for user@//domain.local/DFS/Share: * > mount.cifs kernel mount options: > ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= > > Normally no messages in syslog and share is successfully mounted. > > After updating kernel to 4.19.0-16-amd64: > > $sudo mount -t cifs -o username=user, //domain.local/DFS/Share /mnt --verbose > Password for user@//domain.local/DFS/Share: * > mount.cifs kernel mount options: > ip=10.x.x.x,unc=\\domain.local\DFS,vers=3.0,user=user,prefixpath=Share,pass= > mount error(2): No such file or directory > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) > > Syslog shows: > CIFS VFS: cifs_read_super: get root inode failed > > I didn't find much of use online to troubleshoot that message. I did > try different values of vers option as well as each of serverino and > noserverino and several combinations of both - no difference. Any > suggestions? > > (Occasionally syslog also shows "CIFS VFS: error -2 on ioctl to get > interface list". This happened about one in five mount attempts both > before and after the kernel update, regardless of whether or not the > share mounted. Since it did appear before the update when mounting > always worked, I am assuming it is not relevant.) This is probably a regression between 4.19.171 and 4.19.181. There were cifs related changes. a738c93fb1c1 ("cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.") might be a candidate. Can you please report a bug against the kernel? If you can test a build, please do test with that commit reverted and see if the issue disappers. Regards, Salvatore
Modern best practice for putting a contact email on the web
Hi, What's the recommended modern best practice for putting a contact email address on the web while avoiding having it scraped by spam / fraud bots? I'm aware of many of the techniques in use, such as the ones discussed here: https://stackoverflow.com/questions/23002711/how-to-show-email-addresses-on-the-website-to-avoid-spams but I don't know how smart the current bots are and which methods are likely to still be effective. I want to use free software, of course, and I want to avoid server side stuff, since I want to put an address on a simple third party web page that I do not control but have the ability to put basic HTML on. I suppose I could use a text-to-image generator (a sort of reverse OCR), like this one: https://www.generateit.net/email-to-image/ but I'd rather find a FLOSS tool to do this, and I'd rather not provide the email address to some random site ;) And actually, I'm not sure this is really such a good solution anyway, since I'd probably have to find somplace to host the image, which is certainly doable, but it adds complications that I'd just as soon avoid. Is character entity substition likely to still work against current bots? http://www.wbwip.com/wbw/emailencoder.html Celejar
Re: How to save filtered less results in a file or on stdout
On Lu, 29 mar 21, 01:20:18, l0f...@tuta.io wrote: > > Actually, I asked this question because of my workflow here. > > First, I use the less pager to navigate quickly inside an input, not knowing > beforehand what it looks like and what I will need to do. > Then, I filter some lines depending on my own investigation. > And finally, I'm thinking that it would be too bad to lose the remaining > lines so I'm looking for a way to save them eventually. If you are willing to learn (neo)vim, '(n)vim -R' as 'view' can be used instead of 'less', with all the power of an advanced editor at your disposal. Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: request for package
On Lu, 05 apr 21, 10:20:31, Jude DaShiell wrote: > could dosemu2 be built and made available in the debian repositories? > My reason for asking is while debian has dosbox dosbox uses only sdl for > interface and sdl exposes no accessibility information at all. The dosemu2 > package can be used in sdl or in -dumb mode and -dumb mode works well with > console screen readers and may also work well with orca. This package has > ongoing support while dosemu 1.x was deprecated a while back. Try filing a RFP bug against the pseudo-package wnpp, see: https://www.debian.org/devel/wnpp Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
request for package
could dosemu2 be built and made available in the debian repositories? My reason for asking is while debian has dosbox dosbox uses only sdl for interface and sdl exposes no accessibility information at all. The dosemu2 package can be used in sdl or in -dumb mode and -dumb mode works well with console screen readers and may also work well with orca. This package has ongoing support while dosemu 1.x was deprecated a while back.
Re: different internet speed in debian and smart phone
On Mon 05 Apr 2021 at 21:39:16 (+0800), kaye n wrote: > On Mon, Mar 29, 2021 at 10:45 PM IL Ka wrote: > > Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter > >> > > ok, this is your card. > > > > Lets see output of > > $ iw dev [your_dev_name] > > it should be > > $ iw dev wlan0 > > I believe > > > > Also, try to ping your wifi router ip address and some Internet > > address like > > $ ping 8.8.8.8 > > > > Then, check https://www.speedtest.net/ : it gives a little bit more > > information than "fast.com" > > Pardon me, but what should I type for [your_dev_name] ? inxi -Fdflmnopuv7 (my own incantation) should say something like: Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: 4000 bus ID: 02:00.0 chip ID: 8086:08b2 IF: wlp2s0 state: up mac: 01:23:45:67:89:ab ↑↑ is the name you need. BTW, iw may need root or sudo to perform some functions. Note that the URL on the man page should be: https://wireless.wiki.kernel.org/en/users/documentation/iw On Mon 29 Mar 2021 at 21:59:48 (+0800), kaye n wrote: > I am quite sure I don't get this much disparity with another Linux distro, > as well as in Windows 7. Actual numbers for all these cases would be more useful than reminiscence, so that we can make the comparison. Cheers, David.
Re: Installing Debian from a hard disk with Windows to a USB stick
On Jo, 25 mar 21, 21:11:33, Cmdte Alpha Tigre Z wrote: > > I'm trying to install Debian 10.8 on a USB stick, and it is not Debian Live, > from a hard disk that has Windows 7 installed. Since I don't have > any CD or DVD, and I need the USB stick to install Debian on it, > I can't use the USB stick to put the ISO image on it. Why not? Hint: the mini.iso does support installing to the same storage device used to start the installer. It also needs internet access for basically everything, so you might need a way to pass firmware to the installer in case the firmware can't be on the same device. Hope this helps, Andrei -- http://wiki.debian.org/FAQsFromDebianUser signature.asc Description: PGP signature
Re: device names - so much escaping
On Monday, April 05, 2021 08:36:04 AM Richard Hector wrote: > On 5/04/21 11:48 pm, Greg Wooledge wrote: > > On Mon, Apr 05, 2021 at 09:29:59PM +1200, Richard Hector wrote: > >> /dev/vg-backup0/d-rh-rm1-home > >> > >> /dev/mapper/vg--backup0-d--rh--rm1--home > >> > >> Apr 5 07:06:25 backup systemd[1]: > >> dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device > >> : Job > >> dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.devic > >> e/start failed with result 'timeout'. > >> > >> But is this all really necessary? Can't these tools work without > >> assigning special meaning to ordinary characters? > > > > Well, you're asking in the wrong place. We're just end users here. If > > you want the tools to behave differently, you need to get in touch with > > their respective developers or support forums. > > True, true. > > I guess I was hoping for general comment, whether anyone had insights, > or agreed/disagreed with me :-) Uuh, uuh, me -- I can make a general comment ;-) I'm about 99% sure the tools could be made to work without assigning special meaning to ordinary characters. The thing is that it is usually (almost always in my experience) easier to assign some special meaning to a few, hopefully rarely used characters (preferably in the ASCII character set (rather than some extended character in UTF-8, for example)). The thing is, if you don't have that special meaning assigned to some fairly ordinary characters, you have to create logic in the tool to figure out the same thing that is denoted by that special meaning. Sometimes (rarely, ime) that logic is not too complicated, But, often it is rather complicated (to all of figure out what logic is required, test it, and maintain it). Much easier to give special meaning to a few characters. Could the developer (or you) choose different characters to assign that meaning to -- yes, but you have to pick ones that won't interfere (too much) with things like the work habits of other people. Could you choose extended characters from something like the UTF-8 character set? I suppose so, but, even though UTF-8 is fairly old, it is (1) not used everywhere (does it work on the bash command line, for example), and (2) requires more effort to recognize.
Re: different internet speed in debian and smart phone
On Mon, Mar 29, 2021 at 10:45 PM IL Ka wrote: > Device-1: Broadcom Limited BCM4313 802.11bgn Wireless Network Adapter >> > ok, this is your card. > > Lets see output of > $ iw dev [your_dev_name] > it should be > $ iw dev wlan0 > I believe > > Also, try to ping your wifi router ip address and some Internet > address like > $ ping 8.8.8.8 > > Then, check https://www.speedtest.net/ : it gives a little bit more > information than "fast.com" > Pardon me, but what should I type for [your_dev_name] ?
Re: Temporary failure in name resolution
>>> A notable class of exceptions is that of OpenWrt powered devices: >>> OpenWrt comes with dnsmasq configured out of the box, and thus provides >>> caching. >> "Back in the days" (at the beginning of OpenWRT), most home routers used >> `dnsmasq`, AFAIK. So I'd expect today's devices to use `dnsmasq` or >> similar as well. Why would the manufacturers bundle some broken dns >> proxy/server instead of `dnsmasq`? > I think it's attempt to save up on system resources, and also cost and > firmware size reduction. > You can build a device that looks shiny on the outside and put 5-8 years old > SoC inside with bare minimum EEPROM and RAM required for it to function. The ones with `dnsmasq` back then had typically 4MB of flash and 16MB of RAM. Are the ones with broken DNS proxy/server really coming with fewer resources than that? > And besides, you can make it so there is no internal DNServer at all, That I can believe (and isn't a bad option, IMO), but the discussion was about broken DNS proxies/servers. > just a simple iptables SNAT rule for port #53 hidden from end user > behind a checkbox on the web interface named "Enable DNS relay". That's not even needed: just tell the DHCP clients to use the ISP's DNS servers. Stefan
Re: device names - so much escaping
On 05.04.2021 17:36, Richard Hector wrote: On 5/04/21 11:48 pm, Greg Wooledge wrote: On Mon, Apr 05, 2021 at 09:29:59PM +1200, Richard Hector wrote: /dev/vg-backup0/d-rh-rm1-home /dev/mapper/vg--backup0-d--rh--rm1--home Apr 5 07:06:25 backup systemd[1]: dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device: Job dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device/start failed with result 'timeout'. But is this all really necessary? Can't these tools work without assigning special meaning to ordinary characters? Well, you're asking in the wrong place. We're just end users here. If you want the tools to behave differently, you need to get in touch with their respective developers or support forums. True, true. I guess I was hoping for general comment, whether anyone had insights, or agreed/disagreed with me :-) Richard One general comment coming right up. :) The answer is always in man pages. [1] [2] Maybe you can use "systemd-escape" utility to unescape messages before sending them via mail. Systemd is quite complex tool and just as every other tool you have to learn how to use it. [1] man systemd-escape [2] man systemd.unit -- With kindest regards, Alexander. ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org ⠈⠳⣄
Re: device names - so much escaping
On 5/04/21 11:48 pm, Greg Wooledge wrote: On Mon, Apr 05, 2021 at 09:29:59PM +1200, Richard Hector wrote: /dev/vg-backup0/d-rh-rm1-home /dev/mapper/vg--backup0-d--rh--rm1--home Apr 5 07:06:25 backup systemd[1]: dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device: Job dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device/start failed with result 'timeout'. But is this all really necessary? Can't these tools work without assigning special meaning to ordinary characters? Well, you're asking in the wrong place. We're just end users here. If you want the tools to behave differently, you need to get in touch with their respective developers or support forums. True, true. I guess I was hoping for general comment, whether anyone had insights, or agreed/disagreed with me :-) Richard
Re: Parallel processing unit cluster for single ffmpeg calls?
On 05/04/2021 12:14, Christoph K. wrote: > Hi folks, > > I was wondering if I can build a cluster to convert / transcode videos > with ffmpeg. > > There are some workstations standing around here ... and I though maybe > it's possible to combine their computing power? > > To be clear: The task is to work on a single video as fast as possible. > > I found this, but it's from 2010: > http://www.samir.ca/2010/11/23/high-speed-ffmpeg-cluster-encoding-with-python-and-avidemux.html > > I have no experience in clustering and would be grateful for any > useful hint. Another tool from 2010 is dvd::rip https://www.exit1.org/dvdrip/ Specifically, the clustering information is at https://www.exit1.org/dvdrip/doc/cluster.cipp However, something more modern (and maintained) would be clustercode https://ccremer.github.io/clustercode-docs/clustercode/index.html although I've not tried that. > > Thanks, > Christoph > OpenPGP_signature Description: OpenPGP digital signature
Re: device names - so much escaping
On Mon, Apr 05, 2021 at 09:29:59PM +1200, Richard Hector wrote: > /dev/vg-backup0/d-rh-rm1-home > /dev/mapper/vg--backup0-d--rh--rm1--home > Apr 5 07:06:25 backup systemd[1]: > dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device: > Job > dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device/start > failed with result 'timeout'. > But is this all really necessary? Can't these tools work without assigning > special meaning to ordinary characters? Well, you're asking in the wrong place. We're just end users here. If you want the tools to behave differently, you need to get in touch with their respective developers or support forums.
Re: OT: wine y Siap
On 5/4/21 08:28, Debian wrote: El 1/4/21 a las 16:29, Marcelo Eduardo Giordano escribió: On 28/3/21 13:15, JavierDebian wrote: El 28/3/21 a las 05:28, Camaleón escribió: Los errores no me sugieren nada, más allá de que por el nombre «OLEPictureImpl_SaveAsFile» parece que la impresión de esa aplicación genera un archivo, no una copia impresa (físicaente) del módulo con el que estés trabajando (IVA, etc...). Y si no lo manda a una impresora entonces CUPS no hace ninguna función aquí, es la apropia aplicación la que pinta el formulario y lo almacanará en el disco duro. Estaba pensando... Lo que dice Camaleón es cierto; con el asunto este de la ecología y la burocracia sin papel, es lógico si el módulo es nuevo. Algunos programas de la AFIP imprimen a un pdf en lugar de la impresora. En general, luego del proceso de "impresión virtual" tienden a abrirlo con un navegador, pero no siempre. Dentro de la misma botella de wine, instala un visor pdf de Windows como PDF Reader y configúralo para ser el lector por defecto; hay que ver cuál funciona en wine. JAP Estimado: He tratado de configurar una impresora virtual para imprimir como pdf, que te parece esa opción, vale la pena? Saludos Puede ser. Yo en algunas virtualizaciones uso BullZip printer. Es una impresora virtual pdf además de visor pdf. Podría funcionar. JAP Lo voy a intentar. Gracias y buena semana
Re: Parallel processing unit cluster for single ffmpeg calls?
Christoph K. wrote: > Hi folks, > > I was wondering if I can build a cluster to convert / transcode videos > with ffmpeg. > > There are some workstations standing around here ... and I though maybe > it's possible to combine their computing power? > > To be clear: The task is to work on a single video as fast as possible. > > I found this, but it's from 2010: > http://www.samir.ca/2010/11/23/high-speed-ffmpeg-cluster-encoding-with-python-and-avidemux.html > > I have no experience in clustering and would be grateful for any > useful hint. Apart from python 2 vs 3 issues, there's no reason to think that a modified version of that script wouldn't work for you. Do you have more specific questions? -dsr-
Re: OT: wine y Siap
El 1/4/21 a las 16:29, Marcelo Eduardo Giordano escribió: On 28/3/21 13:15, JavierDebian wrote: El 28/3/21 a las 05:28, Camaleón escribió: Los errores no me sugieren nada, más allá de que por el nombre «OLEPictureImpl_SaveAsFile» parece que la impresión de esa aplicación genera un archivo, no una copia impresa (físicaente) del módulo con el que estés trabajando (IVA, etc...). Y si no lo manda a una impresora entonces CUPS no hace ninguna función aquí, es la apropia aplicación la que pinta el formulario y lo almacanará en el disco duro. Estaba pensando... Lo que dice Camaleón es cierto; con el asunto este de la ecología y la burocracia sin papel, es lógico si el módulo es nuevo. Algunos programas de la AFIP imprimen a un pdf en lugar de la impresora. En general, luego del proceso de "impresión virtual" tienden a abrirlo con un navegador, pero no siempre. Dentro de la misma botella de wine, instala un visor pdf de Windows como PDF Reader y configúralo para ser el lector por defecto; hay que ver cuál funciona en wine. JAP Estimado: He tratado de configurar una impresora virtual para imprimir como pdf, que te parece esa opción, vale la pena? Saludos Puede ser. Yo en algunas virtualizaciones uso BullZip printer. Es una impresora virtual pdf además de visor pdf. Podría funcionar. JAP
Parallel processing unit cluster for single ffmpeg calls?
Hi folks, I was wondering if I can build a cluster to convert / transcode videos with ffmpeg. There are some workstations standing around here ... and I though maybe it's possible to combine their computing power? To be clear: The task is to work on a single video as fast as possible. I found this, but it's from 2010: http://www.samir.ca/2010/11/23/high-speed-ffmpeg-cluster-encoding-with-python-and-avidemux.html I have no experience in clustering and would be grateful for any useful hint. Thanks, Christoph
Re: Effacer plusieurs millions de fichiers d'un répertoire !
Le dimanche 04 avril 2021 à 09:30:45+0200, JUPIN Alain a écrit : > Bonjour > > Petit casse tête du dimanche matin ! > > Sur un serveur LAMP à base de Debian10 (à jour en version 10.9), j'ai noté des > lenteurs et le syslog est sans équivoque : > [4958833.739887] EXT4-fs warning (device sda3): ext4_dx_add_entry:2258: > Directory (ino: 18612230) index full, reach max htree level :2 > [4958833.739889] EXT4-fs warning (device sda3): ext4_dx_add_entry:2262: Large > directory feature is not enabled on this filesystem > > Après analyse, je ne dépasse pas le nombre max d'inodes du système de fichier > (j'en suis à 9% d'utilisé), par contre, le répertoire /var/lib/php/sessions/ > contient 56 781 542 fichiers > J'ai lancé hier soir un : find . -cmin +30 | xargs rm; > Mais après plusieurs heures la commande échoue avec "trop d'arguments" > > Bref ce matin, il y a deux heures, je tente une nouvelle approche : rsync -a > --delete /tmp/empty/ /var/lib/php/sessions/ > avec bien sur /tmp/empty qui est vide > Mais après deux heures de fonctionnement, je n'ai aucun retour de la commande > ! > > Du coup connaissez vous une méthode "rapide" pour effacer plusieurs millions > de > fichiers d'un répertoire ! > > PS : Par contre, je ne comprend pas la présence de ses fichiers, car j'ai bien > un cron qui se lance toutes les demi-heures pour supprimer les sessions. Va > falloir que j'élucide ce mystère ! Le rsync est la méthode la plus rapide en matière de performances. -- Pierre-Elliott Bécue GPG: 9AE0 4D98 6400 E3B6 7528 F493 0D44 2664 1949 74E2 It's far easier to fight for one's principles than to live up to them. signature.asc Description: PGP signature
device names - so much escaping
Hi all, I use LVM quite a lot. > richard@backup:~$ sudo lvs|wc -l > 140 The trouble is, things like device mapper seem to involve lots of name translations. So the volume I call d-rh-rm1-home (for dirvish backups of /home on rh-rm1 (my (rh) first (1) redmine (rm) server)) on vg-backup0 which is understandably known (to me) as /dev/vg-backup0/d-rh-rm1-home is then known by its alternative name: /dev/mapper/vg--backup0-d--rh--rm1--home because dev mapper seems to need '-' for its own purposes. But then if systemd has a problem with it, I see a log line like this: Apr 5 07:06:25 backup systemd[1]: dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device: Job dev-mapper-vg\x2d\x2dbackup0\x2dd\x2d\x2drh\x2d\x2drm1\x2d\x2dsrv.device/start failed with result 'timeout'. in my logcheck email. Which is nearly unintelligible. Now I could make the effort to avoid using '-' in my volume names (and mount points, which also get messed up in systemd's reporting). But is this all really necessary? Can't these tools work without assigning special meaning to ordinary characters? (The problem systemd's reporting, of course, is that I must have forgotten to "systemctl daemon-reload" after editing /etc/fstab ... that never used to be needed either.) Grumpily, Richard
stat enzo
In-Reply-To: <20210404210631.ed1f65228e53b15e59396...@lucassen.org> Previous-Subject: Re: Kuren bij starten van Testing On Sun, Apr 04, 2021 at 09:06:31PM +0200, Richard Lucassen wrote: > On Sun, 4 Apr 2021 18:16:44 +0200 Sjoerd wrote: > > Richard Lucassen schreef: > > > # stat .bashrc > > > File: .bashrc > > > Size: 633 Blocks: 8 IO Block: 4096 regular file > > > Device: 803h/2051d Inode: 929948 Links: 1 > > > Access: (0644/-rw-r--r--) Uid: (0/root) Gid: (0/root) > > > Access: 2021-03-31 10:37:22.817269536 +0200 > > > Modify: 2018-12-07 15:50:43.130872342 +0100 > > > Change: 2019-08-05 11:25:01.763408345 +0200 > > > Birth: 2019-08-05 11:25:01.763408345 +0200 > > > > > > Die Access time schrijft-ie dan niet naar disk. Omdat dat vaak niet > > > interessant is scheelt dat weer schrijfacties. > > > > Interessant allemaal, 'stat' kende ik nog niet. > > Wel curieus dat een file al vóór zijn 'birth' gemodificeerd kan > > worden. Maar misschien heb je in het bovenstaande zitten editen? > > Nee, maar het zal wel weer een kopie zijn van. En de manier van kopie\"eren is iets geweest wat de "modify time" meegeeft. (Bijvoorbeeld `cp -p`) > En volgens mij is er geen birth flag onder Linux, tenminste, dat meen > ik ooit eens ergens gelezen te hebben. Onder BSD werkt het wel Het is een filesystem ding, niet een operating system ding. > Even een test: > > $ touch test > $ stat test > File: test > Size: 0 Blocks: 0 IO Block: 4096 regular > empty file Device: 803h/2051d Inode: 2104831 Links: 1 > Access: (0644/-rw-r--r--) Uid: ( 1001/ richard) Gid: ( 1001/ richard) > Access: 2021-04-04 20:55:52.261812469 +0200 > Modify: 2021-04-04 20:55:52.261812469 +0200 > Change: 2021-04-04 20:55:52.261812469 +0200 > Birth: 2021-04-04 20:55:52.261812469 +0200 > $ touch test > $ stat test > File: test > Size: 0 Blocks: 0 IO Block: 4096 regular > empty file Device: 803h/2051d Inode: 2104831 Links: 1 > Access: (0644/-rw-r--r--) Uid: ( 1001/ richard) Gid: ( 1001/ richard) > Access: 2021-04-04 20:56:02.734804889 +0200 > Modify: 2021-04-04 20:56:02.734804889 +0200 > Change: 2021-04-04 20:56:02.734804889 +0200 > Birth: 2021-04-04 20:55:52.261812469 +0200 > > Beetje raar Nope. De eerste `touch` heeft het bestand aangemaakt en zet create time. Tweede `touch` is voor het filesystem geen reden om te gaan creeren wat al gecreeerd is. crtime wordt door `stat` getoond als 'Birth'. Groeten Geert Stappers -- | $ man stat | STAT(1)User Commands STAT(1) | | NAME |stat - display file or file system status | | SYNOPSIS |stat [OPTION]... FILE... | | DESCRIPTION |Display file or file system status.