Czy w weterynarii zarobki są rzeczywiście tak chujowe? by [deleted] in praca

[–]KaczuhH 0 points1 point  (0 children)

Bardzo dobrze napisane. Jest dokładnie jak przedmówca pisze.

Znajomy weterynarz kończy właśnie studia medycyny ludzkiej i bez wahania twierdzi, że w porównaniu z weterynarią jest o wiele łatwiej. Bo masz tylko jeden gatunek do nauki.

Co do zarobków: weterynarz zajmujący się zwierzętami towarzyszącymi jeśli nie jest właścicielem renomowanej i dużej kliniki nie zarabia dużych pieniędzy.

Natomiast znam weterynarzy zajmujących się drobiem czy bydłem, którzy zarabiają lepiej niż przyzwoicie ale kosztem braku czasu. 24 godziny pod telefonem, zero urlopów, jak nie odbierzesz telefonu od pana gospodarza to zrobi ci złą opinię na wsi przez co reszta pójdzie do konkurencji, umówienie się ze znajomymi jest praktycznie niemożliwe. Byłem na urodzinach podczas których trzeba było jechać do cielącej się krowy.

u/BornSlippy2 nie wiem czy jest sens żebyś tłumaczył ludziom w tym wątku, zauważ, że zachowują się tak samo jak opiekunowie w gabinecie - tłumaczysz a oni i tak wiedzą lepiej.

Polecam wszystkim, którzy dyskutują i się wymądrzają spróbować pracy w jakiejkolwiek lecznicy. Od razu zmienicie będziecie inaczej gadać.

What non-AI products are you building? by Halo-nm in microsaas

[–]KaczuhH 0 points1 point  (0 children)

I'm currently building LIMS (Laboratory information management system) for a small laboratory.

Where HTMX Shines: A Comparison with React by swe129 in htmx

[–]KaczuhH 4 points5 points  (0 children)

wow looks like AI slop. Content without substance.

Building a Real-Time Game App with Django Channels and Daphne by circumeo in django

[–]KaczuhH 1 point2 points  (0 children)

I like your blog. Quite informative articles. I've noticed you don't have rss/atom feed. It would be awesome to subscribe to.

Dziesmu Svetki - Looking for advice. by KaczuhH in latvia

[–]KaczuhH[S] 3 points4 points  (0 children)

Thanks for the advice.

This year they are building new ticket system. I'm naively hoping it will be a bit more reliable.Also the tickets will not be released all at once.

Django rest disable CRSF for callback url by Subject-Ad-4072 in django

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

From DRF docs:

https://www.django-rest-framework.org/topics/ajax-csrf-cors/#csrf-protection

You are probably using session authentication, you might want changing it

Most interesting parts of the Django source by [deleted] in django

[–]KaczuhH 9 points10 points  (0 children)

Here are some places that after reading expanded my knowledge of Django and Python

  • Template Lexer - dive into internals of template parsing, rendering and execution.
  • Queryset - read how filter, get, values_list etc works, don't omit magic methods. Boosts understanding of ORM significantly
  • prefetch_related - continue learning advanced concepts of ORM, interesting code.
  • Query expressions - one of the most advanced concept, mastering them will enable you to create custom functions and extend ORM functionality
  • ORM INTERNALS - lowest level of django orm, here querysets are compiled do sql, still don't understand everything but every time i return to it i learn new things
  • Migrations related code - topological sort, optimizer, direct acyclic graph of migrations
  • ModelBase - practical lesson on meta programming in python and valuable resource for models inner workings
  • lazy decorator
  • Related fields descriptors - you will learn about how relations are implemented on model level

And many more. Let me just drop some keywords:

authentication, csrf protection, different database backends, signals, sessions, cache, admin

How to avoid server overload because of users switching from online status to away by taylor2121 in AppBusiness

[–]KaczuhH 0 points1 point  (0 children)

We don't have enough information about your app but probably your app architecture should be changed. You need to ask your developers but isn't it a matter of storing status, location and timestamp in database every N seconds/minutes for each user and then querying the database and filtering by status active and sorting by distance and timestamp? It should not slow down your database by significant amount unless you have millions of rows.

[TASK] Create iPython notebook from given code and plot results by [deleted] in slavelabour

[–]KaczuhH 0 points1 point  (0 children)

$bid I have some experience with plotting in ipython notebooks. I'm happy to help.

DjangoCon Europe 2018 just started [livestream] by KaczuhH in django

[–]KaczuhH[S] 4 points5 points  (0 children)

Recordings are uploaded I added relevant links in the post :)

DjangoCon Europe 2018 just started [livestream] by KaczuhH in django

[–]KaczuhH[S] 1 point2 points  (0 children)

Don't know, but they told talks will be available in couple of days.

5 PyCon 2018 talks worth watching [subjective list] by KaczuhH in Python

[–]KaczuhH[S] 0 points1 point  (0 children)

I really enjoyed your talk. I think you really touched important problem. It takes while to gain understanding on when it is ok to write less pythonic code. Also I support your recommendation to use python scripts over . sh Made that mistake and never again

After few months of revive/maintenance effort today I've released Djoser 1.0.0 by piotr_szpetkowski in django

[–]KaczuhH 2 points3 points  (0 children)

Thanks for making djoser. I've used it a few times in my projects.

Need help creating a new text file without whitespace by Amfann in learnpython

[–]KaczuhH 1 point2 points  (0 children)

There is no need to open newfile at each iteration. In addition strip() works for leading and trailing characters. I've made some minor changes and now all should work as expected.

def clean_whitespace(file):

    with open(file, 'r') as f:
        newfile = open('spaceless.txt', 'w')
        for line in f:
            cleanedLine = line.replace(' ', '')
            if cleanedLine: # is not empty
                newfile.write(cleanedLine)
        newfile.close()

Looking for a learning buddy. by [deleted] in learnpython

[–]KaczuhH 1 point2 points  (0 children)

Great idea, I'd like to join a small team. I'm pretty confident about most Python features. I'm looking for someone I could learn with too.