-
13 votes
-
TÁR | Teaser
3 votes -
The SLS rocket is the worst thing to happen to NASA—but maybe also the best?
13 votes -
MoviePass to relaunch on Labor Day in beta form with pricing ranging from $10-$30 a month
11 votes -
Journalists from Finland's largest newspaper accused of publishing classified defence intelligence – unprecedented case for the country renowned for its press freedom
6 votes -
What have you been eating, drinking, and cooking?
What food and drinks have you been enjoying (or not enjoying) recently? Have you cooked or created anything interesting? Tell us about it!
7 votes -
Empire of Light | Official teaser trailer
5 votes -
Secret ‘Batgirl’ screenings hit the Warner Bros. lot
8 votes -
‘Aquaman 2’ heads to Christmas 2023, ‘Shazam: Fury Of The Gods’ goes to March, HBO Max pics ‘House Party’ and ‘Evil Dead Rise’ going theatrical
5 votes -
What have you been watching / reading this week? (Anime/Manga)
What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! Feel free to talk about something you saw that was...
What have you been watching and reading this week? You don't need to give us a whole essay if you don't want to, but please write something! Feel free to talk about something you saw that was cool, something that was bad, ask for recommendations, or anything else you can think of.
If you want to, feel free to find the thing you're talking about and link to its pages on Anilist, MAL, or any other database you use!
4 votes -
Porn use and men's and women's sexual performance: Evidence from a large longitudinal sample
12 votes -
Thermal paste and toddlers
Last night my daughter's toddler bed fell apart and I had to fix it. Some screws had come loose so it was an easy fix. Brought my toolbox into their (her and her twin brother's) room around bed...
Last night my daughter's toddler bed fell apart and I had to fix it. Some screws had come loose so it was an easy fix. Brought my toolbox into their (her and her twin brother's) room around bed time, fixed the bed, then began the usual bedtime routine. My wife and I left the room and that was that.
Except I left my toolbox in there because I'm forgetful. And you'd think the pokey screwdrivers, gardening shears, and other dangerous tools in there would've been a problem, but nope. My kids weren't interested in that stuff. They pulled out my chalk line and unspooled it. Fortunately it had been heavily used in a project recently, so there wasn't much chalk in it. But they really seemed to like the small, mostly-empty tube of thermal paste I keep in there for computer projects.
If anyone has used thermal paste, you know how incredibly messy it is. It's this thick, dark paste that gets everywhere if you're not careful. And it's the kind of thing where even just a little bit of it can make a big mess. It was all over the walls and all over them. Fortunately they were kind enough to put the cap back on the tube when they were done (bless them).
We tried to use wipes, but to no avail. So the first thing we did this morning was give them a bath and used a wash cloth to clean it all off. I also did some quick googling to see if thermal paste was toxic (it isn't), but 90% of the answers online were jokes about it improving your body temperature and allowing you to overclock yourself. Fucking hilarious stuff, but maybe not so much when you're making sure your kids are alright. They should be fine though.
Anyway, how're ya'lls days going so far?
18 votes -
Embracer Group, parent company for a vast and expanding roster of studios and publishers, goes on a spending spree buying up Middle-earth Enterprises and more
9 votes -
George Dawson book about racism effectively banned at George Dawson Middle School
7 votes -
Gross games about flesh and stuff
7 votes -
Guild Wars 2 Steam launch and tenth anniversary is tomorrow
12 votes -
Plex breach exposes usernames, emails, and encrypted passwords
12 votes -
The Futures of Inform (Talk transcript and slides)
3 votes -
Rare earths processor Neo Performance Materials has bought exploration rights to mine in Greenland – diversifying supplies of minerals critical for advanced technologies
6 votes -
Moving your focus from thoughts to actions for a more fulfilling life
6 votes -
[Python] Trouble fetching checkbox and radio fields with PyPDF2
My project involves reading text from a bunch of PDF form files for which I'm using PyPDF2 open source library. There is no issue in getting the text data as follows: reader =...
My project involves reading text from a bunch of PDF form files for which I'm using PyPDF2 open source library. There is no issue in getting the text data as follows:
reader = PdfReader("data/test.pdf") cnt = len(reader.pages) print("reading pdf (%d pages)" % cnt) page = reader.pages[cnt-1] lines = page.extract_text().splitlines() print("%d lines extracted..." % len(lines))
However, this text doesn't contain the checked statuses of the radio and checkboxes. I just get normal text (like "Yes No" for example) instead of these values.
I also tried the
reader.get_fields()
andreader.get_form_text_fields()
methods as described in their documentation but they return empty values. I also tried reading it through annotations but no"/Annots"
found on the page. When I open the PDF in anotepad++
to see its meta data, this is what I get:%PDF-1.4 %²³´µ %Generated by ExpertPdf v9.2.2
It appears to me that these checkboxes aren't usual form fields used in PDF but appear similar to HTML elements. Is there any way to extract these fields using python?
2 votes -
Aides to the Jan. 6 select committee traveled to Copenhagen last week to review documentary footage related to Donald Trump ally and pardon recipient Roger Stone
6 votes -
Stable Diffusion public release - a fully open text-to-image generator
20 votes -
Weekly megathread for news/updates/discussion of Russian invasion of Ukraine - August 18
This thread is posted weekly on Thursday - please try to post relevant content in here, such as news, updates, opinion articles, etc. Especially significant updates may warrant a separate topic,...
This thread is posted weekly on Thursday - please try to post relevant content in here, such as news, updates, opinion articles, etc. Especially significant updates may warrant a separate topic, but most should be posted here.
If you'd like to help support Ukraine, please visit the official site at https://help.gov.ua/ - an official portal for those who want to provide humanitarian or financial assistance to people of Ukraine, businesses or the government at the times of resistance against the Russian aggression.
10 votes -
Interviews with three conference interpreters: The hardest job in language
4 votes -
A Jazzman’s Blues | Official trailer
4 votes -
How Rock Against Racism fought fascism
4 votes -
One good way to understand religion is to break it apart
5 votes -
The Inspection | Official trailer
3 votes -
How grief, going home and gabber built Björk's new album – Fossora will be released this autumn
2 votes -
What have you been eating, drinking, and cooking?
What food and drinks have you been enjoying (or not enjoying) recently? Have you cooked or created anything interesting? Tell us about it!
7 votes -
Vietnam says homosexuality ‘not a disease’ in win for gay rights
15 votes -
UK inflation to hit 18.6% next year according to Citi
Archive: https://archive.ph/t0oH2 From the article: UK inflation is on course to hit 18.6 per cent in January — the highest peak in almost half a century — because of soaring wholesale gas prices,...
Archive: https://archive.ph/t0oH2
From the article:
UK inflation is on course to hit 18.6 per cent in January — the highest peak in almost half a century — because of soaring wholesale gas prices, according to a new forecast from Citigroup based on the latest market prices.
The investment bank predicted that the retail energy price cap would be raised to £4,567 in January and then £5,816 in April, compared with the current level of £1,971 a year — shifts it said would lead to inflation “entering the stratosphere”.
[...]
UK and European wholesale natural gas prices are already trading at close to 10 times normal levels and other forecasters have also raised their inflation predictions.
Goldman Sachs and EY said they expected an inflation rate of at least 15 per cent around the start of next year and the Bank of England said this month that inflation would exceed 13 per cent towards the end of the year.
The energy regulator Ofgem will on Friday announce the energy price cap for the period between October and January, which most analysts expect to rise to more than £3,500 for a household with average usage of energy — an increase of 75 per cent on current levels.
12 votes -
Karsten Warholm successfully defended his European title as he stormed to 400m hurdles gold at the 2022 European Athletics Championship in Munich
6 votes -
‘Batman: Caped Crusader’ animated series from Bruce Timm, JJ Abrams, Matt Reeves axed at HBO Max, will be shopped elsewhere
7 votes -
Röyksopp feat. Susanne Sundfør – Oh, Lover (2022)
10 votes -
TV Tuesdays Free Talk
Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here. Please just try to provide fair warning of...
Have you watched any TV shows recently you want to discuss? Any shows you want to recommend or are hyped about? Feel free to discuss anything here.
Please just try to provide fair warning of spoilers if you can.
7 votes -
D&D 6th Edition announced (but they're calling it One D&D for now)
22 votes -
Why the US Army electrifies this water
7 votes -
A teen’s journey into the internet’s darkness and back again
5 votes -
Weekly US politics news and updates thread - week of August 22
This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate...
This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate topic, but almost all should be posted in here.
This is an inherently political thread; please try to avoid antagonistic arguments and bickering matches. Comment threads that devolve into unproductive arguments may be removed so that the overall topic is able to continue.
6 votes -
Norway wants Facebook fined for illegal data transfers – European regulators are finalizing a decision blocking Meta from transferring data to the US
6 votes -
Investigating the mysteriously feel-good "Texas Turnaround"
11 votes -
The nuts and bolts of siting and building power lines
6 votes -
New photos of Jupiter by the JWST
22 votes -
Weekly coronavirus-related chat, questions, and minor updates - week of August 22
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the...
This thread is posted weekly, and is intended as a place for more-casual discussion of the coronavirus and questions/updates that may not warrant their own dedicated topics. Tell us about what the situation is like where you live!
5 votes -
The Last of Us | Teaser trailer
9 votes -
Once a trading gateway to the world, Finland's ancient capital of Turku is carving out a new niche as a Nordic food hotspot
3 votes -
A dad took photos of his naked toddler for the doctor. Google flagged him as a criminal.
14 votes -
Good conversations have lots of doorknobs
12 votes