Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,813 members, 7,820,876 topics. Date: Wednesday, 08 May 2024 at 12:12 AM

Valzey's Posts

Nairaland Forum / Valzey's Profile / Valzey's Posts

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

Programming / Re: When Do I Use Calloc() And Malloc() In C Language? by valzey(m): 7:24pm On Sep 13, 2020
logicDcoder:



I don't really understand what you mearnt by malloc initializing to zero. I don't really know where you get this. Malloc function is used to allocate storage dynamically for objects. In what I understood malloc() allocates storage uncontigously(malloc returns a pointer to void(generic pointer) which is pointing to a memory block) while calloc() allocates memory contigously.
You aforementioned using malloc() when all the blocks are allocated (which blocks?).

Malloc does not set the bytes it allocates to zero while calloc does. That is their difference.
Other than this, they are the same, they are all contiguous blocks I think.

If you allocate sizeof(char) * 5, and you will use all of the bytes, malloc is OK, if you may not use up all the bytes, then use calloc so that the unused parts will be zero.
Programming / Re: How Much Will I Pay A Programmer To Create A Website Like Binance.com? by valzey(m): 2:03pm On Sep 11, 2020
codeigniter:

It will cost u alot i. e. Time, money, to build from scratch, look for ready made solution u can buy
Yh, sometimes customers overlook security, but it's important and it costs money.

At times customers don't even have plan, talk less of detailed plan and you can't hope to get returns on investment without a plan.

Next there's advertisement and marketing.

Finally, there's no true business without plan. Even scam artists plan.

If you have a plan, then it can be achieved. You can't leave the business plan on the head of the developer, he's just a contractor. You own the business.

For people without plan, I ignore or collect good money first before working because their job usually had no scope and no end. You stop when you're tired.

2 Likes

Programming / Re: When Do I Use Calloc() And Malloc() In C Language? by valzey(m): 1:50pm On Sep 11, 2020
I think using malloc, the block of memory you have is uninitialized, i.e: whatever data in that space previously will remain there. while in calloc, it is initialized to zero.
Calloc is like a combination of two functions
Malloc and another used to initialize to zero.

Use malloc if you'll use all the blocks allocated and use calloc if you'll use some of the blocks allocated.
Programming / Re: Please Help, Its Urgent by valzey(m): 11:08am On Sep 11, 2020
Online doesn't only mean YouTube, there's Udemy, Pluralsight, Coursera... etc. And they're good and actual courses not tutorials . But physical tutoring also has its advantages, it depends on the person to be trained. No need for sharp criticism. Just make your own suggestions.
I'm not in Asaba so I can't recommend since he explicitly said he doesn't want online.
Programming / Re: Review My App I Built From Scratch by valzey(m): 10:59am On Sep 11, 2020
Really impressive bro, you actually put some work into it. How long did it take from concept to finish?
Programming / Re: Shine Your Eye - Use This Guide To Learn How To Buy A Good Laptop For Coding by valzey(m): 10:52am On Sep 11, 2020
You totally have reason to use Linux, but most programmers don't and we can't advise budding programmers to get Linux because they will spend productive time trying to figure out how to get this or that working.
I use Linux rarely so it's place is in a VM until WSL fully matures.
If Linux is so important to you, you should use it as your OS or dual boot it not in a VM.
And I left C++ for C# and I'm a happy guy now. I remember then when trying to port my C++ program to Windows, some headers then were not available on windows GCC. I gave up.

1 Like

Programming / Re: Shine Your Eye - Use This Guide To Learn How To Buy A Good Laptop For Coding by valzey(m): 8:52am On Sep 11, 2020
Talk24:
Until you try to build .NET applications using Macs and Linux, then you will understand what I am saying. Windows is better for programmers because it is more universal, and flexible. Just take a look at this Stack Overflow Developer Survey from 2019.
Actually, .NET core is cross platform, works on Linux.
Programming / Re: Shine Your Eye - Use This Guide To Learn How To Buy A Good Laptop For Coding by valzey(m): 8:48am On Sep 11, 2020
No need for POSIX and ELF binary executables here, the answer is simple.

With windows, every software is download -> click to run.
But Linux is a pain, apt-this, apt-that, purge, upgrade.... etc. Who needs that? you can have Linux on a VM if you need some features but trust me, OP doesn't need any of the features.

Also free GNU doesn't always mean better. It's just a licensing like MIT etc.

Rather than Linux use mac though they are equally empty to me but mac os is way more reliable , if you want ELF.

Then speaking of programming, I cannot see advantages of Linux over Windows, even docker can be used on Windows.

Then talk about native gaming, incomparable.

I don't aim to compare OSes, rather to show that in this context, comparing them is pointless.
Programming / Re: Shine Your Eye - Use This Guide To Learn How To Buy A Good Laptop For Coding by valzey(m): 11:16pm On Sep 10, 2020
Ugaboy:

...
Operate on window 7 or 8 system
Window 10 doesn't have complete features yet
...
Lastly avoid games or high graphics games
...

What features are missing in Windows 10 if I may ask.

Also why should anyone avoid games or high graphics games?
Programming / Re: Hello Programmers Pls Help . How Can I Do This by valzey(m): 8:21am On Sep 09, 2020
cpanel.domain.com
Programming / Re: Meet Godot: The Powerful Game Engine That Python Programmers Will Love by valzey(m): 7:44pm On Sep 06, 2020
Rather than a long write up, a video showing what you have done with it will suffice.
Programming / Re: I Need A Mentor But I Will Not Pay You O. I Never Get Money by valzey(m): 7:43pm On Sep 06, 2020
If you're a beautiful girl, I'm sure we can work something out.

You're welcome.
Programming / Re: A Mentor Needed For A Beginner by valzey(m): 7:40pm On Sep 06, 2020
I hope you find.
Programming / Re: A Good Laptop For Programming by valzey(m): 12:46am On Sep 04, 2020
yusman14:
The one I later bought was a Dell E series..specs;4gig RAM,500g HDD,4th Gen,1.60GHz,corei5 4006U...
Hope that U doesn't mean??
U means ultra-low TDP/power. They are supposed to be more power efficient than their H and M counterparts, delivering better battery life but at the cost of performance.
The laptop's okay overall, just upgrade the RAM to at least 8gb and you'll be fine.

But I've not seen that processor before. Not even on Intel website. You should check the laptop spec online to see if it matches yours.

1 Like

Programming / Re: How CI/CD Helps In Saving Up To 20% Of Time In Mobile App Development? by valzey(m): 8:08am On Sep 02, 2020
Actually CI/CD is awesome. I use Azure DevOps for that. One case I use it is during my docker dev.

I run into issues occasionally when building docker images on my laptop after adding new features to previous version. So I simply wrote my build and deploy pipeline.

Now whenever I push to repository, it automatically builds the image and deploys to registry and sends me an email confirming if successful or not, all with Microsoft server without my cpu or ram bothered.

It's really awesome.
Programming / Re: A Good Laptop For Programming by valzey(m): 9:54am On Aug 30, 2020
yusman14:
60k bro...can I get in computer village?
With your budget, you can get an i5 hp 6460b or similar laptop as fairly used. Just add ram to make it 8gb.
Programming / Re: A Good Laptop For Programming by valzey(m): 5:51pm On Aug 29, 2020
Asking this question without stating your budget is pointless.
Programming / Re: You Cannot Be A Programmer Without Ethical Hacking by valzey(m): 4:02am On Aug 24, 2020
nurain150:
I mean guys in my career part as an hacker.....

nurain150:

Say it again.You can't just break into a website you don't own Bro.see cybercrime act 2015 as enshrined in our constitution....

Fine let's forget about websites you've hacked , how much have you made from your hacking exploits?
If it doesn't translate to money then one shouldn't take you seriously.
From your conversations you don't seem to be referring to Ethical Hacking.

nurain150:
... How can you fight for XXS with blacklisting words in input field How can you do the same for Sqli injection.I mean how can you store passwords as plaintext.To be honest all programmers cannot be good at what they do expect they are hackers themsellf... .

Moreover, knowing how to secure your software to an extent doesn't make you a hacker, it makes you a good programmer.

3 Likes 1 Share

Programming / Re: Full Stack Web Developer Needed by valzey(m): 11:21pm On Aug 20, 2020
Is there a development team or its a one man show?
Is there option for remote work?
Programming / Re: Devs - What Is Your Computer Spec? by valzey(m): 9:38am On Aug 18, 2020
devonboss:
Asus Vivobook S15

RAM: 8gb; 4Gb on board

Storage: 256GB SSD with empty slot

8th Gen Intel Core i7

Nvidia MX250

1080p

Cool, Asus seems to be leading so far.

1 Like

Programming / Re: Devs - What Is Your Computer Spec? by valzey(m): 4:13pm On Aug 16, 2020
cixak95211:
Windows 2019 Server Datacenter
Intel XEON Quad-core cpu @ 2.30 GHz
1TB SSD
32 GB RAM (18756 MHz)

Interesting, but this can't be a personal computer right?
Programming / Re: Devs - What Is Your Computer Spec? by valzey(m): 3:17pm On Aug 16, 2020
ArcFresky:
I know mine has 32gb ram, 4gb dedicated and 250gb ssd..
I now worked ac fan under heat, don't wanna hear over heating
Wow, Interesting, I dream of upgrading to ssd and adding another 8gb ram.
Programming / Devs - What Is Your Computer Spec? by valzey(m): 3:02pm On Aug 16, 2020
Going straight to the point, here's mine:

Model: Asus TUF Gaming FX505DY
CPU: AMD Ryzen 5 3550H, 4 cores
RAM: 16GB DDR4, empty second slot
Storage: 1TB hdd, empty m.2 nvme SSD slot
GPU: AMD Radeon RX560X, 4GB Dedicated
Screen: 1080p, 60hz

Please everyone should post theirs, those looking to buy can get ideas from here.

I'm sure we have interesting computers here, pictures are unnecessary.
Programming / Re: Good Pharmaceutical Inventory Software But No Clients To Purchase It by valzey(m): 2:16pm On Aug 16, 2020
Donpre:
Personal opinion: Try redesigning the UI to be more attractive.undecided

To your question...
How exactly are you selling it to potential customers?

Does it help them check which product is in stock and out of stock or does it have an anti-theft mechanism or does it integrate with a payment gateway to aid seamless payment in the absence of cash?

What exactly does your product do and how would it help their business.... these are questions you should ask yourself and when you have a good explanation, approach clients with these answers and explain how it will help them "save cost or get more profit"
If they still turn you down, ask them to at least give you a reason they don't like/need the app or what they would have hoped the app would be like, remodel your app base on their reasons and sell again till you get it.

#My2cents Hope it helps

You could also give 5 pharmacies free trial for limited period after explaining to them the value of your product. If they like it, they pay for continuous use, if they don't like it, they tell you why and you work on improving it. Then use them as reference to others and put a fee.

It would have been easier to market an existing product that is already tested and trusted.

2 Likes

Programming / Re: Rant On Operating System Stuff. by valzey(m): 5:54pm On Aug 15, 2020
SegFault:

Get an Ubuntu distro nah. It's just like windows on top of Linux you won't have to go through all those.
It's just that I don't have any reason to go there. It was excitement and adventure then, now I'm older. I need a simple life and my games.

I even looked the hackintosh direction, dualbooted mac os yosemite, el capitan and Sierra on my laptop with clover bootloader. Found no value in them and wiped them. Though I learnt how mac operates during that time. C/C++ binaries I compiled using gcc and cmake on mac worked directly on Linux.
Programming / Re: Rant On Operating System Stuff. by valzey(m): 3:05pm On Aug 15, 2020
I acknowledge that Linux is useful but I cannot put it in my personal computer as a daily driver, not even dual boot. If I have any use for it, I use a vm since wsl is far from perfect yet.
Every problem you encounter in your installation will definitely be a pain. You'll be forced to learn a whole lot of stuff just to solve the problem.
From UEFI/Bios - > boot order -> Grub bootloader -> kernel headers - > apt-get update && upgrade - > dkms driver loading - > Gnome/Xfce -> ntfs-3g... It never truly ends.

Restart does not solve problems there.

I'm just a simple guy who wants to live a simple life without unnecessary complications.
Programming / Jack Of All Trades - The Dev Struggle by valzey(m): 4:18pm On Aug 14, 2020
I went through a post of a person on nairaland introducing himself to potential clients and looking at his skillset I was tempted to ask him Are these platforms you've tried or platforms you know? - because they were basically the whole visual studio workload.

When I'm looking at too many platforms, I improve slower due to lack of focus.
It's not easy for developers who haven't settled in a software development niche. The person mentioned Web dev, Mobile dev, Desktop applications each with about 5 technologies under.... It must have been hard for such a person looking for direction.

This is what Nigerian devs suffer, due to difficulties getting jobs, we end up as Jack of all trades, Master of none. We scratch the surface of a language or framework and run off to the next one just to remain employable. Some of us even have different resumes for each niche.
But how well does it workout. We are forced to ignore the theory of the language or platform and focus on doing a project no matter how simple. Then we go on to fail in the theoretical interview.
I wonder how many JavaScript devs can tackle those strange interviews.

Everyone wants to learn one and master it but the question is Which one.

I wish those successful in this field share their experience with those who are still confused.

God Help Us

2 Likes 1 Share

Programming / Re: My Story: What It Takes To Be An Intensive Ethical Hacker by valzey(m): 5:13pm On Aug 11, 2020
What have you done so far with all this knowledge? Pentested a company's network yet?

I heard that those who know, do while those who don't, teach. I wonder how true that is.
GodofwarKratus:
Hello, most times i do see people posting on being a hacker with diverse skills and idea be it from manual hacking like sql injection,local file inclosure, using dorks and queries to detect vulnerabilites and the likes, we have the automated tools like those we have in SECURITY AND PENETRATION OS (KALI LINUX, BACKBOX, PARROT,BLACKARCH.) using tools like ssenump, theharvester,p0f,cms enuweration,smtp userenum,hydra,armitage,metasploit,medusa,nessus,w3af etc... being an hacker from white,grey,black hackers lies the power of knowing how and when to hack ,from my own knowledge one has to be able to understand few in and outs of programming languages hopeful few of it like basics html, javascript,php,python,css..the basics in sense understanding the languages.. as an hacker one of the ways in begining to hack you ought to know importants stuffs like .. what lang is the site using like php/mysql, php/apache,asp,html,nginx,perl and the likes, os of the site could be linux,windows,centos(linux),ubuntu(linux).
Programming / Re: HIRING: Mobile App Developers Needed To Work In A Team For A Company by valzey(m): 6:11am On Jul 31, 2020
07061957448

React, Python
Programming / Re: I Have Switched To Vim As My Primary Editor, You Should Too by valzey(m): 4:26am On Jul 03, 2020
Not enough reasons bro. I can't trade vscode for any other general editor, especially not vim. Giving up intellisense, debug tools, version control, extensions....etc just to feel that I'm a geek. Definitely not. Moreover vscode has terminal too.
Your reasons ain't convincing enough especially for those with large projects, collaboration...etc.

I began my programming career with gedit which was good for small programs or making changes to a project but I can't use it to begin a project. I put vim in same category.

Soon your excitement will die and you'll go back to your previous editor.

10 Likes

Programming / Re: How A Zero Skills Person Excel In Programming by valzey(m): 9:57am On Jul 01, 2020
sawdickwest:
I don't have knowledge in ICT or computer except browsing, can I learn programming and be successful

what's the difference between programming and coding?

If the way you described yourself is how you truly are, then I don't advice you learn on your own for now because lots of efforts will yield low results.

Get someone to teach you after which you develop yourself from there. I could teach you remotely if you're interested.

WhatsApp: 070-six-195-seven-448

1 Like

Programming / Re: Any Demand For Good Users Of Power BI And Tableau In Nigeria by valzey(m): 6:35pm On Jun 30, 2020
hoyze24:
These two tools are data analytic tools and help organisations get good insights on many activities. However, how is the demand for people with these skills in Nigeria?
If you have the finance certifications to back it up, just go to Lagos. You'll do better under finance than data analysis, I think.

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