Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,982 members, 7,817,900 topics. Date: Saturday, 04 May 2024 at 10:19 PM

DonSegmond's Posts

Nairaland Forum / DonSegmond's Profile / DonSegmond's Posts

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

Programming / Re: How Many Programmers Are Looking For Work? by DonSegmond(m): 4:01am On Sep 28, 2016
piusjoe:
Any pref Lang?
Backend - OOP languages - Python, Java, Go, PHP
Frontend - Javascript
Mobile - Cross platform, Javascript or C#.

Any other languages are possible if the developer can sell their knowledge and make a case for it.
Programming / How Many Programmers Are Looking For Work? by DonSegmond(m): 2:43am On Sep 28, 2016
How many programmers are looking for work? I'm thinking about posting some jobs on here and will post with salary. None of that email me let's talk. This is going to be work at your own pace, work from home, when you want. Provided you meet the deadline. No degree, just be able to code. Period.

Frontend & Backend & Mobile
Programming / Re: . by DonSegmond(m): 2:40am On Sep 28, 2016
If Java is too hard, try a different language like python or php.
Programming / Re: How Do You Make MONEY As A Programmer? by DonSegmond(m): 2:39am On Sep 28, 2016
People that post job on here, don't post the pay. No amount mentioned, no reply. If they are serious, they will post the price.
Programming / Re: Urgent Programmer Needed. by DonSegmond(m): 2:38am On Sep 28, 2016
How much are you paying?

When people list houses, cars for sale, they list amount. Want to hire someone? Mention your pay. Money is a great motivator.
Programming / Re: Vacancy - PHP Application Developer by DonSegmond(m): 1:44am On Sep 27, 2016
How much are you paying?
Programming / Re: Python Creatives: Where Were We? by DonSegmond(m): 1:42am On Sep 27, 2016
I dig python
Programming / Re: Ruby On Rails Developer Wanted - Its Urgent by DonSegmond(m): 1:41am On Sep 27, 2016
I do ruby on rails, but you need to post how much you are paying right here in public. I don't have time for that back and forth.
Politics / Re: Lai Mohammed To Sue Fadeye And Bazuaye Who Said He Stole 'ChangeBeginsWithMe' by DonSegmond(m): 1:48pm On Sep 26, 2016
Maybe he got it from listening to Matt Zarley, the gay musician, who released the "Change begins with me" song in 2011.

http://www.lgbtqnation.com/2011/08/new-music-from-out-artist-matt-zarley-change-begins-with-me/

1 Like

Programming / Re: Containers by DonSegmond(m): 10:58pm On Sep 25, 2016
foldl:
Use docker. I once deployed an odoo instance using docker containers. They are also useful for isolating development environments without bloating your system. Sadly, there isn't much advantage in using docker if you're on Windows. You'd be better off with Vagrant in that case. Docker containers are light because they reuse the kernel of the host OS and since you can't reuse the Windows kernel for a Linux container you'd have to use virtualization (virtualbox, VMware etc). Containers are very similar to creating a chroot jail.

Nah, containers are not like chroot jail. I've used chroot in the 90's on BSDs. Do you get your own networking? or full OS? chroot isolates the rootspace of your program, so you can run your program in /tmp/foobar/ and it will only have access to /tmp/foobar and nothing outside of that.

Anyways, I don't use Windows. I understand that some developers might although I find it very difficult to grasp why. Unless you are developing windows applications, you should be running Linux. Even if you are running Windows, you should dual boot both.

foldl. Outside of development, haven you given thought to using it for production? A sizable amount of company are doing so now.

1 Like

Programming / Re: . by DonSegmond(m): 6:31am On Sep 24, 2016
Make use of multiple books, some books are just bad. It could be that the book you are using is bad, or possible too advanced and you need a simpler book. Make sure the book is for absolute beginners, find out by reading the Preface and finding out who the target audience is.
Programming / Re: PHP: How Do I Create A Login Page That Directs Users To Respective Accounts? by DonSegmond(m): 6:29am On Sep 24, 2016
You are trying to conflate two different ideas.

First there is authentication. This is the login.
Then there is authorization. This is a matter of if they have permission to see something.

Authentication - make em login, track em.
Authorization - for anyone that access a resource, have them provide their identify and see if they have access.

This is very basic. The fact that you are asking this is telling, you should not try to solve this yourself. I suggest you learn a framework that has already solved all this, and just use it. I recommend laravel. It has a simple learning curve.
Programming / Re: Running Postgresql On Fedora 24 Linux by DonSegmond(m): 11:40am On Sep 23, 2016
Postgres is fully feature, more so than MySQL. It has richer data types. MySQL doesn't intend to be so. MySQL is good enough for basic websites. If you wish to build your business bet on Postgres. MySQL has reliability issues and loosing your data is a possibility that sadly plenty of people have experienced. MySQL is great for a read heavy site like a news, blog or web forum. Postgres is a solid database. It supports true ACID. Atomicity, Consistency, Isolation and Durability. So is good for sites like Banks, Auction, where every action truly does what you expect. MySQL will truncate your data if you give it what it doesn't expect, meaning, it silently fails. Postgres will return an error, letting you know you are violating your data. The rumor that Postgres is not fast is a wash, I have a Postgres database with few billion records that get's pounded on every damn second for that last 5 years and it's holding up fine.

3 Likes

Webmasters / Re: Seun We Cannot Login Nairaland Via Freebasics by DonSegmond(m): 5:23am On Sep 19, 2016
bigtt76:
It looks like an issue with NL's cloudflare settings. Freebasic uses your site's DNS to locate it's origin. This means that Freebasic is seeing NL as coming from a proxy DNS environment. Why not relax cloudflare settings to test and see. All the best bro.



^^ bingo, it's a catch 22 tho. if he doesn't use cloudfare to cache, he increases his bandwidth and server cost.
Politics / Re: Tell Your People To Forget About Biafra: Buhari Tells Igbo Corpers by DonSegmond(m): 1:16am On Sep 16, 2016
"Your people" As the president, everyone should be his people. It's pretty sad that the leader elect has the mindset of his people vs other people. Who are his people?

1 Like

Properties / Re: Twin 2 Bedroom Flats & 3 BQS In Ph @n22m Only by DonSegmond(m): 8:24am On Sep 15, 2016
You have got to be kidding.
Programming / Re: How To Calculate Total Time A User Spent On My Site by DonSegmond(m): 3:16am On Sep 15, 2016
FrankLampard:


Sincerely, I no understand one thing that guy say up there. cry

I'm sorry. What I mean is you use javascript to listen to events, such as mouse movement or keyboard. This lets you know that the user is actually using the website. I leave my computer on and go to sleep with many browser windows open. To get a positive result, you would have to monitor the user's actually usage. Whenever an event occurs, you call a backend and log it.

The first time you save a time, that is your begin time. When you have an event, you set the end time. However, if another event happens within your threshold, you update the time. Else you begin a new time. So let's say we put 5 minutes threshold.

12:00, 12:01, 12:04, 12:08, 12:08, 12:09, 1:00, 1:03, 1:05
We can see that time was from 12:00 to 12:09 for 9 minutes and 1:00-1:05 for 5 minutes.

2 Likes

Programming / Re: How To Calculate Total Time A User Spent On My Site by DonSegmond(m): 7:34am On Sep 14, 2016
FrankLampard:
The simple Algorithm for this is thus:

Stored the IP address of the user as the user visits your sites.

Create two column in your db table "created_at" and "updated_at" or anything you choose to name it,

When a user visits, store the IP and the created_at column as well as the updated_at column, as the user is leaving make sure you update the updated_at column.

You can use JS for this or during Logout process.

You can get the difference in another column by using MySQL TRIGGER if you are using MySQL or just calculate the difference yourself.

Thank you.

this is garbage, you can't use the time the user leaves the browser window to gauge how long they have been at the site.

i'll double space this reply so you can follow.

if i go to a site, and then leave my browser open, and come back 5 hours later then leave. i haven't spent 5 hours at the site.

if you are not going to use say your apache logs, then you must use javascript and check there is a user activity such as mouse or keyboard actions.

again, this is if you wish to get accurate metrics. if you don't care about correct data, then why even bother?

to the original poster, if this is just a personal challenge, then start with javascript and slowly work it out. if not, piwik, google analytics or any of the other dozen alternatives out there should solve your problem rather easily without you having to code.

1 Like

Programming / Re: How To Calculate Total Time A User Spent On My Site by DonSegmond(m): 7:31am On Sep 14, 2016
FrankLampard:


The only sensible thing I can read from here is when you mentioned Google Analytics.

i don't blame your lack of comprehension skill.

level your game up.

perhaps if i double space what i said you would understand.
Programming / Re: Why There Are Few African Programmers by DonSegmond(m): 5:51am On Sep 14, 2016
Jonart247:
Programmers in US earn alot
They earn about $51-70k annually, that's over 40million naira (N420/$1)
I got no idea about Nigeria or Africa
So? DId you ever study economics? Do so. Learn about cost of living.

Americans pay taxes. That's why things are nice over there. Like 30% of their income. So take home pay for that is going to be about $36-$49k.
Which is $3250 to $4083 a month. I didn't add Social Security Taxes and other misc taxes. About 30% is fine.


But here's a quick breakdown of non optional monthly expense.

Retirement 401k - $300
Rent - $1000 ( if Mortgage then $1600+$200 property tax + $200 HOA fees + $100 home insurance. - $2100) This is in a cheap city.
Health Insurance - $200
Car payment - $250
Car Insurance - $150
Car repair/budget - $80
Car parking/wash/others - $50 (In Chicago, downtown parking costs $48 a day, getting dedicated parking downtown is going to cost $500/month easy)
Cell phone bill - $50
Cable/Home internet bill - $100
Electrical bill - $50 (if you live in hot place, you will see $150 when your AC runs all day)
Natural Gas bill - $50 (If you live in a cold place, you can see $150-$250 during winter months)
Water sewer bill - $40
Gasoline bill - $70
Food - $200 (This means no eating out, you are cooking, eating out is like $10 for a cheap meal, if you did that 3x a day that's $30 or $900 a month)
Grocery - $100
Student Loan - $200 (This is cheap, College is now easily costing about $80,000)
Personal care - $100 (Women pay $100 to get cheap hair done that lasts a week, $20-$25 haircut/facial shave)
Entertainment/Social - $200
Vacation - $0. Flight begins at around $200 to most places, hotel rooms $100/night. So no vacation.

Total is $2880. If you were buying a house, then it would be $3980. Mortgage is monthly for 30yrs. With mortgage, you get lawn, snow shoveling and home maintenance expenses.

This is without girlfriend/wife/boyfriend expenses.

If you have kids, child care will easily run you $1000 month.

Even tho you have insurance, you still pay your deductibles, which can easily be anywhere from $5,000-$10,000 a year. If you have car accident, get speed ticket, your car insurance goes up and you pay tickets, or insurance deductible of around $500 to get your car repaired.

So there you go $3250 to $4900. You are single, no vacation, eating mostly at home. You are saving $370 to $2000. At $51k, you can't buy a house. Buy a house while making $70k and your savings drop to $920.

Have an emergency and you are done. Visit Naija in December and flight will cost you $2,000. A lot of people in American are in debt, what they get is a "comfortable" life but not plenty of cash.

5 Likes 4 Shares

Programming / Re: How To Calculate Total Time A User Spent On My Site by DonSegmond(m): 5:17am On Sep 14, 2016
It's diffcult if you don't use javascript. In that case, you will have to store everytime a page is fetched, then crunch that in the backend. That is what analytics are used for. You can just install piwik or google analytics and they do those for you. If you really wanted, you could have a javascript that does an ajax call to a counter on the backend say every 10 second. Then tally up in the backend. If you don't wish to use code, javascript, you could just parse your web server logs, see what time they visited and when they last visited. You can put a timespace so say a user doesn't fetch a link for 1 hr then any link visit after that is regarded as a new visit. Best of luck.
Programming / Containers by DonSegmond(m): 5:31am On Sep 12, 2016
Anyone playing with containers for isolation of applications?
Programming / Re: Ambitious Programmers Lets Talk by DonSegmond(m): 1:54am On Sep 10, 2016
signing in
Programming / Re: Programmers Help! My Final Project by DonSegmond(m): 8:02am On Jul 17, 2016
Use any language you know, I solved this in prolog a while ago.
Sample code here, https://github.com/segmond/PrologThingz/blob/master/LPIP/robot_control.pl
Programming / Re: How Can I Create A Good Software Company That Will Flourish In Nigeria? by DonSegmond(m): 6:54pm On Jun 26, 2016
what is your software development experience and how many programmers do you know?
Programming / Re: LOL. See Software Development Job Requirements by DonSegmond(m): 6:53pm On Jun 26, 2016
I hope you are not intimidated by this nor think this is too much. I'm hiring junior developers and high school (secondary school) kids who know all of those. For the person that said that framework/libraries should not be part of hiring requirements, unfortunately it is so. Some frameworks have a high learning curve and the company is going to be paying from day 1, so they expect you to start contributing immediately, not 6 months later.
Programming / Re: Where Are The Good Coders? by DonSegmond(m): 11:56am On May 10, 2016
Forget about it. I tried hiring programmers for pay too because I want to help my own instead of working with people from india, china, eastern europe, but guess what? The C.Vs were very weak. You would think they were all very gainfully employed, one even had the audacity to quote rates in dollars, given that his skill level from what I've seen shows him to be a junior programmer at best. LOL

Noticing that a lot of Naija programmers are weak skill wise, I figured I could give back by mentoring and teaching people how to code 1on1 via email/skype/hangouts. Only one person took me up on the offer and sadly they never did finished.

I've seen some "smart" people on this forum, but smart doesn't make for a good software engineer. I hope with time tho, folks can realise how much they can transform their life in this lucrative industry by being humble and collaborating with others.

3 Likes

Programming / Re: Mathematical GUI With Graphs Plotting by DonSegmond(m): 11:49am On May 10, 2016
if you use linux, checkout gnuplot, octave, and R
Celebrities / Re: What To Do When You Have A Tyre Blowout - Duncan Mighty by DonSegmond(m): 2:09pm On Mar 08, 2016
NEVER SHIFT INTO NEUTRAL.

That is terrible advice. So long as your engine is engaged to your transmission, the friction of transmission (engine braking) will allow your car to slow down sooner. Shifting into neutral will allow your car to retain a faster speed for a longer time.

Tire blow out?

GRAB STEERING WHEEL, FIRM. KEEP IT STRAIGHT, NEVER TURN.
The car will start slowing down, shift into the next lower gear to engage engine braking more and slow down faster.

When you are at about 50km/hr you can then gradual apply brakes and if you feel the car about to spin out, take off your foot and repeat.

By having one tire blowout, the car loses center of gravity, turning the steering wheel or braking while fast causes it to go into a spin which turns into a rollover. More so for an SUV with a higher center of gravity.

I speak from experience, I've had a tire blowout while going at about 112km/hr.
Programming / Re: What Softwares Are Used To Push Codes To A Live Website by DonSegmond(m): 3:10pm On Mar 03, 2016
Get your terminology correct. There is power in how we use words, if we use them the wrong we, we are bound to be confused.

With that said, you don't push codes to a live website.

"code" could be a subset of a computer program, meaning, code is not the only thing a computer program includes, a computer program could have code and in addition to that other artifacts such as templates, style sheets, images, audios, etc.

When a computer program is completed, you most likely want to release everything not just the code, so instead of saying code.

Say computer program, instead of code. A computer program that is designed to run on a web site is called a web application.

So let's correct your sentence. "What softwares are used to push a web application to a live website"

A website is a computer program/application that resides on a machine usually called a server or web server. Pushing codes to website, sounds as if someone logs into their browser and enters code, so let's improve your sentence.

"What softwares are used to push a web application to a web server"

In the sysadmin/development world, when computer programs are transferred to a server for the users to use or the previous program is updated, the word we tend to use is "deploy"

So

What softwares are used for deploying a web application to a web server.

With that said, if you are doing it manually, SFTP or SCP. People will copy the file then place em in the right locations.

Some people have a read only repository account pointing to their repo, then they can login to the server and use SVN or GIT to pull a release.

If you are doing automated deployment, you can use something like Heroku or setup your own using Bamboo, Jenkins (search for continuous deployment software"

1 Like

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

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 60
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.