seahorse

joined 4 years ago
MODERATOR OF
 

body text

 

Checking federation for 0.19

[–] [email protected] 4 points 2 years ago

Well, there's wolfb*lls

[–] [email protected] 2 points 2 years ago
[–] [email protected] 6 points 2 years ago

Oh no. Anyways...

[–] [email protected] 1 points 2 years ago (5 children)
[–] [email protected] 4 points 2 years ago

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

[–] [email protected] 2 points 2 years ago (2 children)

I heard this story on NPR as well. And of course, some far right asswipes say he's a communist. Just some guy trying to help the most vulnerable and they have to make it political.

[–] [email protected] 4 points 2 years ago (1 children)

If I sell my Ferraris then how am I supposed to travel from my private island to my day job at the office?

[–] [email protected] 9 points 2 years ago

One of my programming instructors had a mug that said "you can't lie to the compiler".

 

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?

[–] [email protected] 14 points 2 years ago (3 children)

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

[–] [email protected] 2 points 2 years ago

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

 

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?

[–] [email protected] 3 points 2 years ago

Midwest intensifies

 

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
2
I mean really (lemmy.ml)
submitted 3 years ago* (last edited 3 years ago) by [email protected] to c/[email protected]
 
 
 

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.

 
 
view more: next ›