Firstly, I wanted to apologize for the silence over the past couple weeks. Work, life took over administering this instance. Onto the good stuff. As some of you may have noticed we skipped `0.18.0` because of some unforeseen [issues](https://lemmyrs.org/post/52291) but we're now on `0.18.1`. In my extremely minimal testing, the upgrade seems to have gone through largely smoothly! Please do let me know if you see any weirdness. (Some old themes might be borked, please update your own interface accordingly). I am aware that [Jerboa](https://play.google.com/store/apps/details?id=com.jerboa) was completely broken, hopefully it works now (I can't test it since I don't have access to Android). Time for some stats: ``` $ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 392M 1.7M 390M 1% /run /dev/vda1 94G 21G 69G 23% / tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 392M 4.0K 392M 1% /run/user/1002 ``` ``` $ free -m total used free shared buff/cache available Mem: 3911 475 142 140 3294 3020 Swap: 2399 88 2311 ``` Another important thing I did was upgrade the instance to a mid-tier vultr plan (we did run out of disk space on the old one). Here's the new plan: ` AMD High Performance 2 vCPU, 4096 MB RAM, 100 GB NVMe, 5.00 TB Transfer ` And last month's vultr stats: ![](https://lemmyrs.org/pictrs/image/bd38edae-f640-414e-bb7a-dd947ef55548.png) This brings our yearly costs to (there's occasional bumps because of some vultr snapshot nonsense) regardless: ``` domain: $12/year vultr: $24 (instance) + $4.8 (backups) = $28.8/month = $345.60 / year email: still free tier on zoho, woo! total: $357 / year ``` Let me know questions/concerns, bugs you've noticed after the upgrade. Cheers!
admin 1 year ago • 100%
Done. Update post coming shortly.
admin 1 year ago • 100%
Gonna assume this was a test post. It worked!
admin 1 year ago • 87%
Oh wow, this seems like a fantastic addition. One of these days I really gotta switch from my decade old tmux workflow to zellij!
admin 1 year ago • 100%
So there's two options (assuming /r/bevy
even wants to consider migrating here):
- We setup a dedicated Bevy community
/r/bevy
could potentially use the existingRust: Game Development
community we have here
I don't really have preference either way. I do think that project-specific communities could certainly become a thing if people prefer to keep discussions laser focused.
And yeah, unfortunately I can't really make it free-for-all community creation simply because of potential DDOS/spam attacks and things rampantly becoming out of hand (part of the reason the instance is also application based).
admin 1 year ago • 100%
I think TWiR can certainly belong in Rust: News
along with any other relevant potentially recurring content (I'm thinking rustfmt, useful pkg update(s), news articles etc perhaps).
I've noticed its kinda challenging finding communities for folks and it's also kinda hard to make an actual announcement of sorts. I do, however, try to "pin" posts which I believe to be particularly important for the members to know. Honestly though, I too am figuring this out along with y'all :)
admin 1 year ago • 100%
Sigh, I tried it one more time. Same problem. Downtime this time was probably < 5 mins though so hopefully not noticeable. I am wondering whether the database is in some bad shape (no idea why/how). I guess we wait and retry with 0.18.1
.
admin 1 year ago • 100%
Well, the lemmy container kept running into:
lemmy | 2023-06-24T23:28:52.716586Z INFO lemmy_server::code_migrations: Running apub_columns_2021_02_02
lemmy | 2023-06-24T23:28:52.760510Z INFO lemmy_server::code_migrations: Running instance_actor_2021_09_29
lemmy | 2023-06-24T23:28:52.763723Z INFO lemmy_server::code_migrations: Running regenerate_public_keys_2022_07_05
lemmy | 2023-06-24T23:28:52.801409Z INFO lemmy_server::code_migrations: Running initialize_local_site_2022_10_10
lemmy | 2023-06-24T23:28:52.803303Z INFO lemmy_server::code_migrations: No Local Site found, creating it.
lemmy | thread 'main' panicked at 'couldnt create local user: DatabaseError(UniqueViolation, "duplicate key value violates unique constraint \"local_user_person_id_key\"")', crates/db_schema/src/impls/local_user.rs:157:8
despite the fact that:
lemmy=# select id, site_id from local_site;
id | site_id
----+---------
1 | 1
(1 row)
So you can see that it was unconditionally trying to create a local_site and running into a DB constraint error. I further narrowed it down to this piece of code:
///
/// If a site already exists, the DB migration should generate a local_site row.
/// This will only be run for brand new sites.
async fn initialize_local_site_2022_10_10(
pool: &DbPool,
settings: &Settings,
) -> Result<(), LemmyError> {
info!("Running initialize_local_site_2022_10_10");
// Check to see if local_site exists
if LocalSite::read(pool).await.is_ok() {
return Ok(());
}
info!("No Local Site found, creating it.");
At this point I gave up because I couldn't really tell why LocalSite::read(pool).await.is_ok()
was, well...not ok.
In case anyone was wondering, yes we were down for ~2 hours or so. I apologize for the inconvenience. We had a botched upgrade path from `0.17.4` -> `0.18.0`. I spent some time [debugging](https://matrix.to/#/!OwmdVYiZSXrXbtCNLw:matrix.org?via=matrix.org&via=mozilla.org&via=tchncs.de) but eventually gave up and restored a snapshot (taken on Saturday Jun 24, 2023 @ 11:00 UTC). We'll likely stick to `0.17.4` till I can figure out a safe path to upgrade to a bigger (and up-to-date) instance and carry over all the user data. Any help/advice welcome. Hopefully this doesn't occur again!
admin 1 year ago • 100%
Will you update to Lemmy 0.18.0 (announced today)? The new HTTP API is allegedly more lightweight.
Of course I will! I was just waiting for a few more instances to bump theirs before I update this one.
By the way, I updated my dark theme published here for lemmy-ui 0.18.0 :)
Most excellent, I have been using your CSS with Stylebot :) You could also submit a PR to lemmy-ui repo btw with your custom theme so it gets even easier for people to try.
admin 1 year ago • 100%
I think it’s likely to spike again when the api goes dark
That's a fair point. I think I might bump up the specs of this instance over the weekend (will make an announcement prior).
I haven’t been back there, is any consensus forming regarding whether people will use /r/rust, !rust@lemmyrs.org, or !rust@programming.dev going forward?
I am still of the opinion that both can (and probably should) co-exist. This particular instance will always be Rust focused, federated and have rust dedicated micro-communities. Whether it continues to grow only time will tell I suppose.
Hey all, It's been slightly over two weeks since lemmyrs started. It's been pretty fun watching the community grow! Some instance stats for you: ``` $ df -h Filesystem Size Used Avail Use% Mounted on tmpfs 97M 1.7M 96M 2% /run /dev/vda1 24G 15G 7.1G 68% / tmpfs 485M 0 485M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 97M 4.0K 97M 1% /run/user/1002 ``` ``` $ free -mh total used free shared buff/cache available Mem: 969Mi 445Mi 77Mi 134Mi 445Mi 240Mi Swap: 2.3Gi 571Mi 1.8Gi ``` ``` lemmy=# select count(id) from local_user; count ------- 294 (1 row) ``` We're cutting it pretty close in terms of RAM and Disk usage, the user growth rate has mostly flat-lined though once r/rust came back online so I'm not too concerned. When (If) it's time I'll likely bump up the Vultr instance plan to something which will continue to serve us for the foreseeable future. Previous relevant posts: - [One week update](https://lemmyrs.org/post/11688) - [Full transparency and maintenance costs](https://lemmyrs.org/post/439)
admin 1 year ago • 100%
I can somewhat relate. I mostly do something like this (instead of the exact dependency version):
chrono = {version = "0", features = ["serde"]}
clap = {version = "4", features = ["derive"]}
anyhow = "1"
I do, however, typically write application code instead of library, so it's probably less critical for me. Occasionally do run into dependency hell here and there, but nothing too bad so far!
admin 1 year ago • 100%
Right, that's certainly possible. Is it enough for us to start thinking about de-federating, maybe? Arguably this has been true since forever on any public forum. I think what's needed is better mod tools on Lemmy in general.
Personally, I think it's best for us to be patient while things settle before we consider any action. FWIW, we don't see much incoming traffic here anyway since the subreddits started coming back online after the 48 hr blackout.
If things start getting out of hand and this instance starts getting bombarded with just bots/troll, we will likely have to consider de-federation (or some other alternative).
admin 1 year ago • 100%
Hey, thanks for bringing this up. I completely agree that this is indeed something that we should discuss as a community. I haven't had the chance to make a thread about this yet, so we'll use this one :)
I have been keeping an eye on the de-federation of some instances but afaict the primary reason they did that was because of the open signup nature of those instances resulting in a flood of potential bot/troll accounts which the mods couldn't keep up with (understandably so). LemmyRS is (and probably will be in the foreseeable future) an application only instance. We just don't currently have the infrastructure or the manpower to deal with a completely open instance.
Any user who signs up using this instance presumably understands the target topic is Rust (and we have communities on this instance to cater to those users, so it's already pretty self-isolated in that sense). If someone wants to subscribe to communities on other federated instances they're completely open to do so. While things settle I think this approach should serve us well (please feel free to disagree and provide any counter arguments).
But again this isn't my unilateral decision, I would simply do what the users of this instance want as a group.
admin 1 year ago • 100%
Makes sense, done.
admin 1 year ago • 100%
Thank you, I love it! The contrast with your CSS is very nice. Also like the sticky navbar!
admin 1 year ago • 100%
Just saw your Edit. Yeah, this was probably the first post I think. I wouldn't be here myself if things weren't as transparent as they could possibly be.
As for Hetzner, yeah I've used them in the past (they're great) but for initial setup, I felt that Vultr was probably just fine. That said, I'm definitely going to have to bump up the storage and RAM on this instance in the very near future, we're cutting it closer than I'd like, specifically:
df -h:
Filesystem Size Used Avail Use% Mounted on
tmpfs 97M 1.7M 96M 2% /run
/dev/vda1 24G 15G 7.8G 65% /
tmpfs 485M 0 485M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 97M 4.0K 97M 1% /run/user/1002
free -m
total used free shared buff/cache available
Mem: 969 472 72 133 424 212
Swap: 2399 456 1943
I think a 2 tier bump to $24/month 2 vCPUs, 4GB RAM, 5TB egress at Vultr might serve us for a decent amount of time. And it would probably still be cheaper than the cheapest Hetzner dedicated we could find. Maybe.
admin 1 year ago • 100%
Agreed on the "bit early" part, disagree on the "split". As for traffic, maybe it comes, maybe it doesn't; can't really make a call on that yet. I feel it's better to do this now instead of when there's 1000+ members here (if ever).
I wouldn't necessarily label it as a "split" instead more like an organizational restructuring to keep things slightly more focused and on-topic. One can choose to "subscribe" to Rust Lang + Rust: Support but not to the other ones if they aren't interested for example.
Hey all, Just thought I'd share an update. I have added a few new communities and renamed the existing communities to have slightly more consistent naming throughout this instance. Icons are primarily from Wikimedia Commons (replacements welcome as long as there are no copyright issues). Added: ``` - Rust: Web Development - Rust: Game Development - Rust: Embedded Systems ``` Renamed: ``` - Memes to Rust: Memes - News to Rust: News - Support to Rust: Support - Meta to Rust: Meta ``` ![](https://lemmyrs.org/pictrs/image/8ecc1336-afbc-42d9-a0ee-3e6418907281.png) PS: The identifiers for the renamed communities remain the same. Open to any suggestions/thoughts on this change or otherwise. Cheers!
admin 1 year ago • 100%
I think I struggled at least a couple months before I even got the hang of Rust. Read "the book" several times, didn't help. Watched several videos, didn't help. What eventually clicked for me personally was learn rust with entirely too many linked lists, I think I have read that 20+ times (still visit it sometimes).
6 months into it, I started getting better at organizing code and thinking more in terms of a data-driven approach (structs and impls) vs abstraction based (class and methods).
Bottom line is, everyone has a different approach to learning with wildly different times it takes to absorb knowledge. As for whether it's worth, well, it's still a relatively young language (compared to C, python, erlang, java) so you're already early. Another decade and perhaps Rust becomes as universal as C is.
admin 1 year ago • 100%
However, I still see the posts show on my homepage, and appear to be able to view and interact
It's quite likely that your subscribe went through, mind sharing your findings by looking at the network tab in developer console on your browser.
What does subscribe do? e.g. are my posts visible on lemmy.ml I’ve just tried posting from here and my posts are visible from there so what exactly changes once subscription completes?
It simply makes communities on other instances show up in your subscribed feed. Similar to how you join a subreddit (the difference on lemmy is that the subreddit aka community is hosted on a separate instance).
What’s the problem and how do we fix it? (Depending on the answer to #1 maybe the fix is just “ignore it”)
My suspicion is that its websocket related, I've seen similar behavior when testing locally. The best you can do is maybe browse github for potentially relevant issues and see if you can help, otherwise please just be patient while things get more stable :)
admin 1 year ago • 100%
considering that it adds friction and delay to the registration process
Yeah, if I make it entirely open it would be very easy to DDOS the instance with bot accounts. Once I (and one mod for now) figure out the infrastructure, scaling, community management etc. I would certainly prefer it to be entirely open as well. It's just that things are in flux during this transition period.
admin 1 year ago • 100%
This should help you get started:
- There's the umbrella: https://github.com/LemmyNet
- Backend: https://github.com/LemmyNet/lemmy
- Front-end: https://github.com/LemmyNet/lemmy-ui
Hey everyone, thought I'd post some stats since we're one week old now! From Vultr (instance is hosted through them): ![](https://lemmyrs.org/pictrs/image/63cc4920-bcab-4b38-930a-deb9af0c523d.png) ``` Total applications: 116 Denied applications: 4 (one person asked to change username, 3 others gave one word answer to the application question) Accepted applications: 112 ``` docker stats (snapshot): ``` CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS 7f365c848236 caddy 0.19% 43.22MiB / 969.4MiB 4.46% 7.23GB / 7.65GB 631MB / 146MB 8 d9421a5d930a lemmy-ui 0.00% 49.62MiB / 969.4MiB 5.12% 1.51GB / 3.32GB 869MB / 1.26GB 11 e8850c310380 lemmy 0.08% 52.53MiB / 969.4MiB 5.42% 5.67GB / 5.86GB 942MB / 582MB 8 7ebb13fde277 postgres 0.02% 304.2MiB / 969.4MiB 31.38% 908MB / 2.97GB 3.82GB / 14.4GB 12 9b471baacf84 pictrs 0.05% 10.32MiB / 969.4MiB 1.06% 53.5MB / 1.18GB 653MB / 360MB 14 ``` df -h: ``` Filesystem Size Used Avail Use% Mounted on tmpfs 97M 1.7M 96M 2% /run /dev/vda1 24G 12G 11G 53% / tmpfs 485M 0 485M 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 97M 4.0K 97M 1% /run/user/1002 ```
admin 1 year ago • 100%
A few things:
- Instances are like their own self-hosted Reddits with communities being the sub-reddits. We have (had?) r/python, r/rust, r/golang along with r/programming; we can do the same here with topic-focused instance (like this one). I can imagine there being instances like lemmygo.org, lemmypy.org etc if the Reddit exodus continues.
- You don't need multiple accounts to access communities (sub-reddits) from other instances (reddit). A single account on any instance allows you to access communities from any other instance. The UX/UI is a bit wonky, but it works.
- As @erlend_sh@lemmyrs.org pointed out, micro-communities like cli, wasm, networking etc can potentially become big enough and/or have specifics that are more suitable to exist on a topic-based instance.
Personally, I don't have any preference. I will simply subscribe to the community which is the most active on whichever instance.
admin 1 year ago • 100%
Hey !meta@lemmyrs.org should be open now for non-admins to create posts. My apologies I had it setup for admin-only post creation on it earlier.
As for the logo, I was actually a bit concerned about it when setting this instance and communities up because I didn't quite know which icons were in public-domain for general consumption, so I picked the ones with the most permissive licenses I could find. Happy to change to whatever icon(s) the community desires as long as we don't use any icon with a strict license.
admin 1 year ago • 100%
Err, agreed. Bad phrasing on my part. I do like the idea of inviting them to be here and participate in discussions.
There would certainly be public discussions and participation from other mod(s)/admin(s)/interested parties before any such decision is made.
admin 1 year ago • 100%
I agree, many questions to answer (which is why I made the post :)).
Here we go:
Who is hosting/admining this right now? One of the r/rust mods? Or someone else?
Me, just a regular engineer, not a r/rust mod. I'm hosting this because:
- I like self-hosting and wanted to participate in the fediverse
- I write Rust professionally and very much enjoy the community around it but the recent Reddit fiasco made me realize that I need to do something about it
What would happen if this organisation went bad/went under? Would anyone be able to take back control?
By "this" you mean Nivenly? Yeah I don't know about that. I think it's best to have redundancy if we are to migrate entirely away from Reddit, presumably Nivenly takes care of that? Once I/others get in touch with them, we can answer this better.
What would happen if the current hoster/admin went AWOL/hit by a bus/etc? Is there anyone else (preferably in a separate country) with enough access to take over and sort things out?
So yeah, if I get hit by a bus, this instance will likely be dead as it stands right now. I'm working on potential mod/admin applications and will post something in the next couple days on some sort of streamlined public process so a few folks (other than myself and ideally in different time zones) can maintain the instance in my absence.
What would be gained from this? E.g. do they provide any specific services to the community?
Presumably:
- Transparency
- Governance
- Maintenance and uptime
- Server Costs(?)
- More outreach?
admin 1 year ago • 100%
This was brought up in my DM. I thought rather than continue to discuss this in DMs it's probably best to gather public opinion, that's pretty much it.
Personally I'm neither for/against this and would prefer to leave it to community vote. But from the limited search I've done so far on Nivenly, Hackyderm; they do seem promising. Eventually it's up to the community to decide, I'm only facilitating the discussion while things are in flux.
Please participate in the poll. Question is whether we should migrate control, maintenance, community operations etc to Nivenly (Hackyderm) foundation.
I've had a few questions about trouble accessing other communities from here. First and foremost, I request you to be patient, lemmy is...alpha software at best imho. There's [200+](https://github.com/LemmyNet/lemmy/issues) issues on github right now and very few maintainers. No one expected things to take the turn they did within a matter of days, but here we are :) Biggest known issues: #### Websocket support is being reworked This is out of my hand and I can confirm that its busted. I tested locally and the current main lemmy backend branch is incompatible with lemmy-ui branch. Can't even login if you set everything up locally. #### Accessing communities from other instances is flaky Good news is that there is shoddy workaround. Say you want to access `c/gaming` from beehaw.org. Enter the full url `https://beehaw.org/c/gaming` in your search, it won't show up, click search ~~a couple times~~ then wait a sec, then enter just `gaming` and it pops up magically. #### No high quality mobile apps There's `jerboa` for Android and `mlem` for iOS. Both are under heavy development. Thankfully the website works fine on mobile...mostly. PS: I'm not a lemmy maintainer, just a hobbyist self-hoster and professional Rust developer trying the fediverse as much as y'all are :)
admin 1 year ago • 100%
I have been using Artix Linux for many years now. On laptops I prefer to use either Fedora or PopOs!
admin 1 year ago • 100%
I'll certainly make a post detailing that in a day or two. Just have to be careful about regulations etc.
admin 1 year ago • 100%
Currently we don't have anything setup (we're just too tiny right now). I'm talking to other instance admins about best practices around donations/tips.
I'm looking into Open Collective as the platform to accept donations at some point.
admin 1 year ago • 100%
Looks like https://old.reddit.com/r/rust/comments/146qxzn/building_a_better_rrust_together/jnrtsac/ sparked some incoming user activity.
Took a couple screenshots of the instance's stats:
-
Containers:
-
Host file system:
-
vultr bandwidth:
admin 1 year ago • 100%
Hey, thank you for volunteering! Yeah, we can figure out the mechanics of it at some point. I think we just need some redundancy, 3-5 folks who can manage in different time-zones would be ideal.
As for the time necessary to dedicate, it varies I would say and I can't really gauge it just yet. Some days even 5-10 minutes is enough to keep a cursory eye on things you know.
admin 1 year ago • 100%
Dead cells by far!
admin 1 year ago • 100%
In order of play time on the deck:
- Dead Cells
- Hades
- Katana Zero
- Hi-Fi Rush
- Neon White
admin 1 year ago • 100%
I've added https://lemmyrs.org/c/support for largely the same reason :)
admin 1 year ago • 100%
I’m yet to get my hands dirty with GATs, just haven’t had the opportunity yet. I typically write application code instead of building libraries so that’s partially the reason I suppose. One of these days though I’m sure I’ll get to it.
It’s promising that you were able to switch with relative ease, excellent work!
admin 1 year ago • 100%
Borderlands series is pretty fun split screen!
admin 1 year ago • 100%
If old.reddit.com
gets taken down, I'm out for good.
As good as the fediverse is, there has to be a tremendous amount of work to make it easier for non-tech folks to participate. I am excited though, being here certainly feels like the good old simpler web.
admin 1 year ago • 100%
Yeah, I know folks are struggling to find the communities on other instances. I posted https://lemmyrs.org/comment/3900 if it helps. Basically you start your search with the full URL, wait a second and then switch back to text search and it pops up magically.
The UX certainly needs some polish, but we'll get there :)
admin 1 year ago • 100%
Okay, so it is definitely a little wonky but I was able to search for lemmyrs.org/c/rustlang from another instance.
I first had to paste the full url https://lemmyrs.org/c/rustlang in the search bar then click search a few times for it to actually show up.
I understand it's very annoying that it is this way but I'm hopeful that the experience will smooth out over time.
I have noticed some questions around whether lemmyrs.org will continue to be up and running for a long time. I'm hopeful that it does. For full transparency, here's what I'm currently personally paying for: 1. lemmyrs.org domain: $12/year, bought on Google domain 2. lemmyrs.org vultr instance $7/month: ``` AMD High Performance 1 vCPU, 1024 MB RAM, 25 GB NVMe, 2.00 TB Transfer ``` 3. Emails are sent using zoho mail free tier. If absolutely necessary an additional $2 for two users (admin and noreply) /month would be added. Total cost (yearly): $96 + (some tax). As things stand right now ~$100/year is easily affordable but as the number of users grow, it largely boils down to egress and storage costs. I can personally bear most of it, but if it starts booming then I'll have to rethink about options. Rest assured, we will be here for the long run!
I'm just one person here, if this gains traction I'm gonna need some help with moderation and administration. Keeping this open to discuss the future possibilities!
Welcome all Reddit refugees, rustaceans and everyone else. Let's keep it civil and check out the fediverse together!
Hopefully, I'm not breaking any rules by posting this here! I thought that instead of every community being on the main lemmy.ml instance I'd host a different (dedicated) instance for refugee rustaceans to get a hang of the fediverse. It's listed on [join-lemmy/instances](https://join-lemmy.org/instances) and the link is [lemmyrs.org](https://lemmyrs.org), everyone is welcome!