@maegul@lemmy.ml
@maegul@lemmy.ml avatar

maegul

@maegul@lemmy.ml

A little bit of neuroscience and a little bit of computing

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

maegul,
@maegul@lemmy.ml avatar

Underrated advantage of animation … voices don’t age that much.

maegul,
@maegul@lemmy.ml avatar

I’m in the middle where I felt like I could see the end coming over the last season. The premise seemed exhausted and the plots a bit of a stretch. I think I even posted somewhere that it wouldn’t last much longer.

So while I’m sad to see it go, as someone that was a fan of the show, this feels somewhat natural to me.

maegul,
@maegul@lemmy.ml avatar

What a fucking group this was! (70s lineup especially)

My memory of this album is that it didn’t hit in the same way the first did (“Shakti”). Still, discovering this group was one of the best things and kinda GOATed Mclaughlin for me.

maegul,
@maegul@lemmy.ml avatar

Well the toxic but intrinsic aspect of democracy is that you have come up with some salesman pitch and hype to get elected, and then once elected, you’ve gotta do something for the people that elected you, not to mention that you’re likely inexperienced in running complex institutions like governments, so you don’t know what you can really do and probably have imposter syndrome or plain incompetence, so you come up with some rubbish you understand that is the easiest way to look like you’ve done something before the next election.

maegul, (edited )
@maegul@lemmy.ml avatar

Not a movie but the experience of watching it feels cinematic to me (such that I rank it in my favourite films) and it was made by a film maker:

Twin Peaks (incl season 3, released 2018).

It’s a TV show and the first 2 seasons lean into that format, but if you go ahead and skip the “filler” in season 2, and are prepared to tolerate the indulgences of season 3, all together it’s like a very long art house film.

Apart from knowing that it’s by Lynch, it was wonderful to watch all the way through without knowing anything about it (which I did a few years ago). The experience of finishing it is notnow one of my favourite “films”.

Note-taking app that looks too good to be true? - Siyuan

Recently stumbled upon this note-taking app called SiYuan, but it honestly looks a bit too good to be true(?). Has anyone here used it or got any experience with it? Trying to replace Obsidian is a difficult task, and I’ve been through almost all note-taking apps there are out there, however this one looks fairly similar....

maegul,
@maegul@lemmy.ml avatar

Hmmm, dunno. Seems well made but also the web page seems kinda full of hype.

maegul,
@maegul@lemmy.ml avatar

It’s whether the fight is worth it. That’s what’s been getting me. Knowing that there will be battles. Bad days and bad years. Bad people you’ll have to manage or manoeuvre around. Just waiting and being on the scene or networking looking for the lucky break to drop. For what? Really? And what are the chances that it won’t go far and that you’ll know it’s not insignificantly attributable to that lucky break just not dropping for you. Which is fine, that’s the way of the world, as well as the difficulty of labour. But why the battles then and the tolerance of shitty people in positions of power and the sycophancy networking? What for?!

maegul,
@maegul@lemmy.ml avatar

Me too! Always wanted to get into, thinking it worthwhile to have a running solar system or celestial model on your own machine that you know how to operate etc. Just never really tried sadly!

maegul,
@maegul@lemmy.ml avatar

Oh yea I’ve used it and from memory it’s awesome as you say. I was more talking about getting into the technical details of running a model and calculating various things of personal interest.

Thanks for the recommendation though!

maegul,
@maegul@lemmy.ml avatar

Yea I’ve been on scaled + subscribed as my default feed since it came out and haven’t looked back.

Interestingly, it’s one of those things that should get better the more people use it.

maegul,
@maegul@lemmy.ml avatar

Multi communities. They would be a big deal IMO. If you could have multiple saved into a list so that you could check different feeds depending on what you’re interested in, it would be much better. Combine that with the scaled sort (as well as the others), and you’re managing your feed very well IMO.

maegul,
@maegul@lemmy.ml avatar

AFAICT, it’s been something on lemmy’s radar for a long while too. I get the sense the devs never worked out how they wanted to do it or maybe were a bit too ambitious in what they wanted from the feature and so it was kinda left by the way side, unfortunately. If I were to ever start contributing to lemmy it’d probably be the first thing I try to pick up.

maegul,
@maegul@lemmy.ml avatar

They have multi communities!? Didn’t know!

maegul,
@maegul@lemmy.ml avatar

Just had a brief look … they seem to be created by the admin and not user defined?

maegul, (edited )
@maegul@lemmy.ml avatar

So far, I’m not sure I’m satisfied with whatever I’ve read about the borrow checker.

Do you have any sort of synthesis of the core ideas or principles or best practices that work for you?

Personally I’m partial to core or essential principles that seem esoteric at first glance but become clearer with more practice and experience.

Otherwise, are there any pain points in getting better at rust that you think are worth just sort of not caring too much about and taking a short cut around until you get better? (Eg: just clone, don’t feel bad about it)


Otherwise, thanks for this! Feel free to subscribe and chime in whenever people have questions.

maegul,
@maegul@lemmy.ml avatar

PS: Abso-fucking-lutely just clone and don’t feel bad about it. Cloning is fine if you’re not doing it in a hot loop or something. It’s not a big deal. The only thing you need to consider is whether cloning is correct - i.e. is it okay for the original and the clone to diverge in the future and not be equal any more? Is it okay for there to be two of this value? If yes, then it’s fine.

Nice!

I haven’t used clippy (just rust analyser so far, and the compiler of course) … but I wonder if it’d be nice to have some static analysis that gives some hints about how costly a clone is likely to be, just so you could have some confidence about not cloning where it will actually hurt.

Also, thanks for the reply!

maegul,
@maegul@lemmy.ml avatar

This is actually a decent synthesis. I personally didn’t learn anything from it per se (not a criticism), but this sort of break down has been lacking from whatever I’ve consumed so far (mostly the Brown university version of the book) and I think it’s good and helpful.

So far I’ve found the book (out the brown University version, because there are differences AFAICT) to be too front loaded on ownership.

maegul,
@maegul@lemmy.ml avatar

Cheers! So clippy is worth it then?

maegul,
@maegul@lemmy.ml avatar

Cheers! Will do!

maegul,
@maegul@lemmy.ml avatar

General Purpose Language …

Interesting @shapis , I don’t think I’d personally every thought of having rust as a go-to general purpose language instead of something higher level like python etc. I’d always presumed it’d be the tool for higher performance tasks/libraries when desired (where the enforcement of safety and the “work” necessary to “pass the compiler” and the type system are desirable features are, to me, desirable features).

But so far, I’ve seen enough to appreciate how rust, once you know it and the packages/crates and std library, can feel kinda high level … so an interesting prospect to watch out for.

Exercises/Challenges to supplement “The Book” …

My personal experience with the book hasn’t been fantastic. It’s too dry and “academic” IMO and could really do with a more hands on hacking stuff together complementary book. Which is odd because it opens with a good example of just diving in and writing a small program.

So yea, I’d echo SorteKanin’s suggestion of writing programs as an exercise. I’ve tried to promote the idea in this community by posing challenges. I’ve got a “portal post” for them (only 1 so far) here: lemmy.ml/post/13418981. The first was writing a “file differ”. I did it (you’ll see the solution linked in the portal) … it took longer than I’d preferred but definitely made me feel like I was learning way more than with the book.

I have a strong feeling that doing more of that sort of thing, including Advent of Code, maybe euler problems (are they still cool?) or whatever else people are interested in (I’d like to have a shot at hacking together a basic web app) … would be really helpful here (thoughts?).


Tips on Rust as a General Purpose Langauge?

@SorteKanin … do you have any thoughts to share on how Rust is best approached as a higher level / general purpose language? We discussed elsewhere in this comments section the idea that “over-optimising” memory management is unnecessary … that outside of hot loops you should just happily clone variables to make the borrow checker happy. Any other tricks or approaches you can think of?

Does unsafe mode become a tool worth using, or is it not worth the hassle? What about the Reference Counted pointer (smart pointer?) or Arc<Mutex>s (which I haven’t come to learn/understand) for handling memory management?

Are there good and nice crates or standard library tools that aren’t the most efficient or idiomatic but good for just getting stuff done?

Also, thanks for answering all of these questions!

maegul,
@maegul@lemmy.ml avatar

Thanks!

And great little meme there!

maegul,
@maegul@lemmy.ml avatar

Well there are blogging platforms for the fediverse (ie they federate) I forget their names but in it sure WriteFreely is one.

Beyond that, Wordpress has integrations now with the fediverse which federate as user accounts. It seems to work ok, in that I’ve seen blogs appear in mastodon. But one point of friction I think is how comments are federated. Maybe it works fine but I’m key sure they’ve made a choice to not federate comments from Wordpress to mastodon so there’s context collapse.

Otherwise, the idea I’m thinking of hasn’t been realised yet AFAICT. TBF, it would probably require more than a front end for lemmy, I suspect some backend features would be required too. Nothing too big I’d think. But alas no. Still think it’s be cool!

maegul,
@maegul@lemmy.ml avatar

That being said, it’s not too hard to run a blog out of lemmy. Just start dedicated communities with moderator posting only and you’re good. Front end might be lacking in someway but that alone goes pretty far.

maegul,
@maegul@lemmy.ml avatar

Well, a Lemmy front-end, whether official or third-party, for a blog, makes sense for an existing Lemmy user, but for sure doesn’t for anyone not knowing what Lemmy is, that’s why customization is required on this part.

Hmmm, at the risk of being annoying, I’m wondering what you’re thinking of exactly. I’m guessing something that’s streamlined in a few ways, like without upvoting etc. and related sorting options? Probably a bit of a facelift too and some elements that make it clear what community/blog you’re looking at?

As I’m writing this I’m thinking that it would probably make sense to have a built in web view specifically for outsiders to see a community as a blog.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • thenastyranch
  • magazineikmin
  • khanakhh
  • Youngstown
  • slotface
  • rosin
  • GTA5RPClips
  • tacticalgear
  • ethstaker
  • tester
  • DreamBathrooms
  • kavyap
  • everett
  • HellsKitchen
  • Durango
  • mdbf
  • modclub
  • cubers
  • Leos
  • normalnudes
  • InstantRegret
  • osvaldo12
  • cisconetworking
  • lostlight
  • anitta
  • relationshipadvice
  • sketchdaily
  • All magazines