₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,997 members, 8,419,863 topics. Date: Thursday, 04 June 2026 at 04:07 AM

Toggle theme

Sleepingdemon's Posts

Nairaland ForumSleepingdemon's ProfileSleepingdemon's Posts

1 2 3 4 5 6 (of 6 pages)

ProgrammingRe: CI From PC To Bitbucket To Jenkins To Docker To Ubuntu VPS Running Nginx Block by sleepingdemon: 9:10pm On Jan 09, 2018
i also believe this link might be helpful for you.

https://www.youtube.com/watch?v=ppCzDDpcqRk&feature=youtu.be
ProgrammingRe: CI From PC To Bitbucket To Jenkins To Docker To Ubuntu VPS Running Nginx Block by sleepingdemon: 9:04pm On Jan 09, 2018
i see. If you have a docker setup, why do you have nginx running on the vps itself and not on the docker, then exposing the port 80 of docker to 80 of the vps?

So you will also need the jenkins bitbucket plugin, which you will configure to use your credentials and get access to your repo.

You would also need to setup webhook from your bitbucket repo to notify jenkins each time you push to the bitbucket repo.

However, i believe there is a jenkins-docker plugin you might want to use to simplify your docker installations.

Goodluck.
ProgrammingRe: Need A Developer To Help Me Create A Messaging App by sleepingdemon: 4:24pm On Dec 20, 2017
Send me a mail hi@samuel.com.ng
Lamzzyy:
I've always been a huge fan of computer "geeks" my whole life seeing them do their thing, and all just gives me this adrenaline rush. That made me, started the idea of creating an instant messaging app. So basically I've been doing a lot of research on nairaland to find a good developer to help me create an instant messaging app and I figured out this is the best way...

I've done some drawings to get a glimpse on how the app will look like and some features it'll hold so I believe in hard work so let's get down to bizz....
ProgrammingRe: Is Node.js A Future??? by sleepingdemon: 3:35pm On Dec 11, 2016
Finally the arguments are over.
Abeg who has spare world class dev idea that he or she is not using, lets talk.
ProgrammingRe: Is Node.js A Future??? by sleepingdemon: 9:28pm On Dec 10, 2016
Sibrah:
So what's nodejs according to you?
node js is a runtime environment for server side JavaScript based on V8 engine.
ProgrammingRe: Is Node.js A Future??? by sleepingdemon: 8:01pm On Dec 10, 2016
Did I just see node is a server on its own?
I'm shook.
Jes like saying php is a server on its own, as you can invoke a php like server using php-cli php -S host:port command.
ProgrammingRe: Please Is There Anyone Who Does Phonegap by sleepingdemon: 7:46pm On Dec 10, 2016
I've used phonegap for a couple of projects, and I can say some things.
1.) it's a faster approach, but then you pay with application size at the end of the day.
A simple hello world app can take almost 2mb
2.) while it's much easier to target almost all phone platforms, You'll end up paying for it with performance.
3.) however, if it's a very little app you want to build, you can go on it, but for a much larger app, try nativescript, or finally go native.
4.) for applications that need to access some specific things like accelerometer, SQLite, e.t.c lagging comes in, and then you actually feel the difference in performance, as even the end user would feel it.


But in all, for small applications, it's an easy start.
ProgrammingRe: A Good Programmer That Lives In Lagos Needed by sleepingdemon: 9:50am On Nov 01, 2016
I think You guys are taking this issue so far, and i guess its as a result of misinterpretation.
The op said "understand Yoruba". This does not necessarily mean the person must be Yourba.
Ever for once than trying to bash him wonder if the application he is trying to create is "Yoruba" specific? like we have some french specific or spanish specific applications?

The main tribalistic people are you people that do not look at the full context of a sentence before bashing people.
Tech JobsRe: Vacancy For Full Stack Web Developer by sleepingdemon: 10:16pm On Oct 09, 2016
DoyinJ:
There is a vacancy for the post of Full Stack Web Developer in one of the biggest FMCG company in Nigeria.

Interested candidate should send detailed CV to programmerng@gmail.com with some experience on job done.

Deadline is Friday 21st October 2016. Salary very attractive.

Freelance guys are allowed to apply.

The candidate should have good experience in the following:

Programming Language : Javascript, Html, CSS

Scripting : Node.js

Frameworks : React and Redux or Angular 2 or Express and Jade

Testing : Mocha, Chai etc ...

Database: MySQL or PostgreSQL

Other experiences in the following will be an added advantage:
Github basics
RESTful web services principles
Babel ES6/ES5
WebPack
Text editor such as Atom, Sublime Text ...
lemme see what i know sef here
programming lang: all listed
scripting: intermediate(node.js)
framework: failsaduse express and ejs)
testing fail: (never even used node.js that serious to do testing)
database: mysql
other experiences: pass.

But.......i havent used node.js for any serious app apart from using it alongside php for realtime. talking(sockets.io)
Over to those guys that do FULL NEMP or MEAN stack.
OP is looking for you guys
ProgrammingRe: What Can Be Done To Improve This Section? by sleepingdemon: 12:20pm On Sep 27, 2016
FincoApps:
Niceee. I'm interested
If Seun wouldnt start dragging war with me the way (according to what ive read (he did with dhtml));
ProgrammingRe: What Can Be Done To Improve This Section? by sleepingdemon: 12:04pm On Sep 27, 2016
DanielTheGeek:
Tell me more about it and how I can support you.
Basically the plugin injects prism js or highlight js script tags into the nairaland page that is being logged on to,
Then it looks for codes wrapped in "<pre>" and "<code>" tags, then gives them the syntax highlighting feature.
And since this js script can auto detect over 200 languages, we are good to go.
The short method is, tell seun to just add the script tags loading either of them and initialize them on his header.
Then people writing codes would just use the "<pre>" and "<code>" tags.
It takes less than 2 mins for seun to actually do that.
ProgrammingRe: What Can Be Done To Improve This Section? by sleepingdemon: 8:03am On Sep 27, 2016
I was thinking of creating a chrome plugin that injects the syntax highlighting to nairaland. But after I've heard about the battle between Seun and dhtml18, I just swiftly forgot it
ProgrammingRe: Front End Developer And Backend Developer Needed. by sleepingdemon(op): 2:46pm On Sep 20, 2016
hollyfat:
Location? lagos or anywhere?
Lagos as written previously>
magodo to be precise
ProgrammingRe: Front End Developer And Backend Developer Needed. by sleepingdemon(op): 1:20pm On Sep 20, 2016
SeunLanLege:
Full time employment or contract? Cause I'm a full stack Web developer. I do both front end and back end.
Contract
ProgrammingFront End Developer And Backend Developer Needed. by sleepingdemon(op): 10:42am On Sep 20, 2016
Morning all,
Crust resources is in urgent need of both a front end developer and a back end developer in Lagos.
For front end developers,
basic requirements are :
Adequate knowledge of html, css and javascript
usage of photoshop and the likes is an added advantage.

for back end developers,
basic requirement are:
adequate knowledge of php (codeigniter / laravel);
strong knowledge of client side javascript, html and css.
knowledge of python is an added advantage.

Cv's should be sent to samuel@crustresourcesng.com
ProgrammingRe: Which Is The Best Serve Side Scriptn Language Php Vs Ruby Vs Python Vs Perl by sleepingdemon: 1:36pm On Aug 28, 2016
if ill say in terms of learning speed, php.
in terms of development speed, python using django is faster.
then for lazy coders: django. but i must warn, to use django, you have to trade off the learning speed youll gain if you use php.
for perl and ruby, i havnt used any of those languages, and ill rather not compare based on what ive seen on the Internet.
Note: in all of this, i made sure i have differentiated the types of speed i was referribg to.
if actually talking about load speed, i might need to ask if it is with/without hacks. As the area of load speed might bring out more arguments.
ermm lastly, FrankLampard made mention of php being more secure. could you please enlighten me more on that? Thank you.
ProgrammingRe: Get A Custom Website For As Low As 5k (Check Thread For My Portfolio) by sleepingdemon: 3:35pm On Aug 24, 2016
FrankLampard:
No offense bro, can we see your own work? Let's commend it and possibly give you a contract.
i actually in all of these did not say i am either a developer/programmer or a better one for that matter.
im just here to make comments.
however, the only thing i am not restricted to disclosing about any job i might have done publicly, might be an undocumented php framework i created, and lives on my system till i document it.
if you do want to know/see my works, then you can contact me personally.
ProgrammingRe: Get A Custom Website For As Low As 5k (Check Thread For My Portfolio) by sleepingdemon: 10:25am On Aug 24, 2016
I honestly did not want to comment on this post, but i think people are already flying the part that the sites he even posted on here are very much amateur looking in the ui aspect.
for example, the paytwice, did anyone notice that even the items arent of uniform dimension? i.e the dimension is determined by the width of the image to be shown?.
Take a look of how he even displayed his price. (i wont even comment on that one).
No favicon on the site.
and a whole lot more i dont even want to try.
That other forum site, i even refuse to take mytime to go through it.

I however, did not even bother checking the security level of those sites.
So if he charges 5k for this level of competence, FELLAS, He's right!
ProgrammingRe: Jquery Plugin For Nigeria States And Corresponding Lga by sleepingdemon: 10:16am On Aug 24, 2016
guru01:
Hello, I just made a jquery plugin for state and LGA.
Anyone who needs it, can contact me.
In all countries in the world?.
or just nigeria.
You need to be specific in things like this.
ProgrammingRe: Solving The Nigerian Budget Padding Issue With PHP by sleepingdemon: 1:54pm On Aug 22, 2016
dhtml18:
One of the most controversial issues going on in the Nigerian government now is the issue of budget padding. In fact, if you search for 'budget padding' in google right now, it is Nigeria that will 'full' the first page of the search result.
My own take on the matter is that we should use PHP programming language to pad our budget as it seems to yield better results.

Let us look at it from a programming point of view, imagine the budget is say N10 and we pad it by N100, now let us convert that statement into a practical code:



// In case you dont have a php compiler, the result you will get is:
999,999,999,999,999,967,336,168,804,116,691,273,849,533,185,806,555,472,917,961,779,471,295,845,921,727,862,608,739,868,455,469,056

and that is my reason for suggesting that we use PHP language for our budget padding.
Thank God say these senators no be programmers. Them for pad, sell the country
ProgrammingRe: Python by sleepingdemon: 3:57pm On Jul 26, 2016
well, i guess i am interested in this your application.
If you dont mind me using the python Flask framework, Do text/ call on 08052016214.
Certification And Training AdvertsRe: Urgent Vacancy by sleepingdemon: 8:42am On Jul 26, 2016
so now, na to turn guys to lecturer be the new trend ba.
if ull pay 450k and above monthly of basic salary, tell me to send cv
Tech JobsRe: Front-end Developer Intern Needed At Rastvorlabs by sleepingdemon: 1:49pm On Jul 18, 2016
sonOfLucifer:
Seconded.
Thirldconded. cool
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 9:27pm On Jul 17, 2016
seunthomas:
I would like to contribute my 2 kobo. Firstly, .Net is not a language but a runtime. The .Net platform has several languages and even languages like php,python,ruby could be ported to work on .Net VM.
In the early stage when the .Net framework was developed (early 2000), it was actually far more advanced than even Java. The closed nature of the framework made it develop far slower than most open languages. Its actually adopts new idealogies faster than Java.
I develop on most of this platforms and can categorically say anyone making such an assumption is ignorant. .Net is now more open and i can say that it will be relevant for a long time.
true that> e.g Python works on .net using IronPython
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 9:10am On Jul 17, 2016
abubaka101:
I can't see any reasonable objective being achieved with this discussion.
Programmers come in and argue the features that their language has over. net and vice versa?
Or that programmers come in to claim what webapps have been done in. net?

These discussions are boring, irrelevant and a pure waste of time for everybody.
But it's good to know that lots of programmers are still on Nairaland, maybe one of you could help me out with something I want to do.
Is it possible for me to create social login through Nairaland on another webapp?
it is possible, if you check well, there was a thread on nairaland, where jidez007, i, dhtml18 and some others were talking about this, cant remember the title, but its not officially possible, but works through an hack. now not to derail this topic. leave us to this battle of .net
its one of the few things we can spare time for
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 9:00am On Jul 17, 2016
dhtml18:
I am expecting your message, not seen it yet. Hope you are not the dude talking nonsense with me on Fb just now?
noop, sent it since afternoon.
my fb is facebook.com/samuel.a.ogundipe
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 8:33am On Jul 17, 2016
Febup:
I only used that code sample to show for loop in Python.

But still your code does not show Thread Safety when updating a local variable outside a Multi-Threaded loop so I cannot compare yours with mine.
joelib module takes care of that automatically for me.
note that in python there is an inbuikt multiprocessing and multithreading library, which the joelib library was built on top, had i chosen to use that library directly, i would have had to deal with the safety myself. but using joelib, i neednt care about that.
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 11:07pm On Jul 16, 2016
Febup:
^^^

But how about this Phyton code below, it is using a for loop

>>> from math import sqrt
>>> from joblib import Parallel
>>> Parallel(n_jobs=1)((sqrt)(i**2) for i in range(10))

https://pythonhosted.org/joblib/generated/joblib.Parallel.html
i was also using a for loop.
only difference is they kept thier range of numbers directly in the loop, while i used a variable to hold my range. Then they were doing square roots and raised to power off together which wasnt part of what either you or i did.

(sqrt)(i**2) meant the value of the i should be raised to power 2, then the square root should be returned.
which wasnt part of our own scope
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 10:28pm On Jul 16, 2016
Febup:
The code I posted is incrementing x and printing x from 1 to 1,000,000 inside a Multi-Processing foreach loop as well as doing the same with the total variable and it is Thread Safe.

But your code is not using a for loop or foreach loop and there is no thread safety in your code.
it uses a for loop which is placed inside the parallel block
the parallel block starts from with Parallel(n_jobs=2) as parallel:, then inside it is the for loop i.e for one in nums.
the increment of x is done inside the for loop too i.e x=x+1. the total variable is also added in the for loop i.e total +=one.
i guess its because nairaland isnt code friendly and python dosent use curly braces you werent able to notice them
ProgrammingRe: .NET Is A Dead & Useless Language - .NET programmers come and defend yourselves by sleepingdemon: 10:24pm On Jul 16, 2016
dhtml18:
Interesting. . . .
err, to deviate a little, sent you a message on fb.

1 2 3 4 5 6 (of 6 pages)