Michal

joined 2 years ago
[–] [email protected] 11 points 1 week ago (6 children)

The thing about email is that the software is proprietary. Each of these providers has their own implementation of the interface, features, and integration with their tools (Google drive, photos, etc).

As long as lemmy servers run lemmy software, this won't happen, or at least won't be an issue as you can move to another server and not have to change your usage habits.

However if some server owners decide to fork Lemmy and develop their proprietary server, overhaul the UI, add features and attract users, it will start to become a problem.

[–] [email protected] 22 points 1 week ago

Operation crayon

[–] [email protected] 2 points 1 week ago

That Explains why those roads don't exist

[–] [email protected] 10 points 1 week ago (1 children)

If you think it's a good deal, You could've bought one in Detroit for $1

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

yeah it should definitely be part a of the url. It will be if you define a parametrized url. More details in the documentation https://docs.djangoproject.com/en/5.1/topics/http/urls/#url-dispatcher

[–] [email protected] 4 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

In django you will typically define the url pattern with uuid being a keyword path parameter, and in the view code you can use get_object_or_404(Model, uuid=kwargs['uuid']). This way the user will see a standard 404 page if they attempt to view a page with uuid that does not exist.

Of course, if you use class based views, you can extend detail view based off uuid, and the base class with handle the 404 page for you, so there'll be no need for get_object_or_404. I am assuming you will want to use class based views for this so you can extract the common functionality into a base class or a mixin and reuse it in a number of views.

EDIT: I may have misunderstood the question wrong originaly. It looks like you want to bypass authentication for a subset of urls (or views). Authentication is not required by default in django, you can add LoginRequiredMixin (or a decorator) to your view, so not including the mixin would be a way to bypass the login requirement. Do you want to share relevant parts of your code for better suited advice?

[–] [email protected] 1 points 2 weeks ago

The use termux?

[–] [email protected] 7 points 2 weeks ago

Notably, roomba vacuum cleaners use cameras instead of lidar that other robot vacuums use. I bought a high end roomba a couple months ago and it was crap at navigating my home, while my old xiaomi with a lidar works perfectly fine. Needless to say i returned the roomba.

[–] [email protected] 0 points 2 weeks ago (4 children)

I think the issue is that the teabag has to be shocked with boiling water at 100C, not dampened in increasingly hot water. It may not taste as good.

I don't know if you can boil water in a microwave, but it's not a kettle, it's a closed container and you can expect loads of vapour from boiling.

Finally, microwave doesn't heat stuff evenly, so you may end up with parts of the water superheated, and explode in your face when you take out the cup from the microwave. https://products.geappliances.com/appliance/gea-support-search-content?contentId=18822#%3A%7E%3Atext=Microwaved+water+and+other+liquids%2Cit%2C+which+can+cause+injury

[–] [email protected] 1 points 2 weeks ago

It doesn't taste as good

[–] [email protected] 11 points 3 weeks ago (1 children)

Hardship will just make them blame foreigners

view more: ‹ prev next ›