₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,993 members, 8,419,846 topics. Date: Thursday, 04 June 2026 at 02:24 AM

Toggle theme

Delomos's Posts

Nairaland ForumDelomos's ProfileDelomos's Posts

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

ProgrammingRe: Nigerian Made Android Apps for Android Phones by delomos(m): 2:59pm On Sep 13, 2013
Nice, nice, nice!
ProgrammingLooking To Get Into Rails Development (or Already Do)? --- by delomos(op): 1:13am On Sep 13, 2013
I just simplified the process of development to deployment (if you're tired of doing "rails s" and getting shocks in deployment) --

Just open-sourcing the development tools I use on my project -- see: https://github.com/delomos/vagrant-puppet-rails

Suggestion/Improvements are welcomed.
ProgrammingRe: I Need A Php Tutor/mentor by delomos(m): 12:43am On Sep 13, 2013
I will be happy to -- I thin the best way is to follow me on github: https://github.com/delomos (create an account if you don't already have one ) and/or say hello on twitter (www.twitter.com/delomos).
ProgrammingRe: Need Help/collaborators On Occupy9ja.com by delomos(op): 10:44pm On Feb 08, 2013
@lordZOUGA: a platform for discourse, one that encourages communication.
ProgrammingRe: Need Help/collaborators On Occupy9ja.com by delomos(op): 10:51pm On Feb 07, 2013
After months of dormancy and feet dragging; I"ve settled on an interesting direction for this project-- if you have some experience in RoR (Ruby on Rails) aand/or Ember.js (http://emberjs.com/) -- get in touch smiley
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 8:45pm On Sep 07, 2012
@ekt_bear: I strangely had the same question on my mind
ProgrammingFrom The Trenches: How Dropbox Solves Their Scaling Problem... by delomos(op): 3:27pm On Aug 29, 2012
Many solid points that hits home, to quote on of the points:

"Pretty standard. The reason why we chose each of these things was the same — reliability. Even memcached, which is the conceptually simplest of these technologies and used by so many other companies, had some REALLY nasty memory corruption bugs we had to deal with, so I shudder to think about using stuff that’s newer and more complicated. My only suggestion for choosing technology would be to pick lightweight things that are known to work and see a lot of use outside your company, or else be prepared to become the “primary contributor” to the project."

http://cloudspring.com/scaling-lessons-learned-at-dropbox-from-4k-to-40-million/
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 7:44pm On Aug 27, 2012
Not sure, but seems that the problem has being solved here: http://www.yourbudgit.com/
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 11:16pm On Aug 11, 2012
I think what was done here can set some light on this project -- that solves the same exact problem: http://www.recovery.gov/Pages/default.aspx (which was also in .NET)
ProgrammingRe: Even The Best Falter, Think About This When Your Application Isn't Going So Well by delomos(op): 9:09pm On Jul 27, 2012
I agree to many of your points, you're right, it's frustrating and outright discouraging to see it in that respect.

I'm pointing it out to be an encouragement, whatever you're working on, do your best, sometimes it might poop, but don't beat urself up for it, even the best poop.

@beaf: They truly might not be the best, but there are a lot of their engineers I respect (a lot), for at least their contribution to the [open-source] community. And the role twitter has taken in shaping online communication is not trivial, so maybe I should, say, they are the best at the problem they are solving.
ProgrammingRe: Even The Best Falter, Think About This When Your Application Isn't Going So Well by delomos(op): 8:33pm On Jul 26, 2012
@lordzouga:
Today I was talking to someone whose main argument for why we shouldn't build it, is because we don't know all possible requirements -- "I want to build the perfect software, how do you think places like G, Tw, FB, do it?" -- and my argument was, there is no perfect software, there never will be, no matter how rich you get, build all the redundancy, and even more redundancy --failure will happen.

Coincidentally, this happened. So it's not in rejoicing in other's pain (what's the point), it's in understanding that even the big boys fumble, understand your limitations.
ProgrammingRe: Working With Facebook As A Query Language by delomos(m): 7:05pm On Jul 26, 2012
Oh in that case, if you know the person's facebook ID/username, you could just use the same pattern like you do for twitter's REST,the API https://graph.facebook.com/<username>/<what you need>?access_token?xxxxx (just be sure you have the token). So if you want to get info about my own timelime, you do:

https://graph.facebook.com/dele.o/statuses?access_token=AAAAAAITEghMBACvVBB7elnD6rPzVVT4aGDiDfmVPrVkgX2AQRdckRAJiFOM8qfeXD8kGusNehLUAWNOKXdX6ChOeYvNVrmJ3qE4YCgZDZD (this gives you a JSON of all my info),
or to get post my notes
https://graph.facebook.com/dele.o/notes?access_token=AAAAAAITEghMBACvVBB7elnD6rPzVVT4aGDiDfmVPrVkgX2AQRdckRAJiFOM8qfeXD8kGusNehLUAWNOKXdX6ChOeYvNVrmJ3qE4YCgZDZD
the documentation is here: http://developers.facebook.com/docs/reference/api/

Then of course, you json_decode() and loop.
ProgrammingRe: Why The "Noise Makers" Among Us Cant Code by delomos(m): 6:50pm On Jul 26, 2012
You touch on interesting point which looks very close to the argument made here: (which was trending recently on Hacker News) "Being a Developer Makes You Valuable. Learning How to Market Makes You Dangerous", http:///P3tYtQ

Though I'm not sure I follow your argument on not going to meet-ups (because it's too tech oriented? dates are not flexible?)

IMO, righting code is "easy", what is tricky is building the right "team" to shoot you vision in everyone's face. My dream team is: Business Developer/Marketing + UI/X Engineer + Back-end Engineer (each having that core and willing to switch hats as need be).
ProgrammingRe: Working With Facebook As A Query Language by delomos(m): 6:23pm On Jul 26, 2012
Give more detail on the kind of website you're build and what language your doing so in -- PHP a la Wordpress, Joomla, CodeIgniter,; or Python a la Django, etc.
ProgrammingEven The Best Falter, Think About This When Your Application Isn't Going So Well by delomos(op): 6:18pm On Jul 26, 2012
Twitter is worth about 8-10 billion $(yes, with 10 zeros), and when you go to their website, you get this (See image below) --

This folks can sure afford the best of the best engineers, and they actually do have them.

So be easy on yourself when your app poops.

ProgrammingRe: Working With Facebook As A Query Language by delomos(m): 6:03pm On Jul 26, 2012
This is where you will want to be: https://developers.facebook.com/docs/sdks/
ProgrammingRe: A Photo Match Application/ Website by delomos(m): 5:48pm On Jul 24, 2012
Your idea is not really new, it's being a point of research in computer science for a bit:, you can read this (it'd put you to sleep quickly): www.cs.umass.edu/lfw/results.html">http://vis-www.cs.umass.edu/lfw/results.html

And when you wake up, you can read up on this:
http://developers.face.com/docs/ (this is "what" facebook uses to match faces, Facebook now owns this, so you know what that means)
http://www.quora.com/Algorithms/What-is-the-algorithm-used-by-Google-Search-by-Image-1 < HOw google approaches the problem which gives an interesting insight on how to tackle this problem.

Anyways, this is not a trivial thing -- so if it's worth your time, well, the links above will explains the magnitude of your "idea".
ProgrammingRe: ..... by delomos(m): 10:23pm On Jul 16, 2012
ProgrammingRe: Need Help On This Php Code by delomos(m): 2:04pm On Jul 03, 2012
Read my above analysis carefully.
ProgrammingRe: Debugging Someone Else's Code: Is There Anything More Painful? by delomos(m): 6:22pm On Jul 02, 2012
kodewrita: ^^^^
Butler: Mr Dele, there's a package with a red ribbon for you downstairs. Can I open it?
Dele: No Please dont ( Jogs downstairs whistling )

**Opens it**
*** ___ **** R.I.P Mr. Dele Giwa
ProgrammingRe: Debugging Someone Else's Code: Is There Anything More Painful? by delomos(m): 3:49pm On Jul 02, 2012
kodewrita: Probably all programmers should leave a forwarding address in their code so we know where to send the bomb when they leave crappy code behind.
sucks that I really can't hide, googling dele.o or delomos f'ing rats me out.
ProgrammingRe: Need Help On This Php Code by delomos(m): 12:50am On Jun 30, 2012
I'm using that as an example. Just use that as an example for multiple states, same principle applies
ProgrammingRe: Upload And Display Image by delomos(m): 2:34pm On Jun 28, 2012
Try do some work pal....

ProgrammingRe: Need Help On This Php Code by delomos(m): 4:05pm On Jun 27, 2012
If you're trying to represent countries and their respective states, a schema you can consider is:
[countries] <-- table 1
+ id (auto_increment)
+ name (country names)

[states] <-- table 2
+ id (auto_increment)
+ name (state name)
+ country_id (foreign key referencing countries.id, be sure your MySQL engine is set to InnoDB if not this will not work)

So to see what country has what state or vice-versa
If someone selects a country ID of 45, your DB structure will look like:
[countries]
id name
---- | ---------
45 Nigeria

[states]
id | name | country_id
--- ------ -----------
23 Lagos 45

And your query is:
"SELECT name FROM states WHERE country_id=".$_REQUEST['country_value_selected']

OR if you want to see what country Lagos belongs to, now comes the fancy query :
"SELECT c.name, s.name
FROM states AS s
INNER JOIN countries AS c
ON c.id = s.country_id
WHERE s.country_id=".$_REQUEST['country_value_selected']

(notice how I used aliasing now, because I'm referencing two different tables vs when i'm referencing the same table)

So it's up to you, just keep your data as rational as possible to get the query you want (btw, i didn't test any of these, just from the top of head, so test carefully if you're using this in production).
ProgrammingRe: Need Help On This Php Code by delomos(m): 3:03pm On Jun 27, 2012
looking at your query:
"SELECT countries.country, state FROM countries, state WHERE <b>countries.country_id = state.state_id</b>"
perhaps what you intend to say is:
"SELECT state FROM countries WHERE country_id=". $_REQUEST['selected_country_id']
(notice I've made the query shorter, and a bit more efficient, you don't need the aliases)
then:

$row["state"] should give the right state.
ProgrammingRe: Asp.net And Wamp Server by delomos(m): 6:20pm On Jun 25, 2012
ProgrammingRe: Help On SQL!!! by delomos(m): 9:00pm On Jun 22, 2012
Kobojunkie: A Book? Are there no libraries out there?
It's good to at least know some SQL basics before using libraries that abstract it.
ProgrammingRe: Help On SQL!!! by delomos(m): 4:18pm On Jun 22, 2012
you might find this helpful too: http://sqlfiddle.com/
ProgrammingRe: Nairaland Programmer Please Share Your Most Challenging Project So Far by delomos(m): 3:42am On Jun 22, 2012
pc guru: I've seen it before, the Laravel Framework something about it screams JavaScript, it has this JS/Node feel to it, but I'll look at it again,Yii just makes my life so easy.
If you're referring to it's heavy use of callbacks/closure (as is heavy w/ JS things), perhaps -- and that's actually a new feature to PHP, (PHP 5.3+), and it's actually very, very sweet. While Yii is sweet in many respect, it forces its way on you, heavily. Yii, is very heavy handed.That said, if you don't have PHP 5.3+ it can't run

Few things about Laravel that might make it worth trying: A stronger [flexible] ORM/ActiveRecord, flexible (very), written on 5.3 (btw, Yii 2.0 will be too and they'll def be introducing closures, and it'll be JS-like too, I read the map that Yii 2.0 will NOT be backward compatible, so if you're having new dev work with 1.1.x that might be worthy of consideration), very, very, very friendly community.

Yii's Giis and Ziis and quite sweet, but having to fall into a specific paradigm, ummmm....
ProgrammingRe: Nairaland Programmer Please Share Your Most Challenging Project So Far by delomos(m): 1:15am On Jun 21, 2012
Very nice projects @lojik & @KoolPitt.

My challenging project (ongoing) is making Classic ASP speak modern web dev, not by choice, just a bind I find myself in with the start-up / mid company I'm engaged with; they have all its "things" written years back, now the company can't scale upwards.

So trying to manage poorly written legacy code, a running business and porting things over --- and for those who are in the same bind, I'm reviving this: http://www.ajaxed.org/ (hopefully I have time to push to the final port to GitHub)

@lojik: you should consider having a designer touch up the site --

@pc_guru: check out Laravel framework for some of those goodness @KoolPitt mentioned, that is if you're wanting to explore it the PHP way.
ProgrammingRe: Blogging The Hacker Way.... (octopress On Windows) by delomos(op): 4:48pm On Jun 12, 2012
lordZOUGA: just that you still have that your occupy9ja ish still on. has it been abandoned?
This is not a project, it's just a blog where I share (tech/software) tips separate from my other blog www.delewrit.es, where I share my philosophies. occupy9ja.com, is an ongoing project (as a few other concurrent project), hence why I need collabo on that (another shameless plea).

So generally, the idea is, paying gigs gets precedence (as the case is with the ASPAjaxed project that I haven't even pushed to GH yet) -- writing to thing will be much easier since it's fits into my coding workflow (I work a lot with github for private/public projects) than the other WordPress one (side note, I've being writing on that for about 4-5 years).
ProgrammingBlogging The Hacker Way.... (octopress On Windows) by delomos(op): 3:56pm On Jun 12, 2012
So, after push from people's here and there, I'm starting a newer blog on the African perspective to software (God knows I have no idea, but I go fake am), well, as proper Lasgidi boy, we gotta do am with style -- in my first post, I walk through setting up a blog, hacker style, in few minutes, no Wordpress or Blogger BS, just setting up a blog with Github... pretty fun.

An interesting skill that will be learned is compiling Linux packages from scratch, and even building your own ruby gem!! Chai

Anyways, it's [url]tech.delewrit.es[/url], stop by make some comments, love or hate or if na curse, that wan good too.

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