Wikipedia:Reference desk/Computing: Difference between revisions
edited by robot: adding date header(s) |
|||
Line 53: | Line 53: | ||
: With [[PDFtk]]: <code> pdftk in.pdf input_pw <password> output out.pdf </code> -- [[User:Finlay McWalter|Finlay McWalter]]'''··–·'''[[User talk:Finlay McWalter|Talk]] 13:55, 21 October 2023 (UTC) |
: With [[PDFtk]]: <code> pdftk in.pdf input_pw <password> output out.pdf </code> -- [[User:Finlay McWalter|Finlay McWalter]]'''··–·'''[[User talk:Finlay McWalter|Talk]] 13:55, 21 October 2023 (UTC) |
||
:Alternately use [https://qpdf.sourceforge.io/ the qpdf package (you can download it from this link)] with a command-line like <code>qpdf --decrypt --password=yoursecretpassword inputfilename.pdf outputfilename.pdf</code> . – [[User:b_jonas|b_jonas]] 05:20, 25 October 2023 (UTC) |
|||
== Keyboard issue == |
== Keyboard issue == |
Revision as of 05:20, 25 October 2023
of the Wikipedia reference desk.
Main page: Help searching Wikipedia
How can I get my question answered?
- Select the section of the desk that best fits the general topic of your question (see the navigation column to the right).
- Post your question to only one section, providing a short header that gives the topic of your question.
- Type '~~~~' (that is, four tilde characters) at the end – this signs and dates your contribution so we know who wrote what and when.
- Don't post personal contact information – it will be removed. Any answers will be provided here.
- Please be as specific as possible, and include all relevant context – the usefulness of answers may depend on the context.
- Note:
- We don't answer (and may remove) questions that require medical diagnosis or legal advice.
- We don't answer requests for opinions, predictions or debate.
- We don't do your homework for you, though we'll help you past the stuck point.
- We don't conduct original research or provide a free source of ideas, but we'll help you find information you need.
How do I answer a question?
Main page: Wikipedia:Reference desk/Guidelines
- The best answers address the question directly, and back up facts with wikilinks and links to sources. Do not edit others' comments and do not give any medical or legal advice.
October 18
Wikipedia CSS help
Hello!
Can someone help me understand why the image in this template is overflowing outside its container? It renders correctly on the mainpage (w:sq:Faqja kryesore).
The image is coming from this page.
Any way to make sure none of the images overflow their container there no matter their dimensions? This is where the weekly featured article is set up so the images can be of various types. - Klein Muçi (talk) 21:28, 18 October 2023 (UTC)
- Not yet answering but the object with id="mp-content-text" has correct dimensions containing the image, but the object with class="mp-card-inner" is too small. And that is probably because object id= mp-card-featuring is too small. And the size of that seems to come from the paragraph and button size.
- https://sq.wikipedia.org/wiki/Wikipedia:Artikulli_i_jav%C3%ABs/2023/42 has the same issue with mw-parser-output, with spillover of the image outside that div. template:FAJ sets the width but not height of the image.
- I expect sq:Stampa:Clear before the noinclude will allow the image to be inside the div. Graeme Bartlett (talk) 23:44, 18 October 2023 (UTC)
- Graeme Bartlett, thank you for your time! You mean adding a clear:both at the bottom of sq:Stampa:Artikulli i javës? I tried that just now, with CSS styling and the template you mentioned, but nothing changed. :/ — Klein Muçi (talk) 00:09, 19 October 2023 (UTC)
- I don't see spillover, but the size of the image leaves little room for the text to flow around it. If, on page sq:Wikipedia:Artikulli_i_javës/2023/42, you replace
{{FAJ|Ismail Kadare 1.jpg}}
- by
[[Skeda:Ismail Kadare 1.jpg|frameless|right|100px]]
- I expect it will look better on the mainpage. --Lambiam 07:56, 19 October 2023 (UTC)
- Lambiam, that's most likely because you're watching it from a mobile device from which, not sure why, but neither do I see any spillover. The problem still persists when watching it from my desktop though. — Klein Muçi (talk) 08:53, 19 October 2023 (UTC)
- I was watching it from a laptop. Both sq:Stampa:Artikulli i javës and sq:Wikipedia:Artikulli i javës/2023/42 look fine to me. Nothing looks as if it is outside of its boundaries. The corresponding block on sq:Faqja kryesore is a bit of an eyesore. --Lambiam 10:40, 19 October 2023 (UTC)
- Trying a different browser, Safari instead of Mozilla, I now see a problem with the rendering of the template. The simplest explanation is that it is a bug in the implementation of Safari's rendering engine. --Lambiam 10:45, 19 October 2023 (UTC)
- Lambiam, I'm using Chrome and still get the same results. Well, not now because I fixed it but... Apparently Mozilla was better in this aspect? — Klein Muçi (talk) 11:53, 19 October 2023 (UTC)
- I viewed these pages through browsers on macOS, which I believe uses the same rendering engine for Mozilla (Firefox) and Chrome. --Lambiam 21:00, 19 October 2023 (UTC)
- Lambiam, I'm using Chrome and still get the same results. Well, not now because I fixed it but... Apparently Mozilla was better in this aspect? — Klein Muçi (talk) 11:53, 19 October 2023 (UTC)
- Lambiam, that's most likely because you're watching it from a mobile device from which, not sure why, but neither do I see any spillover. The problem still persists when watching it from my desktop though. — Klein Muçi (talk) 08:53, 19 October 2023 (UTC)
- I don't see spillover, but the size of the image leaves little room for the text to flow around it. If, on page sq:Wikipedia:Artikulli_i_javës/2023/42, you replace
- Graeme Bartlett, thank you for your time! You mean adding a clear:both at the bottom of sq:Stampa:Artikulli i javës? I tried that just now, with CSS styling and the template you mentioned, but nothing changed. :/ — Klein Muçi (talk) 00:09, 19 October 2023 (UTC)
- The mp-content-card on sq has a :after statement, which applies the clear fix. A technique to clear floating content inside the container, so that it doesn't overflow. —TheDJ (talk • contribs) 09:52, 19 October 2023 (UTC)
Thank you! After TheDJ's explanation I was able to replicate the same thing in the template and solve the problem with this edit. As suggested in the first comment by Graeme Bartlett, a simple clear fix was all there was needed. I was just failing to implement it before because I was adding it outside the mp-card-body container. — Klein Muçi (talk) 11:51, 19 October 2023 (UTC)
October 21
Removing PDF passwords
I have some PDF files containing scans of out-of-copyright woks, but they are password protected. I have the passwords.
What's the best way to remove the passwords?
I use Windows 10 (I also have use of a Windows 11 machine), and do not wish to buy software for this task.
I have tried print-to-PDF, which works, but gives sub-optimal quality. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:12, 21 October 2023 (UTC)
- With PDFtk:
pdftk in.pdf input_pw <password> output out.pdf
-- Finlay McWalter··–·Talk 13:55, 21 October 2023 (UTC)
- Alternately use the qpdf package (you can download it from this link) with a command-line like
qpdf --decrypt --password=yoursecretpassword inputfilename.pdf outputfilename.pdf
. – b_jonas 05:20, 25 October 2023 (UTC)
Keyboard issue
On Windows 10, on various web sites accessed through a chrome browser, including stackexchange and facebook and others, my keyboard has begun behaving strangely: First it's functioning normally and then for about 20 minutes if I press the "g" key I get "R" or some other letter, and pressing the "4" key I get "z" etc., and I thought this might be a hardware problem. But then I found that whenever this problem happens, if I just enter a few characters into R, version 4.2.2, the keyboard starts functioning normally again on chrome. So this seems like a software issue. Does that suggest to anyone what's going on and what can be done about it? Michael Hardy (talk) 23:05, 21 October 2023 (UTC)
- Have you tried power cycling? --Lambiam 23:02, 24 October 2023 (UTC)
October 23
Magenta Not Printing on Epson XP 2105
Hello. My printer, Epson XP 2105, cannot print magenta anymore. I tried cleaning the nozzle heads to no avail. I would be grateful for any piece of advice you can offer. Mayfare (talk) 15:46, 23 October 2023 (UTC)
- It might have run out of magenta ink. Bubba73 You talkin' to me? 03:29, 24 October 2023 (UTC)
- Or may sill be blocked despite cleaning. Graeme Bartlett (talk) 20:57, 24 October 2023 (UTC)
October 24
Scoring for LLM generated Wikipedia Style models.
I am part of a team at a University where we are building a LLM style model which will be given a topic and will generate different subtopics and then text in order to write an informative article. We are going to be using several different types of scoring mechanisms, but we would ideally like to have frequent wikipedia editors collaborate with scoring the articles.
Is there a specific location that I could reach out to those who are frequently editing on wikipedia? Terribilis11 (talk) 00:23, 24 October 2023 (UTC) Terribilis11 (talk) 00:22, 24 October 2023 (UTC)
- Please dont use LLMs to write articles. See the guidance in the essay at Wikipedia:Large_language_models RudolfRed (talk) 01:15, 24 October 2023 (UTC)
- New articles submitted as drafts are often reviewed by participants in the WikiProject Articles for creation. Perhaps some of them may be inclined in participating in your experiment, in which case the discussion page of the Wikiproject is a suitable location. I think that in any call for cooperation you should describe the objectives of the effort. --Lambiam 11:40, 24 October 2023 (UTC)
- In answer to the location question, there is Wikipedia:Village pump (miscellaneous). But as your project maybe educational, there is also Wikipedia:Education noticeboard. Graeme Bartlett (talk) 20:57, 24 October 2023 (UTC)