A smart attack would be coupled with a clear message. Have the malware clobber them with anti-evil messages and just like that you have a sound free speech defense.
Consider florida, where if you are caught with shrooms that are wet, freshly picked, they cannot convict you for carrying contraband because you do not necessarily know what you picked.
Laws are often based on intent. In some cases, penalties vary depending on intent. It would be an unacceptably brutally harsh law to judge someone under a presumption of harmful intent for something they might have no awareness of.
QR codes can have icons on them. Certainly if I created such a t-shirt, I would put some cool looking icon in the center of it. Someone being dragged through the system might argue “i did not know that qr code was real.. i just liked the cat in the middle of it”.
Not sure but I think QR codes that hold wi-fi creds would more likely be automatically processed by phones. Seems like an adequate attack surface. Maybe dodgy creds could overflow or do some kind of DB attack. Or even legit creds could lead someone to connect to a malicious hot-spot captive portal that the attacker carries.
c. BY-SA Compatible License means a license listed at
creativecommons.org/compatiblelicenses, approved by Creative
Commons as essentially the equivalent of this Public License.
It was a while since I looked at this but IIRC the BY license was fine in its early versions but none of the others were. Then I vaguely recall seeing links in later versions of the BY license as well (but that may have been hasty reading on my part since i'm not seeing it in the BY 4.0 ATM). Anyway, it’s a mess.
That doesn’t really work. The URL is an inherent part of the CC license. Archive.org might do link replacement but that does not change the license.. it merely corrupts/misrepresents the license. Users of CC-licensed work are still bound by the actual text of the license. IIRC the URL was to refer to something that changes over time, thus making the license dynamic when archive.org works off of snapshots.
I vaguely recall Richard Stallman bad-mouthing public domain in favor of free licensing. I don’t recall the details but I imagine the artist would at least want attribution, which I doubt the public domain ensures.
Of course if we could have predicted his death there are many trivial ways we could have ensured his will is expressed and executed. But it may not be a lost cause.. whoever controls the estate would likely know or believe that he wanted to liberate his work.
A rock star (who shall remain unnamed) told me he wanted to give away his latest work to the public domain. I helped him get the work in open non-proprietary formats.
I told him in principle that Creative Commons licensing would be what he is after, but that it has problems. Creative Commons license text contains links to the creative commons website which then hooks in more licensing terms. There is nothing wrong with the terms but the CC website is jailed in Cloudflare’s walled garden and the URL is part of the licensing text.
I told the artist he would be liberating his work but at the same time he would be technically subjecting users to a bullying US tech giant who makes content arbitrarily exclusive by shutting out some demographics of people and also abusing the privacy of those who are privileged to obtain access to the license text.
I suggested modifying the CC license to remove the CC URL and exclude Cloudflare from being a license gatekeeper, noting of course the big pitf
Suppose you feed a multi-page PDF into \includepdf. If you only want pagecommand or picturecommand to take effect on some pages, you normally must split the construct up into multiple invocations. E.g.
It gets ugly fast when there are some commands you want performed on every page, and some on select pages, because then you must write and maintain redundant code.
Fuck that. So here’s a demonstration of how to write code inside pagecommand and picturecommand that is page-specific:
undefined
\documentclass{article}
% Demonstrates use of the pdfpages package with page-by-page actions that are specific to select pages.
\usepackage{mwe} % furnishes example-image-a4-numbered.pdf
\usepackage{pdfpages}
\usepackage{pdfcomment}
\usepackage{ocgx2} % furnishes the ocg environment (PDF layers, but not really needed for this demo)
\us
When I receive a non-English document, I scan it and run OCR (Tesseract). Then use pdftotext to dump the text to a text file and run Argos Translate (a locally installed translation app). That gives me the text in English without a cloud dependency. What next?
Up until now, I save the file as (original basename)_en.txt. Then when I want to read the doc in the future I open that text file in emacs. But that’s not enough. I still want to see the original letter, so I open the PDF (or DjVu) file anyway.
That workflow is a bit cumbersome. So another option: use pdfjam --no-tidy to import the PDF into the skeleton of LaTeX code, then modify the LaTeX to add a \pdfcomment which then puts the English text in an annotation. Then the PDF merely needs to be opened and mousing over the annotation icon shows the English. This is labor intensive up front but it can be scripted.
Works great until pdf2djvu runs on it. Both evince and djview render the document with annotation icons s
It would sometimes be useful to write conditional code that depends on boolean values defined in a parent package. E.g. the \pdfcomment package has the boolean “final”, which disables all PDF annotations in the document (\usepackage[final]{pdfcomment}). There is some other logic in my document that should also be disabled when that boolean is true. I tried simply using:
undefined
\ifpc@gopt@final\else%
…code that should not run when final is true…
\fi
pdflatex gives: “Undefined control sequence”
More generally, many draft options are often useful for controlling logic within the document for which a parent uses a draft option. Also when defining a custom letterhead in the scrlttr2 class there are booleans for many items that may or may not be wanted in the letterhead.
Some might find it useful to import a text file and put the contents into a PDF annotation. E.g. a PDF is in language A and you want to make a translation available in language B, in a PDF annotation.
Here’s how:
undefined
\documentclass{article}
\usepackage{mwe}
\usepackage{pdfpages}
\usepackage{pdfcomment}
\usepackage{newfile}
\usepackage{xstring}
\usepackage{catchfile}
% heredoc holding text that normally breaks the \pdfcomment command:
\begin{filecontents*}{\jobname_sample.txt}
line one
line two
tricky symbols: _&%
\end{filecontents*}
% normally the above file is whatever you supply to be imported into the PDF annotation. The heredoc is just to provide a self-contained sample.
% Create \pdfcommentfile, which is a version of \pdfcomment that can read from a file:
\makeatletter
\gdef\pdfcommentfile#1{%
\begingroup
\everyeof{\noexpand}%
\long\edef\temp{\noexpand\pdfcomment{\@@input{#1}}}%
\temp
\endgroup
}%
\makeatother
\CatchFileDef{\cfile}{\jobname_sample.txt}{} % side-
I am trying to do some simple character replacements on an input file and writing it to a file. The output produced by \StrSubstitute is quite bizarre. Here is a MWE:
Thanks for the tip. It seems to work but I have to say it’s a rough UX because the UI is really meant for a graphical browser. I could not even paste my UID and PW in to login.
For the same reason, I suppose you would love text adventure games like Hitchhiker’s Guide to the Galaxy, where you have to come up with your action, as opposed to getting visual aids which come like a loaded question, steering you and somewhat robbing you of control.
There are ~95 pages of rights and obligations covered in EU Directive 2015/2366, as well as EC Regulation 593/2008. Have you read them, or anything else to substantiate your claim?
You’re trying to solve the wrong problem.
There is no such thing as a “wrong problem”.
You do you. This thread is not about your problems. Start your own thread if you want a different problem worked. In this thread, you can either help solve the problem at hand, or fuck off.
There was a story about a German guy insisting on paying his radio licensing fees in cash. He setup an escrow account and paid his invoices into that, so that the state could not claim he was just using cash refusal as an excuse not to pay. I don’t think I ever heard what came of the legal case.
I heard postbank was eliminated in Germany but post office banking is still an option in other countries. I doubt any post office banks stand on their own. The one I’m aware of is just a proxy for another crappy bank.
Many elderly people can’t use a smartphone so smartphone only options definitely sound like a no go.
It’s somewhat convenient that tech illiterates are in the same boat with the streetwise (who are tech saavy enough to distrust commercial tech that’s being pushed down our throats). But there are efforts to divide us. Elderly folks are getting social helpers with tech, which will shrink those resisting enshitification of everything to a population that’s easier to marginalise. I also don’t suppose it will be long before the tech illiterate elderly are no longer with us anyway.
Glad to hear you’re standing up for yourself, and others. And glad to hear an analog option is still possible. That’s by far the most important option. If you can do everything offline, then you can escape whatever garbage tech they try to push. Essential services like banking and utilities should always have an offline analog option.
The thesis is: what are our rights? Knowing your rights is a good idea /before/ you go off and try to solve a problem.
It may very well be that we have no useful rights and the choices are: be bullied, or find a different bully. But let’s not get ahead of ourselves. Other banks are garbage too, so it may be better to improve the bank you have (if possible through legal actions and exercising your rights) then to make it someone else’s problem.
Of course. Cash would solve the problem. But creditors are refusing that now and also refusing cards at the same time. Otherwise the bank card could get cash out of the ATM and pay the creditors.
No, not anymore. They became app exclusive. Customers must become an Apple or Google patron, or just use the bank card. They also closed their shop doors and terminated their phone number. If you call them on their unpublished phone number, they insist: “email us” and they refuse to give any service over the phone. And their email goes through gmail (and no PGP key given). Paper letters are ignored. They also refuse manual transfers. The app is the sole means for transfers.
The EU has that covered as REGULATION (EU) No 260/2012 imposes 2FA.
But for me personally, I do not trust closed-source apps from surveillance advertisers running on a Google or Apple proprietary platform, no matter how well they do the 2FA. Even if the endpoint were impenetrable, I do not trust the bank itself not to snoop -- in part because I do not trust the GDPR, which is scantly enforced and regularly disregarded to a laughable extent. And from the ecocide PoV, I refuse to throw away good hardware and support designed obsolescence. They can pry my old phone from my cold dead hands.
Suppose you resist a bank that forces you to access your account exclusively via some shitty phone app, which also requires you to buy a new smartphone. And suppose you refuse, so your only access to the bank account is via the card.
What happens when the time comes that (e.g.) the gov or a creditor demands a payment by credit transfer, not by card? Are you consequently forced by your obligation to make a payment to then buy a phone? Or do you have a right to manually order a payment from your bank by sending a written letter or something?
There is this law but I’m not sure it’s applicable:
REGULATION (EU) No 260/2012, Art.4: Interoperability
…
3. The processing of credit transfers and direct debits shall not be hindered by technical obstacles.
I think that law was really intended for the bank-to-bank segment of the transaction, not consumer to bank. I get the impression we have no codefied rights, just [recommendations to lawmakers](https://www.europarl.europa.eu/Reg
I somewhat urgently need a map, but for the past day or two there are no maps in #OSMand available for download. Can anyone confirm or deny this problem?
Is this related to the OSM outtage 6 days ago, which was supposedly resolved?
(edit) workaround -- download maps manually and side-load them. The maps are here:
you can’t just scream legal tender and throw physical money at your creditor¹.
IIRC in the US it’s written simply that if you leave legal tender in the creditor’s possession, your debt is reduced by that amount regardless of what they do with it. But of course gathering evidence in that case can be dicey.
If I remember rightly you need to lodge it with the courts and then it basically prevents you from being sued as the money is there to pick up.
There was a guy in Germany who fought the forced use of electronic payment for radio licensing fees that way. He escrowed it in a blocked account so that the gov could not claim he was just looking to evade the fees. It seems like a good approach.
I signed an agreement with a creditor that obligates me to pay them using a bank inside the country. This was fine initially but then I moved out of the country and the acct was closed. Other banks will not open an account for me and the creditor refuses cash. So the creditor is treating me like a non-payer to a quite harsh extent.
I have over-simplified here but I just want to know very generally what the common practices are around the world for contract law situations where someone without much bargaining power signs a contract that obligates them to do something that’s only achievable if other 3rd-parties agree to serve them, and then those other 3rd-parties later refuse.
BTW, I am not interested in advice on situational hacks and angles like “find a friend to pay for you”. I want to know how courts treat the situation when all options have failed. Are people typically held accountable for agreeing to something w
I signed an agreement with a creditor that obligates me to pay them using a bank inside the country. This was fine initially but then I moved out of the country and the acct was closed. Other banks will not open an account for me and the creditor refuses cash. So the creditor is treating me like a non-payer to a quite harsh extent.
I have over-simplified here but I just want to know very generally what the common practices are around the world for contract law situations where someone without much bargaining power signs a contract that obligates them to do something that’s only achievable if other 3rd-parties agree to serve them, and then those other 3rd-parties later refuse.
BTW, I am not interested in advice on situational hacks and angles like “find a friend to pay for you”. I want to know how courts treat the situation when all options have failed. Are people typically held accountable for agreeing to something w
I signed an agreement with a creditor that obligates me to pay them using a bank inside the country. This was fine initially but then I moved out of the country and the acct was closed. Other banks will not open an account for me and the creditor refuses cash. So the creditor is treating me like a non-payer to a quite harsh extent.
I have over-simplified here but I just want to know very generally what the common practices are around the world for contract law situations where someone without much bargaining power signs a contract that obligates them to do something that’s only achievable if other 3rd-parties agree to serve them, and then those other 3rd-parties later refuse.
BTW, I am not interested in advice on situational hacks and angles like “find a friend to pay for you”. I want to know how courts treat the situation when all options have failed. Are people typically held accountable for agreeing to something w
TL;DR → The main problem is coming up with a way to reorder an array non-randomly but without introducing bulky code. Like the effect of shuffling a deck of cards in a deterministic cheating way.
Full background:
I would like to generate reference numbers for letters sent via postal mail. An sqlite db is used to track the sequence numbers (but not the reference numbers). This is the bash code I have so far:
undefined
typeset -a symbolset=(a b c d e f g h j k m n p q r s t u v w x y z 2 3 4 5 6 7 8 9)
ln_symbolset=${#symbolset[@]}; # 41 is the answer, not 42
itemseq=$(sqlite3 ltr_tracking.db "select max(counter) from $tbl;")
printf '%s\n' "next letter reference number is: $(date +%Y)-${symbolset[$((itemseq / ln_symbolset))]}${symbolset[$((itemseq % ln_symbolset))]}"
An array is defined with alphanumeric symbols, taking care to eliminate symbols that humans struggle to distinguish (e.g. 1l0o). Then integer div and mod operations produce a two character number which is the
I was thinking about the problem with JavaScript and the misery it brings to people. I think I’ve pinned it down to a conflict of interest.
Software is supposed to serve the user who runs it. That’s the expectation, and rightfully so. It’s not supposed to serve anyone else. Free software is true to this principle, loosely under the FSF “freedom 0” principle.
Non-free software is problematic because the user cannot see the code. The code only has to pretend to serve the user while in reality it serves the real master (the corporation who profits from it).
JavaScript has a similar conflict of interest. It’s distributed by the same entity who operates API services -- a stakeholder. Regardless of whether the JS is free software or not, there is an inherent conflict of interest whereby the JS is produced by a non-user party to the digital transactions. This means the software is not working for the user. It’s only pretending to.
I just started using the LaTeX community ([email protected]). Sad to see it go.
update
Just noticed it’s back up, but there are no communities. That’s bizarre. So if someone not on lemmy.sdfeu.org were to post to [email protected], I guess it’d still be like a ghost node because the post would have nowhere to go on the hosting node.
\documentclass{scrartcl}
\usepackage{pdfcomment}
\usepackage[english]{babel}
%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{microtype}
\usepackage[svgnames,rgb]{xcolor}
\usepackage[absolute]{textpos}
\usepackage{amssymb,amsmath,array,bm}
\usepackage{courier}
\usepackage{calligra,mathptmx,helvet,concmath}
\usepackage{times}
\usepackage{fontspec} % used to access system fonts like Lucida Fax
\begin{document}
\defineavatar{standard}{height=10mm,width=15cm,type=freetext,color=white,fontsize=20pt,fontcolor=blue}%,voffset=-4.8cm,hoffset=-3.2cm}%
\noindent%
Fonts from the pdfcomment example document:\\[10mm]
\pdffreetextcomment[avatar=standard]{This font is Helvetica (the default)}\\[6mm]
\pdffreetextcomment[avatar=standard,font=LucidaConsole]{This font is LucidaConsole}\\[6mm]
\pdffreetextcomment[avatar=standard,font=Georgia]{This font is Georgia}\\[6mm]
\pdffreetextcomment[avatar=standard,font=P