25

Weekly Web Harvest for 2022-09-18

ocrmypdf/OCRmyPDF: OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched or copy-pasted. Michael Tsai – Blog – Terminal and Full Disk Access What you may not realize is that if you grant Full Disk Access to Terminal, you thereby provide Full Disk Access to every unsandboxed app on your Mac too! And how can this be? The reason is that unsandboxed apps can open executable shell scripts in Terminal, and those scripts will execute with the permissions not of the opening app but rather with the permissions of Terminal, i.e. Full Disk Access. Re-visiting How we Work at Reclaim | bavatuesdays If nothing else, I learned a couple of things through writing this long, wandering post: 1) integrating various technologies is crucial to make Reclaim Hosting work, and it reinforces why showing students how the web actually works through linking and integrating is an essential literacy in the 21st century; 2) how dependent we are on various softwares and how that reinforces the value of open source as the pricing for many of the proprietary applications continues to go through the roof—making open source alternatives not only interesting but almost essential. Owen Pellegrin on Twitter: “@IanColdwater “We hope to […]

24

WordPress Data Attribute Pattern

Recently, I’ve had to push things back and forth between PHP and javascript but it seemed simpler at the time to use data attributes rather than doing it purely in javascript. It’s likely that I am wrong and stupid and I should have done it all in javascript but I’ll document it anyway. I never know when I’ll want to repeat things that are bad ideas. For this example, we’ll populate a Bootstrap Modal via javascript with the content of a particular post. PHP Portion The following code gets a custom post type and loops through the results, building a carousel of options. The portion that we’ll pay extra attention to is htmlspecialchars(wpautop(get_the_content()),ENT_QUOTES);. I crammed it all together which is a crummy way to do things but I’m tired and it’s early Saturday morning and I’m writing a blog post. Let’s back out the pieces, starting on the inside. get_the_content is just how we get WP’s post content. wpautop makes sure we get the line breaks as paragraph tags. htmlspecialchars makes sure that any special characters as returned as HTML so it won’t break our HTML when we echo it out in the data attribute data-bs-content='{$content}’. Javascript Portion Now we’ve got an HTML button that looks something like this. We can modify the standard Bootstrap varying modal content a bit […]

18

Weekly Web Harvest for 2022-09-11

2022 Russian businessmen mystery deaths – Wikipedia Rethinking Star Ratings For Readers — Smashing Magazine Imagine if we thought half this hard about A-F grading. Popular school messaging app hacked to send explicit image to parents “In the meantime, if you need to speak with your student’s teacher please send them an email,” Krisztina Szucs – Data Visualization Designer Portfolio I need to spend more time parsing these but I like the concept quite a bit. divamgupta/diffusionbee-stable-diffusion-ui: Diffusion Bee is the easiest way to run Stable Diffusion locally on your M1 Mac. Comes with a one-click installer. No dependencies or technical knowledge needed. Diffusion Bee is the easiest way to run Stable Diffusion locally on your M1 Mac. Comes with a one-click installer. No dependencies or technical knowledge needed. Dries Depoorter – artist and speaker working with technology ? A number of interesting projects. The Follower – Dries Depoorter A project that goes from an instagram photo to use AI to search open web cams to find footage of the person taking the photo. ‘He’s Got No Experience’: Spotsylvania Parents Raise Questions on Superintendent Candidate – NBC4 Washington “This individual is very qualified in a lot of things,” he said.   “I find that the share of out-of-state students has risen by an average of 55 percent since 2002 and that […]

16

New Gravity Form at the same ID

I’m doing a lot of work on the Parallel Practice site. We made some really significant changes to the form. Naturally, I did that on my development site. I had a vague premonition about getting those changes over to production but figured there’d be some way.1 Many things I did rely on the Gravity Form ID being 1. It impacts how I name certain CSS classes. It determines how I target fields via javascript, and how things get processed in PHP. I could definitely search and replace it throughout my code but I felt like that was begging for lots of minor issues that would be a real hassle to figure out. I could also hand change the form on the production site. That also felt like a real pain with plenty of opportunities to mess up stuff. After looking around a bit and not finding any good advice, I decided I’d just try editing the database directly. There are two tables to look at wp_gf_form and wp_gf_form_meta. You may have a prefix other than wp if you set up something custom. wp_gf_form just has the basic title and ID. I didn’t need to change anything here but it’s nice to take a look at the data. Now I open my production database and development database so I can compare […]

04

Weekly Web Harvest for 2022-08-28

Tom Gara on Twitter: “Google Duo is being merged into Google Meet, formerly known as Hangouts Meet, which is not to be confused with Google Chat, which is a separate app previously known as Hangouts Chat, which replaced Google Talk, Google+ Messenger, and this makes me feel a bit better about problems in general Adstringosaccus bediae | Alternating list counter-increment: list-item; content: counter(list-item); Procteario (@Procteario) / Twitter Academic surveillance software makes me cry – retweeting evidence of emotional harm. Every day, more harm. Listen to students. Matthew Cole on Twitter: “Someone just sent a phishing scam e-mail to every faculty member at Harvard and Henry Louis Gates replied all like “why did I get this” and now the whole faculty is replying all like “DONT OPEN IT” ? ?” / Twitter Sydney Battle on Twitter: “my college has been using photos of me and my friend for like 8yrs now. they even put a pic of my face on a table/foot rest. we have yet to see a cent and they don’t even have the nerve to use flattering pics!! we’re in hell The Up-Goer Five Text Editor CAN YOU EXPLAIN A HARD IDEA USING ONLY THE TEN HUNDRED MOST USED WORDS? IT’S NOT VERY EASY. TYPE IN THE BOX TO TRY IT OUT.

29

Google Sheet Web Scraping Example

The Context Middlebury has an interesting setup. They call them Go Links. It’s basically a version of tinyURL that anyone at Middlebury (students included) can use to make customized Middlebury links. If you’re on campus, you can use go/whatever and off-campus you have to use go.middlebury.edu/whatever.1 This replaced a giant redirect list. I’m not sure how I feel about it. In some ways it’s kind of fun and useful but it feels like it creates considerable technical2 debt in the long run. It also habituates people to getting to things in ways that require rethinking outside of the campus network. I also don’t know how you end up removing these when the students graduate or when the usage dies out. I guess you’d do something around tracking usage and auto-deleting after a certain period of inactivity. Otherwise this just grows forever. I don’t think you want this chart to keep going up. There are currently 1,144 entries that start with C. That includes links like critical-conversation, critical-conversations, criticalconversation, criticalconversations . . . so you can see how this plays out. I found the statement below as I delved a bit deeper into the system. It’s a tricky spot. Go Links are something that faculty and students expect and use. I can’t help but see them as an ever-growing layer of […]

28

Weekly Web Harvest for 2022-08-21

Understood’s Commitment to Accessibility and Usability | Understood I like the position articulation An SVG filter to pixelate images | Stefan Judis Web Development an inline SVG/CSS filter

21

Weekly Web Harvest for 2022-08-14

USS New York (BB-34): Outboard Profile ship blueprints Designing for Long-Form Articles | CSS-Tricks – CSS-Tricks a variety of good tips applicable to educational sites Workplace Productivity: Are You Being Tracked? – The New York Times an article on tracking that tracks you is worth linking to even with the paywall setup . . .

14

Weekly Web Harvest for 2022-08-07

Who Is Collecting Data from Your Car? – The Markup Does Your Car Need to Know Your Race and Heart Rate? – The Markup One company, called High Mobility, advertises on its website 57 categories of data, including “Heart Rate” and “Race.” High Mobility CEO Risto Vahtra told Jon and Alfred that not all the data categories listed are used by its customers, but he did not respond to a follow-up question from me about the specific categories of Heart Rate and Race. Automakers such as Ford and Toyota have explored ways to monitor drivers’ heart rates for signs of a heart attack. It is not clear why autos would want to monitor a driver’s race. Super Punch: “The Straw Hat Riot of 1922 was a riot that occurred…in New York City, at the end of the summer as a result of unwritten rules in men’s fashions at the time” Hard not to think about stuff like this when people talk about culture and change with things a bit more complex than hats. Finer grained control over CSS transforms with individual transform properties Ioannis Tz on Twitter: “Greek silver coin with octopus, from Syracuse, Sicily, 460-450 BC. https://t.co/yLOb0rjzIk” / Twitter xkcd: Asking Scientists Questions School districts facing ‘crisis’ teaching shortage – The Washington Post Turns out novelty pencils, some gift […]