Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
  1. #1
    H3X
    H3X is offline
    New Coder
    Join Date
    Nov 2008
    Posts
    90
    Thanks
    30
    Thanked 0 Times in 0 Posts

    Voke: Ask anything

    Voke

    Tell me what you think, thanks.

  • #2
    New Coder
    Join Date
    Jul 2009
    Posts
    52
    Thanks
    6
    Thanked 1 Time in 1 Post
    Wow that's really neat. Keep working on it! It could turn into something amazing some day. Good Luck. Could you fill me in on how it works it's really cool...does your bot store everything into a database or does it just fetch data whenever you throw in your query.

  • #3
    H3X
    H3X is offline
    New Coder
    Join Date
    Nov 2008
    Posts
    90
    Thanks
    30
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by firetag View Post
    Wow that's really neat. Keep working on it! It could turn into something amazing some day. Good Luck. Could you fill me in on how it works it's really cool...does your bot store everything into a database or does it just fetch data whenever you throw in your query.
    The bot just fetches new data every time the user asks a question. But I would like to add caching for mostly static things. For example, I would not want the score of a baseball game to be cached but I might want, say, the temperature of the sun to be cached. Although caching would only be effective if there were a large amount of users visiting the site. I'm moving it to it's own domain soon, also.

  • #4
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Nothing I tried works. (I tried What temperature is it in London?, How is sound made? and Why do cats miaow?)

  • #5
    H3X
    H3X is offline
    New Coder
    Join Date
    Nov 2008
    Posts
    90
    Thanks
    30
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Apostropartheid View Post
    Nothing I tried works. (I tried What temperature is it in London?, How is sound made? and Why do cats miaow?)
    Now try, I was working on the javascript quick so it didn't work. Instead of miaow, try meow. Also, the temperature in london thing is pretty complex but I will work on adding things like that in the future.

  • #6
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Nothing works if JavaScript isnít available! There is no search button and I see a useless loading progress icon next to the search field. Also, you forgot to specify a page background color. My default browser background isnít white, therefore I probably donít see what you believe everybody is seeing.

  • #7
    New Coder
    Join Date
    Jul 2009
    Posts
    52
    Thanks
    6
    Thanked 1 Time in 1 Post
    Quote Originally Posted by VIPStephan View Post
    Nothing works if JavaScript isnít available! There is no search button and I see a useless loading progress icon next to the search field. Also, you forgot to specify a page background color. My default browser background isnít white, therefore I probably donít see what you believe everybody is seeing.
    lol pretty much everything is run by javascript it's a necessary language. You can't disable it maybe back in 2000 or so when it first came out but it['s too heavily used turn your javascript on so like 90% of websites work correctly...

  • #8
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Still nothing works.

    You could make this run using JavaScript. Just clone what you have in a server-side language such as PHP.

  • #9
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Quote Originally Posted by firetag View Post
    lol pretty much everything is run by javascript it's a necessary language. You can't disable it maybe back in 2000 or so when it first came out but it['s too heavily used turn your javascript on so like 90% of websites work correctly...
    You, my friend, are absolutely on the wrong path.
    1. JavaScript isnít necessary to run a site Ė at least it shouldnít be if you do things right. It should only be used as enhancement for an already working website. Websites that rely on JavaScript in order to work correctly are badly coded.
    2. JS wasnít just introduced in 2000, it has been there years earlier already.
    3. Maybe not in 2000 but at least since 2003 the principle of ďprogressive enhancementĒ was coined (according to Wikipedia) but the approach itself has been there for years already. Basically what it says is: get a site working for the most basic client software and then enhance it with CSS, JS, Flash and what not.
    4. There arenít just computer screen browsers on high speed internet connections, there are an endless amount of different devices that can connect to the internet and not all of them support scripts or have them enabled (among others for the reason of bandwidth usage).
    5. People that donít follow the above mentioned principle of progressive enhancement are doing a job just as bad as people using tables for a page layout.


    I say it once again and Iím gladly going to repeat it a hundred times: Websites that rely on JavaScript are bad. Especially the site in question here doesnít have to rely on JS, it can all be done with regular PHP. JS should only be used to enhance the basic functionality.

    P. S.: Donít tell me what I have or have not to do. If I decide I donít want to be annoyed by badly coded scripts and disable the execution of JS then you canít do anything about it and itís your problem if people leave your site (because you prevent them from using it).

  • #10
    Rockstar Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    9,074
    Thanks
    1
    Thanked 328 Times in 324 Posts
    @firetag: I completely agree with what VIPStephan said. JavaScript should never be used for functionality that is required for the site to work. Data brought back by AJAX as an example can easily be also done with a submit button when JavaScript is unavailable.

    Browsers don't have to support JavaScript at all or in its entirety, there are browsers in a lot more things than just on PCs so you can't never be sure what extra features are supported.

    @H3X:
    Having no submit button might be confusing. You might want to change the little spinning animation to also include some text like "Searching, please wait." or something like that so it is clear that something is happening.

    Also from your last review:
    Quote Originally Posted by oracleguy View Post
    4) If you completely erase everything in the text field, the drop down stays with the last thing entered in the box. It might be nicer if it just disappears.
    This is still an issue that I think should be fixed.

    And one question I tried: what is the speed of light? doesn't return answers that make sense. In this case "Speed of light." It should be more like an explanation of the speed of light and/or the actual value.
    Last edited by oracleguy; 08-23-2009 at 07:53 PM.
    OracleGuy

  • #11
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,700
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    Quote Originally Posted by oracleguy View Post
    You might want to change the little spinning animation to also include some text like "Searching, please wait." or something like that so it is clear that something is happening.
    Well, actually the spinning animation isnít that confusing in the context (after submitting a question). But when JS is disabled the GIF with the animation is shown even though I havenít done anything yet. So what I mean is that this image should not be hard coded in the HTML source but rather be created and appended through JS as well when the actual search is performed.

  • #12
    H3X
    H3X is offline
    New Coder
    Join Date
    Nov 2008
    Posts
    90
    Thanks
    30
    Thanked 0 Times in 0 Posts
    Why is the spinning thing so confusing? Currently, the site is run by javascript, and if the user spends 10 seconds using it, it shouldn't be confusing at all. People who don't have javascript enabled should enable it or upgrade their browser. The site is run by javascript for a reason.

    In the future it will probably have something to deal with people without javascript, but for now, it doesn't, as it's only a prototype. I also have a movile site set up to deal with people on mobile browsers.

    Now, neverminding the client-side issues, do you like the general idea of the site? I know it's kind of slow.

  • #13
    Regular Coder seco's Avatar
    Join Date
    Nov 2008
    Location
    Oregon
    Posts
    687
    Thanks
    6
    Thanked 79 Times in 77 Posts
    well it knows what dingleberries are.

  • #14
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    Quote Originally Posted by H3X View Post
    The site is run by javascript for a reason.
    Really? What is that? Pray tell.

    It's a nice idea, but I don't get answers which make sense.

    "What are apples?" returned "Apple (the common, edible fruit".
    "What is the speed of light?" returned "The Speed of Light."
    "When was the second world war?" returned "The reasons for the second World War were and why it was caused were: a. Hitler's Aims 1. To unite German speaking people."
    And the last one isn't even wholly true.

    The site is slow and needs some serious optimization. I would say it even would work better with a submit and page reload, because it's just not quick enough.

  • #15
    H3X
    H3X is offline
    New Coder
    Join Date
    Nov 2008
    Posts
    90
    Thanks
    30
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Apostropartheid View Post
    Really? What is that? Pray tell.

    It's a nice idea, but I don't get answers which make sense.

    "What are apples?" returned "Apple (the common, edible fruit".
    "What is the speed of light?" returned "The Speed of Light."
    "When was the second world war?" returned "The reasons for the second World War were and why it was caused were: a. Hitler's Aims 1. To unite German speaking people."
    And the last one isn't even wholly true.

    The site is slow and needs some serious optimization. I would say it even would work better with a submit and page reload, because it's just not quick enough.
    The reason I use javascript is because I want the site to be run by it, and to make it easier for the user.

    instead try: when was world war 2

    The site is still a prototype, as I said. The algorith to answer questions isn't perfect. It can answer a lot of questions like: is britney spears single or what is the time in chicago or pizza in chicago.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •