Delomos's Posts
Nairaland Forum › Delomos's Profile › Delomos's Posts
1 2 3 4 5 6 7 8 9 10 11 (of 12 pages)
Aha .... All I need now is a solid bowl of Eba and palm wine + @ekt_bear's analysis and I'm all set. @ekt_bear, will this same be true of a "being" blind to the emotional attachment of being wrong on choice 1? Say, there are 1 billion doors, 1st wrong, 2nd wrong, 3rd wrong... does following a [1-(1/n)] progression make sense (again assume the door chooser doesn't have the human factor e.g a computer) ? |
okeyxyz: I don't need all the facts and variables, but i do need your POV to understand what I'm dealing with. this is what @codeaddict has managed to elicit from you, thus half of the problem is solved already.My apologies, I did misunderstand your point. As @ekt_bear stated, yes, it's the Monty Hall problem and it's terribly easy to get the problem wrong (Almost like dating a chic who "says" she's a virgin) -- and again, as @ekt_bear stated, I agree that it's easier to solve the problem when one thinks of 1 billion doors instead of three (actually that's why I added story 2, the problem has just one day) In light of @ekt_bear's exposition, @ekt_bear and @okeyxyz how do you approach it? How do you approach it if this where a computational problem? P.S It will be exciting! to read people thought on how this problem relates to a girl "saying" she's a virgin |
If you're looking for a full scale solution, you might want to look here: http://woork..com/2007/10/login-using-ajax-and-php.html But if you looking for the concept to integrate into something you've already built... Stack Overflow style// drop jQ in your page (http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js) assuming the page that's processing your login is: login.php
Generally, the idea is that simple with jQuery. |
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 thoughI 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 -- [?] |
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? |
@codeaddict codeaddict: 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)].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. |
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 changesVery bizzare! I almost thought my screen had a problem, this color combination is hurtful to the eyes! |
Neither do I... question is, Is Alpha Five a framework of XBasic |
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... |
abbyode: I still maintain that Alpha five is a web framework and a full IDE just like the way Visual Studio is.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 significantly 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 Basic Zend framework or Symfony is a framework off PHP Ruby 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 |
abbyode: Did you also notice the below in the original post?Perhaps seeing what a web framework is might enlighten and seeing how it differs from AW: http://en.wikipedia.org/wiki/Web_application_framework |
@Fayimora Fayimora: 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) @lordZOUGA lordZOUGA: ....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). |
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 |
abbyode: Alpha five might be unpopular but it has been in existence for over 2 decades.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. |
@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 rationale lordZOUGA: 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 case lordZOUGA: 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. @codeaddict codeaddict: Yeah, i believe so-mathematically.How would you rationale this mathematically. Given that (in Story 1) , Pr(guess 1) = 1/3 ? |
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? |
@codeaddict: Nice thinking... Does the same apply to Story 2? |
@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? |
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 |
@abbyode & @seun: this really isn't a valid entry anymore than MS Excel is... |
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. |
Seun: @abbyode: It's quite interesting. How did you write that?Alpha Five >> https://www.alphasoftware.com/products/v10/ @abbyode, yea? |
It's not exactly private information ...anyone can look it up, as I did, see attached
|
I saw this post => https://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/) ---
I didn't finish the code, play with the code @ http://jsfiddle.net/delomos/rfRfY/6/ -- let's Q/A |
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) |
@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.You 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. |
not a problem: me (at) delewrit.es (dot) com |
I would interpret your "hacker" to mean "programmer", this article will give you an insight: http://www.wikihow.com/Become-a-Programmer Then you and follow-up with a more detailed question. |
Ghenghis: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.
|
greenmouse:** Applauds*** |
Ghenghis: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. |
candylips:^^ 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:^^^ No offense but often Professors live in their heads, |
.append("<img src="
.html(data);