There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

kbin.life

darmok , to selfhosted in Lemmy selfhost error | getaddrinfo EAI_AGAIN lemmy
@darmok@darmok.xyz avatar

I ran into this at one point as well. You can unset the private instance flag manually in the database and restart to get up and running again.

First connect to psql:

docker-compose exec postgres psql -U lemmy

Then run an update to unset the flag:

lemmy=# update local_site set private_instance = false;

Which should update 1 row (only 1 row in that table if you’re on a typical install)

sum_yun_guy OP ,

That worked! Thanks so much to both of you :) Such a small change was driving me crazy

MrJukes , to nostupidquestions in how do I find content/communities

Lemmings?

overlyanxious ,
@overlyanxious@sh.itjust.works avatar

i consider myself a lemming now

RightHandOfIkaros , to nostupidquestions in are there any dice commuties in the lemmeverse?

Dice as in the physical game piece or as in the Electronic Arts subsidiary video game studio?

PhantomAudio OP ,

the hold in your hand clicky clack math rocks

jcup , to youshouldknow in YSK How to bypass paywalls on news articles
@jcup@kbin.social avatar

A lot of articles load all of the content before the paywall, so another easy (but kind of scuffed) option is to just stop the page from loading after the content has loaded but before the paywall has

roofuskit ,
@roofuskit@kbin.social avatar

That's some real quick draw skill for a lot of people with good computers/phones and gigabit speed internet.

jcup ,
@jcup@kbin.social avatar

Hahaha you got me there! This little hack may be more feasible for those with shoddy xfinity internet like myself

SpezCanLigmaBalls , to youshouldknow in YSK on desktop if you go to https://browse.feddit.de/ you can see all the other lemmy communities
@SpezCanLigmaBalls@lemmy.world avatar

If I am on Lemmy world and click on communities and hit all and then search is it not the same thing as that site?

Tsunami45chan OP ,
@Tsunami45chan@lemmy.world avatar

There are some communities that are not available here because it’s not yet existed or it’s on other servers. Like for example monster hunter has existed in lemmy.ml but lemmy.world not. The lemmy.ml manga is different from lemmy.world manga lemmy.world/c/manga lemmy.ml/c/manga

Rohbtc , to youshouldknow in YSK: if you think taking an ambulance to an Emergency Room because you think it'll get you seen sooner. DON'T!

Oh? Here in Canada the paramedics actually stay with you until you get admitted.

MuskX ,

Yeah, that's what they did with me when I went in a couple of weeks ago here in Australia (non-critical car accident). The paramedics hung around and I stayed on their ambulance stretcher until I went into an Emergency bed.

themoonisacheese , to selfhosted in How do I use a CDN for a Lemmy instance hosted on a VPS?
@themoonisacheese@sh.itjust.works avatar

Quick question: why? Why not choose to host a server in the US, near it’s “costumer base”?

If you’re doing it for the exercise, fine (though I think you’ll find that cloud flare is pretty hands-off and you basically just click a few buttons).

If you’re genuinely looking to improve cross-planet load times, I regret to inform you that a personal Lemmy instance is very much not a good target for this. A CDN works by hosting whatever parts of your site you can nearer to the people who will request them. For a huge company like discord, this means that when you upload an image to a server, they will sum up all users likely to load that image soon, find where they are and send a copy of that image nearby, saving on intercontinental traffic. They get to do this because they have many users, and they control the CDN (because they built it).

You on the other hand, are going to ask cloud flare nicely to do all of this for you. Since you aren’t paying, cloud flare is going to try to do this automatically and without cooperation from your software. This means that cloud flare will basically only try to cache parts of Lemmy that are static, so really only the page layout and that’s about it. Ultimately, the Lemmy website for your instance might load a little bit faster, but posts can’t be predicted and so those will have to go cross-continental on a cache miss.

The other advantage this affords is that anyone interested in taking down your instance will have to take it up with cloud flare. If the way they’re trying is brute force, they will fail where they would have succeeded against just your server. If their way of doing it is through legal threats, they might have better luck (though cloud flare tries to remove itself from a position where they have to police what their service can be used for, my opinion is that it is a matter of time before they are forced to).

MigratingtoLemmy OP ,

Thank you for the wonderful comment!

The only reason I’m looking to host in Europe is because of the prices: this server will not allow for sign-ups (i.e. it will only be for me). I will likely only need 1GB of RAM and very little CPU power to get this to work. The prices in Europe for low-cost VPSes are better than in the US. I don’t actually care about which country/continent I’m hosting it in, this decision was purely financial.

I have a question: I believe I can set Lemmy to auto-sync content from communities I’m interested in (I can set the frequency for the auto-sync) - would it be possible for Cloudflare to cache the content if it is already in the database of my Lemmy instance? I know that CDNs can only really cache static content but I do not know enough about CDNs/Cloud Networking in general to be able to figure out just what it would be able to cache.

Thank you, yes I had the protections offered by Cloudflare in mind when I asked this question. I do not plan to do anything illegal so I hope I’ll be fine.

Could you also tell me why Cloudflare asks me to change the authoritative nameservers on my registrar’s page to their nameservers? I think my networking is getting a bit rusty, I really can’t figure it out.

One more thing; is there a difference in configuring a Cloudflare CDN vs a Cloudflare reverse-proxy for a VPS instance? I see people in c/homelab talk about this but I never really delved into it, but if I could access my network remotely using this it would a great bonus.

Thanks!

themoonisacheese ,
@themoonisacheese@sh.itjust.works avatar

Adding to the hetzner comment: I think AWS has free very crappy servers. If you’re a student, the Github Student Pack has free digitalocen credits.

In theory, cloud flare could pre-cache content before you request it. Unfortunately, that would require significant effort from Lemmy to let cloud flare know that there is new content, and then it would be up to cloud flare to decide to cache it for 1 client. Both these things aren’t happening.

CF needs to dynamically control where requests for your server end up, and for that they need to be the authoritative DNS for it.

Cloud flare indeed acts as a reverse proxy (because that’s how CDNs work), but unlike a self-hosted reverse proxy, theirs will be on their servers, so will not have much more more access to your network than yourself outside of it. I think they have some sort of offering to actually give your more access, but A) idk if that’s free and B) that requires an always-on computer in your local network, at which point why not just host your Lemmy instance on it?

obviouspornalt ,

Another option for very cheap VM, storage, bandwidth: Oracle Free Forever

www.oracle.com/cloud/free/

themoonisacheese ,
@themoonisacheese@sh.itjust.works avatar

Wasn’t aware of that since I both have my own server and happen to despise oracle but good for people who need cheap compute!

gds , to youshouldknow in YSK How to bypass paywalls on news articles

Reader view in mobile Safari often works. As does switching to a private window. Failing that Google usually has a cache if archive.is doesn't.

Fmstrat ,

Same in Firefox. And if you only get the preview in reader mode, refresh after you are in reader mode.

dryguy , to youshouldknow in YSK How to bypass paywalls on news articles

A lot of paywalls disappear when you turn off javascript. I use a plugin that adds a button to quickly toggle javascript for specific web pages. It works for a large percentage of paywalled articles. On the few paywalled sites where I actually use javascript, it is easy to just turn it back on again when needed. The plugin I use is JavaScript Switcher, but there are others out there.

Kethal ,

That’s nice to know. There’s also “reader mode” built right into Firefox.

dryguy ,

I did not know about reader mode. It seems that it is unavailable for some websites, so it can still be useful to switch off JavaScript in those cases.

jjakc , to selfhosted in How do I use a CDN for a Lemmy instance hosted on a VPS?
@jjakc@lemthony.com avatar

Buy your domain with cloudflare, or transfer it over to them. Then just set up dns to point to you server and make sure the proxy switch is on. Pretty sure that’s all you need to do at the free tier

MigratingtoLemmy OP ,

Hi, can I purchase my domain elsewhere? The other commenter mentioned something about changing nameservers, how would the process you describe be different from just changing nameservers (if I have a domain name from a different provider)?

jjakc ,
@jjakc@lemthony.com avatar

It’s basically the same. Like they said, you just follow the intructions on cloudflare to change the name servers on your registrar and then you’re good

howdy , to selfhosted in Incredibly Lost and frustrated trying to set up self hosted lemmy server
@howdy@thesimplecorner.org avatar

Install wsl for windows Ubuntu default.(can install wsl in PowerShell).

Install Ansible in wsl, create ssh keys to your VPS, follow those instructions.

On my Ubuntu server I did literally nothing but the ssh key generation.

cereal7802 ,
@cereal7802@lemmy.game-files.net avatar

I think this is one of the more sensible answers here. If your workstation is windows, then utilize WSL for ansible and deploy onto a ubuntu or debian host (I’m assuming it works fine on debian, I used ubuntu). You might run into some issues with ansible dependencies as the readme doesn’t seem to cover everything from what i remember, but once ansible works and has the correct configs, deployment is super easy.

howdy ,
@howdy@thesimplecorner.org avatar

Yeah Ansible I had to set the path variable and did the ssh key generation. Other than that my lemmy was up and running in like 10 minutes all automated. You can go back and change the config by rebuilding the yaml. It’s not bad at all.

cereal7802 ,
@cereal7802@lemmy.game-files.net avatar

I ran into some dependency issues(needed to install ansible-collection-community-docker on my fedora workstation), but after that it ran fine and installed everything first run. I made some adjustments to the inventory config afterwards, but aside from that it just worked.

yesdogishere ,

sadly, none of these is worth implementing. Remember, Windows is designed to break. MS has millions of tiny levers to flick, and they don't care if their mindless flicking fucks up your work. Worse of all, the law protects them from flicking to destroy you out of spite. Best thing to do is just use linux. Or design our own OS. Since Linux itself is slowly collapsing under the weight of MS bullshit. And god forbid that shithole IOS.

fryman , to selfhosted in DIY vs pre-build NAS for home use

Understand that this is a rabbit hole where you’ll hear a million opinions. If you’re just starting out, I’d recommend keeping it simple. It’s been a while since I looked at what’s new, but I’d look at truenas scale or unraid first.

I personally use truenas core (based on freebsd) but truenas scale (based on debian) opens up more options like docker that might be useful in the future.

I recommend sticking to hardware you already own until you run into something that you can’t do. Then you’ll have a better idea of what to look for and how everything works.

Piatro OP ,

Thanks, the flexibility and closed source (I assume) of turn key solutions puts me off them. I’ve already got a raspberry pi running a few containers and I work with docker and Linux in my day job so I know a decent amount. The form factor of the turnkey solutions is the big draw for me at the moment to them as I’ve just got a spare ATX mid size tower handy. Would ideally replace with smaller case but then I’d need a smaller motherboard and that’s just raising costs for starting out. Potential upgrade path anyway.

fryman ,

I have a node 304 case with an itx board and I wish I’d have gone with something bigger with more expansion slots. Some sata ports died on me so I installed an hba card to give me more. That means I can’t add a 10g nic or a video card for hardware acceleration or…you get the idea. Ideally spend less money now and experiment, then in the future you’ll hopefully learn what suits your needs.

Kuvwert , to futurama in Now, I'm not saying that Professor Farnsworth is old, but if you consider his age he's going to die soon

Sorry what… Upcoming episodes?..

skylestia OP ,
@skylestia@lemmy.blahaj.zone avatar

yep! new episodes will be releasing weekly on Hulu starting July 24

and here’s a trailer for the upcoming new season since im guessing you haven’t seen it x3

Kuvwert ,

This is the best day of my life

skylestia OP ,
@skylestia@lemmy.blahaj.zone avatar

lol i’m excited too! i hope they’ll continue the series after the finale when the professor said they could go back to before they pushed the time button

bloubz , to youshouldknow in YSK: if you think taking an ambulance to an Emergency Room because you think it'll get you seen sooner. DON'T!

this seems quite country specific. Care sharing which one?

derf82 ,

Triage is common throughout the world. I don’t believe anywhere will ambulance service automatically get you seen sooner.

bloubz ,

i think you could be surprised how different things can function in a country different than the US. Especially the medical system. So it could be interesting to have that conversation. I work in the medical field but nowhere near a hospital so can’t bring much

Maven ,
@Maven@lemmy.sdf.org avatar

I’ve had to take ambulances many times in my country, and it’s the same here. Triage is triage, I would be shocked if it worked differently… anywhere. If ambulances got you seen faster, it would be at the expense of someone who needed treatment more, and that’s bad from both a healthcare perspective (you will save fewer patients) and a financial perspective (dead patients don’t pay).

bloubz ,

That’s fair and logical arguments. But I guess you are already kind of treated in the ambulance, and if it’s not long to finish treating you fully after that, would they do it so they can dismiss you and focus on the rest of the patients?

Maven ,
@Maven@lemmy.sdf.org avatar

Ambulances don’t really “treat” you, except in the simplest of cases. A paramedic/EMT is not a doctor. Their training is largely in stabilizing you, that is, making sure you don’t die before you get to the hospital, where you enter the triage system. They haven’t treated you, they’ve only done their best to keep the problem from getting worse. (I’m not saying this isn’t a valuable skill, just that it’s not the same as “kind of treating” you)

_MoveSwiftly , to youshouldknow in YSK: If you’re having trouble posting try again but just don’t select a language. Then edit the post and select the language

Could you please add a “Why YSK:” to the body of the post? Thank you. :)

SpezCanLigmaBalls OP ,
@SpezCanLigmaBalls@lemmy.world avatar

Do I have to explain it? I don’t really have all that much else to say about it

I put that in the body though lol

_MoveSwiftly ,

Nope, just the why.

In this situation, it’s something along the lines of “Devices can get stuck due to various reasons, and knowing how to reset them would help in not having a bricked device.”

Does that make sense?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines