[tor-talk] introducing ahmia search

tor at lists.grepular.com tor at lists.grepular.com
Mon Oct 1 14:00:29 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 01/10/12 14:32, ahmia wrote:

>> It feels like you're doing the search in the main thread as I
>> type into the search field, as it's blocking the user interface a
>> lot. I suggest you use javascript web workers for this purpose so
>> you can background the searching task onto a new thread. Or just
>> get rid of the whole "search as I type" thing. Gimmicks are fine,
>> unless they actually make the user experience worse.
> 
> JavaScript search is now faster and does not block the user
> interface. This is done now by waiting 1000ms from the very last
> keyup event before laughing the search. Since the web worker cannot
> access the DOM we decided to implement that this way for now. At
> least it works now better.

It does work much better now, but I'm still seeing the browser freeze
occasionally when typing. Although web workers can't access the dom,
my suggestion wouldn't require that. It's just a case of catching
onkey events on the text field in the main gui thread, and then
passing the value of the field to a web worker to perform the
potentially long running process of running a search.

>> Please provide https. At the moment, the search engine can be 
>> trivially MITM'd and script inserted to log searches. Also,
>> please rethink your decision to let Google execute arbitrary code
>> on your pages.
> 
> HTTPS it is now (https://ahmia.fi/)! Furthermore, we have removed
> all Google's code and every resource is now downloaded from
> ahmia.fi - even those twitter news.

Looking much tidier now.

- -- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4
-----BEGIN PGP SIGNATURE-----

iQGGBAEBCgBwBQJQaaH9MBSAAAAAACAAB3ByZWZlcnJlZC1lbWFpbC1lbmNvZGlu
Z0BwZ3AuY29tcGdwbWltZTgUgAAAAAAVABpwa2EtYWRkcmVzc0BnbnVwZy5vcmdt
aWtlLmNhcmR3ZWxsQGdyZXB1bGFyLmNvbQAKCRCdJiMBwdHnBJYlB/4whrzOlsKL
CmWCI5c4B0VShHMYQRoS/KW1/lA51SIIje2PcBnZrJ00XRKVG81oqMFwWsHhDm/R
yWPPc9/v2lNvmHYr34Irv5IYYa5rIDEPWz28gFxDtDK0HriIV4ywCM3i34Qgoy5C
iyn2J+4Kc+BCritdQG5EU2wcjjOcfub2xk6a2ehL6Sma2Or9Qf45P7Wwax1t3Snj
d5G+GIJtbCF43vSexP3t5oSqGz5vWwaKOUBpebEgFdd0WdkQHDYc5oz7PJVvcqFX
e3Rbp8tDlz0E+5dLJUb9U5q7ZWnL7xI6Ydv0z3weSPvfQ9IQHU8W7+iH7c/zgNLR
xCfk3cpfg8/n
=Kl32
-----END PGP SIGNATURE-----


More information about the tor-talk mailing list