DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Google Calculator - closed  (Read 23,965 times)

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Google Calculator - closed
« on: February 19, 2008, 09:12 AM »
This topic has been discontinued.
See:
http://www.donationcoder.com/forum/index.php?topic=17153.0
My open-source online piano game: https://github.com/musicope/game
« Last Edit: February 23, 2009, 03:50 PM by czb »

taichimaster

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 160
    • Plugin Coding Medal
Re: Google Calculator
« Reply #1 on: February 19, 2008, 09:25 AM »
Very neat!!! Installing right away!!

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Google Calculator
« Reply #2 on: February 19, 2008, 01:20 PM »
Really really cool, czechboy!

I don't understand: why do you need the '=' at the end?
Is it to avoid google queries without anything interesting?

(i removed it and it works perfectly :) )

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Google Calculator
« Reply #3 on: February 19, 2008, 01:41 PM »
Yes.. it is not to overwhelm google by queries (I do not know if google can ban you or something) but sure you can make query after every single character pressed
My open-source online piano game: https://github.com/musicope/game

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Google Calculator
« Reply #4 on: February 19, 2008, 08:36 PM »
it seems like i need to add 2 things:
let user hit enter to activate the plugin (instead of having to type a special character).
and maybe some kind of way to send the plugin a signal after a short delay of no typing, so that plugins like this could query an online source after a short delay so it wouldnt have to check every character, but could still check "live" without requiring enter to be hit.  what do you think?

jgpaiva

  • Artificial Idiocy
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • Cody Award
    • Participated in NANY Challenge Once
    • Coding Snacks
    • Portugal Inhabitant
    • Linux User
Re: Google Calculator
« Reply #5 on: February 19, 2008, 09:25 PM »
mouser: yes, definitelly add the "enter" option!
I like the the idea about the short delay, the problem is that that depends on how fast the person writes, i guess. Probably not easy to do on reality, i think.

vitalyb

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 143
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Google Calculator
« Reply #6 on: February 20, 2008, 08:40 AM »
some kind of way to send the plugin a signal after a short delay of no typing, so that plugins like this could query an online source after a short delay so it wouldnt have to check every character, but could still check "live" without requiring enter to be hit.  what do you think?

:Thmbsup: :Thmbsup: :Thmbsup:
Much needed option, in my opinion.

czb

  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 336
    • Plugin Coding Medal
    • Participated in NANY Challenge Once
Re: Google Calculator
« Reply #7 on: February 20, 2008, 10:14 AM »
it seems like i need to add 2 things:
let user hit enter to activate the plugin (instead of having to type a special character).
and maybe some kind of way to send the plugin a signal after a short delay of no typing, so that plugins like this could query an online source after a short delay so it wouldnt have to check every character, but c ould still check "live" without requiring enter to be hit.  what do you think?

Both ideas are great, probably there could be an TAB option as well (not only enter). Similar to the Launchy one ;)
My open-source online piano game: https://github.com/musicope/game

kartal

  • Supporting Member
  • Joined in 2008
  • **
  • Posts: 1,529
Re: Google Calculator
« Reply #8 on: August 02, 2008, 02:23 AM »
I really like this plugin but I wish that there was an offline-non google version as well :(

Original address: https://www.donationcoder.com/forum/index.php?topic=12374.0