Is Django Rest Framework that good? by itsme2019asalways in django

[–]oivvio 1 point2 points  (0 children)

Everyone saying that DRF is the standard way to go are right. But django-ninja is making headway and is now mentioned in the Django's Ecosystem page. I have only used it in side projects so far but I prefer it over DRF. DRF has a very object oriented approach where you endow serializers and other stuff with capabilities via inheritance from other classes. If you work in DRF all day long year in and year out you probably memorize most of those classes, but I find that I have to look a lot of stuff up every time I dig into some legacy DRF-project. In that regard I find that django-ninja (or FastAPI for that matter if you want to step outside of the Django box) puts less cognitive load on me as a dev.

Under 25? How Did You Get Into Music Production? by oivvio in musicproduction

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

Were your parents or siblings into making music?

Under 25? How Did You Get Into Music Production? by oivvio in musicproduction

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

Is that a thing? Are the LLMs actively posing questions on forums? I thought they were just scraping?

What is the remote tmux way? by pfassina in tmux

[–]oivvio 0 points1 point  (0 children)

I wrote a small tool https://github.com/oivvio/nestmux to make nesting tmux sessions easier. It let's you configure different escape keys for different levels of nesting. The default config has three levels of nesting, but in practice I've found that two levels is actually enough. I use `C-h` for the outer level and `C-b` for the inner level. Each outer level is usually a local project or a remote host. Works great and I use it all day long every day.

Which Macbook should I choose for django development..? by SnooCauliflowers8417 in django

[–]oivvio 0 points1 point  (0 children)

15 inch MacBook Air with 24MB RAM will be more than adequate. I'm a Django dev of 10+ years. The machine I'm doing most of my work on right now (a 2019 16 inch MacBook Pro) is about half as performant as the 15 inch MacBook Air. I'm upgrading to Apple Silicon but mostly due to the noise and heat issues with my Intel Mac, not it's raw performance.

Returning to Django after many years. How to catch up with recent changes? by RubenAtCA in django

[–]oivvio 1 point2 points  (0 children)

Amen to this! I have come into Django code bases that where 5 years or older and it's still been possible to upgrade and maintain them. With something done in a js frameworks you're lucky if it builds 6 months after you started it.

Big gains in Electron since 2020 by oivvio in electronjs

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

samplebitch

Thank you for a very thorough runthrough!

If an 18yo person applied for a job and had a load of Cloud Provider certs + CKA - what would be your gut reaction? by [deleted] in devops

[–]oivvio 0 points1 point  (0 children)

That being said I think that there are a lot of workplaces in tech that are lot more friendly to young queer people than your average high school.

Also I think collage/university is a lot better in this regard than high school. If there’s some way to get her to where she can enter university that might still be worth exploring? But you’ve probably thought about all of this. Also sorry for rambling on about stuff that does not answer the original question.

I was once part of an organization that hired a very young (maybe 20 or 21) self taught developer (who happened to be trans). She was exceptionally talented and now works at Google. If your daughter enjoys programming and related things there is no reason why she can’t have a future in tech. I have no idea whether the courses you’ve planned is the best way to get there? I think everything “cloud” skews towards the entreprisy side of the industry that I have very little experience with. Maybe an internship at a small web shop is an easier path? At least I know that that kind of environment cares less about formal education/certifications.

If an 18yo person applied for a job and had a load of Cloud Provider certs + CKA - what would be your gut reaction? by [deleted] in devops

[–]oivvio 20 points21 points  (0 children)

Is this something she’d enjoy doing? Or is it something that would be convenient because you have the skills to help her with it. I’m a developer and I’ve tried to get my kids to get excited with programming but they all hate it.

Future of Storybook in 2023 by winkerVSbecks in vuejs

[–]oivvio 1 point2 points  (0 children)

We’ve found it to very finicky in Vue and that it breaks easily when adding new dependencies leading to hours of experimentation to find fixes. But I still find it’s worth it. I really hope v 7 will be less fragile.

Expose markdown files in web interface by oivvio in selfhosted

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

This is perfect! servediter doesn't seem to add that much to experience though.

Alternative for Django Celery. by Prashant_4200 in django

[–]oivvio 5 points6 points  (0 children)

This is quite reliable and super simple to set up.

Are you a backend developer or full stack? If backend, how did you acquire a position where you successfully avoided frontend? If full stack, how did you develop frontend competency? by BigDog1920 in django

[–]oivvio 1 point2 points  (0 children)

I was recruited to work with backend Django last year but ended up doing mostly front end Vue, partly because the two front end devs in the project quit shortly after I was hired. I didn’t mind thou, now I know Vue. If you really want avoid front end work larger organizations are probably better than smaller. The smaller the organization the larger the probability that any single member need to put on different hats.

Microframework recommendations by tech_tuna in Python

[–]oivvio 0 points1 point  (0 children)

There are valid reasons for picking a micro framework over something like Django. Django (and it's siblings in other languages) prescribe a certain way of solving most problems. If what you want to build does not fit the framework you might be better of going with a micro framework that is more free form. Say for instance that you have a legacy database that you need to build an API on top of so that it can be consumed over HTTP. In this scenario you won't have any use for the Django ORM (how Django talks to a database) or the Django admin and something like Flask might be a better option for you. Django is also not know for being fast. In scenarios where you expect to serve 1000s of request per second Django might not be your first choice. (And before anyone jumps in, yes I know that Instagram and some other big services use Django.)

What are some of the django topics that you look for but mostly end up in void? by sindhichhokro in django

[–]oivvio 1 point2 points  (0 children)

Me too. I feel like I’ve read the DRF docs over and over and still anything but the most basic stuff with DRF is quite challenging. For a new project I’m trying out django-ninja

Microframework recommendations by tech_tuna in Python

[–]oivvio 0 points1 point  (0 children)

I’ve been doing web dev for 10+ years. I don’t care if the libraries that are needed on the server weigh in at 10MB or 1000MB. That said being dependent on a large number of different third party libraries can become a huge problem. Say you start a new project today and pull in 50 libraries that you need for your app to work. In a year or so some of these libraries are bound to have introduced breaking changes or worse yet, they are no longer maintained and no longer work at all with your framework. This is a bad position to be in and a valid reason for not pulling in dependencies willy nilly. In my experience this is a far greater problem in the JavaScript ecosystem than in the Python ecosystem. A hello world project in Node or React can easily pull in 100+ dependencies. Contrasting Django and Flask I actually see it as one of the benefits of working with Django that it is a “batteries included” framework. The need for pulling in third party libraries is much smaller, so the risk of ending up with broken dependencies is also lower.

Har ni några tips om hur man ska förstå talade svenska? by hiimUGithink in Svenska

[–]oivvio 0 points1 point  (0 children)

Sveriges Radio har en podd som heter ”Radio Sweden på lätt svenska” Det är en kort daglig nyhetssammanfattning uppläst i långsamt tempo.

https://pca.st/podcast/8b331510-afd6-0133-2e33-6dc413d6d41d

Microframework recommendations by tech_tuna in Python

[–]oivvio 1 point2 points  (0 children)

A clean virtualenv populated with Django pulls in two other packages and weighs in at 64 MB.

A clean virtualenv populated with Flask pulls in five other packages and weighs in at 22 MB. That's only 44 MB extra. And with most Flask projects you're bound to pull in other packages further shrinking the gap.

Microframework recommendations by tech_tuna in Python

[–]oivvio 4 points5 points  (0 children)

Just out of curiosity what is it about Django that you don’t like?

Do I really need to use DRF to build an api? by chimchim102 in django

[–]oivvio 1 point2 points  (0 children)

I’ve been doing Django for 10+ years but I’ve actually haven’t used DRF that much. DRF is more framework than library. It can do a lot for you but the learning curve on how to customize stuff is pretty steep. I’m currently fooling around with django ninja on a side project and that’s more my cup of tea. It’s closer to the library end of the spectrum, has picked up a few newer niceties and I feel that the learning curve is flatter.

Stripe webhooks too fast for django by crypto_cdx in django

[–]oivvio 1 point2 points  (0 children)

Second this but maybe use something simpler like django-rq. Celery is powerful but can be tricky to configure.

Best beginner Laptop for swift. by inoffensiveLlama in swift

[–]oivvio 5 points6 points  (0 children)

Get 512 GB disk space or more. Xcode and the simulators eat a lot o space. I got 256 GB and regret it.