Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,199,724 members, 7,972,652 topics. Date: Friday, 11 October 2024 at 03:08 PM

Venzee's Posts

Nairaland Forum / Venzee's Profile / Venzee's Posts

(1) (2) (3) (4) (of 4 pages)

Programming / Re: Javascript Programers Help Me With This Problem by Venzee(m): 11:47pm On Mar 09, 2020
Taofeekdboy:
Talking from django aspect, this will be done in the database, or follow uuid as aspect as that will save you time. This can't really be done on the client side rather the server side.

Abi..! Bros...
You don abeg
Programming / Re: How Do I Convert Object To Arrey In Javascript by Venzee(m): 11:40pm On Mar 09, 2020
makavele:
Thank me later:

const object = { ..... blah blah blah }

const array = Object.keys(object).map(key => object[key])

Confirm.....!!
Exactly what I needed
Bros you too much..
Programming / Re: How Do I Convert Object To Arrey In Javascript by Venzee(m): 11:36pm On Mar 09, 2020
silento:
The last time I check object can be looped easily or did I not understand the question

Var obj = {1:"ara",2:"test"}
For(var i in obj)
{
Var value = obj[i]

}
Chaii Bros thank you...
Dis one work..
Programming / Re: How Do I Convert Object To Arrey In Javascript by Venzee(m): 6:33pm On Mar 04, 2020
biggjoe:
why not loop through the object instead.
bros u no fee loop an object using de .length function.
even u use am, how u go log de object to de console, cuz if u do am lik dis ( obj{i} ) en no go work
Programming / Re: How Do I Convert Object To Arrey In Javascript by Venzee(m): 12:39pm On Mar 04, 2020
siwhoh:
I asked same question on a Facebook group, still waiting for answer up till now. Let me park here and see.
my brother ah don try am oo, d object de enter inside de Array en no de convert to Array.
Programming / Re: How Do I Convert Object To Arrey In Javascript by Venzee(m): 12:35pm On Mar 04, 2020
siwhoh:
I asked same question on a Facebook group, still waiting for answer up till now. Let me park here and see.
Programming / How Do I Convert Object To Arrey In Javascript by Venzee(m): 12:12pm On Mar 04, 2020
please i want to a object to an Arrey, so dat i can easly loop it.
i hv try these codes but it dosn't wrk. e.g
var obj = {a: 'venzee',
b:23,
c:false
}
var conv = [].slice.call(obj) or also
var conv = [].concat.call(obj);
pls help me
Programming / Re: Javascript Programers Help Me With This Problem by Venzee(m): 1:50pm On Mar 02, 2020
Karleb:


I concur.

Just enter your user's data directly into the database and generate each user's id.
bros SQL no fee generate unique id,
d thing be say, ah just de avoide PHP, thats y ah de use main JS nd node.js
Programming / Re: Javascript Programers Help Me With This Problem by Venzee(m): 1:35pm On Mar 02, 2020
[quote Why are you using JavaScript for something like this? Stuff like this should be done on the server side! [/quote]
bros i understand, no be only wey ah dey use, i de use ajax,json & webpack modules d truth is dat ah won use 1 stone to kill 2 birds
Programming / Re: Javascript Programers Help Me With This Problem by Venzee(m): 7:21am On Mar 02, 2020
niel63:
A quick glance through your code.... I noticed your random number GEN

//Generating random number
let generator =
Math.floor(Math.random(id_numb_limit)+1 );

Will always return 1.




TRY THIS

let generator = Math.floor (Math.random () * id_numb_limit + 1);



My brother that was typical error abeg...
Na just wen ah do fast to post am ...
No reason am I just went through it now
But thanks anyway for your correction...
Programming / Re: Javascript Programers Help Me With This Problem by Venzee(m): 7:16am On Mar 02, 2020
AntiWailer:
U can generate the unique numbers from your database depending on the database u are using..

MsSql - identity field. (Once you insert the record, u can retrieve the unique number and padd it with something to form the id u need to use )

Oracle - generate a sequence and use the unique value to do whatever u need to do


I advice u also reconsider generating random Numbers as their login. The problem with your approach is that if u use an independent random generator from js like u try to do, when your user base grows, the likely hood of repeat will still be there no matter au awesome the random number generator is.

Let them choose something they can remember, validate it against your existing users to make sure it does not exist and allow them use it during registration.

Email, mobile numbers are also unique stuffs u can allow your users to use as their login details. You will store the information with unique constraints in your database so that even if client validation fail u, the database will not allow such duplicates.


I hope this helps.


Thank you very much bro,
Lemme try that .. I acpreappre.
Programming / Javascript Programers Help Me With This Problem by Venzee(m): 1:41am On Mar 02, 2020
I greet you all nairalanders.....

Please am working on a small complex project and I just got stuck in this problem since last week....

This is the problem am facing....

I want to generate a 12 base( 12 digits) random number that will be mailed to the user after registration, which will be his or her profile unique ID number..

Lemme explain it better...

For example, you signed up with us, the after registration will give u a unique ID number for login in to your account...

Now the problem is, the Math.random() function will sometimes generates exatexa the same number it has generated before
Now am looking for mathod that check if the the id number already exists, if I dose not exists generate another number but if it exists, ignore the ID number and generate another one .

That is the problem am facing because each user will have a unique ID number.

This is the codes I used to do it, but I doesn't work as expected..


// Please am using both ES5 and ES6

const user_id_generator = (
var IDs, id_dataDB, id_numb_limit;
IDs = [];

// base 12 id number
id_numb_limit = 999999999999;

//Generating random number
let generator =
Math.floor(Math.random(id_numb_limit)+1 );

// to add the random number to the IDs
IDs.push(generator);

function check_ID_number(){
//Old school for loop
for (var count = 0; count < IDs.length;
count++){
var create_new_id_number;
if (generator !== IDs[count]){
IDs.push(generator)

} else if (generator === IDs[count]{
create_new_id_number =
generator;
IDs.push(create_new_id_number)
}}
}
check_ID_number();
)();


This is just for the ID generator, but is not working as expected...

Please if you have any idea on how to solve this problem, please your comment is highly needed..

Or you can just inbox me via WhatsApp...
09037099739
Programming / Re: Can I Learn Programming From My Android Phone? by Venzee(m): 12:01am On Mar 02, 2020
Hkk
Programming / Re: Programming And Kid by Venzee(m): 1:32pm On Dec 31, 2019
My man scratch no be programming language...
Eating u go took na VBasic... Abeg...
Programming / Re: Can I Learn Programming From My Android Phone? by Venzee(m): 12:52am On Oct 24, 2019
Brother... We are in the same boat.. am learning programming with my Android phone. I have lent up to 4 languages and perfect in those languages. No one touch me any language at all. All I do is to research around look for PDF Tutorials and learn with some apps that I use to write my codes.
All recommend you to your play and download 'w3schools offline' that was the first app I use to learn programming with phone.. and after that just research around get PDF Tutorials this method will help you allot. Don't worry about pc for now the only time you should worry about pc is when you want code a very complex project like application or softwares..

131 Likes 17 Shares

Webmasters / HTML CSS And Javascript Full Course For Free by Venzee(m): 10:46pm On Aug 16, 2019
I and my team, design a website that allows people to learn programming for freeshocked
Learn front-end web design and development tutorials for free on this website.

We have provided you with all the necessary tools of learning programming and available ebooks.
Get started today. By using the link below.

https://idreamng.com/all-in-one-web-development-tutorial/

https://idreamng.com
Programming / Re: Python Programmers, Pls Help Me Out? by Venzee(m): 12:43pm On Aug 16, 2019
Try to to use the if Statement and the return function to specify what yo you want the class object to do.
And don't use a boolen condition.
If it trowback an error, that means you are using python2 and you need to install python3 inside you python lib by using pip installer.

Learn more about python Tutorial full course in our website. Just hit the link below.
https://idreamng.com/category/software-programming/
Programming / Introduction To Python Tutorial by Venzee(m): 12:29pm On Aug 16, 2019
shockedshocked


Introduction
Hello, World!
Python is a very simple language, and has a very straightforward syntax. It encourages programmers to program without boilerplate (prepared) code. The simplest directive in Python is the “print” directive – it simply prints out a line (and also includes a newline, unlike in C).

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.


Python is Interpreted – Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.

Python is widely used in Artificial Intelligence, Natural Language Generation, Neural Networks and other advanced fields of Computer Science. Python had deep focus on code readability & this class will teach you python from basics. So if you want to start learning AI or deep learning. Learning python is a great start !


To print a string, just write:

print ("Hello World!"wink

Note: Copy and Paste Code into Compiler
Open Compiler

Readability
Python is all about ease. It is a very readable language. Python has Python uses indentation for blocks, instead of curly braces. Both tabs and spaces are supported, but the standard indentation requires standard Python code to use four spaces.

For example:


a=0
def printfnc():
print (a)
printfnc()

Learn python for free. Just hit the link below
https://idreamng.com/category/software-programming/

1 Like

Programming / I Want To Learn Programming Which Course Will I Start With?? by Venzee(m): 12:08pm On Aug 16, 2019
programming depends on what type of programer you want be.
There many programming languages and many programming department.
Is it now on to choose programming you want to be.
See the list below.

Software programming
Website development and design
Website saver penetration
Internet security
GUI development
Application development
Database
Data science
Data analysis
AI (artificial intelligence)etc...

It is no now left for you choose the one you want.
But as beginner I will suggest you should start from software programming or website development and design.
I and and my team design a website that teach people programming for free.
Get started today by using the link below.

https://idreamng.com/category/software-programming/
For software programming with python programming language.

https://idreamng.com/all-in-one-web-development-tutorial/
For website development and design.
All is for free!!!!!
Programming / Re: How Can I Learn Programming by Venzee(m): 12:02pm On Aug 16, 2019
Learning programming depends on what type of programer you want be.
There many programming languages and many programming department.
Is it now on to choose programming you want to be.
See the list below.

Software programming
Website development and design
Website saver penetration
Internet security
GUI development
Application development
Database
Data science
Data analysis
AI (artificial intelligence)etc...

It is no now left for you choose the one you want.
But as beginner I will suggest you should start from software programming or website development and design.
I and and my team design a website that teach people programming for free.
Get started today by using the link below.

https://idreamng.com/category/software-programming/
For software programming with python programming language.

https://idreamng.com/all-in-one-web-development-tutorial/
For website development and design.
All is for free!!!!!
Certification And Training Adverts / Is It Still Useful To Learn Web Development? by Venzee(m): 9:48pm On Aug 14, 2019
Yeah it still very useful to learn web development,
But I will recommend you to migrate to html5, Css3, json, boostrap php, and SQL.
Become that what most website will be using from now hence forth.
Which each website you enter will very dynamic and AI presence to interact with users even if you're not online.
Lean more about web development in our website. Use the link below.
https://idreamng.com/all-in-one-web-development-tutorial/ (https://idreamng.com/all-in-one-web-development-tutorial/)

Certification And Training Adverts / Javascript Tutorial Full Course by Venzee(m): 8:55pm On Aug 14, 2019
Hello good evening nairaland,
The IDREAMNG TEAM is now teaching
JavaScript full course within 5weeks.
We will teach all you need to do o know on getting in JavaScript for free.

Get started today by using the link below.
https://idreamng.com/category/javascript/

Programming / Re: Avoid The Hard Ways Of Learning Programming by Venzee(m): 2:55pm On Aug 14, 2019
Learn python Tutorial full course for free.
Use the link below to get started.

https://idreamng.com/category/software-programming/

If you don't have time to read online you can download the PDF file. Here

https://idreamng.com/software-programming/311-2/23/
Programming / Re: Please How Can I Get Or Create An IP Number by Venzee(m): 2:52pm On Aug 14, 2019
What is one talking about.
Do you really what is IP
Nawao

Abeg IP means internet provider. It already in your phone or PC.

En be like say you had that thing from someone's mouth.
Webmasters / Looking For Web Development Tutorial Course by Venzee(m): 8:13am On Aug 14, 2019
Become a real full time web developer within 2 months.
Sometimes learning web development on so some website is a little bit cost.
IDREAMNG will you tech web development for free
We will teach all you need to know in web development course.

Start from this link below
https://idreamng.com/all-in-one-web-development-tutorial/

If you're a beginner in this course, you have to from html. Use the link below to learn HTML.
https://idreamng.com/category/htmltutorials/

Download the HTML PDF file here
https://idreamng.com/htmltutorials/html-tutorial/23/

Feel free to ask me questions.
Programming / Re: Java Has Been Over Throned By Python by Venzee(m): 9:45pm On Aug 13, 2019
Java is still relevant, expecially in Android application only. But python is now doing much better than Java these days.
For YouTube Android app is writing in python
Google assistant is writing in python and with the help of c++
Facebook recent version is writing python and objective c and with some PHP script.

Data science and data analysis is with python.

So Java has no room in these aspect
Webmasters / Drop Your Email For free Web Development Tutorials by Venzee(m): 10:30pm On Aug 12, 2019
I took my time to create this free web development Tutorials full course for free.
We have provided free ebooks on any course yot want to learn, either HTML CSS or JavaScript.
All the Ebooks are available.
So drop your email.
Or you can get started by using the list of links below.

HTML Tutorial
https://idreamng.com/category/htmltutorials/

JavaScript Tutorial
https://idreamng.com/category/javascript/

CSS Tutorial
https://idreamng.com/category/css-tutorials/

Programming / Java Has Been Over Throned By Python by Venzee(m): 8:03pm On Aug 12, 2019
Nowadays programers are now switching to python to make there program more Dynamic and easier to code.
In Python, you just a small statement and python will do a hug job for you.
But in Java, import a lot of statements before Java will execute your code.
So start learning python today. Use the links below
https://idreamng.com/category/software-programming/

If you don't have time to read it online, we have the PDF file. With the link below.
https://idreamng.com/software-programming/311-2/23/

Webmasters / Three(3) Best Website To Learn Web Development. by Venzee(m): 9:13pm On Aug 10, 2019
These are the website that will teach you web design and development for free.

1* IDREAMNG
Website url: https://idreamng.com
>>>>>Details: this site will teach web development full course, documentation online reading, Free ebooks and examples.
These are the details of learning web development on IDREAMNG.

2* W3 SCHOOLS
Website url: https://w3schols.com/
>>>>>>Details: This are the details of W3 SCHOOLS when learning web development.
Online codding trail, online Reading, examples.

3* CODAC ACADEMY
Website url: https://codacacademy.com/
>>>>>>Details: This are the details of CODAC ACADEMY when learning web development.
Online codding trail, online Reading, examples.
Programming / 3 Reasons Why Should Learn Python As A Programmer by Venzee(m): 8:43pm On Aug 10, 2019
If you are thinking to learn Python but not sure why you should do that then here are 10 reasons which highlight the benefits of learning Python in 2018.

Though, the questions depend upon who is asking that i.e. for a beginner, learning Python makes sense because its simple and main reason for learning Python is simplicity.

Similarly, for an experienced programmer who is looking to go into Data Science and Machine learning, learning Python makes sense because it’s quickly becoming the most used programming language and there are powerful APIs and library available for AI, Data Science, and Machine learning.

Anyway, without any further ado, here are my 10 reasons to learn Python in 2018:

1. Data Science
This is the single, biggest reason why many programmers are learning Python in 2018. I know many of my friends who are bored with their Java programming jobs in Investment banks are learning Python on Udemy to make a career in Data Science due to exciting work and high pay.

But, what makes Python a preferred language for Data Science and Machine Learning? Didn’t R was considered best for that not too long ago? Well, I think the libraries and framework Python offers e.g. PyBrain, NumPy and PyMySQL on AI, DataScience, and Machine learning are one of that reason.

Another reason is diversity, Python experience allows you to do a lot more than R e.g. you can create scripts to automate stuff, go into web development and so much more.

If you are interested in becoming a Data Scientist in 2018 and looking for pointers, I suggest you check outData Science, Deep Learning, & Machine Learning with Pythoncourse on Udemy. I have purchased this course and it’s one of the awesome resources. You can get it in less than $10 sometimes.


2. Machine Learning
This is another reason of why programmers are learning Python in 2018. The growth of machine learning is phenomenal in last a couple of years and it’s rapidly changing everything around us.

Algorithms become sophisticated day by day, the best example is Google’s Search Algorithms, which can now answer what you are expecting. There are Chatbots around to answer your queries and Uber is totally driven by Algorithms.

If you are interested in machine learning, want to do a pet project or just want to play around, Python is the only major programming language which makes it easy.

Though there are machine learning libraries available in Java, you will find more content around Python as developer community is preferring Python over anything else on Data Science and Machine learning.

If you are interested in doing web development with Python, I suggest you to further check Machine Learning A-Z™: Hands-On Python & R In Data Sciencecourse on Udemy


3. Web Development
The good old development is another reason for learning Python. It offers so many good libraries and frameworks e.g. Django and Flask which makes web development really easy.

The task which takes hours in PHP can be completed in minutes on Python. Python is also used a lot for web scrapping. Some of the popular websites on the Internet like Reddit is built using Python.

If you are interested in web development using Python I suggest you to join thePython and Django Full Stack Web Developer Bootcamp course by JoshPortilla.


In fact, there is a free Python course on Udemy which will teach you that while teaching Python.

start learning today by using the link below.
https://idreamng.com/category/software-programming/

Download the PDF file for free.

https://idreamng.com/software-programming/311-2/23/

(1) (2) (3) (4) (of 4 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. 63
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.