₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,489 members, 8,445,721 topics. Date: Wednesday, 15 July 2026 at 12:34 PM

Toggle theme

Seunthomas's Posts

Nairaland ForumSeunthomas's ProfileSeunthomas's Posts

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

ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by seunthomas: 6:26pm On Oct 03, 2016
This list does not do justice at all.

From my own experience, amongst enterprise users(banks,telecom,etc), Java and .NET are still the most prominent languages.

I dont even think they adopt stuff like nodejs.


Startup and other new vertical companies can play around with nodejs,etc but enterprise users will always go for those stack that have been tested time and time again.
ProgrammingRe: What The Different Between ENUM And ARRAY In Java by seunthomas: 6:22pm On Oct 03, 2016
@elfico is actually right on enum but i want to slightly differ on arrays. Arrays may not necesarily always store the same type. There are specialized arrays that can hold any value but they still follow basic rules guiding array datatype.
ProgrammingRe: Nland programmers: i need your advise by seunthomas: 6:18pm On Oct 03, 2016
Before i can give any advice, i would ask what your age is.

And what you hope to achieve with programming.

Where do you expect to be in a year,5 years,10 years,etc.

See programming as a long-term investment, something you will be working on for many years to come.

Most people start up wanting to make money within a year or 2.

It took me close to 3 years to learn java and grasp it very well.

I was coming from a c/c++ background and so enforcing objects was a totally different way of thinking.

And i never made any money from programming until several years after starting.

So don't be in a haste to be productive, learn and gather experience.
ProgrammingRe: Nairalanders Programmers Please I Need Your Help by seunthomas: 6:10pm On Oct 03, 2016
Confirm that there is a mysql user with that username,password and that has access to host localhost on that server. The error is very descriptive enough.
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 8:00pm On Oct 01, 2016
DanielTheGeek:
You can use a .htaccess file to prevent this kind of attack.
Research on turning of the ID in sessions by using something like:
session.trans_id off (I'm not sure of the exact line of code tho)
I doubt you can, because sessions are passed to the http client. .htaccess wont have any effect.
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 6:42pm On Oct 01, 2016
mnairaland:
I used to think people hijack sessions of people who have already logged in. If that indeed is the case then what snap chat does will be completely irrelevant.

I have been searching for a good solution to this but is yet to find one.
What snapchat did was to make it more difficult to hijack sessions. But like i stated first in my reply, there is no way to totally prevent it.
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 6:13pm On Oct 01, 2016
I Will resume the lessons later tomorrow. Have a good weekend.
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 6:11pm On Oct 01, 2016
mnairaland:
@seunthomas I have a question.How does one prevent session hijacking?
To be honest with you, there is actually no way to prevent it.

You can actually make it more difficult for sessions to be hijacked.

One way is by allowing one user signup per device. If a user logs in from one device, you automatically sign them out from all other devices. You may need to add some headers in the request to act as a challenge. Thats what snapchat does.

They log you out from all other devices and you have to generate a specific header which is a challenge between the server and client to verify if the requests has been tampered with.

However, like i said, a determined attacker can still bypass this with some effort.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 10:37pm On Sep 29, 2016
Nmeri17:
Good morning sir. Please what communities are you active on, so we can troop there en masse and tap from your many illustrious years of expertise?
Well i made some contributions to python.

I was amongst the first to start clamoring for the python windowing shell, pythonw.

I also reported a few bugs to php mysql module.

As for communities that am active on,I would say none.

I contribute here and there from time to time.

If no be say some people find my wahala, i spend too much time on NL recently.


LOL.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 10:34pm On Sep 29, 2016
encryptjay:
I think it's talkprograms. org
hahaha.

Very unfunny.

Why is it that most active contributors on this section are the one's that rarely write code??

Wetin una dey find self.


You come register attendance.

Very well we don see you....
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 7:31pm On Sep 29, 2016
Lesson 4 Never take anything for granted
Most of the most humilating hacks that ever happened was because of developer carelessness. The BrowserStack of 2014,Snapchat hack of the same year were all as a result of someone being careless with credentials.

Never keep important passwords,remote login details,cpanel details,ssh details,etc in places where they could be easily accessed.

The most popular security vulnerability in the world is 'carelessness'.

Develop a security consciousness and be very critical about credentials. From time to time change passwords etc.

Some compromises may not be detected until you change your credentials.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 6:20pm On Sep 29, 2016
FincoApps:
Thanks... sticking to cross platform for now until I have enough Man power for native
If you are using unity or godot most likely you are already doing native. Most game engines have a scripting interface. They come standard. Because you are scripting in a game engine does not mean you are working hybrid.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 3:41pm On Sep 29, 2016
FincoApps:
Thank God I saw this before trying it out... but a question

What's your thought on stuff like Unity or Godot Engine ? Do they experience performance anything since they are cross platform too ?

Please don't insult me o
Unity and Godot engine are written in c/c++ if am right. Its different from using an intermediary language like java or .net.

If you remember the common logic, assembly is faster than c/c++. c/c++ is faster than java,.net and java,.net is faster than php. The case being that php is interpreted.

If you are using godot/unity you have no problem. They are cross platform/cross build. Cross build means that they build on those platforms e.g Android,IOS,Windows,OSX/MacOS,Linux.

I don't make it a habit of insulting people except am provoked.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:38am On Sep 29, 2016
nnamokenna:
@seunthomas and @dhtml18, is any of you good at PHP? Using MVC. There is a problem I would need your help with please. Thank you.
@nnamokenna Create a new thread
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op):
lekropasky:
Good Job is really going on here. I have some questions Boss. As a mobile app developer -Android, i am a noob when it comes to security, and it bother me alot. i have a software that communicate with a rest service, and i dont want some hackers to abuse my Rest Api, lets say i have a php file that handles user login with an address like --http://www.example.com/rest/login.php?user=username&pass=password, someone can just reverse engineer my app, copy the url, paste it inside a browser and maybe grab the raw json that was meant to return to the client. How do i prevent this please? Sends token to server on every http request? How do i verify the token on the backend...i have a lot of questions....THANKS.
a. It really does not matter if you use a GET or POST in your request. Just ensure that you send the traffic over SSL/HTTPS (this is just a minor prevention that can not stop determined Man in the middle attacks).
b. SSL certificate pinning is a good way to reduce the chances of your traffic being sniffed by a third party. It can however be bypassed without much work on most rooted devices.
c. Some apps do check to see if the device is rooted. If the device is rooted they wont run. This is also a precaution and combined with SSL certificate pinning will prevent about 80% of attacks.
d. Another way to mitigate attacks would be to use a shared key thats known to the server. Then encrypt all requests from the client going to the server. This is how most of the payment processors send credit card details. If on a mobile device, ensure the encryption part is done in c/c++ code. For android developers, never encrypt data in Java, always do it in c/c++. There are very good android apk to java decompilers that can convert all your code back to raw or approximate java code.
Will continue Lesson 4 later today.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 9:46am On Sep 29, 2016
Darangi007:
What kind of problem? The apps look and feel native(the ones built with xamarin)
Xamarin is the closest to native apps. It actually converts to assembly on ios and bundled the .net runtime on android. It however can not compete speed wise with truely native apps. The point is once you go cross platform, you must be ready for trade offs which in many cases include speed/performance issues.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 11:16pm On Sep 27, 2016
KvnqPrezo:
Lolz I'm following
We will wait in vain. I am going to bed but still waiting for him.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 11:15pm On Sep 27, 2016
FincoApps:
Who's flexing muscles with you in programming, who ever mentioned I'm a programmer to you ?.... I'm sure you were one of those daft bullies when you were younger....

Someone as knowledgeable as you are don't deserve such insults but you always find a way to sound dumb
I know you are a programmer. Except you have been lying...
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:51pm On Sep 27, 2016
Did NL just censor mehuhhuhhuhhuhhuhhuhhuhhuhhuhhuhhuh??
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:50pm On Sep 27, 2016
FincoApps:
LOL why are you calling me a rookie now..... I know about Phonegap apps not performing well on Less privileged devices but first of all

I'm considering majority of devices we have around
Secondly, creating plugins can fix the rest mehn... it's all about the approach

Lastly I think you are retarded and it's a waste of time trying to make communicate with you
Do you know i get angry with people like you??

Its because you dont know much and you are misinforming people.

Thats why i get pissed and vexed........

Look who is call someone a retard.

By all standards am not your mate when it comes to programming so please go and look in a mirror and make that statement.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:47pm On Sep 27, 2016
KvnqPrezo:
@seunthomas ..
I sense another battle...
.
Don't create the thread let him do it (since he asked for a challenge)...
He wont.

He is just a coward that likes to make noise.

Am still waiting for him.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:46pm On Sep 27, 2016
KvnqPrezo:
And you're are now confusing me...
.
I don't know the difference between native and hybrid...
Native apps use the official SDK from android or ios. Hybrid apps use the webview which is part of the official SDK.
A webview is a browser. Most of the webviews are based upon webkit and some even have the v8 engine as their javascript engine.
A hybrid app is just a web app thats running in an android app. The issue they have is the native-js bridge.
Your first lesson you probably learn when comparing programming languages is that
c is faster than java and assembly faster than c.
This is true because with assembly you are already at the machine level.
C is converted to binary but via assembly so its still a stage higher.
Now java is first of all converted to another intermediary form(byte code) and byte code is then assemled.
Within all this stages time is wasted although very small in most cases.

Its the same with Hybrid apps. Hybrid apps talk with java in case of android or objective c in case of IOS via a bridge.

The delay between the bridge causes lag in the apps and sometimes apps maybe very sluggish.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 10:39pm On Sep 27, 2016
FincoApps:
LOL no not really.... but you are like Nkem Owoh (Osuofia).... too much razor sharp mouth
Your mouth is sharper. And you dont know your level.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:37pm On Sep 27, 2016
KvnqPrezo:
I don't know about it and how it works
If you can afford to spend time and stress of learning native development, please go into native development straight away.
ProgrammingRe: Native JAVA Android Developers - Let Us Discuss Techie Stuffs by seunthomas: 10:36pm On Sep 27, 2016
FincoApps:
It depends on the App idea.... Hybrid apps generally seem to perform poorly because it is TOO DAMN easy to create a crappy Hybrid App.....

But I tell you, there are some that perform just as good as native... I agree, it's really difficult to see such, but I have
You are the biggest rookie i have met. Mind you i contributed code to the original phonegap till it was moved to apache cordova.

You cant make a performing hybrid app that would be half as good as a native app.(I stand to be corrected).

Native apps can be optimized so much that they are near perfect.

And the challenge with hybrid apps is that they will perform differently on different devices.

Maybe you should try testing on devices with 1GB ram or less and comeback here and make the same statement.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:32pm On Sep 27, 2016
FincoApps:
Let's clarify this so there won't be excuses like you've always made to dodge the small bullets some people have been shooting at you...

SHOULD I THROW A CHALLENGE ?
Well the rules are simple.

You throw a challenge and then i throw one.

Last man standing....

If you are ready we will create a new thread.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 10:30pm On Sep 27, 2016
FincoApps:
smiley cheesy grin smiley

Normally, I would write "LOL", but this actually Literally got me Laughing Out Loud cheesy
Anything to bring down seunthomas right. sshhhhhhh.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 10:30pm On Sep 27, 2016
DanielTheGeek:
No diss but I genuinely take you as a technical evangelist, you preach code, till you actually share some useful code snippets..it's people like you that receive stack overflow's down-vote hammer of justice. (No diss)
Well most tech evangelist know their onions well.

If you have ever taught anything, you will know that only the very fluent can teach a subject matter.

By the way, i rarely use stackoverflow.

I just go there sometimes to see solutions that people have already solved.

But am not an active community member.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:25pm On Sep 27, 2016
FincoApps:
Can you just stop making these extremely annoying statements.... you are the first I've ever seen that'll say "I'm better than everyone in.....". Even Great people that has done great things (I'm not limiting it to programming now)... they don't make such boastful statements..... Let your brilliant posts speak for you and stop saying that rubbish

Each time you say something brilliant for like 10 secs, you just say some other thing to mess it up

The people that named the word "annoying" probably had you in mind while naming the word cause you are the real definition of annoying
You have a problem.

Am not your problem.

Go and seek medical/psychological help.

And if you feel you are as good as i am then throw a challenge its as simple as that.

If you wont then keep shut.

My statement still stands.
ProgrammingRe: The Greatest Programmer On Nairaland by seunthomas(op): 10:23pm On Sep 27, 2016
DanielTheGeek:
As per what?, keep waiting for them to find you oh (because developers have finished in the market).
Your competence will make you visible. Its actually 100% proven. I get more jobs based on referrals than when i go directly to clients to prospect. Most times its people who know you and what you can do that will get your jobs.
ProgrammingRe: Lessons In How Not To Implement Application Security by seunthomas(op): 9:44pm On Sep 27, 2016
Lesson 3: Logging is in your friend
Although this is outside security concerns for an application.

But Logging the interactions on your application and having it saved in a central repository can help you better understand and attack and prevent it in future.

In most times large companies are hacked or their applications compromised, the first thing they do is to check the logs.

From the logs, they can identify the attack as well as how they compromised their systems.

In cases where there are no logs, such a company can not be able to prevent such and attack in the future.
ProgrammingRe: Let's Be Honest, The Number Of Programmers We Have In Nigeria Is Exagherrated by seunthomas: 9:40pm On Sep 27, 2016
KvnqPrezo:
I have a question shaaa

Between computer science and engineering which is better..( I'm going to school soon)

I really wanna be the next bad coder!
But people say computer science don't worth it...

What's your view?
Programming is a personal thing. If you want to be the next bad coder, you have to do more than they are going to teach you in school. My first language was QBasic and after that i learnt Fortran 77 and then C and VB and so on... You must learn as much as you can while you can still assimilate it.

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