₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,000 members, 8,419,871 topics. Date: Thursday, 04 June 2026 at 05:29 AM

Toggle theme

Bb6xt's Posts

Nairaland ForumBb6xt's ProfileBb6xt's Posts

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

ProgrammingRe: Best PHP Framework For Application Development? by bb6xt(m): 12:01pm On May 08, 2013
paulo882: I think the question here should be rephrased "Symfony vs Zend, which is better?"
I am not a php dev but I was getting quite concerned that no one was mentioning symfony2 till I saw your post. I tried php/symfony2 a couple of weekends ago and got the feeling that symfony2 is an awesome framework to work with but felt daunted by ::, ; and => coming from a python/vb.net/java background.
FoodRe: Foods/Delicacies From Other Tribes That You Love by bb6xt(m): 3:18pm On May 03, 2013
Editang, how I just love to suck on the periwinkles!
ProgrammingRe: Python Experts, Plz What Is Wrong With This Code by bb6xt(m): 11:06pm On Apr 30, 2013
gothrones: ^
No! random.randrange(x) doesn't return a list! It returns a random integer y, where 0 ≤ y < x.
Yeah, my bad. Haven't actually used it before so was confusing it with range() because of the name. Sorry guys.
ProgrammingRe: Python Experts, Plz What Is Wrong With This Code by bb6xt(m): 9:27am On Apr 30, 2013
I believe random.randrange should return a list so from the line random.randrange(len(word)) try this instead

letters = [word[i] for i in random.randrange(len(word))]
jumble = ''.join(letters)

Am sure you can take it from.
PS: am also posting this from my fone.
ProgrammingRe: Best OS For Programming by bb6xt(m): 9:05am On Apr 30, 2013
zion32: Hello house, Just want to know, which operating system is better for coding or writting programs ? I am a newbie with dual boot computer(windows and Ubuntu linux).
If you are programming in .net languages such as c#, vb, visual c++ etc go for windows but for any other language u are better off with *nix (ie linux, unix, OS X), definitely OS X for objective C and iOS development. I use Kubuntu 12.10
ProgrammingRe: Python Vs Java by bb6xt(m): 12:33pm On Apr 27, 2013
Fayimora: OFFTOPIC: How do you survive with gui in c++?
The best gui framework I've ever used is written in c++ but also has language bindings for Python (PyQt, PySide), Java (QtJambi), Ruby. It is one of the most portable and easy to use gui frameworks. At the moment there is a beta port on android, ios and blackberry. Check it out @ www.qt-project.org. I even prefer it (QtJambi) to swing on the Java platform.
ProgrammingRe: Python Vs Java by bb6xt(m): 12:12pm On Apr 27, 2013
agi-tuedor:
A very serious question to all programmers in this forum. PYTHON and JAVA, which do you prefer? I know different languages are suited for different situations but judging from your experiences, which of these do you think is more flexible? Or more efficient? Your candid opinion, pls.
More efficient? If development time is important then I'd say python.
More flexible? That has to be python again. Python is a multiparadigm language. It supports both functional and pure OOP approaches to software development unlike java which requires that every bit of code must be encapsulated in a class. Take the python built-in map() function. there is no need for it to be a class where u'll have to call is as MapClass.map() if it is a static method or new MapClass().map(). Check d docs on lambdas in java and u'll agree that python's implementation is far superior, or multiple inheritance. why would I need an interface which just acts as a stub and have to implement d methods inline with my code (ugly) when each class can just extend an abstract base class? but that is not saying java is not a great language, i am just too lazy 2 write a thousand LOC when all i really need is just 250!
PoliticsRe: Shameful Look Of Street In Over Hyped Lagos State by bb6xt(m): 11:24am On Apr 27, 2013
xtianh: These pictures depict the true look of streets in Lagos where people believe its a paradise going by what they read and hear on the radio and here in Nairaland.
bros pele o, e b like say na only Lagos ghettos u dey live. d allure of Lagos is in d spirit. There is a unique spirit of freedom and limitless opportunities that pervades d whole of Lagos. It is a spirit of survival which rewards d diligent n smart. Rich or poor, nobody gives a shit about u. U are free to make d best out of life any way u see fit. dats d way i see Lasgidy. dats why i luv it.
RomanceRe: How To Know She Loves You by bb6xt(m): 11:08am On Apr 27, 2013
There are only two things that are absolutely necessary in my woman:
1. Respect
2. Fidelity (which is implied in 1).
This is even biblical: "men, luv ur wives; women be submissive (ie respect) to ur husbands". But our modern ladies prefer to switch role, ie they want 2 do d loving while d man does d submitting. So like Fela Anikulapo Kuti (Abamieda), I no b gentleman at all o!
PoliticsRe: We Paid N250,000 Each For Government Jobs – Victims by bb6xt(m): 3:00pm On Apr 24, 2013
The giver of a bribe and its recipient are equally guilty. The must all be jailed! But this is nigeria....
Jobs/VacanciesRe: Is It Better To Send Cvs In Pdf Or Word Format? by bb6xt(m): 11:53pm On Apr 23, 2013
unlike most people on this forum some like myself don't use or even care about Microsoft or its products (MS Word, Windows etc). Though my Libre Office Writer can read MS Word docs fine I still prefer pdf which is a universally acceptable format, second only to plain text.
Jobs/VacanciesRe: Share Your NIMC Test Experience by bb6xt(m): 11:41pm On Mar 24, 2013
Ziondebade: @Malubi, You dont need to log out, all you were suposed to do is to click END EXAM, if you did dat, den u are safe. @Nwogeh, Which kind staff b dat one tellin you dat system will submit 4 u; dat na fat lie. It is a software programme and d staff dat told u so doesnt knw hw it works ooooo!
Any programmer who knows what he is doing will program d system dt way.
ProgrammingRe: Useful Python Libraries by bb6xt(m): 11:13pm On Mar 24, 2013
pip, virtualenv, sqlalchemy, pyqt, django, tablib, requests, mongoengine, pymongo, ipython
ProgrammingRe: Any Assistance From The Great Programmers In The House by bb6xt(m): 10:52pm On Mar 24, 2013
It is at least 3yrs since I used visual studio but i remember it has a 1 click deployment option in d project properties view. for a full installer u'll nid to add a setup project to the current project and configure relevant setup parameters. this will build a standard installer for ur app.
ProgrammingRe: Please Advice On The Best Platform For A Webapp by bb6xt(m): 10:33pm On Mar 24, 2013
If you already know vb.net I'll strongly advice you use vb.net+aspx. Writing a web app in vb isn't much different than writing a gui app in vb.net, if u try. plus you have the benefit of the excellent visual studio ide. Believe me when I say this is purely objective advice cos I hate anything Microsoft! Personally I'll go with Python+Django or Nodejs+Express.
ProgrammingRe: Python GUI Programming Help!!! by bb6xt(m): 9:56pm On Mar 15, 2013
@webdezzi: I luv qt! I can use it in any language where it is support eg Python+PyQt/PySide, Java+QtJambi, C++Qt5 etc. However, I first discovered it in PyQt4.
ProgrammingRe: Python GUI Programming Help!!! by bb6xt(m): 9:48pm On Mar 15, 2013
started out with pyqt4 but later ditched it for pyside because of the license. But both have the same api except for the initial import (from PyQt4 import QtCore or from PySide import QtCore). From the look of things pyside is not actively developed now so I'd advice pyqt, I hear qt5 is being ported to pyqt presently.
ProgrammingRe: Why Doesn't Anyone In Nigeria Code In A Lisp by bb6xt(m): 1:12am On Mar 13, 2013
Here's some cold water to douse the flames. There aren't many Nigerians coding in lisp because most Nigerian programmers figured it'd be easier to just walk than to lisp.
Python#Java#NodeJS#VB.Net n counting!
ProgrammingRe: Python GUI Programming Help!!! by bb6xt(m): 12:58am On Mar 13, 2013
imho PySide or PyQt is best. It it easier to learn and has an excellent drag n drop ui designer (qt designer). plus it has everything u'll ever need. u can write a complete gui app using only qt apis without any module from d standard lib. if u come from .net u'll find d api very similar. least i forget, it has excellent documentation too. checkout PySide on qt-project.org or PyQt on riverbankcomputing.com.
ProgrammingRe: Where Are The Flex Developers in Nigeria? by bb6xt(m): 12:25am On Mar 13, 2013
javadoctor: There's almost no doubt flex has very nice gui libraries,en skins,its mature as it has been around fr 5years.its action script is also object oriented as it comes wit apis. I'm a java swing programmr nt wanting to go outside the circle. The farthest I wil go to scripting gui's is JavaFx on json. Besides that,java is everytyn to me.
You are missing a world of goodies out their! Don't limit urself by saying u r a java/.net/python/etc programmer. programming languages r just tools and any good programmer can become productive in any language in just 2 weeks given d right level of motivation. So just use d best tool for a particular task rather than blind fanboyism.
WebmastersRe: Pls Which Thwate Ssl Certificate Should I Go For? (URGENT) by bb6xt(m): 11:57pm On Mar 12, 2013
What ssl does is guarantee that data transmitted btw ur app and the client is not tampered with while in transit. Beyond that it does nothing else. Ultimately d security of ur app depends on how secure ur code is. U hav to ensure that ur code is secure from xss, sql injection, DoS etc. A good web framework like django or express will handle d first 2 but 4 d third u may need to implement an IP based throtling/caching system and use a cluster of appservers/load balancers. So in my opinion, go for whatever cert u can afford then work security into ur app code.
PoliticsRe: If U R In GEJ'S Shoes What Will U Do To End Boko Haram Attacks? by bb6xt(m): 9:54pm On Jun 21, 2012
optimus-prime1:
There were many countries that were plagued with the menace of terrorism, terrorist groups, suicide bombings et al loooong before Nigeria's Boko Haram scourge, but those countries discovered measures in combating terrorism and adopted effective strategies in which terrorist activities were either curbed, arrested or eliminated. Special covert units/forces were dedicated for that purpose. Major examples; USA & Israel -of which we are all witnesses on how these countries battled terrorism on a much bigger scene.
Obviously they are experienced in handling such, why cant GEJ seek and Invite the assistance of countries like the U.S, Israel, and Russia who CLEARLY have the experts on investigating and cracking terrorismhuh
Instead, of all the dumb things to have done, He chose to Negotiate with Terrorists! can you Imaginehuh shocked

There were many countries that were plagued with the menace of terrorism, terrorist groups, suicide bombings et al, looooong before Nigeria's Boko Haram scourge, but those countries discovered measures in combating terrorism and adopted effective strategies that basically countered/eliminated acts of terrorism. major examples; USA & Israel -of which we are all witnesses on how these countries battled terrorism on a much bigger scene.
Obviously they are experienced in handling such, why cant GEJ seek and Invite the assistance of countries like the U.S, Israel, and Russia who CLEARLY have the experience and experts on investigating and cracking terrorismhuh
Why is he wasting time?? Instead, of all the dumb things to have done, He chose to Negotiate with Terrorists! can you Imaginehuhshocked
I think the poster's question is very clear; "What will you do if you were in GEJ's shoes". This is not a medium for further criticism (am sure we've all given a fair share of that already!), nor for documenting other countries approach which may or may not work in our own situation.
PoliticsRe: If U R In GEJ'S Shoes What Will U Do To End Boko Haram Attacks? by bb6xt(m): 9:48pm On Jun 21, 2012
I haven't contemplated what I will do had I been in GEJ's shoes but reading your post got me thinking and honestly I have no idea of the best way to tackle the current security challenge, and believe me, I didn't even vote the guy!
ProgrammingRe: What Is Java Programming About? by bb6xt(m): 6:02pm On Jun 12, 2012
Next2Bezee: You were referencing a file there, Why don't you write the code from scratch.



public class Hello
{
public static void main(String[]args)
{
System.out.println("Hello World"wink;
}
}

How many Lines do you see? wink
Dude that is the complete code. What it does is open a file named "example.txt" in write mode or if the file does not create it in the current working directory and then write the message "Hello, world!" into the file. You can try running it as-is and it'd work perfectly. Secondly, if all I wanted was to print directly to the console I could just say:

print("Hello, world!"wink


or do this:

import sys
sys.stdout.write("Hello, world"wink


either case will still be less verbose. Correct your example to write to a file and then we can talk further.
PoliticsRe: India To Give $100 Million Aid For Nigeria's Power Sector by bb6xt(m): 2:20am On Jun 11, 2012
What a waste!
ProgrammingRe: Programmers: Share Your Twitter Handle by bb6xt(m): 1:44am On Jun 11, 2012
@bb6xt
ProgrammingRe: Your Programming Experience And Your Languages. by bb6xt(m): 1:39am On Jun 11, 2012
Started with vb6 in 2007 but ditched it after about 4 months for vb.net. Got really good with vb.net but became frustrated when I changed over to Ubuntu and couldn't port my vb stuff (even with mono and monodevelop IDE!), then I seriously started looking for a more cross-platform language, thought of Java but was already hooked on curly-braces-less and no-line-delimiter programming so I found Python (late 2009) and became inseparably attached to it (Django, PySide/PyQt, etc, etc). Am currently learning C++ just as a secondary language though. Javascript/HTML/CSS come with the web dev terrain hence I know a modest amount of each but I strictly consider myself a backends person (web apps, desktop apps and APIs).
ProgrammingRe: What Is Java Programming About? by bb6xt(m): 12:09am On Jun 11, 2012
lordZOUGA: liar
That is a lame argument cos this is a very straight-forward issue. just give us the java equivalent so we can count the lines and see!
ProgrammingRe: What Is Java Programming About? by bb6xt(m): 1:07pm On Jun 07, 2012
Chimanet: If you want to really learn OOP, Java is the language to start with, it might be difficult at the begining but ones you nail it, Java becomes the so cheap. I feel so comfortable when coding with java than php, python etc. C# is another very good language but will only appreciate it if you are coming from java background
Java isn't nearly as "cool" as Python is for OOP. Python is easier and more expressive(!) than Java. Try this:

[code language=Python]
with file('example.txt', 'w') as f:
f.write('Hello, world!')
[/code]

In Java this will probably take 10 - 30 lines. Thats just for expressivity, need I say more for pure OOP? Less error prone (no braces, semicolons etc). Java sure is a powerful language but it certainly ain't better than Python! Difficult + Eccentric != Best
PoliticsRe: India Must Go by bb6xt(m): 9:46pm On Jun 05, 2012
This thread is useless as far as I know. It is self-delusional to expect the Indians, or any foreigner for that matter, to have a better view of us when our own leaders treat us like scum. Recall that we kicked Ghana out in the same manner as the originator of this thread is proposing and see where they are vis-a-vis Nigeria right now. In India's case they are already ahead of us so perhaps chasing them out will make them become the next superpower!
ProgrammingRe: Please Don't Learn To Code by bb6xt(m): 4:49pm On May 29, 2012
delomos: I guess that's true if you consider that one bad programmer can easily create two new jobs a year.
We need more jobs in Nigeria anyway.
ProgrammingRe: Is Visual Studio A Web Development Tool? by bb6xt(m): 3:55pm On May 29, 2012
web dev? Yes, but if u're implying web design stick wit dreamweaver. Am not sure it wud b much use to u if u r using anything other than dotnet (i.e. C#, vb.net)

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