₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,950 members, 8,424,302 topics. Date: Thursday, 11 June 2026 at 12:04 AM

Toggle theme

Mobinga's Posts

Nairaland ForumMobinga's ProfileMobinga's Posts

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 257 pages)

ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 10:36am On Feb 06, 2012
Act like you didn't see that ether preceding your post. https://img30.imageshack.us/img30/3078/obamamug.png
ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 8:50am On Feb 06, 2012
*dhtml:
I was not talking about cookies o jare. There has always been some form of local storage in HTML from time o jare (it has just gotten better with HTML 5).
Thank you very much D!

Aha Beaf have you witnessed your sheer stupidity being brought out?  grin


----


I don't understand how this guy stimulates himself whenever he hears of new tech? See how much he has referred to HTML5 as a beastie, the next best thing and everyone should learn it? What a profound fool.

You can create Android apps in C# and good ol' Visual Studio, nothing beats that combination for sheer RAD, quality and code nirvana. There are a plethora of brilliant Mono ports to Android, the one from Novell stands out: http://mono-android.net/
But there's also https://github.com/koush/androidmono.

Guy's, give up dying languages like Java, VB etc.
See how this clod was advising Android developers to do a concoction and use C# for their coding  shocked shocked Here : https://www.nairaland.com/nigeria/topic-673505.0.html#msg8390982

Pray, tell me, give a single sensible reason why developers should scrap using a language that was used to develop the UI the OS runs on? So going by your foolish logic, you can also say everyone should use JS to develop apps rather than C# which was pruned for windows, because C# is "dying out"?

See how ldiotic you are?
So with your severely limited knowledge you still speak on what you haven't the slightest idea about. Please just drop that silly C# android crap. It's senseless and you'd be severely flawed. You're lucky I didn't see that imbecility earlier.

Also, tell me how Java is dying out.  The biggest Mobile OS in the US has an API smoothly structured for core Java and XML, if that isn't a sign that more people would want to develop on it, thus increasing it'e relevance, then I don't know what is.

You should speak on only what you have sufficient knowledge about.
 
-----
I don't know whether new tech just tickles your fancy and you lose all sense of your puerile reasoning: Oh. I forgot, you don't even have common sense.

LOL @ This relentless fool still saying this :

Beaf:
A good pointer to the future is the direction OS manufacturers (led by Microsoft) have taken for the future. The upcoming Windows 8 is not based on the PC as previous Windows incarnations were; it is instead based on touch-screen portable devices (mainly on the tablet).
With Windows 8, everything you learnt about programming is going to be thrown out the window. Its a brave new World out there.
This is the fool that still thought " OH, Gee, Microsoft's next OS is touch and pruned for HTML5 and JS, we should throw away C#, COM, .NET . . . et.c"

Fool.

Do I even still need to go in on this? Since he has comprehensively been crushed, and resorted to posting his childish puerile Compuserve GIFS.
-----

Beaf:
The role of the current server languages will have to change to meet the new reality with presentation based, spaghetti type languages like PHP and Classic ASP being first to die out. They will be replaced by better designed languages that do not pretend to do interface stuff like Java, C#, Ruby, Python etc.
That's very rich.

Do you even think? How is some fancy front-end UI HTML5 going to even dent a back-end scripting technology like PHP, talk less of  making it die out.

Please tell me how HTML5 is going to phase out PHP? You better come up with a decent explanation for that one.


-----

Every seeming new tech teases this fool and he refers to it as "the next best thing" and "everyone should be learning it". . .
Just ridicule yourself in a bid to sound "smart".

Haha. What a joke. It's about time this ldiot got murked.
ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 8:50am On Feb 04, 2012
Shut up morron. You're getting hurt?  grin
Further confirming you negligible intelligence.

Still running away from your gross lack comprehension? Your inability to comprehend written English is the root of this.


I reiterate. What part of this below didn't you understand?

*dhtml:
Even  without HTML5, i have done sites like that before na. Once the site loads, cache all the pages into arrays. So on clicking anything, the stuff comes up wether you ave connection or not - and this was like 5 years ago. Of course, it is smoother with HTML5.
grin grin shocked shocked

Are you that slow?  grin

You went on to state this :

Beaf:
^
But your arrays would have had to come from the server, except the arrays were saved to cookies.
shocked shocked shocked Damn.

https://img560.imageshack.us/img560/5106/chrishahfresh.png

These are the kind of slow empty headed ldiots we have in Aso Rock.   cry  cry  cry cry

What a waste.
ProgrammingRe: Login With Facebook by Mobinga: 7:24pm On Feb 03, 2012
PhonesRe: Android, Anyone? by Mobinga: 7:18pm On Feb 03, 2012
Dammit! *Were *Were *Were *Were
PhonesRe: Android, Anyone? by Mobinga: 7:16pm On Feb 03, 2012
lynxnoon:
just did an S-ON back to my deviceand updated to OS 2.3.5 n Sense 3.0
Now to do htcdev unlock bootloader wink
Why did you downgrade? Thought you where on that ICS swag grin cool
ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 7:03pm On Feb 03, 2012
Oh now you're digressing? Fool.

Beaf:
^
But your arrays would have had to come from the server, except the arrays were saved to cookies. In the website we are discussing, the entire thing is saved to a client side database, so you never need to make a trip to the server.
Look at this fool, explain how he would save the site in the cookies given the size limit, and retrieve them at will.  shocked shocked shocked

LMFAO.  grin grin


Cookies are set with headers you ignorant illiterate.

Ignorant fool arguing about what he hasn't the slightest idea about.

All these stems from your inability to grasp simple written English. What part of this below don't you understand?

*dhtml:
Once the site loads, cache all the pages into arrays. So on clicking anything, the stuff comes up wether you ave connection or not - and this was like 5 years ago. Of course, it is smoother with HTML5.
You still went on with your neonatal brain to state this :

Beaf:
^
But your arrays would have had to come from the server, except the arrays were saved to cookies.
LMFAO. What an ldiot.  grin grin grin Next time understand before attempting to exhibit your unparalleled lunacy.

https://img560.imageshack.us/img560/5106/chrishahfresh.png https://img560.imageshack.us/img560/5106/chrishahfresh.png https://img560.imageshack.us/img560/5106/chrishahfresh.png
PoliticsRe: Us Did Not Predict Nigeria’s Break-up In 2015 – Ambassador Mcculley by Mobinga: 9:33am On Feb 03, 2012
Rhino.5dm:
[size=32pt]Nigeria is a failure. [/size].
WebmastersRe: Who Did This Website by Mobinga: 11:44am On Feb 02, 2012
grin grin grin

Na wa for that site oh. cry

soloqy:
Its kinda difficult when the starters present themselves as gurus, dont you think?
GBAM!!

This is true.  cry . . . . and they don't wan't to learn, always want to make quick cash out of everything.
ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 11:23am On Feb 02, 2012
Beaf:
Its wrong to talk for the sake of it, sir. Do you know anything about the website *dhtml is talking about, how much data there was, in what format it was saved, the size of the website etc? Or are you just emitting gas as usual?
In the pre-HTML5 World, cookies were the only clientside storage mechanism available to the developer, browser cache doesn't qualify. Do you know of any other clienstide storage mechanism *dhtml could have used?

Please take your crap to people at your level. Thank you.
Oh please shut up you fool, talking for the sake of it?
You're talking of saving arrays containing contents of a page to cookies? I'm saying it's not even practically possible to do that, given cookies are a max of 4096 bytes. So he would save bits in one array, append then jump to the next cookie, append? Dunce.


Besides, when did you miss this?

*dhtml:
Even  without HTML5, i have done sites like that before na. Once the site loads, cache all the pages into arrays. So on clicking anything, the stuff comes up wether you ave connection or not - and this was like 5 years ago.
Can't you understand simple written English? He said Once the site loads.

You should understand something before trying to find flaws.

Talk about "people at your level" when you can't comprehend simple English.
FoodRe: Gala Is Now N70 by Mobinga: 9:31am On Feb 02, 2012
Nooo.  cry

PoliticsRe: Fuel Subsidy: Total Md Can’t Defend N18.8bn Payment by Mobinga: 9:26am On Feb 02, 2012
Waiting for this news to slide into oblivion in a weeks time.
FoodRe: Gala Is Now N70 by Mobinga: 9:24am On Feb 02, 2012
Damn. cry cry
PhonesRe: Android, Anyone? by Mobinga: 9:20am On Feb 02, 2012
I haven't found a need to root. Heck, all I do with my android is calls, GPS, and when I'm testing my apps, or seeing whats up via DDMS.
PhonesRe: Android, Anyone? by Mobinga: 2:07pm On Feb 01, 2012
cool
PoliticsRe: Olohunwa & Mcoluomo Banned From Lagos Nurtw Election by Mobinga: 1:50pm On Feb 01, 2012
How is this one news?
EducationRe: Breaking News! ASUU Suspends Strike. by Mobinga: 1:22pm On Feb 01, 2012
Unconfirmed. No other news agency is reporting this.
ProgrammingRe: A Site That Requires No Internet Connection To Surf! by Mobinga: 9:47pm On Jan 30, 2012
Beaf:
^
But your arrays would have had to come from the server, except the arrays were saved to cookies. In the website we are discussing, the entire thing is saved to a client side database, so you never need to make a trip to the server.

HTML5 offers the following clintside storage mechanisms:

[list]
[li]Application Cache[/li]
[li]Database Storage (SQL) ***[/li]
[li]Local Storage[/li]
[li]Session Storage[/li]
[/list]

You can even close your browser, or switch off the computer totally. When you crank up again, the website will still be there, even without connecting to the web. HTML5 is a new beastie that in time, should overthrow most functions of lighter web frameworks like PHP and Classic ASP.
Cookies? How is that even possible for saving that much of data?

Seems not practically feasible see the RFC specification;

Practical user agent implementations have limits on the number and
size of cookies that they can store. In general, user agents' cookie
support should have no fixed limits. They should strive to store as
many frequently-used cookies as possible. Furthermore, general-use
user agents should provide each of the following minimum capabilities
individually, although not necessarily simultaneously:

* at least 300 cookies

* at least 4096 bytes per cookie (as measured by the size of the
characters that comprise the cookie non-terminal in the syntax
description of the Set-Cookie header)

* at least 20 cookies per unique host or domain name

User agents created for specific purposes or for limited-capacity
devices should provide at least 20 cookies of 4096 bytes, to ensure
that the user can interact with a session-based origin server.

The information in a Set-Cookie response header must be retained in
its entirety. If for some reason there is inadequate space to store
the cookie, it must be discarded, not truncated.

Applications should use as few and as small cookies as possible, and
they should cope gracefully with the loss of a cookie.
http://www.ietf.org/rfc/rfc2109.txt
ProgrammingRe: C Please Help by Mobinga: 9:43pm On Jan 30, 2012
cool
PoliticsRe: We Must Learn To Live With Boko Haram by Mobinga: 2:54pm On Jan 30, 2012
Tabon:
It's a pity that most Nige tand English. Wha pres. GEJ means this that the terrorist act will always be in our memory and will ever be remembered for as long as we live.
You're drunk.
PoliticsRe: We Have Strong Links With Al Qaeda - Boko Haram. by Mobinga: 2:51pm On Jan 30, 2012
Beaf:
You are really silly, my dear.
Ask any IT pro and they will tell you that proxies cannot hide you.

Secondly, the "info" you are spreading isn't sensitive. No love, its full on loony shiit influenced by excessive weed or ogogoro injestion.
I can just imagine you hiding in terror from your own shadow. Seek the doctors advice, ma.
Proxies can hide you.
ProgrammingRe: Puzzle of the day by Mobinga: 2:38pm On Jan 30, 2012
ekt_bear:
3. You create a big temporary array "fin" right? You are allowed to do this for (A), but not for (B). For (B), the idea is that you want to do some simple operations on arr that transform it into the desired result, but only using a constant amount of additional space (say you only have one temporary integer available to you.)

Also, if you sort the input array first, then the problem becomes dead easy. You want to avoid sorting. No sorting allowed for either (A) or (B) of this problem.
From my understanding; there is only one array in use as stated by the question;

Here as for (A)

Design an algorithm that will output a list B that is a rearrangement of A (i.e., permutation) such that:

1. The last element the new array B is the same as the last element of A. Call this pivot element x.


The main array in use, is the same array as the final array; So the entire question requires 2 arrays; the stipulated and the outputted;

As for no sorting, the bleep? I'd like someone to do that and post the code.

For (B) hmm. Feasible.
ProgrammingRe: A Seemingly Simple Logic That Took Me 3 Evening To Code by Mobinga: 2:32pm On Jan 30, 2012
@OP Post your code; let's see if an improvement can be made.
ProgrammingRe: Puzzle of the day by Mobinga: 2:02pm On Jan 30, 2012
Input array : [2, 0, 3, 4, 3, 0, 2, 1, 4, 2]
Outputted array : [0, 0, 1, 3, 3, 4, 4, 2, 2, 2]

cool
ProgrammingRe: Puzzle of the day by Mobinga: 1:59pm On Jan 30, 2012
The first one is basic arithmetic progression. That, n/2(na+(n-1)d); thingy.

Second one is 2 na?  embarassed

As for the most recent; check this; is it correct? Just a quick implementation. Without using a temporary array;


  [color=#CCCCCC]package[/color] algorithms;

[color=#CCCCCC]import[/color] java.util.Arrays;

[color=#00BB00]public[/color] [color=#00BB00]class[/color] NL {
[color=#00BB00]public[/color] [color=#00BB00]static[/color] [color=#00BB00]void[/color] main(String [] args){

   [color=#00BB00]int[/color] [] arr = {[color=#FF0000]2[/color],[color=#FF0000]0[/color],[color=#FF0000]3[/color],[color=#FF0000]4[/color],[color=#FF0000]3[/color],[color=#FF0000]0[/color],[color=#FF0000]2[/color],[color=#FF0000]1[/color],[color=#FF0000]4[/color],[color=#FF0000]2[/color]};
   [color=#00BB00]int[/color] arrlength = arr.length;
   [color=#00BB00]int[/color] [] ind = {[color=#FF0000]3[/color],[color=#FF0000]7[/color],[color=#FF0000]3[/color]};
   [color=#00BB00]int[/color] [] fin = [color=#FF9D00]new[/color] [color=#00BB00]int[/color] [[color=#FF0000]10[/color]];
   [color=#00BB00]int[/color] x = arr[arrlength - [color=#FF0000]1[/color]];
   fin[fin.length-[color=#FF0000]1[/color]] = arr[arrlength-[color=#FF0000]1[/color]];
   Arrays.sort(arr);
       [color=#FF9D00]for[/color]([color=#00BB00]int[/color] i = [color=#FF0000]0[/color]; i<arrlength; i++){
           [color=#FF9D00]if[/color]( arr[i] < x ){
                fin[i] = arr[i];
                [color=#FF9D00]continue[/color];
           }
          [color=#FF9D00]if[/color]( arr[i] > x){
               fin[i-ind[[color=#FF0000]0[/color]]] = arr[i];
          }
       }
       [color=#FF9D00]for[/color]([color=#00BB00]int[/color] j = ind[[color=#FF0000]1[/color]]; j<arr.length; j++){
           fin[j] = x;
       }
   System.out.println(Arrays.toString(fin));


   }
}


The entire thing is easier with a sorted array.
PoliticsRe: Wife Of The New Igp Has Passed Away by Mobinga: 10:10am On Jan 30, 2012
shocked shocked shocked
PoliticsRe: We Have Strong Links With Al Qaeda - Boko Haram. by Mobinga: 10:09am On Jan 30, 2012
BS. Your sponsorship is solely within Nigeria.
RomanceRe: Alright It's ok by Mobinga: 9:41am On Jan 30, 2012
I just remembered this thread, was the OP really serious? Damn cry
PoliticsRe: Yearly Nairaland Get Together by Mobinga: 11:54am On Jan 28, 2012
PhonesRe: Android, Anyone? by Mobinga: 11:50am On Jan 28, 2012
odibenson:
pls help me o.I got HTC wildfire and I available downloaded Facebook for android and anytime
I post it always say by mobile instead of android way Shie I do
It's from facebook http://www.facebook.com/android/posts/10150261456720909
WebmastersRe: Breaking: Nigeria Labour Congress Website Hacked by Mobinga: 11:43am On Jan 28, 2012
mxxpunkxx:
@dremoney
u effed up ohhhh, simple tin . . . go watch the movie Robocop, then play d video game again
u for get enough inspiration on how to build urs . . if u still don't get it, fastforward>>>>>> Terminator / iRobot will help grin grin grin grin
wanna hear a secret?
haha well, i bailed out of JAVA too, and am not even going back to it, at least not now.
cry cry

Why? Java is not difficult.

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 257 pages)