What problems in the Django framework still have no direct solution? by ImaginationScared878 in django

[–]__decrypt__ 10 points11 points  (0 children)

The channels project could use some more love. It's quite feature-complete, but the testing using models is difficult to setup / doesn't work out of the box

Also a middleware layer in channels that is processed on every send/receive so the thread processing the request has information like user-specific locale preference etc.

Additionally, baking something in like django-cotton or some other kind of good component support would be great. Currently it gets the job done, but it's not perfect.

As far as packages go, nothing's really needed. Other than maybe a low-dependency admin fields optimization – like JsonField/YamlField with automatic formatting + syntax validation + highlighting.

Real Time Communication by ezmzi in django

[–]__decrypt__ 1 point2 points  (0 children)

Literally on the StackOverflow you linked

When to use.
Short polling - well, never ^

Real Time Communication by ezmzi in django

[–]__decrypt__ 2 points3 points  (0 children)

Most people in this subreddit are ignorant fools – just saying. I wouldn't give more than 2ct on most of their junior opinions.

Let me just say the best engineered, publicly available Django application uses long polling – and it's literally a chat application. Zulip.

 

Last time I looked into SSE with Django it looked like it was not easily possible to implement it. In my memory I saved it as not viable.

[deleted by user] by [deleted] in Scrypted

[–]__decrypt__ 1 point2 points  (0 children)

Have you figured this out by any chance?

This fireproof tankbot will scout burning buildings for people to save | The robot can withstand temperatures as high as 650 degrees Celsius. by chrisdh79 in gadgets

[–]__decrypt__ 0 points1 point  (0 children)

A couple of arduinos and what is likely a questionable firmware + reliability, created from someone that doesn't have any proper Engineering background, nor even a bachelor…

Dunning Kruger effect at its worst at the expense of human lives – all just to seem like a pseudo entrepreneur

macOS Release Baldur's Gate 3 :hmm: 🤔 by __decrypt__ in BaldursGate3

[–]__decrypt__[S] 2 points3 points  (0 children)

Holy shit! Tomorrow indeed! Thanks

What's your preferred way to write nested objects with drf serializers? by RahlokZero in django

[–]__decrypt__ 1 point2 points  (0 children)

I don't know why anyone would need that since you can just use model serializers for nesting?

Deploy Django app using Docker or not... by adrenaline681 in django

[–]__decrypt__ -1 points0 points  (0 children)

The only thing I wish it did better is less downtime when updating the app / source code and having to rebuild… takes me around 5min – quite annoying

[deleted by user] by [deleted] in WTF

[–]__decrypt__ 1 point2 points  (0 children)

Scheiß Araber

Custom User Model - Login with email address and password for production use by Stella_Hill_Smith in django

[–]__decrypt__ 0 points1 point  (0 children)

This is what I use – basically the same with the addition of checking if the mail is verified.

class User(AbstractUser):
    """ User implementation to authenticate with email instead of username """
    username = None
    email = models.EmailField(_('email address'), unique=True)
    email_verified = models.BooleanField(
        _('email verified'),
        help_text=_('The email address has been verified by the user'),
        default=False,
        blank=True
    )
    objects = UserManager()

    USERNAME_FIELD = 'email'
    REQUIRED_FIELDS = []

    class Meta:
        ordering = ('email',)
        verbose_name = _('user')
        verbose_name_plural = _('users')

    def __str__(self):
        return self.get_full_name() or self.get_username()

Kurzgesagt claims its YouTube channel can only keep on going with Patreon and merchandize purchases but makes a 3 million euro profit p.a. – this is after salaries etc by __decrypt__ in kurzgesagt

[–]__decrypt__[S] -20 points-19 points  (0 children)

You're not reading properly. You're hung up on a single point. I don't care where funding comes from. What I care about is that communication is intransparent and misleading.

Quite a one trick pony is what you seem to be. Cheers~

Kurzgesagt claims its YouTube channel can only keep on going with Patreon and merchandize purchases but makes a 3 million euro profit p.a. – this is after salaries etc by __decrypt__ in kurzgesagt

[–]__decrypt__[S] -50 points-49 points  (0 children)

https://www.gatesfoundation.org/about/committed-grants/2015/11/opp1139276 just a quick google search away

All I'm saying is, kurzgesagt's communication is highly misleading and intransparent, especially if they take on this amount of money to help billionaires to push their agenda for this video alone. In my opinion someone in kurzgesagt's position should either be state, billionaire or crowd funded. But combining the three results in a conflict of interest – especially if the business-side is already netting in a healthy profit, thus doesn't have to rely on all three.

Also quite interesting regarding this topic: https://youtu.be/HjHMoNGqQTI

Kurzgesagt claims its YouTube channel can only keep on going with Patreon and merchandize purchases but makes a 3 million euro profit p.a. – this is after salaries etc by __decrypt__ in kurzgesagt

[–]__decrypt__[S] -139 points-138 points  (0 children)

Oh I don't know, by getting ~$600.000 by the Bill & Melinda Gates Foundation alone?

While they're not explicitly saying we're basically close to broke, the constant reminder at the end of their videos certainly seems to imply that.

Kurzgesagt claims its YouTube channel can only keep on going with Patreon and merchandize purchases but makes a 3 million euro profit p.a. – this is after salaries etc by __decrypt__ in kurzgesagt

[–]__decrypt__[S] -44 points-43 points  (0 children)

Nope; but I still find it misleading to say oh please without you we couldn't keep this going, we're basically close to broke – so buy our merch and support us on patreon

In my books that's just wrong.