-
10 votes
-
Are things swell?
3 votes -
Astral Brain – Treasures (2022)
3 votes -
Palm Palm - Cut the White (2021)
2 votes -
Fitness Weekly Discussion
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started...
What have you been doing lately for your own fitness? Try out any new programs or exercises? Have any questions for others about your training? Want to vent about poor behavior in the gym? Started a new diet or have a new recipe you want to share? Anything else health and wellness related?
7 votes -
Newcastle United are delighted to announce the signing of Alexander Isak for an undisclosed fee – striker arrives from Real Sociedad
5 votes -
‘Pre-bunking’ online misinformation
7 votes -
Illustrated overview of Artemis I and II, and related future missions
3 votes -
The grass is always browner – Swedish neighbours vie for 'ugliest lawn' title on the island of Gotland
7 votes -
When it comes to flaunting its defense industry, Stockholm is shy – and it's hurting Swedish companies and handing lucrative contracts to competitors
4 votes -
Luca Guadagnino: We need more ‘surprising’ sequels like ‘Top Gun: Maverick’
6 votes -
Cemu 2.0 announcement. Linux builds, open-source and more
17 votes -
Confess, Fletch | Official trailer
1 vote -
What games have you been playing, and what's your opinion on them?
What have you been playing lately? Discussion about video games and board games are both welcome. Please don't just make a list of titles, give some thoughts about the game(s) as well.
12 votes -
OSTP issues guidance to make Federally funded research freely available without delay
12 votes -
Ski jumping governing bodies from the United States and Norway have forged an unprecedented partnership
4 votes -
Laid-off HBO Max execs reveal Warner Bros. Discovery is killing off diversity and courting ‘Middle America’
6 votes -
White Noise | Official teaser
3 votes -
Ex-Twitter exec blows the whistle, alleging reckless and negligent cybersecurity policies
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