₦airaland Forum

Welcome, Guest: Join Nairaland / Login / Trending / Recent / New
Stats: 1,608,153 members, 2,931,563 topics. Date: Wednesday, 29 June 2016 at 03:50 PM

Guru01's Posts

Nairaland Forum / Guru01's Profile / Guru01's Posts

(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (of 38 pages)

Programming / Re: Solve these challenges to join Our Cybersecurity Team by guru01(m): 6:33am
@slyr0x the challenges are not well explain.
Programming / Re: Solve these challenges to join Our Cybersecurity Team by guru01(m): 6:21am
I am really much interested.
I love hacking.
Programming / Re: Game Developer Needed For A Project by guru01(m): 9:14am On Jun 27
Please I need a game developer for a project ASAP.
Reach me via email: josiahaccounts@gmail.com
Programming / Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by guru01(m): 1:55pm On Jun 26

Dont worry, i have solve the problem it was just a little bug in the code that was causing the problem(4got to change a variable name) , thanks anyways and also my project is soon gona launch nd trust me its gonna be big.. #Tytit
Good to know you are working on something big.
Programming / Re: How Do I Implement An Automatic Login In PHP Feature Like Nairaland Does by guru01(m): 10:51am On Jun 25
I want to implement automatic login , just like how facebook web, or nairaland works when u have already registered, when u login nairaland has already stored cookies in ur browser so it automatically logs u in , without u visiting the log in page any longer..
Please i would like u guys to help write or copy&paste the source code here(In PHP).
You are not serious, you want people to write code for you without seen what you have done.
Study more about php cookies.
Programming / Re: Meet Nairachat - Nigeria's New Phenomenon by guru01(m): 5:47pm On Jun 23
Nice work.

1 Like

Programming / Re: Is It Possible To Devlop An Android App With PHP by guru01(m): 3:23pm On Jun 23
Good morning ProgramLanders.
I would like to know if its possible to develop simple android apps with PHP as backend, HTML and CSS, JAVASCRIPT as front end?.
It will be a non-server side app but the app will make use of XAMPP in the local host just like PC to interact with PHP.
I want to develop the app for my Computer Science department in school and i dont code in Java or C++ yet
cc: dhtml18 fulaman198 sonofLucifer javanian guru01 nmeri17
You can build you android am with java which is the official way.
Or use Javascript with other frameworks such as ionic, cordova, telerek, intelxdk, Mosync, AppGyver, jqmobile .....


Programming / Re: Python-django Can Now Be Ran On Your Android Through Qpython... by guru01(m): 3:05pm On Jun 23
Good news
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 11:32pm On Jun 22

It's like you are a database admin ?
No categorically, but have worked with several dbs extensively.
Programming / Re: Php7: Null Coalescing Operator by guru01(m): 11:28pm On Jun 22
Php7 is 2x faster than php5.6 but not still as fast as hhvm. What I would be more interested in is Php7 Vs hhvm, will people using hhvm start migrating back to php because of the improved speed?
Hhvm is a form of mechanism for compiling php codes.
Php7 is a programming language, and is as fast as hhvm.
Check online for benchmarks.
Programming / Re: Php7: Null Coalescing Operator by guru01(m): 1:21pm On Jun 22

How much does a vps cost in naija and do i need to manage it by myself?
You don't need a vps to run php7 code. Just ask the host if they support it, if not look for other host that does.
Programming / Re: Php7: Null Coalescing Operator by guru01(m): 1:18pm On Jun 22
So in php 7 there is no value to assign the variable to if the condition is false??
I like the former operator better.
If you check the code I wrote, you can see that the guest is assign to the var if false.
Programming / Re: Php7: Null Coalescing Operator by guru01(m): 1:16pm On Jun 22
^^^You will, better start changing your concepts before the world overtakes you

here is my take on PHP 7, since the servers are all still using 5.3, 5.4, there is no point in using something that can only run on my localhost.
Even the latest version of Joomla and Co are still using php 5.x (usually not higher than 5.4), I ain't gonna be make a mistake i made sometime back.

I remember when PHP 5.0 first came out, I was one of the first few people to migrate. I did a fantastic app then, when i upload the stuff like this, na so wahala start only for me to find out the web hosts were still using 4.x, i migrate host na the same the same. Them tell me to buy vps or dedicated server and customize. Na so i jejely downgrade the app back to 4.x.
You may be write, it depends on the host. The host I use are already supporting php7 as we speak and its on a shared server.
Programming / Php7: Null Coalescing Operator by guru01(m): 9:59am On Jun 22
The Null Coalescing Operator makes life easier for php programmers. Thanks to the php core team members and every other contributors.
Null Coalescing Operator helps you check for null value.
Previous version of php here is how it is done:
$firstname = isset($user->firstname) ? $user->firstname : 'guest';

But now cleaner and easy with PHP7:
$firstname = $user->firstname ?? 'guest';

Enjoy coding, and stay safe.
Programming / Re: Indexing And Searching Pdf Content With Haystack Elasticsearch by guru01(m): 9:57am On Jun 22

Well, that is what my company recommends. Honestly I would have preferred Solr. Do you have any info for me?
Anyway go through their doc, and API.
Also use their support features, if you need here.
ES helps you to store and retrieve the PDF content, but its left for you to write a code can can break the PDF file.
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 10:09am On Jun 21

Of course, are you surprised? been busy revamping africoders after people like you don abuse me tire. Africoders 2.0 is now out.
What's the URL.
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 9:36am On Jun 21
Even trolls (like me) avoid topics like this for obvious reasons.
Somebody like dhtml18 needs to break the ice before other commenters can talk. . . .but alas, my goat has gone missing again
I see, you mean without your goat you are not contributing?
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 8:40am On Jun 21
Wow, its so unusual for all to avoid this topic or is it that we no longer use database in our project.
Programming / Re: Python Developers, Who Is Very Familiar With Sphinx? by guru01(m): 7:23am On Jun 21
Oga I need your help on some small stuff abeg. How can I reach you? Guru01 if you're free please indicate. Simple Ajax stuff wink
Can't use nl pm, email me josiahaccounts x gmail.com
Replace the x with @
Programming / Re: Python Developers, Who Is Very Familiar With Sphinx? by guru01(m): 9:30pm On Jun 20
Oga I need your help on some small stuff abeg. How can I reach you? Guru01 if you're free please indicate. Simple Ajax stuff wink
Oh yes am free.

1 Like

Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 9:26pm On Jun 20
If you are happy with the performance, scalability, and high availability of your current traditional SQL database system (the likes of Oracle, SQL Server, MySQL), then there is no reason to read further. However, if you have growing pains in any of these areas, then a NoSQL or NewSQL offering may be right for you. So how do you choose between them?

Choosing the right tool for the job at hand is 80% of getting to a solution; the other 20% is really understanding the problem you’re trying to solve. Here’s a rundown of the advantages and disadvantages of traditional SQL databases (affectionately called OldSQL in this article), NoSQL and NewSQL that can help you focus your data store choices.


Traditional SQL databases have been around for decades and serve as the core foundation of nearly every application we use today. If you have a deployed application and it is behaving and performing acceptably, that is fantastic; there is no need to change your data store. Realize that porting or replacing your database not only introduces work, it introduces risk. It is rare that a database replacement candidate is feature-for-feature, as well as bug-for-bug, compatible with the database you are replacing. Beware any vendor who suggests otherwise! Here are some of the typical patterns of a traditional database application:


Proven disk-based database technology and standard SQL support, hardened over several decades.
Compatible with ORM layers, such as Hibernate or ActiveRecord.
Rich client-side transactions.
Ad hoc query and reporting.
An established market and ecosystem with vast amounts of standards-based tooling.

Not a scale-out architecture. Transactional throughput is often gated by the capacity of a single machine. Scaling out requires application-defined and managed sharding (or partitioning) of the data.
Traditional SQL systems were built for “one size fits all.” They are good for general purpose applications with modest performance requirements, but struggle as needs grow.
Complex tuning parameters often require deep expertise to get the best balance between performance, data safety, and resource use.

First, realize that the term NoSQL is about as descriptive as categorizing dogs and horses as “NoCats”. In truth, NoSQL is a broad category collecting disparate technologies beneath an ambiguous umbrella. The term offers little help to the developer trying to decide on the right tool for the right job.

So let’s break it down with an eye on what we really care about as software engineers: what problems can I solve with NoSQL? Equally important, where is NoSQL a bad fit? Where do the different technologies show their strengths?


Say you have gigabytes to petabytes of data. New data is added regularly and, once added, is relatively static. A database that archives sensor readings or ad impression displays is a good example. You want to store this in a cloud and are willing to tolerate the programming challenges of eventual consistency (made easier because most updates are idempotent anyway) for distributed access, multi-datacenter replication, and the highest possible availability.

Your application-to-database interactions are simple “CREATE” and “GET” patterns that don’t require traditional transactions. The most important consideration is that the database is always available to accept new content and can always provide content when queried, even if that content is not the most recent version written. Such systems include DynamoDB, Riak and Cassandra.


Made famous by MongoDB and CouchDB, the Document Model expands upon the traditional key-value store by replacing the values with JSON-structured documents, each able to contain sub-keys and sub-values, arrays of value, or hierarchies of all of the above. Often described as schemaless, these systems don’t enforce premeditated or consistent schema across all of the stored documents. This makes managing schema different… less rigid, but also much messier. It is likely the benefits of this approach are more applicable for smaller development teams with simpler data needs.

Other systems expand upon key-value stores with organizational features. Redis is popular for creating many sorted lists of data for easy ranking and leaderboards. By adding more complex functions to order by and computer statistics on, its focus allows for functionality key to its specific use cases.


The most common examples are systems tuned for graph processing, such as Neo4j. Array databases are another such example; SciDB uses Python and R to access MPP array data for scientific research. Accumulo is a variation on the wide-column-store model popularized by Cassandra and BigTable, but with a focus on cell-level security. Systems like etcd are distributed datastores with a focus on storing configuration data for other services. Elasticsearch is a popular system for implementing text search within applications.


Eventual-consistency algorithms allow implementations to deliver the highest availability across multiple data centers.
Eventual-consistency based systems scale update workloads better than traditional
OLAP RDBMs, while also scaling to very large datasets.
Many NoSQL systems are optimized to support non-relational data, such as log messages, XML and JSON documents, as well as unstructured documents, allowing you to skip specifying schema-on-write, and allowing you to specify a schema-on-read.

These systems are fundamentally not transactional (ACID). If they advertise otherwise, beware the over-reaching claim.
OLAP-style queries require a lot of application code. While the write-scaling advantages are appealing vs. OLAP stores (such as Vertica or GreenPlum), you sacrifice declarative ad hoc queries – important to historical analytical exploration.

The term NewSQL is not quite as broad as NoSQL. NewSQL systems all start with the relational data model and the SQL query language, and they all try to address some of the same sorts of scalability, inflexibility or lack-of-focus that has driven the NoSQL movement. Many offer stronger consistency guarantees.

But within this group there are many differences. HANA was created to be a business reporting powerhouse that could also handle a modest transactional workload, a perfect fit for SAP deployments. Hekaton adds sophisticated in-memory processing to the more traditional Microsoft SQL Server. Both systems are non-clustering for now, and both are designed to replace or enhance OldSQL deployments directly.

NuoDB set out to be a cluster-first SQL database with a focus on cloud-ops: run on many nodes across many datacenters and let the underlying system manage data locality and consistency for you. This comes at a cost in performance and consistency for arbitrary workloads. For workloads that are closer to key-value, global data management is a more tractable problem. NuoDB is the closest to being called eventually consistent of the NewSQL systems.

Other systems focus on clustered analytics, such as MemSQL. Distributed, with MySQL compatibility, MemSQL often offers faster OLAP analytics than all-in-one OldSQL systems, with higher concurrency and the ability to update data as it’s being analyzed.

VoltDB, the most mature of these systems, combines streaming analytics, strong ACID guarantees and native clustering. This allows VoltDB to be the system-of-record for data-intensive applications, while offering an integrated high-throughput, low-latency ingestion engine. It’s a great choice for policy enforcement, fraud/anomaly detection, or other fast-decisioning apps.


Perhaps you have gigabytes to terabytes of data that needs high-speed transactional access. You have an incoming event stream (think sensors, mobile phones, network access points) and need per-event transactions to compute responses and analytics in real time. Your problem follows a pattern of “ingest, analyze, decide,” where the analytics and the decisions must be calculated per-request and not post-hoc in batch processing. NewSQL systems that offer the scale of NoSQL with stronger consistency may be the right choice.


Minimize application complexity stronger consistency and often full transactional support.
Familiar SQL and standard tooling.
Richer analytics leveraging SQL and extensions.
Many systems offer NoSQL-style clustering with more traditional data and query models.

No NewSQL systems are as general-purpose as traditional SQL systems set out to be.
In-memory architectures may be inappropriate for volumes exceeding a few terabytes.
Offers only partial access to the rich tooling of traditional SQL systems.

As a general rule of thumb, consider evaluating NoSQL offerings if you favor availability or have special data model needs. Consider NewSQL if you’d like the at-scale speed of NoSQL, but with stronger consistency and the familiar and powerful SQL query language.

The froth in the data management space is substantial – and our tendency to talk in terms of categories (SQL, NoSQL, NewSQL) vs. problems makes it hard for software developers to understand what’s in the toolbox. The current offerings of new databases are not all alike – and recognizing how the DNA behind each helps or hinders problem solvers is the key to choosing the best solution.

1 Like

Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 9:19pm On Jun 20
*Spreads mat* waiting for the maestros. . .
Your experience is highly required.
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 9:18pm On Jun 20
hmm, this one oga d spread mat,

I have a superb experience using MSSQL, but in case of a realtime app, going mean ( Mongo, Express, Angular, Node) is the way, as it spreads json all round, The none relational way of Mongo is amazing though hav not created any personal app with mongo
Thanks for your response, but its better you tell us what you know base on experience.
I like to know more about mssql. Can it be used with other language effectively (without limitation) and not just .net product.
How many thousand rows has your app gotten to so far, and how well does it perform.
Investment / Re: Investors Inject N760bn Into Stock Market In Three Days by guru01(m): 4:42pm On Jun 20
God bless Nigeria.
Travel / Re: Iceland Deports Boko Haram Victim From Nigeria - Al Jazeera by guru01(m): 4:37pm On Jun 20
Eze is not a criminal, he is a decent man.
Crime / Re: Death In Imushin: Niger Delta Militants Want To Invade Ogun- CP by guru01(m): 4:16pm On Jun 20
This police man is not truthful.
These guys have been operating in that area for years now. Its not a new thing, them and the govt forces there are pals.
Programming / Re: Is PHP Dying? by guru01(m): 12:23pm On Jun 20

And i hereby add that the aforementioned individual is responsible for his actions and whatever the e-counsequences of his actions may lead to.
In event of an e-war, dhtml18 claims not claim responsibility (and might resign immediately from being the master troll of nairaland programming).
Are you trying to create an e-war between .net and yourself?
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 11:00am On Jun 20

I will be honest i have only used SQL Server and MySQL and no experience with NoSQL so i don't really know the criteria for picking NoSQL it's hard for me to think in a non-relational relationship i guess.
Share your experience with sql.
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 10:17am On Jun 20
Programming / Re: Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 10:08am On Jun 20

Please vote for me for miss Nairaland smiley
I will vote for you if you tell me the difference between these technologies.
Programming / Nosql, SQL And Newsql Database: Share Your Experience. by guru01(m): 9:50am On Jun 20
Hello masters and administrators of Database, please share your experience with these technologies for others to learn and make the right choice when shopping for database to use in developing various type of app.
Webmasters / Re: I'm Buying Old YAHOO EMAIL Accounts ( 3years Old Account And Up Only ) by guru01(m): 9:44am On Jun 20
If you are buying old emails you have to tell them what you plan to do with their email address which also contains other personal details.
Haven't you heard of privacy policy?

(0) (1) (2) (3) (4) (5) (6) (7) (8) (9) (of 38 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2016 Oluwaseun Osewa. All rights reserved. See How To Advertise. 195
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.