NewStats: 3,264,955 , 8,185,209 topics. Date: Thursday, 12 June 2025 at 11:07 PM 5f530

6382y

Larisoft's Posts 553r49

Larisoft's Posts

(11) (12) (of 12 pages)

larisoft: 12:45pm On Jun 18, 2015
think am in the duct tape category. but a few books have got me touching up codes more often than I used to these days
larisoft: 12:36pm On Jun 18, 2015
looks like the kind of question that ll reveal new insights, but op, how do you mean? would u rather they developed for apple...the web... or not publish their android apps on Google play store after production?
larisoft: 10:42am On Jun 17, 2015
I dont know...its only in Nigeria that a person tells you 1 person can do a thing; and as a proof; points you to one person who started it and abandoned it!

Anyways; we are talking about a browser which is supposed to be better than chrome here! One Naija man can build it. With mouth of course!

Congrats to the kids (whom I maintain; deserve recognition in consideration of their age) and kudos to the OP who spiced things up a little with interesting manipulation of language. But 1 person build a browser that is faster than chrome? Its possible. But I would have to see it first.
larisoft: 10:35am On Jun 17, 2015
seunthomas:

You miss it bro. Its actually a good thing to know many languages. It makes it considerably easier to identify the pitfalls of one language over another. As for your example. Its not even good enough because in java garbage collection would kick in as soon as that object is not used any longer. There is actually very little performance bottle neck in creating an object. So go and do your homework again.


Java garbage collector only kicks in when there is no more reference to that object anywhere else in the code. In my code above, I only printed a funny string and the garbage collector would handle it; but in a typical application, you usually want to hold all of that in an array. In such circumstances, Good luck with your JAVA BASED PERFORMANCE.

The experts here would readily that an operation like this, you defer object creation till your data is filtered; or use singleton classes.
Singleton classes to what you want to .

i.e. Person p = PersonFactory.getInstance();


Now, that is not the type of thing a PHP Programmer; whom after reading your "JAVA is better than PHP for server performance" sermon, and decided to implement his new project in Java might know.

Wonderful topic by the way. There's a lot of brainstorming going on and a lot of information being shared, even though I know the question will never be unanimously answered.
larisoft: 10:17am On Jun 17, 2015
Wonderful work, bro!

Just thinking..wouldnt it be wonderful if the whole thing was provided as a webservice? That way you can make calls like www.naijadatasite.com?info=lg&format=json and get a json,xml or array (i.e. anambra north, anambra south, ) response.

If it was done this way, more and more info could be added over time. It will be really useful to a lot of developers.

Thanks for your wonderful work!

2 Likes

larisoft: 1:55pm On Jun 15, 2015
lol...thats not the type of correction I meant; 'Fancy' is a subjective term and I darn know how javascript differs from css. Thought you'd shed a few words on the matter at hand..i.e. How the hell does one get 3d graphics in a browser?

wolexme:


you should say anything fancy and event driven in the browser is done by JavaScript.

by convention, anything fancy on the browser is done using CSS . but if u want it triggered through an event, u use js to manipulate the css.
larisoft: 7:30am On Jun 15, 2015
Still I maintain:

USE WHAT YOU KNOW BEST WHERE ITS ACCEPTABLE TO DO SO

I have been among the "I Know 15 languages...I use 5 everyday" and am telling you; that might be the first step towards knowing no language at all.

Those of us here who know PHP well know that there are functions in it that call direct C functions, while there are other functions that do the same job and yet; require interpretation to execute.

As for Java; knowing the language in and out is often the difference between "slow" and "fast". For instance, do you know how performance tasking creating objects are?

and you see someone write code like this:

for(int i = 0; i < database of 10000000 entries; i++){

johnny = new ('asd ');

if(johnny.isAboy()){

System.out.println(" I am a fool"wink;

}

}
....


And this GENIUS programmer who was using php only an hour ago, and has done little or no OP programming would expect it to run fast.


ONCE YOU UNDERSTAND YOUR TOOL WELL; THE DIFFERENCE IN PERFORMANCE BETWEEN LANGUAGES AFTER OPTIMIZATION IS USUALLY NEGLIGIBLE PERIOD! (EXCEPT YOU ARE USING C/C++ -WHICH YOU ARE PROBABLY NOT USING ANYWAYS)
larisoft: 7:19am On Jun 15, 2015
Am not a game dev; am commenting only so the experts can correct me.

Ordinarily, anything fancy done in a browser is usually JAVASCRIPT.

Other options would be coffeescript..actionscript...and the other waka scripts- most of which will require waka- plugins like flash and all those plugins your s wouldnt want to install.

Ngwa; correct me guys. This is an interesting question and Am just curious.
larisoft: 12:56pm On Jun 11, 2015
I think the answer just might be "any language you know darn well".

I have been an advocate of using multiple languages but let's face it;

does java rally outperform php? not if u know php in and out.

does java make cleaner codes than php? again; not entirely true if u know php in and out.

Finally; is php too east to learn? not if u intend to learn php in and out.

I think the best tool is that tool u know well.

1 Like

larisoft: 5:18pm On Jun 10, 2015
gee! I really have to check this out but is this even real? I mean writing a web browser usually cannot be accomplished by 1 person...not with having to understand http and socket protocols...parsing HTML...all sorts of HTML...fiddling with a JavaScript engine...

even if they used the android webview; they d still be using chrome underneath it... except that it d be slower...

this is quite interesting...
larisoft: 2:26pm On Jun 09, 2015
lol...its always great in the start
larisoft: 2:22pm On Jun 09, 2015
there is. u could use the command line.

but seeing as u didn't know what a server is... that's probably not a good idea.
larisoft: 4:39pm On May 09, 2015
Search for and "Nigerian Unis GP Calculator" on playstore. Also "Case Reminder" (which is more advanced). They are mine. If they satisfy your needs; my details are in the app. Goodluck.
larisoft: 10:07am On Apr 26, 2015
<?php

$name = $_POST['name']; //corrected this
$ = $_POST[''];

//... and validate your name and (I guess you know how to do that)


//set cookie
$time = time() + 60 * 60 * 7 * 30;
setcookie("", $name, $time);
setcookie("", $, $time); //corrected this too

//log in...
}


// now on the index page put

<?php

//check to see if already has a session; if yes, collect name and from cookie instead of form:

if(isset($_COOKIE[''])){

$name = $_COOKIE[''];
$ = $_COOKIE[''];

// against database name and and take in.
?>



}

And my guy..abeg dey try read code small before you copy paste am. There are three ways to never really learn programming and yet be a programmer. They are
1. Copying and Pasting.
2. Copying and Pasting.
3. Copying and Pasting Ruthlessly
larisoft: 11:40pm On Apr 22, 2015
talk2hb1:

I have met with great developers on the street who have nothing to do with Nairaland, when you see them in play you will like ohmyGOD!!! Are you for real.
What I meant by unscientific was most of those listed above are ppl you have done one or two things with in the past and that does not represent the entire population of Nairaland programmers or Nigerian Programmers generally.

I quite agree. I personally voted based on the person I know...and when you really come to think of it...there's no logical way to compare him with the rest since i dont know them. But then, we just have to keep the posts flowing dont we?
larisoft: 11:31pm On Apr 22, 2015
Abiodun2014:
Yea... For my do_.php script; the code is posted below

<?php
session_start();
require('incfiles/init.php');
if(functions::isloggedin())
{
if(empty($redirect))
{
functions::go($config->url);
} else {
functions::go('http://'.$redirect);
}
die();
}


if(isset($_POST["submit"])) {
//STEP DOWN VALUES
$name=$_POST["name"];
$=$_POST[""];
$redirect=$_POST["redirect"];
//CLEANUP VALUES
$name=functions::cleaninput($name);
$=functions::cleaninput($);
$=md5($);
$checkquery=mysql_query("SELECT name, FROM s WHERE name='$name' AND ='$'"wink or die(mysql_error());
$num=mysql_num_rows($checkquery);
if($num>0)
{
$banq = mysql_num_rows(mysql_query("SELECT * FROM `banneds` WHERE `name`='$name' AND `boardid`=0"wink);
if($banq > 0)
{
$binfo = mysql_fetch_array(mysql_query("SELECT * FROM `banneds` WHERE name='$name'"wink);
$reason = $binfo["reason"];
$date = $binfo["date"];
$unbandate = $binfo["unbandate"];
$today = time();
if($today < $unbandate) {
$pagetitle = "You Have Been Banished By one of the !.";
require('incfiles/head.php');
$ud = date('l jS F Y \a\t g:I A', $unbandate);
$bd = date('l jS F Y \a\t g:I A', $date);
echo "<h2>You Have Been Banished By one of the !.</h2><div class='display'><p>Reason: $reason<p>Banned Date: $bd<p>Unbanned Date: $ud</div>";
require('incfiles/end.php');
die();
} else {
mysql_query("DELETE FROM banneds WHERE name='$name' ANd boardid=0"wink;
$pagetitle = "U have Just Been Unbanned";
require('incfiles/head.php');
$msg="U Hav Just Been Unbanned Pls Go Back And Again";
echo "<div class='display'>$msg<br/><a href='javascript:history.go(-1)'>Go back</a></div>";
}
}

else {
$CookieExpire = 100000;
$time = 60 * 60 * 24 * $CookieExpire;
$time = time() + $time;
$key = $name . date('mY');
$key = strtoupper(md5($key));
setcookie("sessionkey", "$key", "$time"wink;
setcookie("", "$name", "$time"wink;
setcookie("", "$", "$time"wink;

$_SESSION[""]=$name;
$id=functions::_info($name, ID); $date=date();
$guestip=$_SERVER["REMOTE_ADDR"];
$guestbrowser=$_SERVER["HTTP__AGENT"];
mysql_query("UPDATE b_guestsonline SET time=1 WHERE browser='$guestbrowser' AND guestip='$guestip'"wink;

mysql_query("UPDATE s SET sessionkey='$key' WHERE name='$name'"wink;
if(empty($redirect))
{
functions::go($config->url);
} else {
functions::go('http://'.$redirect);
}

}
}
else
{
$pagetitle = "incorrect name and/or , make sure you type correctly your name & !";
require('incfiles/head.php');
$msg="incorrect name and/or , make sure you type correctly your name & !";
echo "<div class='display'>$msg<br/><a href='javascript:history.go(-1)'>Go back</a></div>";
}
}
else
{
$pagetitle = "Error";
require('incfiles/head.php');
$msg="Error";
echo "<div class='display'>$msg<br/><a href='javascript:history.go(-1)'>Go back</a></div>";
}

require('incfiles/end.php');
?>

Haba! That is unecessarily long na and even introduces a lot more than was asked.

please use this on page

//collect name and :
$name = $_POST[''];
$ = $_POST[''];

//... and validate your name and (I guess you know how to do that)


//set cookie
$time = time() + 60 * 60 * 7 * 30;
setcookie("", $name, $time);
setcookie("", $, "$time"wink;

//log in
}


// now on the index page put

//check to see if already has a session:
if(isset($_COOKIE[''])){

//if yes, collect name and from cookie instead of form:

$name = $_COOKIE[''];
$ = $_COOKIE[''];


//.... and validate then log in automatically.

}

Hope this helps. I'm a fan of short clean code.
larisoft: 11:17pm On Apr 22, 2015
You know your onions, bro
larisoft: 11:14pm On Apr 22, 2015
Nice one...
larisoft: 11:08pm On Apr 22, 2015
If your aim is to really master programming (I.e. make games, hardcore software requiring AI, Robotics, e.t.c )... a university degree will actually not help very much. Matter of fact; your chances of learning hard core programming might even diminish when you are bombarded with GS Courses, and abstract mathematics year in year out. Programming is learnt by consistent practice and a lot of time and the university system simply put; does not encourage this, while less formal institutions like NIIT provide just the right platform for this.

However, if your looking to do soft core programming...like web deg (Not programming) ...and then climb the corporate ladder QUICKLY to project manager or IT Head; a university degree is a must.

From your post; you seem to be doing this for the love of code...NIIT is my recommendation.

1 Like

larisoft: 11:53pm On Apr 14, 2015
I am an experienced developer in C#, java, Android, PHP, Mysql, Javascript and C and having taught programming to many of my friends, I can deliver what you need.

Projects I've worked on are:

http://ppdaonline.com
http://unecgeeks.com
http://campusnaira.com (leading the development team).

and a lot of others which are offline in (c#, java)

my no is 07030692244 and email is [email protected]
larisoft: 11:10pm On Apr 14, 2015
Have not been around for long but the highest I've seen is pcguru
larisoft: 4:07pm On Apr 11, 2015
pcguru1:
Yep Micodon is right you need to a Container like Tomcat,GlassFish , IBM Websphere or so am not sure, JVM just intepretes and has no nothing to do with Server or servlets.

.NET Framework hmmmm frankly i'm not sure how it explain this i know it allows different MS techs to run together you still need IIS for the Server side.

but regardless i think he meant you can't escape not using JVM then again not sure how one can run Java without a JVM so the talk of JVM shouldn't be brought up.

baba...its always a pleasure running into ur post

1 Like

larisoft: 11:32pm On Apr 10, 2015
I am a rounded programmer (c#, php, JavaScript, java, mysql , c, and web frameworks...ajax...jquery...etc)


I single handedly built

http://ppdaonline.com
http://campusnaira.com
http://unecgeeks.com


and a lot of desktop/ android apps.

I will deliver that site in a week and we ll test it in two weeks. and I usually stick around for maintenance. my no is 07030692244.
larisoft: 11:22pm On Apr 10, 2015
mmm... I always said it...Php doesn't pay. How else do i explain a programmer seeking money online to provide a code snippet?

java nd c# all the way man...
larisoft: 2:17pm On Apr 06, 2015
hi dear; I want to help but ur question is not properly structured. what are the features of ur prospective app? what existing source code are u contemplating?

this should determine whether to tweak...or build
larisoft: 2:12pm On Apr 06, 2015
I kinda already covered the GPA thing THOROUGLY with this “https://play.google.com/store/apps/details? store/apps/details?id=com.larisoft.nugc"

....Nigerian Unis GP calculator. does single semester...cumulative...etc
larisoft: 12:06pm On Apr 05, 2015
Me too.. used it to build a desktop app. Moving from windows form to it was "Drinking a cup of cold water after just emerging from hell"
larisoft: 11:40am On Apr 05, 2015
Its meant for all universities using the 5.0 GP Calculation system. Which would be over 80% of Nigerian universities. newer versions would cover these am sure.
larisoft: 7:41pm On Apr 04, 2015
The Nigerian Universities GP calculator has been released for android. This is an app that helps you manage your grades in the university, from first year till final year. It tells you your gp for each semester, and your cumulative overall GP. All you have to do is enter your grades and unit loads for each semester in the app and the app computes your GP according to Nigerian grade point system (5.0).

The app can be ed from

https://play.google.com/store/apps/details?id=com.larisoft.nugc” or search for “Nigerian Universities GP Calculator” on google playstore playstore.


Questions and observations are entertained on the Nigerian Universities Facebook Page; https://www.facebook.com/androidnigerianugc.

Features:
ONE SEMESTER CALCULATION: For when you want to calculate only one semester’s GP. You don’t need to enter too many details.

CUMULATIVE: [/b]For when you want to calculate cumulative GP. Every new semester you enter is saved. Semesters can be edited (in case all results are not released at once). This part of the app can be locked with a .

[b]BACKUP YOUR GP:
What if you lose your phone or buy a new one? This feature lets you store your Grade details (encrypted and accessible only to you) in the clouds. Retrieving your backed up cumulative grades is as easy as clicking “Backup GP” and then; “Recover backed up GP” on your device.

ALARM CLOCK: [/b]The Alarm clock in the app is based on the premise that If you are woken up by your GP Calculator every morning; chances are that you will spend the day working towards upgrading and maintaining it. This very loud alarm will make sure you don’t oversleep every morning.

[b]WHAT IF FEATURE:
after calculating your GP, you may be wondering; what if I had scored A instead of B in this course? This feature lets you fantasize to your heart’s content. All you need do is select a saved semester (under cumulative), and edit it, specifying the grades you wish you had scored, and the app will show you what your semester GP would have been if you had scored it, as well as the impact it would have had on your overall cumulative GP.

Other Features Include:

- There is a help button at the top right edge of every screen offering explanation for each screen view.
- Nigerian Universities GP Calculator is completely free and will always be

larisoft: 4:54pm On Mar 31, 2015
Please try to learn a programming language first. Even if its just HTML/CSS and PHP; then a firm can help you master it and learn others. Your current skill level (Computer appreciation and use of common applications) is not enough to get you into a software company even as a marketer except the firm has other motives.

Just my 2cents.
larisoft: 4:47pm On Mar 31, 2015
I've been programming android for so long and loving it that any Nigerian app on that platform absolutely deserves my attention. Kindly add me to the list ([email protected]) in case its released and am not following the thread.

(11) (12) (of 12 pages)

(Go Up)

Sections: How To . 54
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or s on Nairaland.