₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,375 members, 8,445,191 topics. Date: Tuesday, 14 July 2026 at 03:24 PM

Toggle theme

DualCore1's Posts

Nairaland ForumDualCore1's ProfileDualCore1's Posts

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 371 pages)

LiteratureRe: A Letter To My Son's Teacher by DualCore1:
You could not cite the original author of this.


This piece was written by Abraham Lincoln and you can see a cleaner, well formatted piece of it here:
http://www.netyorum.com/bolum/dostluk-sevgi/20030320-10.htm

Edited
WebmastersRe: Voguepay is Processing!!! by DualCore1: 10:07am On Aug 15, 2012
ActiveMan: THINKING OF GOING TO INTERWSTICH DIRECTLY JOOR
This solves nothing. When you go to Interswitch directly, you meet this problem directly.

...and I don't think Interswitch speaks English, they speak error codes.
WebmastersRe: Voguepay is Processing!!! by DualCore1: 11:59am On Aug 14, 2012
Voguepay please disable the GTPay option until this is resolved. This is infuriating a lot of customers across different sites when they are debited and still get a failed transaction message.

This is not your fault but do some damage control. Disable that option or put a message on the transaction details page advising people not to use it as its temporarily down.

The people who use Voguepay see Voguepay as the people they are dealing with not GTPay or GTBank.
WebmastersRe: PHP Vs Python: Little Challenge by DualCore1: 11:54am On Aug 14, 2012
moderatorr: Facebook is in PHP Google is in Python. Who do you want to be?
I want to keep being me: A web solutions provider.
My goal is not to write solutions in this language or that language but to write the best solutions in the language that is best fit for it.
WebmastersRe: How Much Did You Make In The First Half Of The Year? by DualCore1: 9:46am On Aug 14, 2012
Make una leave this thing
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 5:06pm On Aug 13, 2012
sunical: Good quiz by Dual Core but I really don't know the importance of it.
Dual Core: This is totally senseless for a real life scenario but we can learn a thing or two about PHP's randomness from this.
Dual Core: The aim of the quiz was to create the awareness of creating a seed before using the php random functions.
nollyj: It is just a learning process. Doing something I have not thought of before
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 11:50am On Aug 13, 2012
Oya take your medal, Nolly J!
WebmastersRe: My Nairaland Frontpage "Mod" For SMF by DualCore1(op): 11:32am On Aug 13, 2012
afam4eva: I think such a mod already exists. I came across one sometime back.
Do you have any pointers as per search keywords you used when you saw it? I did a hasty search with keywords like "frontpage mod", "featured topics mod" etc but could not pull up any mod.
WebmastersRe: My Nairaland Frontpage "Mod" For SMF by DualCore1(op): 11:28am On Aug 13, 2012
emmykk: Senseless did not communicate at all-just tell us u ka do a thing like that and leave ur cöntact
Sorry I don't speak English too well, I speak PHP and please don't contact me...cant help you.

Please I don't create threads with a general appeal, I create threads that will most likely be understood by only webmasters... this thread should not be on the frontpage. I don't want bankers and office clerks making comments, on this.

The webmasters who would need it would naturally make their way to the Webmasters section to gerrit. wink
WebmastersRe: Which Webhosting Company Is Good In Nigeria? by DualCore1: 11:05am On Aug 13, 2012
[quote author=Jo.dazzle]9ja hoster is fraud!!!!do not buy anything from that site... nothing!..they stole my 6500 from me..and their packages are fake.they dont have anything other than only reseller.there is no money back guarantee. to be fore warned is to be fore armed[/quote]Bro its still the same you who has been posting this link around here (as the best webhost): http://hostcoal.com/

WHOIS: hostcoal.com
===================
Name Servers:
ns1.9jahoster.com
ns2.9jahoster.com

Creation date: 03 Aug 2012 16:33:00
Expiration date: 03 Aug 2013 08:33:00


Maybe they delayed the processing of your order forever but you still got it from them, so where is the "fraud" or you may want to give us more explanation about this.
WebmastersRe: How Can I Make My Smf Website To Be Like Nairaland Front Page by DualCore1: 11:01am On Aug 13, 2012
^^ As a result of oga's inspiration, I have created this: https://www.nairaland.com/1017004/nairaland-frontpage-mod-smf
WebmastersMy Nairaland Frontpage "Mod" For SMF by DualCore1(op): 10:57am On Aug 13, 2012
First things first, I am not an SMF enthusiast so I dunno jack about their terminologies and procedures.

Problem: Several people have been posting request for a module that will give them something like the Nairaland frontpage on their own forums.

Solution: I spent some 2 hours coding a "mod" that does that. This is a very quick solution to this problem so don't expect anything wow.

See screenshots below:
I will want to install this for anyone who wants it on his/her forum. All I ask for in return is that you don't cry or shout sey dual core don scam you if I scatter ya forum during installation (remember I told you I dunno jack about SMF, I'm just providing a solution to a problem). ...ok ok I wont break your forum... just pulling your legs/hair.


Admin Area
https://easycaptures.com/fs/uploaded/626/5028128114.png

https://easycaptures.com/fs/uploaded/626/9168953956.png


Homepage
https://easycaptures.com/fs/uploaded/626/3400835846.png

Sorry I cannot pack this up into an SMF mod/addon cuz I dunno how to and won't learn. SMF is not my kinda thing.
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 8:46pm On Aug 12, 2012
nollyj: This is the simple way I can think of but there might be other ways to solve it.


<?php
srand(10);
$rand = rand(1, 100);
echo $rand;
?>
This is the best solution.
The aim of the quiz was to create the awareness of creating a seed before using the php random functions.

The best way to create a seed is by using php's microtime function as the seed as this is a fast changing number, something like:

srand((double)microtime() * 1000000)
and
mt_srand((double)microtime() * 1000000)

for rand() and mt_rand() respectively.


Thanks all for your input and respect to the guys who posted solutions with the ternary operator. I am glad my life doesn't depend on the ternary operator (yet).
WebmastersRe: How Much Did You Make In The First Half Of The Year? by DualCore1: 12:30pm On Aug 12, 2012
LoL
WebmastersRe: Adeleke Ojikutu, Pls. by DualCore1: 12:04pm On Aug 12, 2012
DAvIt0: dual core so yu dont own trudigits ha tot yu b ceo
Keep totting smiley
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 10:53am On Aug 12, 2012
sisqology: <?php
$new = rand(1, 100);
For ($x=1; $x <= 100; $x++)
{
Echo $new;
Echo "<br>";
}
Nice effort, I haven't run this code but from looking at it I can say this will create 99 lines of the same random number and when I refresh it will create 99 lines of another randomly chosen number. The probability of it being the same number as the first is 1/99 which is 0.01.
So this isn't a solution to the quiz.




The other example using sessions, thanks for your approach.

Any other approaches to this?
This na our own olympics.
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 9:19pm On Aug 10, 2012
I asked for a simple solution but any solution you have to this is fine... we could learn a thing or two from your solution.
WebmastersRe: The Google Doodle Olympics Goalkeeping Game: How Many Are Playing? by DualCore1: 1:44pm On Aug 10, 2012
https://easycaptures.com/fs/uploaded/623/9282139322.jpg

Beat that and I will beat your new record. grin
If you are unbeatable then we can just have a thread with pluasible reasons why we think you are on steroids and have passed all of Google's doping tests easily.....and we will trace your lineage to the point where we can see that Angel Hernandez is your distant relative and two developers working at Adobe (Photoshop department) are from your family tree.
WebmastersRe: Advice Needed On Normalizing A Database Table by DualCore1: 1:25pm On Aug 10, 2012
My suggestion: have two tables like so:

like_types (like_type, like_id);

likes (like_id, foreign_key, member_id)


For now, the like_types table will contain four rows with an auto_incremented ID (like_id). In the future you may have other things you may want people to like, for instance you may want people to start liking pictures or videos. You simply add that to the like_types table.

The 'foreign_key' in 'likes' table is the primary key of any of the for types of likes from the four tables you have for them.
WebmastersRe: Advice Needed On Normalizing A Database Table by DualCore1: 12:06pm On Aug 10, 2012
For you to enforce normalisation you must be dealing with at least two tables. Normalisation is used to prevent redundancy so in a case like this you can have the following 3 tables.

first table: members (member_id, member_name)
second table: comments (comment_id, poster_id, comment)
third table: likes (comment_id, member_id)

That structure above is normalised.

This structure below is not normalised
first table: members (member_id, member_name)
second table: comments (comment_id, member_id, comment, member_name)
third table: likes (comment_id, member_id, comment, member_name)

The fields in bold are not necessary and will cause an update anomaly when you update the member's name in the member table. This will cause redundancy of information because once that member_name is updated in the members table, the member_name fields in the other tables will not be updated except you intend to update all in the code layer which wont be sensible.
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 11:16am On Aug 10, 2012
spikes C: How can u give this kind of quiz by this time angry
I still don't understand where you are coming from o. Would you like to explain?
ProgrammingRe: Simple PHP Quiz: Kill The Rand() by DualCore1(op): 10:57am On Aug 10, 2012
spikes C: angry
Bros are we okay? huh tongue
WebmastersRe: Need A Good Php-sql Ebook by DualCore1: 10:15am On Aug 10, 2012
jarva:
Greetings my fellow NL members,please guys,am a rookie in php language,i'v read a lot ot articles and tutorials and nw knw d basics,but i still need sum help,please some1 shuld giv me any good ebook[pdf],any 1 dat can help me inprov my skillz...tanks in advance
Drop your email address.
ProgrammingSimple PHP Quiz: Kill The Rand() by DualCore1(op): 9:52am On Aug 10, 2012
Look at the following code:

<?php
echo rand(1,100);
?>

Everytime this code is run, it shows a number randomly chosen between 1 and 100.
Now kill the randomness. Add some (simple) stuff to the code above so that anytime the code is run it outputs the very same number chosen between 1 and 100.

This is totally senseless for a real life scenario but we can learn a thing or two about PHP's randomness from this.

Note: Just add to the code, don't remove cheesy
For simplicity I used rand().... the whole thing can also be achieved (even better) with mt_rand().
CareerRe: Describe Your Job In One Word. by DualCore1: 8:03pm On Aug 08, 2012
lifestyle
Jokes EtcRe: Dame Patience - My Husband Is The Best Couple On Earth by DualCore1: 3:18pm On Aug 05, 2012
Create yours here:
http://www.imagechef.com/ic/make.jsp?tid=Newspaper+Headline

See others here:
http://www.imagechef.com/ic/search.jsp?mode=2&tag=newspaper


This is a shame to Nairaland and its frontpage system.
"Jokes" should not be put on the frontpage without very clear indications that they shouldn't be taken seriously.
WebmastersRe: My WHMCS Addons by DualCore1(op): 1:15am On Aug 04, 2012
rufaai: @DualCore you ioncubed the source codes. undecided What if i wish to extend ithuh
I could send you the source via email if you drop you addy here.

I encode all my finished addons cuz if unencoded some people may just make one careless change on the script which may result in a bug and it will kill the whole WHMCS system.... and I will be blamed (naturally) they won't know its the change they made.

Bottomline: Even a missing delimiter (wink in you addon's syntax will shutdown the whole WHMCS system if the addon is activated. Only way (I know of) to get the system working again is to fix the bug.
WebmastersRe: 1,200 Website Hosting by DualCore1: 10:03am On Aug 03, 2012
utimatedes: Where did you pick the banner from?
Your own banner bin loss? shocked
WebmastersRe: My WHMCS Addons by DualCore1(op): 7:59pm On Aug 02, 2012
Download link added.
WebmastersRe: My WHMCS Addons by DualCore1(op): 7:08pm On Aug 02, 2012
Gmmail: if you use WHMCS, prepare to get hacked.
One half of me is developer, the other half isn't a dunce...the other half is a Linux admin and your assertion is redundant. You woulda sounded better if you actually said "if you use the internet prepare against attacks". WHMCS remains the best webhosting client management/billing system this world has known... its a fact we can decide to take or leave...it won't affect their income.


rufaai: Good job @DualCore
I would like to give your Expense report a ride, you didn't drop the download link.
Not a problem, I will package it up later tonight and put up the download link.

lagoshost: Hello Sir,

I am interested in this plugins.

How do we get them?

Thank you,
Maybe my point wasn't too clear at the onset, just showcasing a set of custom modules that will make up a new brand of plans to come up on trudigits.com later. However I am going to make the Expense Monitor available here for download later tonight. The other modules will come bundled with the TD plans.
WebmastersRe: My WHMCS Addons by DualCore1(op):
WHMCS Addon: Expense Monitor
I am through with this plugin and its fully tested. A few other features will be considered in the future.

Here's a screenshot below. Note all records on it are not real and were added just for tests and all tests were carried out on a freshly installed WHMCS system.

https://easycaptures.com/fs/uploaded/614/7346600006.png

Download
http://bit . ly/Qy8ht7

Remove the spaces between the link, dunno Seun's beef with bit . ly

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 371 pages)