# Nairaland Forum

Welcome, Guest: Join Nairaland / Login / Trending / Recent / New
Stats: 1062816 members, 1235694 topics. Date: Thursday, 23 May 2013 at 11:55 PM

## View Delomos's Posts

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

 Programming / Re: The Door-Goat-Car Logic Problem by delomos: 6:51pm On Apr 03, 2012 okeyxyz: OK, i see where you are coming from, the clarification has finally been made. which takes us back to my earlier objection that the question itself is faulty because of ambiguity, and as a programmer\computer scientist you know that computing(unlike mathematics) does not tolerate ambiguity, it's a sure recipe for errors. good try though I think you have it the other way around, scientist are faced with ambiguities, then they try to "make it fit", hence does who can properly deal with ambiguity get a hang of things better. In fact, abstracts drive the industry (trying to continually model things to the uncertainty of the real whole); after all the field of [Computing] Combinatorial is largely based on understanding ambiguity or making them -- but I digress.How can the question be faulty? Think of it as a problem being solved, you never have all the "facts" or "variables" when you're presented with a problem -- it's you're job as the solver to see the gaps and place them. Again think of Occam's Razor and put this question in that context -- [?] Programming / Re: Microsoft Access by delomos: 3:02pm On Apr 03, 2012 First off, don't ask to ask, just ask your question.And: "I have pre-designed databases for various fuctions that i want to sell." what exactly does this mean? Programming / Re: The Door-Goat-Car Logic Problem by delomos: 2:54pm On Apr 03, 2012 @codeaddictcodeaddict: working from this story, switching doors will be unfavourable only if he chose a car at first. The probability of this occurring is 1/500, therefore switching will be more favourable because the probability is 499/500 [1-(1/500)]. Does the person opening the door open the first 498 doors or the 498th door?the first 498th door through to 498th -- very excellent catching the difference, you've already nailed it but more will be appreciated.@okeyxyz: read the previous analysis of @codeaddict, even if you don't agree with the conclusion (which in my opinion has a higher confidence level than yours), there's somethign to be learned from the approach.@jetsetgo: usually I will ignore this but people like you are why Nigeria is lacking innovation, if you're too lazy to think, go like peoples picture on facebook, or follow celebrities on twitters; if that doesn't do you, go and troll lackadaisicals like you on notjustok.com.When you can understand a single post here: http://cstheory.stackexchange.com/ come back and let's talk.I like you advise, yes I do have a girlfriend who you can't match a quarter of her wit and I'm also a music hobbyist (I play about 5 instruments bro) -- computing feeds me and it's my life. Now you -- go get a life. 1 Like Nairaland / General / Re: Is This An Error? Nl Is Showing Different Color by delomos: 1:04pm On Apr 01, 2012 doncigalo: Im also seeing dis, guess hes trying a new color scheme .. I dont know why he doesnt announce before carrying out his tests or changes Very bizzare! I almost thought my screen had a problem, this color combination is hurtful to the eyes! Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 4:54am On Apr 01, 2012 Neither do I... question is, Is Alpha Five a framework of XBasic Programming / Re: The Door-Goat-Car Logic Problem by delomos: 3:30am On Apr 01, 2012 Fayimora: Lol its really not that obvious!!!So get back to the drawing board and let's see how you'd re-think it.... or expand on this... Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 3:29am On Apr 01, 2012 abbyode: I still maintain that Alpha five is a web framework and a full IDE just like the way Visual Studio is.It is more than just a RAD or a code generator.I can relate it with ZEND for php but much more powerful............I don't really understand how you think this is more powerful than Zend, the framework, the IDE or the Company?The Whitepaper was clearly written by a marketer, I strongly doubt a developer will make this statement:"Alpha Five Version 11 is a new major release of the InfoWorld #1 rated rapid application development tool that lets you build powerful & secure AJAX business database applications for the web and mobile devices signiﬁcantly faster than with products like visual studio, J2EE, and PHP "This is absolutely comparing Apples to Mangos to Bananas and you are making the same mistake too. A5 is a software product with an integrated IDE, it is not a framework in the way they (or you compare it to VS).Zend Studio and Visual Studio are IDE (development Environment) for languages, C#, HTML, CSS, PHP, ... The question is not if it's closed or Open (legacy C# is not open source), the question is, is it a programming framework off a language..NET is a framework off C# / Visual BasicZend framework or Symfony is a framework off PHPRuby on Rails is a framework off Ruby, Is Alpha Five a framework of XBasic .. before you answer, you might want to read this: http://wiki.alphasoftware.com/Xbasic+is+the+Brains+of+Alpha+Five Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 1:14am On Apr 01, 2012 abbyode: Did you also notice the below in the original post?- Write the application in any programming language or web framework of your choice (except maybe PHP?)Perhaps seeing what a web framework is might enlighten and seeing how it differs from AW: http://en.wikipedia.org/wiki/Web_application_framework Programming / Re: The Door-Goat-Car Logic Problem by delomos: 1:07am On Apr 01, 2012 @FayimoraFayimora: Bayes Theorem!?!?!Slowly drawing to a truism, expatiate on how Bayes would attack this... (or come to a conclusion with higher than average error bar)@lordZOUGAlordZOUGA: ....I meant that if the contents behind the door is not shuffled(not modified at runtime) then anytime he recants [/b]his choice, #1=> [b]the probability that his next choice will hold the car increases... #2=> but if it is being shuffled, it doesn't matter if he recants or not, the probability remains the same. if the game moderator knows the position of the car then its not being modified -> a closed system.I'm assuming "recants" means "change"?Remove the "shuffling" -- per the story, there is no chance of shuffling (the person opening the door only knows what's behind the door not having any action on it). Programming / Re: In Search Of "that" Software Development Methodology by delomos: 9:06pm On Mar 31, 2012 And this is a super interesting read (titled: "Agile is a Sham":thats SCRUM and TDD and all the rest; it is all those new ways of managing development projects and being super-productive and modern and buzzword-compliant; all the sprints, scrums, playing cards crass commercial nonsense.The management pitch is that by getting programmers to follow some process rote you will get good, predictable results out.See, the thing is, the success of the coding-part of a project is dependent on the calibre of the engineers doing that coding and not the process they follow. The success of the non-coding part of a project is dependent on the calibre of your sales/management and how they interact with the customer. If you are trying to prescribe some rigid process, however lean, in order to make that interaction effective, then you have a customer interface problem and process isn’t going to help it....continue reading here > http://williamedwardscoder.tumblr.com/post/20054342100/agile-is-a-sham Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 8:55pm On Mar 31, 2012 abbyode: Alpha five might be unpopular but it has been in existence for over 2 decades.The new version allows you to write complex web and desktop applications FASTER and[b] without writing a single line of code[/b].Alpha five is not an open source IDE but its underline programming language is XBasic.You can read more of it on www.alphasoftware.com .Okay cool, you could just try to upload your Excel to the web. Then you will appreciate what they mean by a web application.Tread softly partner, perhaps you didn't read the title of this thread: "Mini Web Application Coding Challenge For Programmers" writing your own code is implied -- this is not a challenge of how can use a piece of software faster.Again, I repeat, it's not a valid entry in this context -- it's not fair to those honestly trying to solve the problem. Programming / Re: The Door-Goat-Car Logic Problem by delomos: 8:49pm On Mar 31, 2012 @lordZOUGA:lordZOUGA: in both cases... he should close the door and make another choice... That in facts creates a new problem of an infinite loop, again, don't forget the fact that the person opening the door knows which door has the car -- re-work the rationalelordZOUGA: I'd say that this (to me) reminds me more of the uncertainty principle in quantum mechanics where it is said that objects can exist simultaneously in a given number of states(constraints) until forced by an external body to choose a stable state(saying it loosely). You're thinking of Schrödinger's cat, this isn't exactly the caselordZOUGA: So before any door is opened, what is behind the door is a car and a goat.This is only true for the person wanting to win the car, again, the other person knows what's precisely behind every door.@codeaddictcodeaddict: Yeah, i believe so-mathematically.How would you rationale this mathematically. Given that (in Story 1) , Pr(guess 1) = 1/3 ? Programming / Re: Introducing Flash Into VB6.0 by delomos: 4:10am On Mar 31, 2012 damsoft: Hey Guys..Am a VB6.0 Programmer...How can i add flash into my projects...Pls Help..Don't. It's more pain than it's worth. What are you trying to do? Programming / Re: The Door-Goat-Car Logic Problem by delomos: 4:07am On Mar 31, 2012 @codeaddict: Nice thinking... Does the same apply to Story 2? Programming / Re: The Door-Goat-Car Logic Problem by delomos: 11:36am On Mar 30, 2012 @okeyxyz: see the pattern in Story 1 & Story 2, ' that the previous choice\door which turns out to be wrong is put back into the pool of choices\doors", why isn't it taken out? Programming / The Door-Goat-Car Logic Problem by delomos: 4:01am On Mar 30, 2012 I ran into this probability issue yesterday and it's quite interesting, I'd like to read some take on it:Story 1:There are three doors in front of you, one has a car, and the other two have goats behind them. You been promised you will win the car behind one of the doors if you can can guess the correct door with the car behind it.The person opening the door to reveal your choice knows which of the doors has the car. You made your guess.The person opens the door, there is a goat behind it, he then asked: "will you want to guess again or stick to your original choice before I open the next door?" What will be your response and what's the rationale?Story 2:Now there are five hundred doors all with goats expect one with a car, every thing remains the same (mostly that the person opening the door know which has the car behind is), after opening the 498th door, he asked if you will like to change your mind mind or stick with your original choice. What's your choice/rationale?*extra points for those who know what area of computer science this conundrum applies Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 1:28pm On Mar 29, 2012 @abbyode & @seun: this really isn't a valid entry anymore than MS Excel is... Nairaland / General / Re: Please Which Site Is Hosting Nairaland? by delomos: 5:05am On Mar 29, 2012 Seun: That's actually just DNS information, but information about our host is easy to find, too.True, yup, a 'traceroute' will do, but that's up to the OP to do the rest of the work, that's a starting point. Programming / Re: Mini Web Application Coding Challenge For Programmers by delomos: 5:02am On Mar 29, 2012 Seun: @abbyode: It's quite interesting. How did you write that?Alpha Five >> https://www.alphasoftware.com/products/v10/@abbyode, yea? Nairaland / General / Re: Please Which Site Is Hosting Nairaland? by delomos: 4:55am On Mar 29, 2012 It's not exactly private information ...anyone can look it up, as I did, see attached Programming / JQuery & Friends:.. Q/A by delomos: 8:06am On Mar 28, 2012 I saw this post => http://www.nairaland.com/309149/complete-javascript-programming-tutorial from awhile ago, and was quite good intentioned and it seemed things feel out; for those who have question respective to that post ( or set of posts), we can share ideas here, will start things off with a quick intro to JQuery, CSS, HTML, HTML5, CSS3 (refered to JQuery and friends henceforth), and some jargons everyone is speaking to day and why a 9ja boy cares:There are generally two parts to website development these days: the front-end (what you're seeing, this round corners, text, etc) and back-end (what makes things run) -- JQuery and friends mostly care about the front-end. I would just dive into the meat of things, if you want more details, ask.What's this HTML5? Nothing fancy, it's still regular HTML with more "stuff" , and an HTML5 app is a web page that acts like a desktop application usually with the help of javascript. Where then does JQuery fit? JQuery is a small javascript 'program' that helps make it easier to do interesting things with HTML. Enough talk, this is a super, super basic Ajax/HTML5 app, it really does nothing it explains the point, so, let's redesign the header of nairaland and make the search box auto-populate when you click a link to search ( I advice you don't use IE to see the HTML5ish) (you can preview the finished stuff here: http://jsfiddle.net/delomos/rfRfY/6/embedded/result/ and the code is here, I make notes below: http://jsfiddle.net/delomos/rfRfY/6/) ---`(the HTML)--------------- WebDev for NairaLand ​(the CSS)--------------------#header { margin: 0 auto; width: 500px; background: #f0f0eb; padding: 10px; border: 1px solid #000; -webkit-border-radius: 12px; <-----CSS3 stuff, rounded corners and shadow -moz-border-radius: 12px; border-radius: 12px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; -webkit-box-shadow: 0px 0px 7px 0px #000; -moz-box-shadow: 0px 0px 7px 0px #000; box-shadow: 0px 0px 7px 0px #000;}#header h1 { font-size: 1.9em; font-variant: small-caps; margin-bottom: 3px;}#header ul { margin-bottom: 5px;}#header ul li { display: inline; margin-right: 10px;}#header ul li a { text-decoration: none; color: #769776;}#header ul li a:hover, ul li a:active { text-decoration: underline;}#header input[type=text]{ <--- more CSS3 stuff width: 250px; border-right: 0; border-left: 0; border-top: 0; border-bottom: 2px dotted #000; background: #f0f0eb; }#header input[type=submit]{ margin-top:5px; border: 1px solid #000; padding: 2px }​(the JavaScript/JQuery)------------------------\$("#header ul li:eq(0)".click(function(e){ <---- attach to that HTML stuff, #heder ul li:eq(2) -- the second li in the DOM e.preventDefault(); <---- don't let it go to a link \$(this).hide('slow').delay(500).show('slow'); <---- now attach this jQuery 'stuff' to that HTML 'stuff' \$("#header input[type=text]".val(\$("#header ul li:eq(0)".text()); <----- update the search field});\$("#header ul li:eq(1)".click(function(e){ e.preventDefault(); \$(this).hide('slow').delay(500).show('slow'); \$("#header input[type=text]".val(\$("#header ul li:eq(1)".text());});\$("#header ul li:eq(2)".click(function(e){ e.preventDefault(); \$(this).hide('slow').delay(500).show('slow'); \$("#header input[type=text]".val(\$("#header ul li:eq(2)".text());});`​I didn't finish the code, play with the code @ http://jsfiddle.net/delomos/rfRfY/6/ -- let's Q/A Programming / Re: How Will You Approach This Problem, Logic Needed? by delomos: 6:33am On Mar 28, 2012 Depending on the kind of data that is being pulled/pushed -- generally I'd think of a local map-cache (the GMail model) -- create a pointer of the DB records on a local map (generally this prevents user's from banging the DB all the time), this "validates" its states with the "master" DB, remember, it's just a pointer, so it's relatively cheap. -- fetch the most recent change 'on-demand' [asynchronously?] (and that kinda solves "having to wait"Actually, I think there is a name for this kind of thing: "publish/subscribe" (but again, it depends on the kind of data we're talking about here) Programming / Re: Perl, Python, Ruby, PHP, Which Is The Best For Web Design And Development? by delomos: 6:16am On Mar 28, 2012 @OP: In this day and age, if you're absolutely new to web development, the first question you probably should be asking is what you want to achieve eventually -- if you just want to do it for fun, sure PHP will get you up and running; it's easy to learn but quite hard to do serious stuff with it.The best thing is, instead of learning bits and pieces, pick up a language (say PHP) and learn a popular framework around it (generally, you learn backwards). Say you pick Drupal, or Wordpress, you can learn how to develop plugins for them or template, which would require you to learn enough PHP to do that or enough CSS/HTML/JS.... Learning from scratch these days is just a pain, learn enough to start with and learn as you go, don't get bugged down with archaic language features.Some sites that can get you rolling: http://net.tutsplus.com/http://learncodethehardway.org/http://ruby.railstutorial.org/To name a few.8figure: I prefer vim cos that's what i use on linus, and I now run linux instance on windows pc, moreover switching to new editor cos I can't seem to figure out how to make it work on my linus instance is not a good idea at all.So am still waiting ekt_bearYou might like this, http://www.jetbrains.com/ruby/ if you're not a hardcore linux'er, VIM or EMac for Rails dev isn't that productive. 1 Like Programming / Re: Becoming A Hacker With No Formal Knowledge Of It by delomos: 2:10pm On Mar 11, 2012 not a problem: me (at) delewrit.es (dot) com Programming / Re: Becoming A Hacker With No Formal Knowledge Of It by delomos: 5:51pm On Mar 10, 2012 I would interpret your "hacker" to mean "programmer", this article will give you an insight: http://www.wikihow.com/Become-a-ProgrammerThen you and follow-up with a more detailed question. Programming / Re: In Search Of "that" Software Development Methodology by delomos: 3:37pm On Mar 10, 2012 Ghenghis:I think we're getting to common ground now, In addition, will I really trust this company with doing any web development for me? I highlighted some serious issue on their on site but in honesty, they're probably still "planning" to get them fixed. Programming / Re: A Way Forward For The Field Of Computer Science In Nigeria by delomos: 12:53am On Mar 10, 2012 greenmouse:, Read my interview with Vanguard newspapers: http://www.vanguardngr.com/2011/11/ict-skill-acquisition-key-to-career-breakthrough-victor-nwadinobi/.** Applauds*** Programming / Re: In Search Of "that" Software Development Methodology by delomos: 12:50am On Mar 10, 2012 Ghenghis:Hmm, I also know loads of professors. They're great but be careful not to misquote them. I also came across many methodologies during MSc. in the UK (An i believe my lecturers where also profs. , at least i hope).Read more about water fall, do a little research and draw your own conclusions.If i were to tell you some stories I've heard about COBOL(in 2012), from some senior engineers in the US, for instance you wont believe it. Always talking about Cobol copy book etc. like all the fortune 500s where using it. Ironically he only recently heard of PHP.My point: Everyone has their own experiences. You can't simply take someones word for it, no matter how distinguished! Couldn't agree more! Let me had mine: and I did mine in the US and there is this particular professor who is really great (had him for Data St/Alg 1 & 2 and Soft. Eng. Arch.) and gets money for grant from some company for research (WHICH really biases is research but that's another story), he swears by Java (and for disclosure, he actually co-authored a book on the language) and thought us that, well, I learnt a few things about Java from him, but his indoctrination is another story -- learn to learn. Programming / Re: In Search Of "that" Software Development Methodology by delomos: 9:14pm On Mar 09, 2012 candylips:I like it though. i use lean practices like kanban, cadence, WIP  and they seem to work to some extent ^^ Never really encountered this in the real world, can you share your experience with it (why do you like it, how is it better than the status quo)?csharpjava:, I know professors who say waterfall is used for complex software projects both in commerce and industry. Well if you say you disagree with these professors, then you should know that these professors gets millions from orgainisations to carry out researches for them to implement, so for this reason I have to believe some of the things the say.^^^ No offense but often Professors live in their heads, Programming / Re: In Search Of "that" Software Development Methodology by delomos: 9:15pm On Mar 08, 2012 candylips:my guy iterative waterfall != agile . it is iterative building of core functionality but which distinct SLDC phases.in agile (XP) you just start coding like an  iidiott without any up front design. relying on TDD to guide ur design. you can't do that in a complex  system like a core banking app. it will be disastrous  although scrum folks will say they do some element of design but at the end of the day it looks like iterative waterfall to me who currently use waterfall ? u will be surprised that most of the people who claim to be doing agile are actually doing an iterative version of waterfall. Agile is just an lazy excuse for not writing documentation and not doing proper design. anyone who hides behind agile is just a lazy code monkey ^^ Please read though the thread, don't just jump in randomly. Programming / Re: A Way Forward For The Field Of Computer Science In Nigeria by delomos: 8:03pm On Mar 08, 2012 I like this thread already and I'm looking forward to people's contribution. If I where to choose only one point, I will say:> Revise the curriculum and seduce investors. Programming / Re: Something I Hacked Up Just Before November Last Year Before Going For Nysc by delomos: 7:59pm On Mar 08, 2012 logica:http://stackoverflow.com/questions/2771167/convert-java-applet-code-in-to-java-scriptHAHAHAAAA, f\$\$king love StackOverflow --- Question: Is any way to convert a java applet code to java script?  Answer: Yes - it is a technique known as "employing a programmer". :-)

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

(Go Up)