ZeroNationality

joined 1 year ago
[–] ZeroNationality@lemmy.one 4 points 1 year ago

Then write your own guide, show them wrong?

[–] ZeroNationality@lemmy.one 10 points 1 year ago

Preferably the latter, nobody should really be using SHA1 for anything security focused and new

[–] ZeroNationality@lemmy.one 1 points 1 year ago* (last edited 1 year ago)

Looks like it's not all that hard, jsut have to give home assistant some additional permissions to networking at a lower level of the stack

[–] ZeroNationality@lemmy.one 3 points 1 year ago

That's not why port forwarding is important. Port forwarding is needed so that fresh peers can communicate with you and join the swarm. That act has the side-effect of speeding up transfers by allowing more people into the swarm spreading the transfer across more potential seeds/peers

[–] ZeroNationality@lemmy.one 3 points 1 year ago (2 children)

It's one of those things that gets faster the longer I2P software is running. As I understand it, it takes time to building link betoween yourself and other members of the network in a safe and secure way, but once they're built up that extends your reach and speed

[–] ZeroNationality@lemmy.one 1 points 1 year ago

No worries. Depression is a bitch.

[–] ZeroNationality@lemmy.one 2 points 1 year ago

Assuming I'm remembering correctly, they're both very similar. To the point that they're basically the same concept by different sources and therefore have some wiggle in interpretation

[–] ZeroNationality@lemmy.one 0 points 1 year ago (2 children)

Developing for Lemmy or developing in general?

If you've only been developing for 3 years then you're not much beyond a junior. Nobody (least of all yourself) should expect you to be able to just sit down and grok a rust codebase using actix.

What you appear to be lacking right now is patience and experience. They both come with time.

[–] ZeroNationality@lemmy.one 6 points 1 year ago (2 children)

The hexagonal architecture or onion architecture is oversimplified as having everything bolt onto a core of business logic via designed and designated interfaces to abstract away implementation details on either side.

Say you have a web app which takes requests from the outside world and based on those requests it performs some business logic (tracking accounts, orders, etc).

In hexagonal architecture you'd maybe implement such a thing like:

Web app handler -> command interface -> message bus -> command handler (business logic) -> repository interface -> repository (Postgres, mongo, memory, email)

What this lets you do is split apart the app at the interfaces into separate modules which can be reasoned about and tested separately.

End of the day you don't care what is happening on the other side of the interface as long as whatever it is follows the interface specification.

Building applications like this meants that if we wanted to extend our app with an API and a Real-time Websocket service, we can (usually) just write a handler to turn that request into a command for the command interface and be done with it.

[–] ZeroNationality@lemmy.one 1 points 1 year ago

Without developing your own version of the plugin? Probably not

[–] ZeroNationality@lemmy.one 12 points 1 year ago (3 children)
view more: next ›