₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,153 members, 8,420,588 topics. Date: Friday, 05 June 2026 at 05:40 AM

Toggle theme

Larisoft's Posts

Nairaland ForumLarisoft's ProfileLarisoft's Posts

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

PhonesThis Is Why You Should Uninstall Flash Share Now!!! by larisoft(op): 10:19am On Apr 06, 2016
Did you know that flashshare has access to

1. Read all the text messages in your phone
2. Send messages from your phone when they want to?
3. Read your contacts list
4. Read your call log
5. Edit your call log (Making it look like you called or were called by someone)
6. Get full list of all the apps you have installed in your phone
7. Control other apps in your phone

Yes!

If you have the software called FLASH SHARE right now on your phone, then you should know that all the secrets you thought you had on your phone are sitting on someone's computers!!!

FLASH SHARE is given to you for free, but in exchange for that, they take all data about you on your phone, and sell it to anyone that is interested in finding out about you.

if you are still in doubt, open your phone settings, go to apps, open flash share, scroll down to see the permissions of this app.

You will see all the things this app can take from your phone without prompting you for permission.

If you are using your phone for anything classified whatsoever. UNINSTALL FLASH SHARE NOW!!!!

ProgrammingRe: Help! Im Stuck With This C# Program by larisoft: 7:45pm On Apr 01, 2016
Also note that you should use if(!name.Equals("Quit")) as opposed to (name!="Quit").

Keep it up.
ProgrammingRe: Help! Im Stuck With This C# Program by larisoft: 7:42pm On Apr 01, 2016
Well done, bro.

The problem with your code is that you declared your list to accept only contact objects (List<Contact>wink, but you are trying to force a string object into it (namelist.add(name)).

Now, this will work;
List<Contact> nameslist = new List<Contact>();

Console.Write("Enter your name" );

string name = Console.ReadLine(); // I've stored it into a string now

//we are adding a contact object to a contacts list
Contact contact = new Contact();
contact.setFullName(name);
nameslist.Add(contact);

int i = 0;

while(name!="Quit"wink // I want the program to end if a user enters "Quit".

Console.WriteLine(i);
i++;

------OR---
//use a simple string list instead of a contact list

List<String> nameslist = new List<String>();

Console.Write("Enter your name" );

string name = Console.ReadLine(); // I've stored it into a string now

nameslist.Add(name);

int i = 0;

while(name!="Quit"wink // I want the program to end if a user enters "Quit".

Console.WriteLine(i);
i++;
}
ProgrammingRe: Stuck In The Algo Lab by larisoft: 8:43am On Apr 01, 2016
Your prime number function appears to be testing for just "non-even" numbers..and it does this check just once too.

it should divide all numbers below itself, if it gets a number that divided it and that number is neither one, nor the itself, only then should you return false.
Tech JobsRe: Urgently Needed: Software Developer by larisoft:
Nna eh,
ProgrammingRe: How To Hire Good Programmers In Nigeria (an Experience Based Article) by larisoft(op): 7:42am On Mar 31, 2016
dhtml18:
^^^thank you jare, I knew there were professors (real ones at that) that will do a better explanation than my trolling self. . .
Thanks, bro.
ProgrammingRe: How To Hire Good Programmers In Nigeria (an Experience Based Article) by larisoft(op): 7:27am On Mar 31, 2016
Dhtml18 already answered the question partially. but you may still benefit from me explaining why the code doesn't run.

1. the name of your class "Math" conflicts with the system static class "Math". You should rename it to "MathDemo", or "MyMath".
2. You have not imported the java.lang. library which houses the Math class.
3. MOST IMPORTANTLY: your use of Math.random is wrong here. the Math.random function does not accept parameters. It simply returns a random double value between 0.0 and 1.0.

Thus: this will work (using your code)

//import the Math library .

import java.lang.Math;

//Math changed to MyMath

public class MyMath
{
public static void main(String[]args)
{
int x = 100;

//changed this (formerly System.out.println(Math.random(x)))
System.out.println(Math.random());

//this will work fine now
System.out.println(Math.sqrt(x));
}
}


Good luck, bro. You wont regret learning Java. You can be sure of that.
ProgrammingRe: Join Nigeria's First Social Network by larisoft: 10:35am On Mar 30, 2016
I checked it out. Sincerely, If you really implemented that yourself from scratch, you deserve a lot of praise. Its not bad at all for a start... though I noticed there is no confirm password column.

However; another social network? I don think anyone needs that right now.
ProgrammingRe: Explaining To Non-programmers How Complex Software Development Is by larisoft: 10:26am On Mar 30, 2016
Lol!!! really cool post.
ProgrammingRe: Who Has An Idea On How To Build A Remote Desktop File? by larisoft: 10:16am On Mar 30, 2016
Build remote desktop file?

Do you mean create a file that is in txt/jpg/docx..etc format on a remote computer?

Or do you mean compile code that is sitting on a remote computer from your own computer?

Anyway, I think I have done what you are looking for in the past, and you may find my answer useful.

What you are trying to do requires a server ( a web host), a client, another client, and a connection joining the three computers. The server is the computer in between the two clients (desktops in your case). The first client is your computer. The second client is your remote computer. And the connection is any network that can facilitate communication among these machines. It can be as wide as the internet, or as small as a local wifi network in your home.

Now, you will need to create scripts on the server which will receive commands from your computer, and make them ready for the remote computer to download. This is called a "web service" and can be implemented in PHP, RUBY, PYTHON, e.t.c. Also worthy of note is the fact that you could use AWS here, but seriously that's like killing an ant with a tractor.

Now; you will need to install a software on the remote computer that checks the server at a defined interval, once it finds a new command, it executes it. If you dont have the owner's consent (Like I usually dont), you will have to write your own software which will run smoothly in the background,receive, and execute your commands for you. Languages that can implement this very well are C#, C++, Java, C among many others. If on the other hand, you have the owner's consent, you can look into software available in the market for that and all you will have to do is install the software on the two clients, and maybe read the software manual to see how to use it.

This command will then contain what you want the remote computer to do.

if you want it to create a word document; the command could be something like "notepad new_document.txt";

the receiving software, if written in C#, will execute this command this way:
System.Diagnostics.Process process = new System.Diagnostics.Process();
System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
startInfo.FileName = "notepad.exe";
startInfo.Arguments = "new_document.txt";
process.StartInfo = startInfo;
process.Start();

And "new_document.txt" will be created in the remote desktop.
ProgrammingRe: Must Everything Go The Web Way? by larisoft:
Lol...the reasons, as i perceive are,

1. Desktop development is expensive: writing programs that are tied down to one type of hardware is expensive. It will usually not run on any other platform than that one for which you've written it. Even with java around, you cant really write an app for the masses and expect them to understand how to install their own jvm. So, you usually have to get programmers that understand all the relevant platforms you are targeting. This costs far more money than you will give one PHP kid to set up one site for you.

2. Desktop/offline apps are difficult to maintain:
Those of us that do native Desktop and Mobile App development will tell you that these platforms are always releasing new versions of their os's and making our hardwork obsolete barely months after we release them. Only early last year, it was cool to write android apps for Ginger bread. Today, anyone who targeted that platform that year must have updated their codes, or it would be more or less useless on playstore. Windows forms is outdated. Windows WPF is outdated. Visual Studio 2012 is outdated. fck! even jelly bean is outdated!!!

On the web however, notepad++ has been relevant since it came out...and so has notepad..and sublime_text. And no matter what version of PHP is coming out these days, your old PHP code will always run fine. Mysql still runs fine. .asp still runs fine. jsp still runs fine. Who could ask for more?

3. Offline Development has a steeper learning curve:
If you have been doing only web development, you will find moving over to desktop/offline development far harder than the other way round. You usually have to configure your machine to do stuff depending on what tools you are using and I swear, netbeans and eclipse and qt were not made with newbies in mind. What about custom hardware development...the type where you require C or perhaps, Assembly. Goodluck is the word.

With web...everyone is doing web these days; cos its easy to get in. Writing scalable web apps is hard of course...but that's another story.

Now, the obvious implication of this is that its harder to get a team for offline development than for web development.

4. Offline Development has higher customer barrier: its more difficult to get a potential customer to install a program, than it is to get them to visit a url. savvy?

5. Most importantly: Low Demand:
Today's businesses, after considering all the facts stated above will always prefer to do a web application first. Developers stick to what pays them the most. Hence; we have fewer and fewer desktop/offline developers.


However, really passionate programmers will not let these reasons stop them. They will usually try to learn both web and offline development because at the end of the day, your knowledge is kinda shallow if you do not know both.

just my opinion...
ProgrammingRe: Artificial Intelligence by larisoft: 10:35pm On Mar 27, 2016
My humble opinion; Computer vision which has been implemented extensively in the OpenCV(C++) and JavaCV(Java), and are open to developers to use and there is absolutely no need to go about designing it again.
ProgrammingRe: Programming Goddess by larisoft:
.
ProgrammingRe: How To Hire Good Programmers In Nigeria (an Experience Based Article) by larisoft(op): 10:15pm On Mar 27, 2016
seunthomas:
I can attest that larisoft is not an average programmer. From what he has posted on github that i have come across, the guy is an advanced programmer. By their fruits you shall no them. He is also very creative in that he uses available stuff to get his desired results.
Lol! Dancing Azonto...thank you sir!
ProgrammingRe: Artificial Intelligence by larisoft: 5:20pm On Mar 27, 2016
First, do you mean design the algorithm or implement it? If the former is the case, you should be talking to professors and doctorate researchers (though I suppose you mean the latter).

Second, wouldnt it be better if you stated what your drone is trying to achieve, the platform it runs on, and let the "smart" guys determine how to achieve your goal?

Thirdly, what you are asking for is not the sort of thing small boys trying to prove themselves here can provide. Its for the quiet, established, guys in the background who will not take you seriously till you state your motivation package.
ProgrammingRe: I Want To Create An AI (artificial Intelligence) With Java by larisoft: 5:13pm On Mar 27, 2016
Celebrimbor:
hahahahahah..... bros firstly I would like to ask who did it. secondly I would like to say everything has a cost.... do you know what it would cost you to come up with an AI? are you ready to pay it? if you are ready and willing fine fire down and pray you make a breakthrough..... but you can channel that same energy to solve a problem that is more important, valuable and immediate than an AI..... my opinion tho
an AI you call it? Are you aware that an ordinary chatbot that has a series of conversation lines to exchange with a user, depending on input, is actually using artificial intelligence? Are you aware that a music player that makes patterns off your listening habits and plays the songs you like when you like it utilizes artificial intelligence?

Bro, we are all learning; but if you dont know a thing, do not discourage a person from doing it.

@OP, you can definitely do it! you will just need a lot of data...not monstrous at all...just so your app will have a wide range of responses to different scenarios. God's speed.
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 5:40am On Mar 27, 2016
seunthomas:
Sorry man but you seem to have zero idea about software development. A degree does not make you a software developer. Its your desire to be one. And yes you are right some people cram codes(everyone starts with that cos software development is abstract and foreign to our natural way of thinking).
Thanks for contributing, baba.
ProgrammingRe: My New C# Open Source App Prevents Laptop Background Data Consumption On Windows by larisoft(op): 5:38am On Mar 27, 2016
seunthomas:
Nice one bro. But with your experience i would recommend you go lower. Why use netstat when you can create something lightweight that provides more information to you than netstat using libraries that dissect and filter the network stack directly. I know netstat is on all windows from 98/2000 but it means you solution is less likely to port to another platform because of your dependencies. What you have created is a foundation for a very nice security product.
Baba seunthomas, thanks so much. I will not form; I didnt know or think I could go lower than netstat; but I'm reading it up currently in preparation for a possible cross platform version (covering linux and who knows? mac). You should know I will consider working with you on any project a great experience. Your understanding of these things is just deep. Thanks again, bro.
ProgrammingRe: My New C# Open Source App Prevents Laptop Background Data Consumption On Windows by larisoft(op): 5:25am On Mar 27, 2016
ALLU:
larisoft, the UI is so simple and easy to use, and also, windows is a b***!! Even IE phones home WHEN ITS NOT RUNNING.

consider adding helpful tags that run on opening the program which have the[[] do not display this message again] option to help clear any confusion. You could also speed up possible debugging/updating by enabling the user to send you a message directly without going to your email..

That way, both lazy and enthusiastic users give you feedback. Welldone once again...youve really paid your dues, done your homework.
ALLU, you suggestions are so cool...i just have to add them before this week runs out. The making a sound when an application is closed is ...how come i never thought of that? thanks, man.
ProgrammingRe: My New C# Open Source App Prevents Laptop Background Data Consumption On Windows by larisoft(op): 10:46am On Mar 26, 2016
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 8:33am On Mar 26, 2016
FrankLampard:
Who are they? I will like to know them, list all of them for us to see.

Thank you.
Sorry, Frank. But the fact that you dont know them, or worse still, that you may be insinuating that you are better than all programmers on this forumn who have no cs degree, tells me you are a newbie in software development...if you are in it at all, and I shouldnt flatter you with a response anymore, except you are asking to learn something and become better.

I am sincerely not being rude.
ProgrammingMy New C# Open Source App Prevents Laptop Background Data Consumption On Windows by larisoft(op): 7:47am On Mar 26, 2016
Recently, I realized that everytime I recharged my modem, I used just 70 percent of my data. The remaining 30 percent was usually guzzled by background processes downloading and uploading content useless to me.

Thats why I had to make this application. The, app, titled " This Nonsense Must Stop", kills any process...any process at all... that tampers with my data in the background.

You can add exceptions i.e. programs you dont want the app to close, and you can remove them when you want too.

The program, like all my other apps is completely free and open source and free of adverts (I hate that shit).

It was implemented in C# (Just because I targeted windows machines and again, c# is kinda cool), so if you know the language, you can head over to github, and do what you will mercifully with the code.

Thanks everyone. User response is gold...

ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 7:38am On Mar 26, 2016
FrankLampard:
That software was built by people with lake of information of how to solve IT tasks (Non Computer Science graduates), knowing fully well that millions of candidates will be using it, yet they employed Non-Computer Science graduates to develop the software. Reason for all the present outcry by candidates
lol... No. If its that bad, then it was built by people who had IM and no skills. I know people here on Nairaland that would have built a software Nigeria would have been so proud of, they would have exported it to other countries, and these people dont have computer science degrees.
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 7:34am On Mar 26, 2016
@proxy, why not create a boolean value that you set to false when each question is loaded, then once an answer is selected, check if the boolean is false, if it is false, process the click and turn it to true. If not, do not process.

Once a new answer is loaded, set the boolean flag back to false.

This is just managing the bug, not eliminating it. But seeing as you may not be familiar with this language, it can't get any worse.
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 7:24am On Mar 26, 2016
[url][/url]
proxy20:
Speaking of cbt please interpret this codes in vb.net
sorry for hijacking this thread

Private Sub Form_Load()
Set db = OpenDatabase("C:\vb\data base files\quiz.mdb" )
Set record = db.OpenRecordset("quiz" )

Option1.Value = False
Option2.Value = False
Option3.Value = True

End Sub

Private Sub Option1_Click()
If Option1.Caption = record.Fields("answer" ) Then

If OptYes.Checked then

marks = marks + 1
Label2.Caption = marks
Else
marks = marks - 1
MsgBox ("wrong" ) ;
End If
End sub


//when this form loads this is the event handler called
Private Sub Form_Load()

//connect to db
Set db = OpenDatabase("C:\vb\data base files\quiz.mdb" )

//retrieve records
Set record = db.OpenRecordset("quiz" )

//set option values. Thus if user selects option 3, true is returned to the Option3_Click event handler
Option1.Value = False
Option2.Value = False
Option3.Value = True

End Sub

//when user selects option1
Private Sub Option1_Click()

//if option1 is the answer
If Option1.Caption = record.Fields("answer" ) Then
If OptYes.Checked then

//add a mark
marks = marks + 1

//update the marks showing on a label on the screen to reflect new marks
Label2.Caption = marks

//if option1 is not the answer, remove a mark and show user an alert dialog that he is wrong
Else
marks = marks - 1
MsgBox ("wrong" ) ;
End If
End sub

ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 7:12pm On Mar 25, 2016
FrankLampard:
Sorry, my real name is not Frank, lolz. I just love the football player.

BTW: Larry, it is people like you that built Jamb CTB software.
Lol! Too bad I am yet to secure so juicy a contract... Am sure I would have done a wonderful job both for jamb and myself.
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 2:10pm On Mar 25, 2016
I absolutely agree on the big data part...thats where we are headed. A degree is not really needed to learn it, but that's beside the point. I appreciate your input, Frank.
ProgrammingRe: How To Hire Good Programmers In Nigeria (an Experience Based Article) by larisoft(op): 2:07pm On Mar 25, 2016
Nmeri17:
shocked shocked Beelzebub is that youhuh
funny dude... cheesy cheesy cheesy
ProgrammingRe: Programmer’s Writer’s Block: Causes And Solutions by larisoft(op): 10:15am On Mar 25, 2016
Thanks for "noticing me", Frank. Seriously, am always happy to share my opinions, get responses, and modify those opinions based on the education i get from such responses. Also, do not think for one minute that I do not respect your formal, and consequently; deep understanding of these things. I do.

Now, back to the matter. In software development, Google hires computer scientists because they work on projects that require the highest optimization techniques. The projects google/microsoft/tweeter e.t.c work on are rarely ever the basic CRUD applications you will expect a typical software firm in Lagos makes for her small business clients.

Will it make sense for this software firm to hire mathematicians, algorithm chiefs, computer scientists, and then keep them working perpetually on web design and basic crud mobile apps - (which you will agree, is what most small business apps are about)? Will it not be better to hire the mathematicians, algorithm chiefs, and computer scientists as consultants on a per project basis - for when really big projects come ( and they do only occasionally)?

What is required to make useful software is almost always a thorough knowledge of the technology one is using (for fluency), an understanding of design patterns (for maintainability), and the ability to work with others ( all great software are made in teams). I, for one, spent so much time mastering HTML and CSS once; and today, beginners that mastered wordpress in a couple of days make more commercially demanded websites than I do. I am good at algorithms, data structures, code in 8 languages, on 4 platforms, and numerous frameworks. But if a firm that specializes in making quick content management websites were to be hiring, I'd be a wrong candidate.

Firms should not hire people in a certain way simply because google does that. You should look at what you do and and find the best people for that.

I hope you see where am coming from, Frank. would love to hear your response to this.
ProgrammingProgrammer’s Writer’s Block: Causes And Solutions by larisoft(op): 3:37pm On Mar 24, 2016
Unfamiliarity: you are a java rock star, but are working on your first C# MVC project. You have crystal clear paths you want your code to take, and the results you expect are precise too. But you keep running into hitches and it seems like you are having an unproductive day.
The truth is; you are just in unfamiliar territory and even though you think you do, you do not know your left from your right as long as this technology is concerned. You will love this new technology once you have immersed yourself in it but in the mean time, be humble, expect the bugs to come in their thousands, and regard every bug conquered as an achievement for the day; knowing that you may not accomplish your main task that day.
Also be quick to ask anyone who knows the language/technology for help. It doesn’t mean they are smarter than you. It simply means they’ve spent more time with the technology than you have.

Mood: If you feel heavy in the heart for any reason, chances are you will not flow in code. Also, if you are tired or sleepy, put off coding for a while. The ideal time for programming is usually immediately after waking up or in the morning, when the day’s events have not corrupted your mood.
No matter how tight the deadline, sleeping now and working later may mean you will be 2x as productive later. If you are not working on a team, this may be the solution.
Also, managers should realize that corporate giants like google and Microsoft that let employees sleep during working hours are not foolish.

Uninteresting Domain: When a computer scientist who enjoys only competitive programming is made to work on enterprise software…thay are almost always bored and unproductive.
Enterprise software requires little or no math most of the time. All the sorting, graphing, treeing, are usually already implemented. To make matters worse, enterprise software is usually designed before implementation to specific details by a software architect, so programmers working on the project are usually merely programming according to specifications, so detailed, even variables names are known before you start.
This pales sharply with competitive programming where you are asked questions that require ultra brain activity to resolve and where winning makes you the smartest guy in the room…with all the testosterone this is bound to intoxicate.
Hiring managers should recruit people that fit the job description. Hiring mathematicians for a software company that mostly develops CRUD websites is not a good idea. Quote me anywhere.

You are not proud of what you are doing, and don’t want to learn:

This one happens to me when am contracted to work on a site, and I have to spend time writing html code. For f’s sake; learning HTML thoroughly doesn’t add anything to my CV.
If I was to encounter a html bug that lasted more than a minute…I’d certainly flare up. WORK BITCH!!! WORK!!!


Programming is just not for you:

This is rarely ever the case, but some people eventually realize that as a result of their personal disposition, they just may have no business programming. People that typically fall into this category are:
1. Any one that loves social life so much so they cant ever spend an entire day coding.
2. Anyone averse to logical reasoning (You’d be surprised at how many Nigerians fit in this category).
3. If you are dumb…or better still, everyone tells you are dumb…I hear programming is not the best place for dumb people. Lol!
ProgrammingRe: [source Code] A Program That Solves A Transportation Problem - By Frank UMEADI by larisoft: 3:31pm On Mar 24, 2016
I admire the algorithm...

But no thanks about the restricted source code...and asking for a little fee to have said code.

Anyone who knows the value of this algorithm knows how to get it.
ProgrammingRe: Bubblebrainer; An Open Source Game by larisoft(op): 3:53pm On Mar 23, 2016
ALLU:
I've been trying to play the hard level since this morning. wicked stuff. hehe
lol... i will probably look into updating it and easing things up a little

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