freamon

@freamon@endlesstalk.org

aka freamon@lemmy.world, freamon@feddit.nl, and any username from lemmon.website

This account is currently parked, and I’m using piefed.social/u/andrew_s

This profile is from a federated server and may be incomplete. Browse more on the original instance.

freamon,

He’s had wildly eventful life. Shocking to hear though, that were I to go looking for him in LA, I’d find him at neither the parties nor the beach.

Community update, plus new rule: advertising is now banned

In the beginning, it was just me. When I joined Lemmy what I really missed about reddit was the ‘curated twitter’ subs where every post was just a nice little thought someone had had. There were meme communities already but nothing quite right, it was mostly deep-fried shitposting. I think this was even before the new...

freamon,

Just to say, I massively prefer the name ‘microblogmemes’ over ‘whitepeopletwitter’. That was always a weird one - posts didn’t always involve white people, didn’t always come from Twitter (which - technically - doesn’t even exist anymore) and seemed based on a petty misunderstanding of what Black People Twitter was.

FWIW, I agree with you about the Denny’s post. I’m also the moderator of a community that Stamets has quit, so I know that losing him is a blow, because he posts a lot of content. But I also know that he’s a complicated human.

freamon,

From the install doc:

My way around this is to use ngrok.com, which is a quick and simple way to create a temporary VPN with a domain and SSL. On the free plan your domain changes often, which will break federation every time you reconnect.

You can now get 1 free static url with ngrok’s free plan. The ‘free’ part of it is that it needs relaunching after a certain period of time (every 2 days, maybe?) but it works well enough to develop things.

freamon,

This is just my attempt at answering (I’m learning too):

Macros are easy to use, allowing beginners to write ‘hello world’ for example, but hide a bunch of complicated stuff we’re unlikely to understand until later. (I vaguely remember from Java that just writing something to the console was a whole bunch statements strung together.)

I found it useful to document what each line was doing in the example, to get my head around the terminology.
std is a crate, io is a module in the std crate, and that module provides methods like stdin()
std is a crate, cmp is a module in the std crate, and that module provides enums like Ordering
rand is a crate, Rng is a trait from the rand crate, and that trait provides methods like thread_rng()

Ordering is a enum - a type with a list of variants with developer-friendly names. In the same way that a ‘DaysOfTheWeek’ enum would have ‘Monday’, ‘Tuesday’ …, etc, Ordering has Less, Greater, or Equal. match statements work with enums, in a ‘for this, do that’ kind of way.

Rng is a trait, which feature a lot in Rust, but is something I’ve had difficulty getting my head around. Where I’m at so far is they mostly provide convenience. The rand create provides a number of structures in its rngs module - ThreadRng, OsRng, SmallRng, and StdRng, depending on what you want to use to generate randomness. Instead of saying ThreadRng provides the gen_range() method, and OsRng provides the gen_range() method, etc, Rust just says they implement the Rng trait. Since Rng provides the gen_range() method, it means that everything that implements it will provide it.

thread_rng() returns a ThreadRng structure, which provides gen_range() via the Rng trait, but we need to bring that trait into scope with the use keyword in order to be able to call it.

For the default behaviour of passing owned vs. borrowed variables, I guess it’s useful to explicitly state “I’m giving this variable to another function, because I don’t intend to use it anymore”, so that if you inadvertently do, the compiler can catch it and error.

freamon,

Sooo … is passing by value a thing in rust? Or does just about every method take only reference types as arguments?

I think this is an occasion where a vague familiarity with other languages ended up confusing me with Rust. The ‘&’ sign doesn’t mean ‘pass by reference’ in the same way as it does in C. Anything with a size that’s fixed at compile time is typically passed by value, whereas variables who’s size might change are passed by reference. The ‘&’ in Rust isn’t about that. For variables that are passed by reference, the ‘&’ is about whether the ownership of that memory address is transferred or not.

To illustrate:


<span style="color:#323232;">fn abc(v: String) {
</span><span style="color:#323232;">    println!("v is {}", v);
</span><span style="color:#323232;">}
</span><span style="color:#323232;">
</span><span style="color:#323232;">fn main() {
</span><span style="color:#323232;">    let mut v=String::from("ab");
</span><span style="color:#323232;">    v.push('c');
</span><span style="color:#323232;">    abc(v);
</span><span style="color:#323232;">
</span><span style="color:#323232;">    // println!("v is {}", v);
</span><span style="color:#323232;">}
</span>

works fine as it is, but will error if you uncomment the second println! The ‘v’ variable was passed by reference, but it’s ownership was transferred, so it can’t be referred to again.

freamon,

Strange that blahaj.zone has loads of communities related to gender and sexuality, but never seemed to have one before that was just called ‘trans’.

freamon,

Whatever you think about the season, this sort of ‘Worst Thing Ever!’ is blatant clickbait for groups on social media that are working themselves into a froth about nothing. The author is just scouring Reddit and YouTube, and throwing their shitty takes back at them for easy likes.

freamon,

“OK Diablo, we’ve got a great tagline for a movie, we just need you to write the thing, yeah?”

freamon,

Given that the US is usually regarded as more optimistic than the UK, Burgess said something like he was the rare victim of ‘American Pessimism’ regarding the decision of the American publishers to leave out the final chapter. Unlike the UK version, the US one also had translations for all the Nadsat slang (it’s arguable whether it’s better to pick it all up from context or not)

freamon,

In the UK, there’s just been a case of two 15-year kids being convicted of a brutal murder, so it’s as relevant as ever (the actors in the film are much older, but the book is about young teenagers and that terrifying phase they go through of depleted empathy)

freamon,

The short answer is that you have to ask blahaj.zone to resolve it. lemmy.ml has it as post id 11470168, but it’ll be different for other instances - whatever the next number was in their database when the post was announced.

You get different answers depending on whether you’re logged in or not though.
From endlesstalk.org, I can search for that post in the web-ui: Communities -> paste the post url into Search -> Change the Type from ‘communities’ to ‘posts’
Alternatively, using the API, I can resolve it with
curl --header ‘accept: application/json’ --header ‘authorization: Bearer MY_LOGIN_TOKEN’ https://endlesstalk.org/api/v3/resolve_object?q=https://lemmy.ml/post/11470168

I’m not logged into blahaj.zone though, so it won’t resolve it. The web-ui only gives me this post as one that mentions the thing I’m searching for, and the API returns ‘not found’

freamon,

Replayed Uncharted 4 for the millionth time. Now on The Lost Legacy. Not enjoying it as much (it’s harder, for one thing). Interesting to see the developments that would go into The Last of Us 2 though (e.g. experiments with more open-world levels, and the attempt to redeem a character that’s previously been portrayed as a villain).

freamon, (edited )

This was cross-posted from a lemmy community (!tails) that’s sort-of bridging lemmy and mastodon. If you’re on lemmy.world, they’ll already be a post you can visit, to upvote and respond to the original author of the comic, if you wish. If you’re not on an instance that’s brought !tails in yet, it can be done so in the usual way, of course.

(edit: just tried this on a different instance. lemmy being lemmy means you might have to refresh a couple of times after clicking the ! link, but that’s nothing unusual)

freamon,

That starwars community is dead, Jim. It’s !star_wars that has the activity.

freamon,

I’m now privileged to have seen my reward - only for 60 seconds though obvs. An evil version of this site would offer a gif that lasts 70 seconds …

freamon,

It’s guaranteed to be worse: TV episodes are completely structured around whether the creators expect ads, and where in the runtime the ad will be (so they can resolve or tease a plot point before them).

The addition of ads, or having more ad breaks than the original transmitter of a show had, will break the structure.

And then of course there’s the ‘Spotify question’: are these ads genuinely supporting a subscription, or are they there to annoy you into paying for one by disrupting the flow of an episode as much as possible?

freamon,

I think after the Dredd debacle, Garland has directed all his own movies, so it’ll be interesting to see another one written by him but directed by Boyle.

freamon,

I bought a Cisco enterprise router and switch (2nd hand) - the level of available configuration is great but the noise of the fans started to do my head in. I need to figure out how to get them wired up somewhere I can’t hear them all the time.

RANT : The thing i miss from reddit is that when a series or movie came out or ended there would be a big discussion threads.

And you could ask for a spoiler free review of an old movie or series or questions about it . Here eveeything like that gets downvoated to hell , doesn’t exist or doesn’t get much reach . I do wish we could intime have things like that .

freamon,

If you’re wanting everyone to agree with how bad something is, that’s another way people want this place to be like Reddit, I guess. 4000 comments, only one acceptable opinion.

I’ve heard rumblings of dissatisfaction with the show, but it’s not a rabbit hole I’m keen to go down. Since there’s not much else on at minute, it’s tricky to distinguish genuine criticism from the opportunism of dunking on something popular for the algorithm boost.

It’s clear from its title that it’s as much its own show set in the TD universe as it a genuinely new season. It hints at some overlap - Rust’s dad, the Tuttle foundation, places out of time and ancient evils - but it’s equally invested in the legacy of Clarice Starling and it’s own spooky weirdness.

Episode 3 hinted at development problems - the kind of plot intricacies that every show struggles with, and is dependent on how invested viewers are as to whether they forgive them or not. But nothing so far that suggests it warrants a pile-on of negativity.

freamon,

Would’ve thought so, unless they’re wanting to add time jumps backwards as well as forwards.

freamon,

Oh cool - Carrie Coon’s in this (though the trailer doesn’t feature her much). Was mad seeing her in a Gone Girl rewatch after finishing the latest Gilded Age season - she’s got an impressive range.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • ethstaker
  • megavids
  • ngwrru68w68
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • Leos
  • tester
  • tacticalgear
  • normalnudes
  • provamag3
  • anitta
  • lostlight
  • All magazines