Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,380 members, 7,808,353 topics. Date: Thursday, 25 April 2024 at 10:45 AM

Taofeekdboy's Posts

Nairaland Forum / Taofeekdboy's Profile / Taofeekdboy's Posts

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 18 pages)

Programming / Re: The Future Of Programming Language by Taofeekdboy(m): 12:55pm On Jul 04, 2020
hardebayho:


Bro, what are you on? I didn't read the rest of your post and stopped at where you said Java is not secure. Java might be anything else, buh not secure? Bring any other programming language that offers better security than Java out of the box... Don't say that again ooo

Maybe, you need to read more on Java and you will surely understand that Java has issues with security. All programming languages have their strength and weakness. I am not even here to argue with any one on programming language.
Use what suits you.
Kalas.
Programming / Re: The Future Of Programming Language by Taofeekdboy(m): 1:41am On Jul 04, 2020
Sulele04:
systems programming: rust will replace c++ it is just a matter of time. If you want to pursue a career at this field start learning rust but dont dump cpp because rust will be the new cpp while cpp will be the new assembly.
application programming : to be an all round expert at providing end user application.learn kotlin, java,swift and javascript. If you master these languages the sky is the limit for you when it comes to application development.
worthy mentions:
blockchain programming: learn solidity it is the way forward.
data science:learn julia or r it is the way forward
machine learning and ai: haskell and lisp are the way forward
game programming: c++(unreal engine,unity) is still the king of this area, but i forsee rust dethroning it.

python is not a language for the future it is simply to slow, also whltespaces python is good at readability but is very difficult to maintain. Except some drastically changes happen to pvm i dont see that changing.

feel free to add.
Though everyone is opinionated but for the second paragraph saying python is not a language of the future is what I can disagree on.
Python has been topping the list of the best programming languages for years and still revelant and hotcake in tech industry till this moment. Though, some people do say it is very slow but I don't think it is totally true because every language has its weakness and strength.
C++, Java and the likes all have their weaknesses. Java is not secured but that doesn't make it not suitable.
I have been using python for web development,
Machine learning and so far I haven't encountered its slowness on web development.
Maybe desktop applications or mobile app development but it does not make it a language not for the future.

1 Like

Programming / Re: Python Gurus Please Help Me With This Code. by Taofeekdboy(m): 9:48am On Jun 29, 2020
olamidedivotee:

I will try that
Op, try also to learn how to debug as this is a powerful tool in programming, TypeError, ValidationError, ValueError, IndentationError, KeyError should be something you should be familiar with so that you can figure it out yourself and know whats wrong.
Programming / Re: What Is The Way Going Forward? by Taofeekdboy(m): 9:44am On Jun 29, 2020
bassdow:


Jack of all Trades === Less than Average Baked

Most people who call themselves Full Stack aren't even close to average programmers - they just Hype themselves to be Seen as Good enough for Hire.

A few (if not most) who actually are Full Stack didn't become that in 3-years.

I suggest you start with the simplest (that should be HTML) and ride from there.

Start from HTML then quickly introduce CSS (try to avoid Frameworks) and hold on to them actively for like 2-years.
It's okay to take on small projects (Free and/ or Paid) so you get challenged along the line.

I know there are Ready-Made templates, it's cool to use them sometimes but also learn to Di-sect them as that way, you get to learn more than what you already know.

While doing all the above, learn WordPress (I say LEARN) beyond just installing readyMade themes & Plugins.

I myself never learnt wordpress but then, you're not Me.

All the above should cost you over (or at least) 2-years.

If you're Actively studying, Practicing and doing demo projects honestly the first year, you shouldn't have much issues taking on very light projects the second year.

After the second year, look for a company to employ you - I say this because you would need difficult challenges - there's a difference between choosing a Task to Do VS being assigned a Task to Do + you begin having a taste of Varying Real Life problems of which you're to solve.

At these point, you would have discovered (without being told) if you're a front-end Or Back-end material.

All through to this point, ensure you don't bother learning any JavaScript. I actually learnt JavaScript in bits (while fixing errors on existing ones or modifying them) so much I didn't realize when I have learnt a lot.

From the above stage, things starts becoming clearer to You and when you ask questions / recommendation / advice / suggestions / etc in here, those with viable Answers can respond to you.




Try jumping into programming like Most Nigerians do (including those who install a Plugin just to add Scroll to Top functionality) and you either Quit before long OR you start selling Nulled (pirated) scripts while also advertising programming Tutorials and How to become a Certified programmer in less than 2-weeks.


Programing is Fun but can be Frustrating a times even for those who love it.


PSS: A beginner using any sort of Framework is just wasting His or Her time. Leave Frameworks (whether Front-end e.g Bootstrap or Backend e.g Laravel) for when you already understands beyond the Basics.

Thanks and Good Luck
Yes , You are making sense. Full stack development is not easy as it takes so much time to understand some concepts, as you have said, it is good to stay away from frameworks as a beginner to fully understand how things work basically as it has improved me a lot but it is worthy to note that there are projects that you cannot build without the use of frameworks because it makes you write less code and increase your efficiency. Most of the senior software developers do use frameworks as well. using vanilla javascript to build complex websites will take you more days than using frameworks. You learn new things everyday

1 Like

Programming / Re: Python Gurus Please Help Me With This Code. by Taofeekdboy(m): 9:26am On Jun 29, 2020
First, your code is too verbose, using class is an overkill for this mortgage calculator.
You can use function but it is fine if you really wanna use class but note that when defining a class, your method indentation must be accurate, like everything must be lined up together, press backspace for everything under the class and use tab key to indent them once.
Programming / Re: Why Self Taught Programmers Over “Exaggerate”. by Taofeekdboy(m): 11:42am On Jun 28, 2020
sexylassie2:
For all those learning and advertising python to wannabe programmers, stop wasting your time.

If you don't have good mathematics background or love for data,you will fail big time.
Fine, basic mathematics is required for some basic functions, if you are going to web development, you don't need much of mathematics, unless you mean data science, then I won't advise anyone to go there because seeing numpy, Scikit-learn and regressions will make you go crazy. Game development as well requires knowledge of mathematics.

8 Likes 1 Share

Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 9:53pm On Jun 27, 2020
tensazangetsu20:

I am learning react but want to really pick up angular in the future.
I was taking the course before but I couldn't sleep because of the learning curve and it will take time to grab all the entities of angular unlike react where you can build in no time and use so many third party libraries but angular comes with its own libraries which you have to learn all of those as well... I think I am good with react and Vue for now, I can go back to angular anytime I wish to learn it again.

1 Like

Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 9:49pm On Jun 27, 2020
modash:


Angular is similar to nestJs right?

Yes, they are similar because you can write in typescript in both angular and nestJs... Though I don't know much about nestJs but they have the same learning pattern.
Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 8:21pm On Jun 27, 2020
tensazangetsu20:

React is a library. Vue is a framework. What do you think of angular?
Yeah react is a javascript library but people do take it for a framework, even I have forgotten that it is a library grin grin..

Angular is a javascript framework, it has a steep learning curve and when you are good with it, you don't wanna leave it for other frameworks.
I learnt it for some time but I left with for react because of its verbosity.
Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 11:57am On Jun 27, 2020
ore291:
that'll be nice self , if you make it open source I won't mind contributing and I learnt Vue first cause on reddit they were like react has a very steep learning curve and for someone like me who just learnt JavaScript let me not go and injure my brain

I will try to do that. Learning react made my Vue learning curve pretty easy and it's documentation is superb as I didn't even check or watch any videos by learning it. It is very straightforward. I love react because of its community, easy to find solution when you are stuck.
Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 11:54am On Jun 27, 2020
elunico:


How similar is Vue to React? I wanna start with react then Vue later.
they are both Javascript frameworks, you can use javascript syntax for both, Vue is easier to learn while react is a little bit difficult to learn.
Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 10:07am On Jun 27, 2020
ore291:

Yh I will do the notification, I can do the API myself with django-rest-framework but I don't have access to past questions in digital form
Yes, I understand, I am not trying to create past questions, I just want to create a school management system where teachers can set questions for the students and they will answer the questions and submit and assign them assignments as well, it is a big one.. Just trying to wrap my head around it. I am using django rest framework as well but react is my stack. I like Vue as well as it makes things simpler but the problem is whichever you learn first among those Javascript frameworks, it will be hard to leave it grin

3 Likes

Programming / Re: My First Ever Javascript Webapp by Taofeekdboy(m): 9:39am On Jun 27, 2020
The concept is very nice, I have been planing on something related to that, though I wanna build the API myself.

The app is not functioning again, if you can put a notification that tells the user that there is a network error or something if there is a problem, it will be very nice, so the user will be aware of what's going on. Good job bro.
Programming / Re: You Can Do This Too by Taofeekdboy(m): 1:11am On Jun 26, 2020
I have been busy, Just got the time. I will use recursive function , as this makes the code cleaner and I am using python this time. I am quite familiar with python because I use it to code my backend, javascript for frontend.

def get_single_digit(n):
y = str(n)
x = 0
for i in y:
x += int(i)
if x > 9:
return get_single_digit(x)
else:
print(x)
return x

I can break it down;
By calling get_single_digit() with a parameter, the function will convert the digit(s) into string because of limitation of number variable in python,
setting a variable x = 0; because it will be used for the looping condition.
then I loop through the string and adding the looping variable being converted to integer to x which produce a result be it 1 or more digits.
I check for a condition whereby if x > 9, it means if x is greater than 9 then it can be any two digits which can be re-added again, I used recursive function to return the condition which call itself until else condition is met.
I do hope I explain in a little way.

1 Like 1 Share

Programming / Re: Javascript Courses: Mosh Hamedani Or Brad Traversy by Taofeekdboy(m): 1:20am On Jun 25, 2020
Mosh hamedani for me as he simplifies everything, Python, React and Java. All thanks to him.
Programming / Re: You Can Do This Too by Taofeekdboy(m): 4:04pm On Jun 23, 2020
That's the screenshot, this can also be done with forEach but I so much like map grin

1 Like

Programming / Re: You Can Do This Too by Taofeekdboy(m): 11:46am On Jun 23, 2020
OP, this is the only method i can come up with as i do not want to use third party library for the date time.

function parseDate(input) {
var parts = input.match(/(\d+)/g);
return new Date(parts[2], parts[1]-1, parts[0]);
}

const people = [
{firstName: 'Sam', lastName: 'Hughes', DOB: '07/07/1978'},
{firstName: 'Terri', lastName: 'Bishop', DOB: '07/04/1989'},
{firstName: 'Jar', lastName: 'Burke', DOB: '11/01/1985'},
{firstName: 'Julio', lastName: 'Miller', DOB: '12/02/1975'},
{firstName: 'Chester', lastName: 'Flores', DOB: '15/03/1988'},
{firstName: 'Madison', lastName: 'Marshall', DOB: '22/09/1980'},
{firstName: 'Gabriella', lastName: 'Steward', DOB: '26/08/1990'},
{firstName: 'Ava', lastName: 'Pena', DOB: '02/11/1986'},
]
people.map(user => {
const minutes = 1000 * 60;
const hours = minutes * 60;
const days = hours * 24;
const years = days * 365;
const tody = Date.parse(new Date)
const today = Date.parse(parseDate(user.DOB))
const current = tody - today
console.log(Math.round(current/years))
})

const sortedList = people.sort((a, b) => {
return parseDate(a.DOB).getFullYear() < parseDate(b.DOB).getFullYear() ? -1 : 1
})
console.log(sortedList)

1 Like

Programming / Re: For Django Developer by Taofeekdboy(m): 1:55am On Jun 23, 2020
yuno01:



I have always wanted to do that slide show on django but haven't really gotten it.

and for your static file, like your CSS and JavaScript...how do you do it.

not those u write withing the page using it..but some external JavaScript and css
You can do that with Javascript, if you know Javascript, it is easier to do than css because you can use CSS to do that as well, I will advise people who want to learn django should try to learn Javascript or its framework like React, Vue or Angular, as this will beautify your UI/UX.

2 Likes

Programming / Re: Nairaland Should Switch To Python/django. Opinion by Taofeekdboy(m): 10:30am On Jun 21, 2020
codeigniter:


You are right with the cherry.py because when seun was active he talks about it all the time.

I am going to reduced the SQL queries per route

Do u know anything about wysiwyg editor like tiny MCE
tinyMCE is nice and it works on most languages but have used it with Javascript and python(django) and it is awesome. Nice interface and more plug-ins
Programming / Re: For Django Developer by Taofeekdboy(m): 10:15am On Jun 21, 2020
fortifiedng:


Bruh, thanks for this. I really appreciate.

But you could also Extend the User Model by creating a "Profile Model" and using a OneToOne relationship with the User Model. And also using SIGNALS.

Thanks a lot for the explanation.
Sure it can be done like that as well, but there are some scenarios where you dealing with two different groups, maybe students and teachers or premium users and free users, you can easily add student identifier and teacher identifier through AbstractUser, this will simplify things and make code cleaner.
Programming / Re: For Django Developer by Taofeekdboy(m): 10:09am On Jun 21, 2020
rastaxarm:
I prefer Flask over Django due to total control and flexibility.

Currently using it to develop a voting system for universities/polytechnics elections

Test - Still under development
https://digitavote.pythonanywhere.com/

No regret so far and the plugins/extensions are good too.

Be good with Python and everything will be ok. Though flexibility comes with great responsibilities tongue grin cheesy cheesy
Sure, it all depends on you and what makes you comfortable, I was learning flask before but switched to django because of its complexity and its documentation.
About flexibility, when you are comfortable using django, you can be flexible and be in control as well thou everything has been written for you but you can choose to customize it for your own use.

Nice project BTW. Good job

2 Likes

Programming / Re: For Django Developer by Taofeekdboy(m): 5:41pm On Jun 20, 2020
Here is another project I just finished, an ecommerce project, as lockdown continues and my company never resume.

Anyone in need of the source code should signify.

Stack used:
Django for backend
React for frontend

Not much validation on the input data as I was distracted and doing it for fun just to add more functionalities.

The project is hosted on pythonanywhere as heroku will make shell a dollar for my media files.

http://taadesina.pythonanywhere.com

Your feedback will be much appreciated.

2 Likes

Programming / Re: For Django Developer by Taofeekdboy(m): 9:48am On Jun 20, 2020
EngtTemmy:
If you want to know more about hosting on heroku, i will recommend Corey Schafer tutorial on YouTube.
Heroku is good but only issue I have with them is not been able to host my media files with them, I do use aws and they do charge me for that but on pythonanywhere, it is free to host your media files.
Programming / Re: For Django Developer by Taofeekdboy(m): 9:46am On Jun 20, 2020
Toppytek:


Thanks, I’ve crossed checked yet am still getting an error
Create a new model called Tag, add name of tags you wanna add to it, maybe News, educations, sports and so on. Then on your Post model add a ManytoMany field name tags to it. Then you can add tags to a particular post and you can customize it to your own taste, I don't use taggits as at times third party libraries give more problems and headache.
Try the above method and let me know, it is more suitable and you will be in control.
Programming / Re: For Django Developer by Taofeekdboy(m): 9:31am On Jun 20, 2020
EngtTemmy:
Can Django be used on Android phone?
In what context are you talking about, coding or the finished project. If you are talking about coding, then django is a framework not a language, it is written in Python but you can code Python on Android with pydroid. You can't code django on an android phone.
Programming / Re: For Django Developer by Taofeekdboy(m): 7:11am On Jun 20, 2020
fortifiedng:
Extending the User Model from AbstractUser or AbstractBaseUser, which is preferable and which is actually recommended?
It totally depends on you and what you wanna customize with the user model but if you don't know what you are doing or you just want to add little details to your custom user, you can use AbstractUser, using AbstractBaseUser will override the User model and it requires you to know what you are doing ie being experienced because one foul play will cause inconsistency in your project
Let me give some instances;
If you want to extend a user to have gender, location or profile, you can extend from AbstractUser to customize your user model.
If you need to write permissions and authentication for your user, then I will suggest AbstractBaseUser.

Personally for me, I do extend from AbstractUser because I do write my permissions and authentication without extending from AbstractBaseUser
Programming / Re: For Django Developer by Taofeekdboy(m): 4:08pm On Jun 19, 2020
Toppytek:


I’m a Django newbie, I don’t know how to go about that and I think the whole tag thing is affecting the project as a whole. Sad and angry right now.
If you don't mind, you can send me a mail, then we can figure it together
Programming / Re: For Django Developer by Taofeekdboy(m): 3:01pm On Jun 19, 2020
Toppytek:


Thanks, I’ve been finding it difficult using “taggit” on Django 3.0, seems it doesn’t work with Django 3 yet, I might be wrong tho, but am following a book “Django 3 by example” I’m building a blog.

I don't think so, it doesn't work in django 3.0, it was made for django 1.11.
You can also create a custom tags in your model without the use of taggit.
Programming / Re: For Django Developer by Taofeekdboy(m): 12:57pm On Jun 19, 2020
Toppytek:
Hi everyone, I’m a newbie to Django, the whole
Concept has been quite terrible to understand, but am following a book “Django 3 by Example”.. hopefully I’ll download Dennis Ivy’s Django crash course maybe that’ll give more help, any other suggestions would be highly welcome.
That's very good, if you have any questions or any issues regarding that, you can leave it here, I will try my possible best to answer it to my knowledge
Programming / Re: For Django Developer by Taofeekdboy(m): 10:58am On Jun 19, 2020
countyl:

Hello Taofeekboy. I like your project. I am working on something similar. I need your input. How can I get in touch with you. Thank you
send me a mail on taofeekdboy@yahoo.com
Programming / Re: Do I Really Need To Learn Bootstrap.. Please Help A Brother by Taofeekdboy(m): 11:08am On Jun 17, 2020
EngtTemmy:

He is right, the browser have to download all the jQuery and css files making browsing speed to reduce
that's if you use the cdn but you can download it locally to your project and use it offline.
Programming / Re: Python 3: Exercises And Solutions. by Taofeekdboy(m): 9:52pm On Jun 04, 2020
modash:


The site looks real good.
Thank you bro...

(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 18 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 75
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.