Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,832 members, 7,810,200 topics. Date: Friday, 26 April 2024 at 11:19 PM

ColeDrain's Posts

Nairaland Forum / ColeDrain's Profile / ColeDrain's Posts

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

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:10pm On May 08, 2020
a. Sublime Text

1 Like

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:09pm On May 08, 2020
Question 2. What text editor do you like?
Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:07pm On May 08, 2020
H. Matlab
Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:01pm On May 08, 2020
G. PHP

3 Likes

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:01pm On May 08, 2020
F. C#

2 Likes 1 Share

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 3:00pm On May 08, 2020
E. C++ or C.
Like for C++
Share for C

1 Like

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:58pm On May 08, 2020
D. Golang
Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:58pm On May 08, 2020
C. Java

3 Likes

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:58pm On May 08, 2020
b. Python

4 Likes

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:57pm On May 08, 2020
a. JavaScript (JS)

2 Likes

Programming / Re: Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:56pm On May 08, 2020
Question 1.Which Programming Language Do you Love Most?

See options below...
Programming / Programmers:Your Thread Of Polls (Come and Vote Oh) by ColeDrain(m): 2:55pm On May 08, 2020
This thread was created to analyse programmers and what software or tool they use as Nairaland is concerned, I trust it will be fun.

C'mon don't you wanna know what other programmers on Nairaland use, or what is the most used programming language by programmers on Nairaland?

So:
Vote for your preferred option, it's a pity Nairaland does not have a poll tool, so I will do it this way.
Please stop replying answer, vote by liking.


I will ask a question?
Then put some options, then you vote by liking the option you prefer most.
We are matured people. So let's do this

At the end I will post the final analysis for everyone to see.

P:S I added C and Matlab to question 1
Please comment only if you have a suggestion, let's make this thread clean.


Update: Thanks for sparing a little time, please there are still other polls at Page 3
Science/Technology / WhatsApp introduces Covid-19 fact checker bots. by ColeDrain(m): 1:57pm On May 08, 2020
Latest Happenings In The World of Tech, programming and software development.

N:B Links can be found at end of article.

1. WhatsApp introduces Covid-19 fact checker bots.

The dangers of fake new across social media cannot be overstated, fake news creates panic, fear, anger and many more. WhatsApp now has a chat bot that you can use to fact-check any covid-19 news.

How it works:
" The WhatsApp users need to send a "Hi" on +1 72 72 91 2606 to activate the bot. They will receive a list of six pointers that include search for fact checks, latest fact checks, tips to fight misinformation, find fact-checkers near me, about us, and privacy.

They need to type the number mentioned in front of the query and that's it. "

The system is capable of identifying the user's country via the person’s mobile country code and then providing them with their closest fact-checking organisations.


BONUS GIST
2. Google's 'Go' programming language is the most sought after programming language in 2020

HackerEarth carried out a survey on 16,665 developers , it was deduced that Google 'Go' programming language is the most sought after programming language in 2020 meaning many people are showing interest in learning the Go programming language.

If you haven't tried Go out, its so amazing and performant.
The survey also contains other interesting facts. Check it out.

3. Google Lens App adds ability to copy and paste handwritten notes to your computer.

Simply point your camera at any handwritten text, highlight it on-screen, and select copy, and that's it.

4. Facebook is testing a new mobile app called Discover. 

Facebook in the past years has been aiming at making the internet accessible to many people.
The Discover app is a bit like the Free Basics App also released by Facebook. This is the difference:

"The significant difference between Free Basics and Discover app is that Discover lets users browse any website via a daily balance of free data from the mobile operators participating in the initiative. On the other hand, Free Basics allows access to specific sites, and users from more than 55 countries can use the Free Basics app."

5. Github Analysis of Developer Activities In this Covid-19 period.

If you are a developer or aspiring one you must be familiar with Github (Its an online code hosting platform)

They carried out an analysis on developers activities and discovered the following:
a. Developers have continued to contribute and show resilience in the face of uncertainty.
b. Developers’ work days have gotten longer by up to an hour per day, on both weekdays and weekends.
c. Developers are spending so much time online, which may be negative to their health and family.
d. People are collaborating more, especially on open source projects.



LINKS
1. https://www.google.com/amp/s/www.zeebiz.com/technology/news-whatsapp-users-alert-now-you-can-fact-check-covid-19-messages-just-do-this-126056/amp

2. https://www.hackerearth.com/recruit/developer-survey/
3. https://www.theverge.com/platform/amp/2020/5/7/21250556/google-lens-copy-paste-handwritten-notes-computer-phone-ios-android

4. https://www.digitalinformationworld.com/2020/05/facebook-tests-discover-which-allows-users-to-browse-web-for-free-on-mobile-phones-within-limits.html?m=l

5. https://github.blog/2020-05-06-octoverse-spotlight-an-analysis-of-developer-productivity-work-cadence-and-collaboration-in-the-early-days-of-covid-19/

This is my first attempt, I will be doing this weekly.
Please show me you like what I am doing by liking and sharing, thanks and stay safe.


#TechCurator cool
Nairaland / General / Re: Yes Someone Can Be Electrocuted By A Phone... by ColeDrain(m): 12:15pm On Apr 30, 2020
CokeBar:
As recommended, an autopsy will go a long way in not only finding out the real cause of her death but also in educating us.
I just hope it isn't verbal autopsy.

May God give enough strength to the bereaved family to bear the irreparable loss.
Amen oh.
Nairaland / General / Yes Someone Can Be Electrocuted By A Phone... by ColeDrain(m): 12:01pm On Apr 30, 2020
The sad news that greeted us this morning about Vixen(RIP).
Some questioned the probability of such happening. Let me clear your doubts.

I want us to know this isn't the first time someone dies by this though experts say the likelihood of someone being electrocuted by a smartphone, even while the device is charging, is very, very low, but it's just like lightning striking someone, it's rare but possible.

Some things that may have caused this include:


1. Using cheap or counterfeit chargers.
'Most' chargers out there don't even meet the safety requirement, these chargers can be lethal due to really stupid design decisions or in a bid to cut-cost. Some of these chargers don't have proper insulation, potentially exposing users to overheating, fire or electric shock.

According to a study from the Chartered Trading Standards Institute in the UK, a whopping 98% of all fake Apple chargers failed basic safety tests. After performing several tests, it was found that only three of the 400 devices tested had enough isolation to prevent an electric shock. Go for trusted devices from trusted companies/people.


2. Also, electrical shocks involving consumer electronics often have nothing to do with the devices themselves. Instead, they can be caused by overloaded power outlets, frayed extension cords or faulty wiring in a home, experts say.


3. Touching both prongs on the wall side when you plug the charger in.


In conclusion it is rare but possible.
Did she die by electrocution? I can't say, I wasn't there.
Above all, I know we may be carefree about some things even me, but you should be a bit careful. Thanks.

SOURCES:


A. https://www.lifewire.com/avoid-cell-phone-electrocution-4589443
B. https://www.dailymail.co.uk/news/article-5085165/Girl-14-electrocuted-faulty-iPhone-charger-Vietnam.html?ito=social-facebook_Australia
C. https://www.quora.com/Can-you-get-electrocuted-by-a-cell-phone-charger
D. https://edition.cnn.com/2013/07/15/tech/gaming-gadgets/iphone-woman-electrocuted/index.html
E. https://www.mirror.co.uk/news/uk-news/baby-dies-after-being-electrocuted-9402741
Health / Re: "Nigeria Will Do Anything For Ventilators" - Donald Trump (video) by ColeDrain(m): 11:10am On Apr 30, 2020
How far with INNOSON??
We really need ventilators and testing kits... A lot...
Politics / Re: For Those Arguing See Video Of The Nonsense Rice Sent By Government by ColeDrain(m): 5:30am On Apr 30, 2020
Enoch07:

young man, I'm talking about the civil war. we eat things worst than this, talk to your grand parents if they were around d south east or south south, they'll tell u something

How does this post relate to the Civil war??
Politics / Re: Sanwo-olu Suspends Okada, Lagos Tests 1.5 Million Households by ColeDrain(m): 5:28am On Apr 30, 2020
Seriously 1.5mil tests
Why is this not reflecting in the NCDC site??

Or am I missing something??

1 Like

Politics / Re: Highlights Of Sanwo-Olu’s Press Briefing On COVID-19 by ColeDrain(m): 7:50pm On Apr 29, 2020
psamuell2:


https://www.vanguardngr.com/2020/04/highlights-of-ongoing-sanwo-olus-press-briefing-on-covid-19/

No be by talking, they should find a way to implement all these. Coz many people go disobey. Many people. Nigerians no dey hear.

1 Like

Romance / Re: "If Sacrificing A Virgin Is Going To Stop Corona Virus Them I'm Willing To by ColeDrain(m): 2:21pm On Apr 29, 2020
How many virgins has Corona virus killed already?
Don't bother yaself.
Politics / Re: Mubarak Bala Faces Death Calls After Comparing TB Joshua With Prophet Muhammed by ColeDrain(m): 2:15pm On Apr 29, 2020
Just a statement, and they want him dead.
No mercy at all.

22 Likes 2 Shares

Health / Re: Isreal Has Found Cure For Covid19 by ColeDrain(m): 1:34pm On Apr 29, 2020
letitrainnow:
The story

Can't believe this.
No source.
Just copied...

Please post a verified source.

1 Like

Health / Re: German Doctors Pose Nude To Protest Lack Of Protective Masks, Aprons (Photos) by ColeDrain(m): 1:32pm On Apr 29, 2020
DonFreshmoney:
When I see doctors that are fat and obese.. I do wonder why? You are a doctor and cant take effing care of yourself...

Okay am I the only one looking for the fat and obese doctors??

Still searching...

1 Like

Politics / Re: For Those Arguing See Video Of The Nonsense Rice Sent By Government by ColeDrain(m): 1:22pm On Apr 29, 2020
Enoch07:
my friend chop dat tin like dat. during d war, this was a good food sent by God

Which war are you talking about??
Which bible are you reading??

What is ur point??

1 Like

Crime / Re: Police Smash ‘one Million Boys’, Arrest 8 During Operation by ColeDrain(m): 8:49pm On Apr 19, 2020
Nigeria why

Female DPO just DPO..
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 3:55pm On Apr 09, 2020
damtan:

I have done all these before this morning in the anaconda prompt and I have successfully created, activated and installed djangoenv in anaconda navigator.
I have even seen the mysite folder and all other parameters that you stated created on my system.
The problem is proceeding with the last command which is
cd mysite
py manage.py runserver
An error message keeps popping

I don't really get your problem.
But in your Anaconda prompt not jupyter notebook go to the directory that contains the manage.py file and type: py manage.py runserver

Screenshot your anaconda prompt with the error there.
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 12:34pm On Apr 06, 2020
castrosteve:
mysite/url.py

Okay the problem is from your mysite/urls.py file.

Change this line:
path('', include('polls.urls')),
to
path('polls/', include('polls.urls')),

And try again from ur browser.
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 1:30am On Apr 06, 2020
castrosteve:

ok it works but am getting 404 error but the url works with /admin

Okay screenshot your polls/urls.py file and mysite/urls.py file.
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 11:36pm On Apr 05, 2020
Sorry guys, I have been busy. Will continue tomorrow. Hope you are all doing well?
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 11:35pm On Apr 05, 2020
FredLum:
A suggestion, I implemented this:


urlpatterns = [
path('', views.index, name='index'),
path('<int:question_id>/', views.detail, name='detail'),
path('<int:question_id>/results/', views.results, name='results'),
path('<int:question_id>/vote/', views.vote, name='vote'),
]


And the url was http://127.0.0.1:8000/2/results/ and http://127.0.0.1:8000/2/vote/

I modifed to this:

path('<int:question_id>/', views.detail, name='detail'),
path('results/<int:question_id>/', views.results, name='results'),
path('vote/<int:question_id>/', views.vote, name='vote'),

so the url http://127.0.0.1:8000/results/2/ or http://127.0.0.1:8000/vote/2/ worked, which I think is more preferable following OOP standards

Glad you are following to the point of even tweaking it to your preference. But:

First, OOP has nothing to do with url patterns basically.
Second, we first visit a question before we can then vote or check result that's why int:question_id comes first.
Third, any of them is okay as far your URLs are intuitive to the user.

Hope you get??
Programming / Re: Learn How To Create Websites With Python(Django Web Framework) by ColeDrain(m): 10:23am On Apr 05, 2020
castrosteve:


its def function
pass detail

It should be this instead:
def detail(request, question_id):
return HttpResponse("You're looking at question %s." % question_id)

(1) (2) (3) (4) (5) (6) (7) (of 7 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. 48
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.