- 93 Posts
- 2.53K Comments
solrize@lemmy.mlto
Fediverse@lemmy.world•Block lemmy.ml if lemmy feels tirening.English
101·5 hours agoIt’s a long story but basically after some stupid drama, lemmy.world banned discussion of cat food unless there was scientific evidence presented that the cat food was healthy for the cat. The drama had been about vegan cat food discussions in the vegan discussion group. Vegan cat food turns out to be a thing and appears to have enough approvals to be sold in pet stores, but people on .world wanting to talk about it should come over here to .ml. No I wasn’t a participant in the vegan group discussion itself. I made some posts in the surrounding drama thread that you can probably find in my .world profile from shortly after I joined.
solrize@lemmy.mlto
Fediverse@lemmy.world•Block lemmy.ml if lemmy feels tirening.English
124·5 hours agoI’m on .ml and just don’t see this. I moved here from .world after the cat food ban. The stupidity burned too much for me to stay there. I’m unsubscribed to most of the lemmy communities where the political crap is, so maybe that helps.
Everything the world’s briefly richest man built is failing at once.
I knew Harlan was well off but I didn’t realize he was THAT well off.
Came to ask wtf is Talenti but it sounds like it was an ice cream brand. Thanks for the post, it saved me a click.
solrize@lemmy.mltoFull movies on YouTube@piefed.social•Penguin Highway (2018 1080p English dub)English
1·6 hours agoDoes Linux figure into this movie? If yes, I’ll consider it.
solrize@lemmy.mlto
Public Health@mander.xyz•Taking Weight-Loss Drugs Could Help Reduce Violent Impulses
3·8 hours agohttps://www.astralcodexten.com/p/why-does-ozempic-cure-all-diseases
The above article is a few years old so there is more up-to-date info around about side effects.
solrize@lemmy.mlto
Public Health@mander.xyz•Taking Weight-Loss Drugs Could Help Reduce Violent Impulses
2·8 hours agoA recent study suggests GLP-1 drugs may weaken links between impulsivity, alcohol use, and violence.
Damn. I was trying to remember if there was a Simpsons episode where Krusty the Klown went on a murder spree trying to get doughnuts. I can see how GLP-1 drugs could help with that.
solrize@lemmy.mlto
Android@lemmy.world•Why can't I find a browser.... That just acts like a browser???English
5·1 day agoThe BS (trackers etc.) are on the web sites and you get them automatically unless your browser either actively filters them out, or implements an incomplete enough part of present-day web protocols that they don’t receive the trackers (e.g. by not supporting Javascript).
Unfortunately, filtering trackers is a never-ending arms race, while using a browser for the “historical web” makes a lot of present-day sites inaccessible.
I.e. the problem is the web itself, not the browser, for the most part.
I use Firefox but have fairly aggressive umatrix origin (ad blocker) settings, if that helps.
solrize@lemmy.mlto
Technology@lemmy.world•End of an era: T-Mobile finally closes the door on 2G for goodEnglish
12·1 day agoI had no idea that 2G worked til just now. Damn. I had to reluctantly mothball my 3G phone some years ago, but maybe there was a way to keep using it on 2G until now.
solrize@lemmy.mlto
Linux@programming.dev•Having trouble downloading a forum thread with wget and httrack
4·2 days agoFFF won’t work on that site right out of the box, because of the bot challenge. You’ll need a workaround. FFF has the same problem with fanfiction.net (FFN) which is one of the biggest fanfic sites. So there are a number of FFF github issues and doc entries related to FFN and looking at those might help. I do know that FFN is scrapable using browser orchestration. https://github.com/FicHub/fichub.net may have some code for that, but getting your own instance running will be quite a bit more headache than just running fanficfare.
solrize@lemmy.mlto
Linux@programming.dev•Having trouble downloading a forum thread with wget and httrack
6·2 days agoI tried wget and got a small index file that looks like a bot challenge, maybe Cloudflare Turnstile. I don’t know of a simple automated workaround. But, Turnstile gives you a rewritten url that then goes back to the forum page and sets a cookie, iirc. So if you can visit the page with a real browser, then save the cookie and transfer it to wget (there’s some option to set an arbitrary header) that’s one thing to try.
There’s another hack used by fanfiction.net readers, where if you want to save a multi-page story, you can manually visit each page with a browser, i.e. click “next” again and again to load all the pages. Up to a few dozen such clicks isn’t so bad. Fanficfare (fanfic downloading program, sometimes abbreviated FFF, https://github.com/JimmXinu/FanFicFare ) then has an option to retrieve the pages from your on-disk browser cache instead of trying to get them from the remote server. That’s another approach you can try, either with fanficfare or your own scripts.
The site you’re looking at uses xenforo which is a very popular forum server program. The actual layout of xenforo sites varies, but fanficfare probably already recognizes something similar, so try using one of those interfaces. I think spacebattles.net (another fic site) uses xenforo and FFF supports it, so it might be a good start. You will have to modify FFF to recognize civfanatics instead of spacebattles. It will help to know or pick up some Python, but you shouldn’t have to become an expert.
Added: if you really want to automate your scrape, you will have to orchestrate a browser as mentioned earlier. IDK if there is code around to already do it. If you can program, it’s not terribly hard to use Puppeteer or Selenium, but it will take some farting around to deal with the site layout and anti-bot stuff. It’s not guaranteed to work right off the bat, but with enough determination you can do it, especially if your scrape volume is low and you can run it slowly. I’m not deeply involved in this stuff (like you, I just occasionally want to download something for personal use) but there are tons of webpages and articles by people (who I’d mostly consider evil) who do it at scale.
solrize@lemmy.mlto
News@lemmy.world•Americans Can’t Buy Chinese EVs. Waymo Is Importing Thousands
8·2 days agoAt least til recently, Waymo here in California was using modified Jaguars. IDK if they started out as Jaguar EV’s or if they were ICE cars converted by Waymo. But they are everywhere in SF and also seen in other parts of the region.
solrize@lemmy.mlto
Linux@programming.dev•Having trouble downloading a forum thread with wget and httrack
13·2 days agoYou’re trying to run a scraper, and unfortunately a lot of AI companies are doing the same thing on such a big scale that it creates a DOS attack. So lots of sites now have anti-scraping measures. I clicked the forum link and saw a brief interstitial that looked like bot protection.
I’m unfamiliar with httrack but wget fails pretty often by the site just rejecting the user agent. Try “wget -Dfoo [url]” to save the response headers in the file “foo”, if I remember it right. That will let you check if there is an error code. You could also examine the too-small html index that you got, to see if it has error messages inside.
Sometimes curl works when wget fails. For both of them, there are CLI options to set the user agent to something different.
Getting images from forums often requires you to have a login cookie in your client. It’s simplest to log into the site and then paste the cookie into your scraping program or script.
The next thing after wget/curl would be to write a scraping script (say with python urrlib) that can analyze the html a little as it goes. The thing after that would be script an actual browser, with puppeteer or selenium etc.
Regarding the links pointing to your local disk, that’s probably because they are relative links, like “href=./foobar.html”. You can make them point to the remote server by inserting an HTML BASE tag into the top of the file, like <BASE HREF=“https://whateveritwas.com/forum”> or whatever. If it’s just for one or two pages you can do that manually. Otherwise, modify your scraping script to insert it, before or after saving the output.
solrize@lemmy.mlto
Late Stage Capitalism@lemmy.world•"And my greatest concern right now is that the state of Israel is losing support all across the political spectrum here in the U.S." ― DSA Member Melat Kiros
2·3 days agoThe video kept stopping but after a few retries I got through it. It would be helpful to have a transcript. Anyway, I wasn’t impressed.
solrize@lemmy.mlto
Ask Lemmy@lemmy.world•What's a fun piece of free software I should learn to use this week?
111·3 days agoEmacs! Emacs Makes All Computing Simple.
solrize@lemmy.mlto
Ask Lemmy@lemmy.world•What are your favorite joke/insult names for corporations?
6·3 days agoSome friendlier ones. There was once an expensive camera brand called “Exakta” but Exakta owners affectionately called them “Approxima”.
I worked near a slightly fancy Chinese restaurant called Royal East but my coworkers (who went there often) liked to call it “Royal Eats”.
There was a nearby supermarket called Purity Supreme but people called it Poverty Supreme. That was waaaay before Whole Foods.
Amherst, Massachusetts was sometimes anagrammed to “Hamster”. I mean you could address letters that way and they’d get there.
solrize@lemmy.mlto
The Signal messenger and protocol.@lemmy.ml•Signal is working on registration without a phone numberEnglish
61·4 days agoNothing that a few thousand engineers can’t implement within a year or three I’m sure.



















How do you install software updates?