Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,195,586 members, 7,958,815 topics. Date: Thursday, 26 September 2024 at 03:01 AM

Craigston's Posts

Nairaland Forum / Craigston's Profile / Craigston's Posts

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

Computers / Re: Ubuntu Linux by Craigston: 7:56pm On Jan 20, 2017
purplekayc:
Guys am in a fix !!!
I recently installed NTFS 3g to help mount an additional drive I wanted to add To my PC
Since then my OS refused to boot



It gives an output like this each time I turn it on


"Well com e to emergency mode"
After logging in type "journancl -xb"
To view system logs
"Systemctl reboot " to reboot
"Systemctl default " to try again
To boot into default mode
Give root pass word for maintenance
(Or press control -D to continue)

Need info on what to do next
Try a manual fsck on all related partitions. Did your PC go off without a proper shutdown?
Programming / Re: I Seriously Want To Be A Programmer....i Need Help Pls by Craigston: 9:11pm On Jan 19, 2017
Jregz:

Man this link is gold.. I read this everytime I feel bad about much stuff I don't know.
Yeah, it helps me relax, knowing there's no good in trying to rush or fake it. I'll just keep exploring with as much zeal as I can put on. Looking back now, I find that I've understood more over the past few months than I had over longer periods before. I might slow down when I get into new territory, but I'm making progress still.
Programming / Re: Paid Job: A Magento 2.0 Plugin Developer Is Required For A Quick Job [Closed] by Craigston: 3:44pm On Jan 18, 2017
See money wey dey pass me o. Oga money for dat matter! Na so 25k pass me this month too. Chai! Errmmm, I don't know Magento whatever, but I can pretend I know. Is that okay?
Programming / Re: I Seriously Want To Be A Programmer....i Need Help Pls by Craigston: 11:38pm On Jan 17, 2017
Computer Programming does not exist in isolation. Like any other discipline, it depends on many other fields of study. If done just for its sake, it yields fun at best. It's usefulness, like any other pursuit, lies in solving human problems.
If you're interested in it just for the fascination and the 'cool factor', then your learning path will be different from one who is interested in the engineering aspects.
If your fascination is a result of the media blitz on the Tech industry, you should think deeper.
See this article for some information: [url=norvig.com/21-days.html]Teach Yourself Programming in Ten
Years
Peter Norvig[/url]
Programming / Re: Must You Be A Mathematics Genius Before You Be A Programmer by Craigston: 11:32pm On Jan 17, 2017
Actually, if you want to be an average programmer, a working knowledge of basic Algebra and Logic is enough. But you won't be able to design innovative solutions in Computer Programming.
You'll likely end up relying on the solutions of others, and you'll do more of the kinds of work that require little math.
But there are areas of programming that require good Math knowledge to be productive, and those areas are not where the majority flock.
I'd recommend you do more Math: it won't hurt, and I find it as easy as learning the concepts of programming; you take a few building blocks, then combine them progressively into more complex systems.
Personally, I often find myself thinking mathematically when finding solutions to programming problems. Also, it's not only Math. Programming has resonance in areas of Law, Philosophy, Psychology, etc. It all depends on your aspirations.

1 Like

Programming / Re: Are They Cobol Programmers/jobs In Nigeria? by Craigston: 9:24pm On Jan 16, 2017
appcypher:
Lisp is cool, but if you want a modern version of it, check out Clojure.
Lisp, Clojure, Scheme.
I think I'll start with Scheme since I want to read MIT's SICP. Clojure might come later.
Programming / Re: Are They Cobol Programmers/jobs In Nigeria? by Craigston: 9:11pm On Jan 16, 2017
Jregz:


I would be learning scheme (a dialect of Lisp) sometime around June.. I plan to read the sicp book from MIT (scheme is the Language used there)

I don't think new softwares are built in cobol.. Just maintenence since the big rewrite is damn costly

The SICP of legendary renown smiley
I got a copy from The Internet Archive. Thanks to MIT for using a free, open license. I'll read it sometime later.
Programming / Re: Are They Cobol Programmers/jobs In Nigeria? by Craigston: 9:44pm On Jan 15, 2017
None that I've heard of. I recently got a whiff of Lisp and I'm itching to learning it soon. But those brackets...

1 Like

Programming / Re: Astro Programming Language 0.2 (indefinite release) by Craigston: 9:33pm On Jan 09, 2017
@appcypher
Will there be support for templates (function/class templates) and function overloading in Astro? I've found those features useful in C++ (well, templates may have performance overhead in execution time for an interpreted language, but they're powerful; will there be a way of compiling Astro?).
Will there be Perl-style regular expressions (like PCRE), or are you using a different regex engine?
I actually don't understand what
Algebraic data types are (they seem
to be related to functional
programming); can you help me
explain them.
Programming / Re: Astro Programming Language 0.2 (indefinite release) by Craigston: 8:13pm On Jan 09, 2017
Emmach10:

Hmm. So am among the public?
You're not on the development team. Wait for alpha/beta releases if you want to test things. Or you join the development team (whatever that may involve).
Programming / Re: Astro Programming Language 0.2 (indefinite release) by Craigston: 12:26am On Jan 09, 2017
From the screenshot you shared, I find the syntax of Astro quite intuitive. For instance, in variable declaration,
var appcypher = Str
reads better as "variable appcypher equals a string". Somehow, I like it that way for declarations. But I'm comfortable with other styles too so I'm not trying to nitpick.
I see Astro supports list unpacking too; I've always loved it in Python.
On line 18 of the screenshot, you accessed more than one property of the 'facelessManipulator' type (object?) without repeating the type name. Nice syntactic sugar there.
Can you explain how inheritance works in Astro? It seems one can define certain members to inherit from a super type (line 13) without relying on member scope (public, private, or protected).

That logo in the terminal is so Juliac smiley
Is that the atom editor?
Foreign Affairs / Re: US Orders Families Of Embassy Personnel Out Of Gambia by Craigston: 2:26pm On Jan 08, 2017
Someone is now saber-rattling, huh! Jammeh, remember Gadaffi; this time, you have more than the Western vampires against you.
At least no tomahawks will be deployed this time; but there'll be boots from all your neighbors.
I think Angola and Zimbabwe need the wind of change too.
Programming / Re: Astro Programming Language 0.2 (indefinite release) by Craigston: 1:06pm On Jan 06, 2017
appcypher:

You are right. Astro is like a nephew to Julia. Astro borrows a good deal of Julia and Python Syntax but it also takes useful concepts from Scala, C#, CLOS, Ruby, Go, Java, etc.

Infact there is a short list of where Astro borrowed certain concepts.

Julia
- Multiple dispatch
- AST Macros
- REPL
- Syntax - '<:', '>:', array Indexing, macros, etc.
- Numeric types
- Math-oriented arrays
- Unicode Identifiers

CLOS
- Multiple Inheritance

Python
- Syntax - lists, loops, in, etc.

Jai
- Compile-time execution
- Syntax - generics

Ruby
- Block end punctuation

Crystal
- Sophisticated static type inference

Lua
- List/Dict implementation
- Bytecode representation

Go
- Concurrency model
- Syntax - access modifier blocks, 'func', etc.

Swift's
- Automatic Reference Counting
- Optionals (Nullables)
- Pattern matching
- Syntax - where, let, var, etc.

Scala
#- Match functions #
- Constructor types
- Infix notation
- Singletons

Java
- Anonymous types

Javascript
- Unpacking arrays

C#
- Null coalescing

C++
- Smart pointers
- Pass by value/reference

Notable Mentions
Rust, Kotlin


There are a lot of ideas that went into the design of the language. Some stayed, others were discarded, but we promise not to make Astro a complicated load of incoherent features like C++. grin But then C++ is a hi-perf systems language, so it has its own value.

Astro goals have been changed several times over the year, cos we don't really have a niche target like most other languages. We just want a nice language that is easy to use and fast to run. But that sounds quite generic, as a result Astro has no concentrated target market. It's in the same camp with Swift. It can be used to write any piece of software, from a website down to an operating system. Of course, you'd need a native compiler implementation of Astro to write an operating system.

As time goes on, we might find the niche we are looking for and stick to that.


Ouch! Bjarne Stroustrup wouldn't like that wink
Yhup. C++ seems be a bag for almost everyone: the farmer, the hunter, the carpenter, the fisherman, ...
But it barely serves some of them while being great for some others.
Have you checked out D (Home - D Programming Language). I might give it a try soon.
Programming / Re: Astro Programming Language 0.2 (indefinite release) by Craigston: 10:23am On Jan 06, 2017
Astro is influenced by languages I like (C++, Python, Julia). I'll be watching that repo.

1 Like

Webmasters / Re: Any Body With Html/css Book For Sale? by Craigston: 8:43pm On Jan 05, 2017
phililp:


i reside in cross river state... so messed up
Well, you can find good bookstores in your state. Check around the universities in your states, there could be good bookshops there. Move around a little. I think there must be one. If there's none, you may have to use the e-books. An alternative is to look for e-books with open licences and find a way to print them at low cost. Doing so will give you a hard copy material to use for a while, and you can keep the e-book for reference when you're done with the hard copy.
You should get used to soft copy too: the ecosystem evolves quickly and you may find it hard to keep up if you depend on hard copy a lot. Best of luck and success.
Webmasters / Re: Any Body With Html/css Book For Sale? by Craigston: 5:17pm On Jan 05, 2017
Where do you stay? If you're in Port Harcourt, initiate a PM so we can hookup via mail.
I'm curious about how you learn. I found it easier to learn HTML/CSS via ebooks but I preferred hard copy for C++. It helps me focus and think about the whole stuff before pressing a key.
Education / Re: Top 150 Scientist/researchers In Nigeria And Their Universities-webometric by Craigston: 5:12pm On Jan 05, 2017
Statsocial:
Which university?
RSUST

1 Like

Education / Re: Top 150 Scientist/researchers In Nigeria And Their Universities-webometric by Craigston: 8:34pm On Jan 04, 2017
I identified fourteen individuals from my university, including the former VC and Dr Emeka Amos (I really like that man; I just can't explain why and I've just upped my respect for him. He really deserves it).

1 Like

Programming / Re: Friendosphere.com is there for you, developer-inclined website by Craigston: 2:17pm On Jan 01, 2017
asalimpo:
registered on your site.
The site reminds me so much of S.O (stack overflow).
I kept clicking the confirmation link in my inbox but nadir. fs(friendosphere) kept saying confirmation incorrect .
Stuff like that can make a user wanna leave ur site for good.
Nice job though.
DanielTheGeek, I think the problem is reproducible. So it's not only me...
Programming / Re: Please How Do I Print This Data From MY Database. MYSQL, PHP by Craigston: 10:57am On Jan 01, 2017
onedayatime:
it is the sql code that you should upload. It might be that the tables are not well structured and if well structured, I can help you on how to retrieve from the tables. You will still use join
Yea, we need to see his actual queries.
Also try doing this, Thirdwrist:
Go to your mysql executable, run it in a console, login as the appropriate user and select the database you're using. Then for each table in the database, execute the SQL statement
"DESCRIBE tableName; > tableName_structure.txt"

That will save the structure of each table you specify to the corresponding TXT file. Post the output of each file here, together with your SQL queries. That will make your problem much easier to solve.
Programming / Re: A Little Javascript Problem by Craigston: 3:16pm On Dec 31, 2016
Guys, checkout this news piece:
Indefatigable WikiBots keep Wikipedia
battles going long after humans give
up and go home


Wouldn't it be interesting to herd some bots that will automatically find snake topics/pictures and post them on NL competitively? You know, the FP struggle. dhtml18, this could be sweet o smiley
Programming / Re: Select All Rows Where The Sum Of Column Equals A Value by Craigston: 12:44pm On Dec 29, 2016
Jregz:

DI'd not get the mention nairaland's notification stuff is pretty "dumb".. I don't even know that much sql though
I think it's a little better than Facebook's notifications. At least I don't get notified of someone's comment on a snake picture. Oh wait, 'posts by people you're following'. Whoops!

1 Like

Programming / Re: Please How Do I Print This Data From MY Database. MYSQL, PHP by Craigston: 12:34pm On Dec 29, 2016
You must be doing something wrong if you have four tables for that. Can you describe the structure of each table so we can know what relationships exist between your data entities?
Programming / Re: Friendosphere.com is there for you, developer-inclined website by Craigston: 12:30pm On Dec 29, 2016
DanielTheGeek:


Have you read your private message on friendosphere?
Replied.
Programming / Re: A Little Javascript Problem by Craigston: 4:14pm On Dec 28, 2016
dhtml18:
Gaddamnit, i wish say na me catch monitor lizard like that sha, i for just dey feature for FP like badt guy.
Forest no dey ur area? Shey u sabi set trap. E make sense walaih! Just one monitor lizard or snake and you're an NL celebrity.
Programming / Re: A Little Javascript Problem by Craigston: 12:20pm On Dec 28, 2016
dhtml18:

At least Lala dey chop am for FP everything, the reason most threads on this board no dey reach FP na because them no get monitor lizard. If someone here comes up with a code that actually catches a monitor lizard, FP straight. . . .
NA true o. Checkout this topic:
https://www.nairaland.com/3540804/see-monitor-lizard-caught-farm
The guy don get the formula.
Programming / Re: Friendosphere.com is there for you, developer-inclined website by Craigston: 9:21am On Dec 28, 2016
DanielTheGeek:


Did you use a valid email address? please confirm that. The confirmation mail will be re-sent soon
I did. a 'user@ymail' address.
Programming / Re: A Little Javascript Problem by Craigston: 4:02pm On Dec 27, 2016
dhtml18:

We need picture of the snake, we shall invite lala to cook it for us, how these BOTS are managing to write all these codes in this festive period beats me.
Turned out I got egusi soup with plenty stock fish and chicken instead. Bad news for lala, but I'm enjoying myself anyway.
That guy up there (^^^^) surprises me. He just created plenty functions and the whole thing is looking brackety. Shuuuu!!!! Omo botty.
Programming / Re: Select All Rows Where The Sum Of Column Equals A Value by Craigston: 1:57pm On Dec 27, 2016
BobAxelrod:


Too much grammar, thanks for the links though, seems the problem is not a small one after all
Please just return this problem to wherever you got it from. It's holiday man. This problem sef.
Programming / Re: A Little Javascript Problem by Craigston: 1:50pm On Dec 27, 2016
paranorman:

Hahahahaha, I pray so Bros. I am still a rookie sha.

the op was going on about using range, functions bla, bla, bla...

I just solved his problem using a single function, the second function wasn't even necessary.
Your approach might take more time to run. Figure out the cause.
Hint: recursive guessing.
Programming / Re: A Little Javascript Problem by Craigston: 1:43pm On Dec 27, 2016
dhtml18:
i dont even know what range means here abi na range wey them teach us for statistics? i don fly fence go play playstation that day
U neva see anything. NA Physics o. Projectiles. One of them don write Jarvis sef (Paranorman). I just tire. Abeg who sabi cook snake wella? My neighbor wan dash me python. E fat ehn! I just want the snake roasting algorithm.
Programming / Re: Friendosphere.com is there for you, developer-inclined website by Craigston: 1:42pm On Dec 27, 2016
DanielTheGeek:

I think you have confirmed your email already
Really? I don't think so.
Check the screenshots attached. That's where I'm stuck.

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