[-] [email protected] 6 points 1 year ago

How do you account for the duplicate Riker in TNG? Who's the real one and where did the extra matter come from then to assemble William vs Tom?

(It's been a long time since I've seen that episode so I don't remember if they covered that but on-screen)

A similar question could be raised for the Rascals episode...

[-] [email protected] 7 points 1 year ago

So the builder pattern is supposed to solve the problem of: if you have a large number of optional fields that may or may not need to be set to construct your object. Then once the dev has called all of the setters that they require, they call build to fully realize that object.

Some rules that all builders should follow:

  • All setters SHOULD represent optional parameters. (Or ones that have a default value). If a parameter is required for all instances, include it in the constructor of the Builder itself.
  • All setters SHOULD return a copy of the Builder. This way you can chain calls off of each other.
  • Setters SHOULD do nothing more than store the provided value in a field local to the builder itself and then return itself (or a copy of itself).
  • You MUST expose a .build() method that will return the fully realized object. This method should essentially call the constructor for your target object using all of the parameters, regardless if a setter was called or not. Obviously any value where the setter wasn't called will be null or some default value.
[-] [email protected] 7 points 1 year ago

You can always try constructing the URL manually. I know this sucks, but it might be a workaround.

https://lemmy.ml/c/[email protected]

Long story short you just have to go to lemmy.ml and then add /c/ followed by the community name @ the instance it belongs to.

[-] [email protected] 6 points 1 year ago

If an instance goes down (permanently), federation of all of the communities hosted by that instance essentially stop. The content that has already been posted remains but anything new added to those communities only remain on your home instance. The only way for federation to resume is for that instance to come back online with the same domain it started with.

[-] [email protected] 7 points 1 year ago

I'm also running Ubuntu as my main machine at home. (I have a Mac and do Android development for my day job).

But at home, I do a lot of website and backend dev.

  1. Code in VSCode
  2. Build using docker buildx
  3. Test using a local container on my machine
  4. Upload the tested code to a feature brach on git (self hosted server)
  5. Download that same feature branch on a RaspberryPi for QA testing.
  6. Merge that same code to develop 6a. That kicks off a CI build that deploys a set of docker images to DockerHub.
  7. Merge that to main/master.
  8. That kicks off another CI build.
  9. SSH into my prod machine and run docker compose up -d
[-] [email protected] 7 points 1 year ago

First I can't speak for the Memmy devs but here's my personal experience:

In theory something like a mobile app doesn't really have any reoccurring costs, at least not with Lemmy, etc... Not natively, anyway. Sure there's the $100 cost for an iOS dev account but that's nothing in the end. Should Lemmy start to introduce API access fees, again that could change, but that's a long way off if ever.

The question really comes down to, long term, how much time are the devs spending on development and if they want to make money with this or not.

As some of us find this sort of development, well "fun", and just do this as a hobby rather than as an income stream. And any small costs we'll just eat because quite frankly we were going to build these apps anyway, if not just for ourselves why not share them with the rest of the community?

Long story short, Memmy (and the other mobile apps) may not need to charge anything as it's not costing the devs anything more than time. Now Lemmy itself, is a completely different story.

[-] [email protected] 6 points 1 year ago

Let me introduce you to https://sense.com/ and help you create a new obsession.

P.s. it's not perfect as it uses machine learning to determine your appliances and it can't find electronics like your computer or TV but it'll help you find what might be chipping away at your power bill.

[-] [email protected] 6 points 1 year ago

Assuming the fediverse becomes mainstream one thing I hope to actually see is that existing company forums start to join the fediverse.

Think if you no longer needed to login to EA's website to post about bugs to the Sims. Or if Prusa's 3d printer community forums could also be found right here... Or any other existing community help forum.

The problem though is, that in order to get there, Meta and others have to bring the users and essentially show the way first.

[-] [email protected] 6 points 1 year ago

"some search string instance:lemmy.world".

Keywords are:

instance:<instance name>

community:!<community name>@<instance name>

and

author:@<author name>@<instance name>.

[-] [email protected] 6 points 1 year ago

Sounds good, and thanks for the hard work!

[-] [email protected] 6 points 1 year ago

P.S. to those trying to use a filter, I have a bug that's been discovered: https://github.com/marsara9/lemmy-search/issues/13

Long story short, make sure to put your query first and the filter at the end (with no space between the simicolon)

[-] [email protected] 6 points 1 year ago

just cheaper to get a .com than most of the other TLDs. Especially since I already have a registrar that I'm using for other sites.

view more: ‹ prev next ›

marsara9

joined 1 year ago