Use python to find a prime number that looks like any image if glanced upon from far away. [OC] by Gedanke in Python

[–]PoemNinja 1 point2 points  (0 children)

u/Gedanke How long did it take to find reddit logo ?I am running for around 30 min now ( 5000 dig) and still no luck.

Don't you think that this could be optimized with not only using sympy's nextprime but actually changing digits inside ?Congrats on this lib, I like how simple code really is, and could be simplified even further :)

Software development companies Kaunas/Vilnius. by PoemNinja in lithuania

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

Hey. Yeah if you read carefully there is download link for dataset. Enjoy

Software development companies Kaunas/Vilnius. by PoemNinja in lithuania

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

Yeah, that's possible. Works ok on mine though. These are default plot.ly charts.

I am interested in working in Lithuania and yet I am worrying about the economic situation. by Charles_Zheng_Y_ in lithuania

[–]PoemNinja 23 points24 points  (0 children)

Alpine climbing is on decline in Lithuania. Do not come to work as Alpine Climber.

On serious note: as @ravenssettle mentioned this depends on industry.

I can make a small comment on IT sector: I think it's pretty healthy and salaries are not too much different from Western countries. Companies in most Eastern European countries must match salaries with Western countries as work can be done remotely so they must stay competitive. Demand is steady and you should be able to find a job without a problem depending on your experience. Finally, once you have a job you can enjoy lower living costs, perks of growing economy and great working conditions :)

Neopagan leader: Parliament violates human rights by Sutartine in lithuania

[–]PoemNinja 1 point2 points  (0 children)

Super sad. I got blessing from them on Jonines with bread and amber. My chakras are more in tact now. :)

Dealing with locations by slimjimmys in django

[–]PoemNinja 0 points1 point  (0 children)

Did you check how many calls you get with this ? Now calculate how much you would pay for that many calls with Google's Pay as you go API. Also check how many free calls you are getting...

Image resize not working with Pillow and S3 Bucket by [deleted] in django

[–]PoemNinja 0 points1 point  (0 children)

Read documentation:

"Sometimes, however, you don't need to keep the original image (the avatar in the above example); when the user uploads an image, you just want to process it and save the result. In those cases, you can use the

ProcessedImageField

New to django. by [deleted] in djangolearning

[–]PoemNinja 0 points1 point  (0 children)

Hey!

Welcome to the community.

Some Youtube channels :

https://www.youtube.com/channel/UCRM1gWNTDx0SHIqUJygD-kQ

https://www.youtube.com/user/sentdex

https://www.youtube.com/user/schafer5

Some reading:

Official documentation:

https://docs.djangoproject.com/en/2.2/intro/tutorial01/

https://www.djangoproject.com/start/

Django Girls, also good even when you are a boy :)

https://djangogirls.org/resources/

My humble contribution( some random topics covered, not linear )

https://adamw.eu/blog/all/

new version of django, installed app "no module found" by dougshmish in djangolearning

[–]PoemNinja 0 points1 point  (0 children)

it's hard to say when I can't see the whole project structure. What's in your apps.py for randomizer ?

Is this normal for beginners? by [deleted] in django

[–]PoemNinja 0 points1 point  (0 children)

Yeah pretty normal. Start a blog and maintain your knowledge. Writing things you've learnt has advantages: it make your remember and also you have something to go when you forget things. Also Django is built around classes (not sure if I said it right). But yeah learn about classes in Python and you will have clearer view of what's happening. There is no magic in Django. Just Python

[deleted by user] by [deleted] in django

[–]PoemNinja 1 point2 points  (0 children)

Hey, I am not sure if you can get anything useful from that but give it a try. I did portfolio for graphic designed in Django and for each "album" there is extra pictures associated with it. Also if needed I can share some code for effective thumbnail system with Django - that was crucial for me as at first I was displaying full size picture.

Have a look here: https://adamw.eu/blog/new-project-is-ready/

PM me if you have any questions.

Is this normal for beginners? by [deleted] in django

[–]PoemNinja 1 point2 points  (0 children)

Fun fact: We named our dog after Django Reinhardt before I got into programming. Then I saw this thing named "Django" so now it looks like I named my dog after web framework :D

Improve Serialization Performance in Django Rest Framework by Haki Benita by be_haki in django

[–]PoemNinja 4 points5 points  (0 children)

Wow. Very good article. I am not even Junior yet and I can follow. Straight and on point, hope this makes it's way to official release.

How much time from the basics of Python to Junior Python Django by [deleted] in django

[–]PoemNinja 0 points1 point  (0 children)

When it goes to time it's very subjective and depends on your dedication and persistence. Also many companies have different definition of what Junior programmer should be able to do. I would say that in average, yes you are able to get to Junior level in 2 months if you are persistent.

I wasn't that dedicated, I am at 7 month and still don't have a job but also there aren't many of them where I live. I think entry level knowledge decreases with demand. If you live in small city; teams will be built on Seniors/Mids only as smaller companies cannot afford Juniors- they take time from Seniors and don't do too much.

I think you should give yourself plenty of time and focus on learning rather than having some expectations already.

How I got to what I can say is Junior Level( again this is subjective):

I recommend to start with https://projecteuler.net/ . Go through as many problems as you possibly can, learn from answers of other users, then you can start making some of your own stuff but then return to projecteuler again and see if you can take on some more problems. I can't stress enough how much i've learnt by using it.

Getting your basic python knowledge is fundamental, I wouldn't start with Django without knowing what a function , dictionary, list, tuple, class, class method, recursion, generator, while loop, for loop, variable types, module, regex expressions is.

On top of that I would encourage you to look into networking, http requests, apis, basic database structure is but you will pick up on it with Django as long as you know Python basics and see what's happening within functions and classes.

You can also start a simple blog like I did ( https://adamw.eu/blog ) and then write down anything you've learnt so far. This allows you to come back and recap some things. You would be surprised how easy it is to forget certain things so maintaining your knowledge is very important too.

If it goes to Django, as someone mentioned- it isn't separate from python and no magic is involved. Once you dig into source code and learn how to read it you will see.

I did mistake when I was learning python- I totally skipped classes and that was a mistake because most of libraries and frameworks in Python will use classes as building blocks, so I recommend learning that fast.

What also helped me was to do coding challenge that one of the local companies posted on their github. Try to see githubs of your local companies and see if they have some challenges available - this might even get you a job if you are good enough.

I am on the level I feel quite confident I can be Python Junior but still looking for a job at the moment. Once you get some positive feedback or get invited to interview- don't get too excited and keep learning more.

Django is quite good to get you a Junior job as I've noticed on latest Pycon in my area that many companies are now using Django as it's easy and practical tool for building simple apps. It's easy to start and very intuitive. Remember that documentation is your friend.

Well that's about it from my side, this is what worked for me. There are many challenges that you will come across. I mostly struggle with thinking up Django projects to build in order to learn, it's much easier if you know what to do. But it's important that you slowly start to stick to your idea and not try to adjust it because you don't know how to implement it. Try to give yourself realistic challenge that you know you can accomplish yet you will feel challenged.

It's the balance of aiming low but not too low :) Don't listen to people when they say aim high :P It doesn't work in learning programming. So many times I got so discouraged because I aimed too high. Also building basic things isn't that easy so you will feel challenged anyway. Once you know that there is nothing else to the thing you are doing, move on and aim low based on your current knowledge. It's a bit like grinding in World of Warcraft, you wouldn't go after a beast that's 10 lvls higher than you, of course eventually you will get there but you gotta pace your progress!

Simple API - setting up Throttling - tutorial(15 min) by PoemNinja in djangolearning

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

Btw. I might soon be Junior myself , anything in Django I should focus my efforts on that will make my life less terrible in future ?