Bb6xt's Posts
Nairaland Forum › Bb6xt's Profile › Bb6xt's Posts
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. |
Editang, how I just love to suck on the periwinkles! |
gothrones: ^Yeah, my bad. Haven't actually used it before so was confusing it with range() because of the name. Sorry guys. |
I believe random.randrange should return a list so from the line random.randrange(len(word)) try this instead
Am sure you can take it from. PS: am also posting this from my fone. |
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 |
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. |
agi-tuedor: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! |
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. |
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! |
The giver of a bribe and its recipient are equally guilty. The must all be jailed! But this is nigeria.... |
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. |
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. |
pip, virtualenv, sqlalchemy, pyqt, django, tablib, requests, mongoengine, pymongo, ipython |
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. |
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. |
@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. |
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. |
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! |
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. |
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. |
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. |
optimus-prime1: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. |
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! |
Next2Bezee: You were referencing a file there, Why don't you write the code from scratch.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:
or do this:
either case will still be less verbose. Correct your example to write to a file and then we can talk further. |
What a waste! |
@bb6xt |
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). |
lordZOUGA: liarThat 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! |
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 backgroundJava 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 |
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! |
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. |
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) |

;