• 39 Posts
  • 69 Comments
Joined 2Y ago
cake
Cake day: Oct 17, 2020

help-circle
rss



Is this ran by the ancaps that put their files behind a paywall?



Open the fridge, light turns on. Close the fridge, light turns off. Can’t explain that.


One of my programming instructors had a mug that said “you can’t lie to the compiler”.


Running 2 instances on one VPS
I'm thinking of setting up another lemmy instance and was considering just hosting it on the same VPS as my current instance. I know lemmygrad is hosted on the same server as lemmy.ml. How difficult is this?
fedilink

I believe the devs host their code on multiple repositories including Codeberg.


Thanks! Yeah, I’m not actually trying to do anything useful with this code. Just testing out the concepts that I’m reading about.


How to retrieve value of EnumItemStruct property?
I'm playing with the following code and can't seem to find an example where I can get the values of one of the coordinates. ``` enum Coordinates { Point1 { x: i32, y: i32 }, Point2 { x: i32, y: i32 }, } fn main() { let p1 = Coordinates::Point1{ x: 0, y: 45}; let x = p1.x; //Doesn't work } ``` How can I get the value of x or y?
fedilink



I’m glad to know it’s not just my instance.


Cannot fetch comments
I'm currently going through some logs and when I do a search from my instance to a post on lemmy.ml, I get the following: ``` lemmy_1 | 2022-03-03T02:26:39.044892Z INFO Websocket Request{trace_id=00000000000000000000000000000000}:perform{self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) }}:search_by_apub_id: lemmy_apub_lib::object_id: Fetching remote object https://lemmy.ml/post/184244/comment/125405 lemmy_1 | 2022-03-03T02:26:39.096253Z ERROR Websocket Request{trace_id=00000000000000000000000000000000}: lemmy_websocket::handlers: Error during message handling couldnt_find_object: error decoding response body: EOF while parsing a value at line 1 column 0 lemmy_1 | 0: lemmy_apub::fetcher::search::search_by_apub_id lemmy_1 | at crates/apub/src/fetcher/search.rs:20 lemmy_1 | 1: lemmy_api::site::perform lemmy_1 | with self=ResolveObject { q: "https://lemmy.ml/post/184244/comment/125405", auth: Some(Sensitive) } lemmy_1 | at crates/api/src/site.rs:399 lemmy_1 | 2: lemmy_websocket::handlers::Websocket Request lemmy_1 | with trace_id=00000000000000000000000000000000 lemmy_1 | at crates/websocket/src/handlers.rs:68 ```
fedilink

I’m still having federation issues after the upgrade. At this point I wonder if it’s my firewall or something. I watch the lemmy logs when upvoting for example and my server doesn’t even see the request come in.


I know searching for communities/posts can cause it to fetch, but it should have at least appeared on midwest.social. It does indeed appear now though, but has less upvotes than on lemmy.ml.


The post you made to !theonion@midwest.social doesn’t show up to users on midwest.social, but shows up fine on lemmy.ml.



Rich capitalists with morals? Pssh…


This is what it looks like when you use 100% of your brain.



I drink milk like it’s water and I’m 31 lol.




Which image hosting software do you recommend?
I've been researching open source image/video hosting software because I sure as hell don't want to use Google Photos. I'm leaning toward PhotoPrism, but I thought I'd get your opinions first.
fedilink





It's a hot job market right now
I have been working as a programmer in test at my current job for about 2 years and haven't received a raise. Long story short I said I was open to new opportunities on LinkedIn, interviewed, and got an offer for $12,500 more than what I currently make. If you're not happy with your compensation I suggest taking a look elsewhere. It's a worker's market, at least in the US.
fedilink




Only getting seeing posts from ~13 hours ago at any time
My instance is subscribed to a few lemmy.ml communities and I'm only seeing content after it's been up around 13 hours.
fedilink




Lemmy wikipedia page
Tonight I tried to create a Wikipedia page for Lemmy to try and raise awareness, but it was quickly rejected for the following reason: > This submission's references do not show that the subject qualifies for a Wikipedia article—that is, they do not show significant coverage (not just passing mentions) about the subject in published, reliable, secondary sources that are independent of the subject. Before any resubmission, additional references meeting these criteria should be added (see technical help and learn about mistakes to avoid when addressing this issue). If no additional references exist, the subject is not suitable for Wikipedia. I guess we'll have to start getting journalists to write about it? ![](https://lemmy.ml/pictrs/image/gLaF1CYmTX.jpg)
fedilink