₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,095 members, 8,448,643 topics. Date: Monday, 20 July 2026 at 04:06 PM

Toggle theme

SUPREMOTM's Posts

Nairaland ForumSUPREMOTM's ProfileSUPREMOTM's Posts

1 2 3 (of 3 pages)

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 8:25am On Jun 06, 2020
Everyone's lifeline

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 8:13am On Jun 06, 2020
JavaScript will just add your number type with string without errors or warnings and you'll have to figure out why your app is giving weird results.

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 12:56am On Jun 06, 2020
Looks like it's true for C# though.

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 12:53am On Jun 06, 2020
As long as it works....

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 12:50am On Jun 06, 2020
It's a trade secret!

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM: 12:38am On Jun 06, 2020
Most JavaScript programmers aren't as proficient with vanilla js as they are with frameworks.

ProgrammingRe: Funny Programming Memes. Just For Laughs by SUPREMOTM:
A simple explanation of the use of HTML and CSS

ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM: 8:10pm On May 26, 2020
Kelvin30286063:
I don't think you're right with the 16Gb assertion. I use a 12gb ram with 2 terabyte storage and it runs smoothly without issue. I have have so many heavy softwares open at the same time sometimes and they still run smoothly with Android studio.
You are right, I shouldn't have been too specific; after all, 8GB is the recommended value.

I just felt the need to raise the bar to a point where anyone shouldn't have any problems as well as to let anyone with 2GB to 4GB of memory know beforehand that they need an upgrade first to prevent frustration.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM:
Taofeekdboy:
I am using 8GB RAM and I do open android studio and flutter tho I don't really use flutter but react-native, my point is, even if you are using 16GB or 32GB, if its an HDD drive, it will still be lagging, that's the problem I faced before I changed to SSD, now I can operate my pycharm, android studio, emulator Adobe illustrator at once. The cons of SSD is the expensiveness.
My system uses a solid state drive, not HDD.

Well, I wasn't really keen on making it work because I have other activities that keep me and my laptop very busy. Otherwise, I would have sought a way out or at least found a workaround.

I just wanted to see if I could squeeze learning Flutter Development into my schedule, but... maybe later.

Thanks all the same.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM: 1:57pm On May 24, 2020
ugwum007:
Dart VM is using up your memory especially when you are debugging.
Thanks
ProgrammingRe: Free Training: C# And .net Core by SUPREMOTM: 8:20am On May 24, 2020
IMO01:
Ok please are u MT
No, send him a PM.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM:
sammsimm:
I think my processor is the problem(using AMD instead of Intel)
If Android application development is your dream, Kotlin (or Java) is the way to go, but if you are interested in hybrid mobile application (Android and iOS from same code) Flutter is still the tool of choice.

Note that there are things that a Kotlin (or Java) developer will be able to do on Android that will be very hard/ near impossible for a Flutter developer same way a Swift developer will be able to do things on iOS that a Flutter developer might find near impossible.

Flutter will give you the benefit of deploying your application to both Android mobiles and iPhones at once, but only a Swift developer (for iPhone) and a Kotlin/Java developer ( for Android phones) can really be regarded as experts in each of those OS's.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM:
Adeleye1212:
Thank you sir, I will go for kotlin
Do you have any course on kotlin that u can give to me
Prior to the installation, I had to download the highest rated Flutter course on Udemy, about 20GB, but after the sluggishness it plagued my system with, I uninstalled it and lost interest in Android Development.

No, I don't have anything on Kotlin.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM: 10:49pm On May 23, 2020
sammsimm:
my PC is not hot, I'm just having some challenges with the android emulator( unable to install haxm), and I can't run any project with my real phone connected
I think I had to watch a YouTube video to get haxm installed very easily, but I don't have the link, sorry.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM:
Adeleye1212:
Sir do you suggest I go for java
"Java – Java is the official language of Android development and is supported by Android Studio. IT HAS A STEEP LEARNING CURVE.

Kotlin – Kotlin was recently introduced as a secondary “official” Java language. It is similar to Java in many ways but is a EASIER TO LEARN."

That's a quote from androidauthority.com


If what you want is Android Development, I'll advise you to learn Kotlin, but if you think your choice has to be between Flutter and Java, your hardware is inadequate for Flutter Development and you are left with Java.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM: 9:42pm On May 23, 2020
dipopooo:
imagine, my RAM is 4GB I have been battling with the flutter installation for the past 3 weeks and AMD processor is another issue
Someone said his 12GB system was always getting very hot whenever he runs the Android Emulator and you'll need multi-core processors (not dual core), another person with 16GB system said the minimum requirement should be 32GB of RAM because his 16GB system was lagging too: that's when I gave up and uninstalled everything Flutter that took me about a week and lots of data to install.

I'm not trying to discourage you o. I'm just telling you what lies ahead if you eventually get your system successfully set up for Flutter Development.
ProgrammingRe: Which Of Them Is Better To Learn (flutter Or Java) by SUPREMOTM: 9:03pm On May 23, 2020
Adeleye1212:
Please which of them is better to learn between of them
Flutter is not a programming language, it is an 'sdk' short for 'software development kit'. The programming language used in flutter development is Dart, created by Google.

Nobody should tell you what to learn and neither of them is better than the other, but let me give you a heads up. To create mobile apps with Flutter, you will need to install Android Studio and Android Emulator.

After successfully installing them, my 8GB memory laptop started lagging BADLY taking the fun away from the development process. I checked stackoverflow and I saw it was a universal issue. My point is, for smooth Flutter Development, you need at least 16GB of memory on your system.

Official hardware requirement is "3GB minimum and 8GB recommended memory", but I assure you it's a setup for frustration. If your machine has less than 8GB of RAM, forget Flutter.
ProgrammingRe: Free Training: C# And .net Core by SUPREMOTM: 8:31pm On May 23, 2020
IMO01:
@supremotm add me
Sorry, I left the group.

Delete your phone number please.
ProgrammingRe: Free Training: C# And .net Core by SUPREMOTM:
Edited
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM: 2:42pm On Apr 09, 2020
MT:
@supremotm I will look at how you can subscribe to the group.
Thanks

Just announce on that thread whenever you are about to start, I'll keep calling some of the phone numbers of the other enthusiasts until someone adds me to the group.
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM:
wapSmart:

using System;
using System.Windows.Forms;

namespace Billing_System
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
}

private void productToolStripMenuItem_Click(object sender, EventArgs e)
{
// to open child form mdi(main) form
Product p = new Product();
p.MdiParent = this;
p.Show();
}

private void newBillToolStripMenuItem_Click(object sender, EventArgs e)
{
NewBill nb = new NewBill();
nb.MdiParent = this;
nb.Show();
}

private void viewBillsToolStripMenuItem_Click(object sender, EventArgs e)
{
ViewBills vb = new ViewBills();
vb.MdiParent = this;
vb.Show();
}


}
}

Whenever you post source code on this forum, format it so it can look organized and readable like this.

To achieve that, select your code (Ctl+A), then click the octothorpe symbol (#) in nairaland's text editor before you click the Submit button.


The code above only tells us that you have 4 forms (at least) and you want to set one of them as an MDI parent form. You want the 3 other forms to display as MDIChildren within the MDIParent form when certain menu items are clicked.

You should know that codes are generated when you set or do not set certain properties from the Properties Window in Visual Studio Design View. Keep troubleshooting and you'll eventually get the solution since you are the only one with complete access to your source code as well as your forms' design.

Don't worry, you'll be the better for it after you successfully detect the cause of the Exception.
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM:
Duplicate Post Deleted
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM:
Thenaijaitguy:
Good day @ MT
Good day @supremotm
It's good to know that we have .net expert in the house .
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM: 12:01am On Apr 08, 2020
MT:
There is just ONE way this can happen.
@MT is right.

@wapSmart, you need to thoroughly inspect every part of your code where you have referenced other classes.
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM: 11:50pm On Apr 07, 2020
Now, we do not get that exception and the code works perfectly because we have set the OBJECT REFERENCE variable to an INSTANCE OF AN OBJECT. What this means is we have ASSIGNED A TYPE OF CAR to FERRARI. So, when we click the MOVE MY CAR button, the Move( ) method of the car class is invoked correctly on Ferrari and the message box is displayed, with no error.

Car Ferrari = new Car( );

ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM:
MT:
I assumed you are using C#. What that means is you didn't instantiate the object. For instance , let's say you have a class named Car. If you only create the object this way: Car Ferrari {get; set} . This will create object Ferrari but nullreferenceexception error will be thrown because you haven't assigned a value to the object.
Ferrari is an OBJECT REFERENCE variable not an OBJECT itself, and Ferrari will be stored on the stack like every other value type (all the primitive types apart from String are value types). Objects are stored on the Heap.
ProgrammingRe: Null Reference Exception Object Reference Not Set To An Instance Of An Object In by SUPREMOTM:
Let me first say, @MT is almost right....

There are two steps to creating an object (instantiation):

1. You create an OBJECT REFERENCE variable.
2. You create an INSTANCE OF AN OBJECT with the NEW keyword and then assign it to the variable you created in step 1.

Using MT's example, if we have a class called Car, and we type the c# code below,

Car Ferrari;


We do not have any object yet, what we have is an OBJECT REFERENCE variable, Ferrari.

If we try to access any member of the Car class with Ferrari, we will get "OBJECT REFERENCE is not set to an INSTANCE OF AN OBJECT" exception as seen in the picture.

Note that OBJECTS are REFERENCE TYPES and they are stored on the HEAP, but the REFERENCE VARIABLES are VALUE TYPES, stored on the stack; the reference variable is meant to store the memory address of the INSTANCE OF THE OBJECT that it is set to and point to the object in that address (reference the object), but since we did not set Ferrari to any Car Object instance, it points to NULL or it references null (nothing), meaning that Ferrari is not a car yet, but we are now trying to invoke the Move( ) method on it.

ProgrammingRe: Please Help! How Can I Be A Self-taught Programmer/developer? by SUPREMOTM: 10:49am On Mar 13, 2020
Web and mobile apps?
Start with HTML and CSS, then later learn some JavaScript.

Note:
1. HTML is not a programming language; it is a markup language that you will use to organise your content.

2. CSS is also not a programming language; it is used for presentation. It is used to give an appealing look to your webapp/website.

The two of them are compulsory tools for web developer to work with.

HTML and CSS work together, so, you may have to learn a little bit of HTML only at first but you will eventually have to work with the two at the same time.

ALL the information you need on these two subjects are on Mozilla Developers Network(MDN). Type MDN on Google, and with notepad on your laptop, you can begin the journey from there.

Spend about a month of consistent efforts to master them then get video tutorials from UDEMY on advanced CSS3.

DON'T BEGIN TO LEARN JAVASCRIPT UNTIL YOU UNDERSTAND ADVANCED CSS3 and don't touch bootstrap either until later.

1 2 3 (of 3 pages)