Na'vi Word of the Day Sigbars

Started by Swoka Ikran, April 25, 2011, 03:00:45 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Tswusayona Tsamsiyu

Nivume Na'vit, fpivìl nìNa'vi, kivame na Na'vi.....
oer fko syaw tswusayona tsamsiyu

Eywa'eveng-tìranyu

Quote from: Swoka Ikran on April 25, 2011, 03:00:45 PM
I'm working on a very large sigbar tool for summer

What is it about?

Puvomun

Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Sіr. Ηaxalot

Quote from: Swoka Ikran on May 01, 2011, 01:29:15 PM
The base image is 24KB, so that's about right. It gets larger going through GD.

Unfortunately, even with the tiny xfer size, there is often noticeable lag loading them from the USA (probably due to the server being in Sweden). I think I need a USA server (haven't had any success finding one.)

It shouldn't do that much difference. Usually there's about 100-200ms to the U.S., depending on where you live. It shouldn't do any major difference for ordinary HTTP traffic.

Swoka Ikran

Quote from: Eywa'eveng-tìranyu on May 02, 2011, 09:40:03 AM
Quote from: Swoka Ikran on April 25, 2011, 03:00:45 PM
I'm working on a very large sigbar tool for summer
What is it about?
Quote from: Puvomun on May 02, 2011, 09:41:52 AM
Oe lu curious nìteng!!
It's a combination of an image host, the countdown bars, NWOTD bars, and a few other features I haven't finished yet. What I do know so far is that one of those features will allow you to put your own twitter feed on your bars.

Some pics of the early prototype. Sorry about the hideous interface :( ...and I need an image for the "(REPLACE THIS IMAGE)" :P

http://i51.tinypic.com/9gexs3.png - The bar editor.
http://i54.tinypic.com/15gi0l.png - The Portfolio (list of all the bars you've made).

Other than that, the user account system is the only thing finished. Still need to finish the object editor, and write the image generator and administration system.

Quote from: Sir. Haxalot on May 02, 2011, 12:53:43 PM
It shouldn't do that much difference. Usually there's about 100-200ms to the U.S., depending on where you live. It shouldn't do any major difference for ordinary HTTP traffic.
They load fine much of the time, but if there's a lot of people online here, it gets noticeably slower (look at the countdown bars, it seems more noticeable with them). During those times, I can load a topic here on LN, and the bars will be the last thing loaded by several seconds. I'm in the northeast USA on Comcast.

Running a ping test with 250 packets gave the following results: http://swokaikran.skxawng.lu/temp/ping.log
(167ms average ain't bad for international xfer, but the 13% loss is worrying me)
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Puvomun

Quote from: Swoka Ikran on May 02, 2011, 02:33:34 PM
It's a combination of an image host, the countdown bars, NWOTD bars, and a few other features I haven't finished yet. What I do know so far is that one of those features will allow you to put your own twitter feed on your bars.
COOL!
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Sіr. Ηaxalot

Quote from: Swoka Ikran on May 02, 2011, 02:33:34 PM
Quote from: Sir. Haxalot on May 02, 2011, 12:53:43 PM
It shouldn't do that much difference. Usually there's about 100-200ms to the U.S., depending on where you live. It shouldn't do any major difference for ordinary HTTP traffic.
They load fine much of the time, but if there's a lot of people online here, it gets noticeably slower (look at the countdown bars, it seems more noticeable with them). During those times, I can load a topic here on LN, and the bars will be the last thing loaded by several seconds. I'm in the northeast USA on Comcast.

Running a ping test with 250 packets gave the following results: http://swokaikran.skxawng.lu/temp/ping.log
(167ms average ain't bad for international xfer, but the 13% loss is worrying me)

Have you tried to do the same test against e.g. google.com?

Swoka Ikran

Quote from: Sir. Haxalot on May 02, 2011, 04:49:12 PM
Have you tried to do the same test against e.g. google.com?
Google.com averaged about 29ms, lost 1 of 250 packets (0.4% loss).

Also tried tree-of-souls.com (hosted in the UK) - 53ms average, lost 3 of 250 packets (1.2% loss)

(Would have also tried LN, but their server ignores pings - all timed out)
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Puvomun

Ma Swoka Ikran,

I have a question / request.

How do you grab the latest tweet on @navi_wotd for the sigbar? Do you scan the tweet-list and grab the newest one?

I think it would be a great addition if you could also filter on only checking tweets containing "#navi_wotd" to decide which tweet is the one to show. Today it turns out that I need to send out an announcement (which won't have #navi_wotd in it), as there are now MP3s for the first 4 words as well. I have scheduled things that this announcement goes out 1 minute before the new wotd, to make the 'weirdness' in the sigbar as short as possible.

If you could do something about the hash-tag, that would be magnificent. :)
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Swoka Ikran

Quote from: Puvomun on May 04, 2011, 03:27:52 AM
Ma Swoka Ikran,

I have a question / request.

How do you grab the latest tweet on @navi_wotd for the sigbar? Do you scan the tweet-list and grab the newest one?
I pull http://twitter.com/statuses/user_timeline/navi_nwotd.xml?count=1 every 15 minutes and grab the <text></text> value.

Quote from: Puvomun on May 04, 2011, 03:27:52 AM
I think it would be a great addition if you could also filter on only checking tweets containing "#navi_wotd" to decide which tweet is the one to show.
Quote from: Puvomun on May 04, 2011, 03:27:52 AM
If you could do something about the hash-tag, that would be magnificent. :)
I'll look into it. I can probably modify it to ignore entries where #navi_wotd is not in the string. A simple stristr() can likely do it.

Quote from: Puvomun on May 04, 2011, 03:27:52 AM
Today it turns out that I need to send out an announcement (which won't have #navi_wotd in it), as there are now MP3s for the first 4 words as well. I have scheduled things that this announcement goes out 1 minute before the new wotd, to make the 'weirdness' in the sigbar as short as possible.
The data on the bar is cached and only updates from twitter at 15 minute intervals. If it decides to update in that 1 minute, the bar will display the announcement for 15 minutes. Otherwise, you won't see any weird bars at all. The cache is there to improve performance (the app can be miserably slow otherwise).
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Puvomun

Quote from: Swoka Ikran on May 04, 2011, 05:59:58 AM
I pull http://twitter.com/statuses/user_timeline/navi_nwotd.xml?count=1 every 15 minutes and grab the <text></text> value.
Wow, this is cool! :D

Quote from: Swoka Ikran on May 04, 2011, 05:59:58 AM
I'll look into it. I can probably modify it to ignore entries where #navi_wotd is not in the string. A simple stristr() can likely do it.
Thank you!!
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Tsufätu Ayioangä


Puvomun

Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Swoka Ikran

Quote from: Puvomun on May 04, 2011, 12:39:58 PM
Quote from: Aykerusey mì Terìran on May 04, 2011, 11:29:08 AM
I love them!
I do too. They are simply gorgeous.
Irayo to both of you :)

@Puvomun: I'm working on the update for the announcements now...almost ready for testing.
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Puvomun

Quote from: Swoka Ikran on May 04, 2011, 12:46:36 PM
Irayo to both of you :)

@Puvomun: I'm working on the update for the announcements now...almost ready for testing.


Irayo lu ngaru, my friend. You really do an awesome job. And thank you for the 'fix'. Luckily the timing this day for the announcement went perfectly. :-)
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

omängum fra'uti

Quote from: Swoka Ikran on May 04, 2011, 12:46:36 PM
Quote from: Puvomun on May 04, 2011, 12:39:58 PM
Quote from: Aykerusey mì Terìran on May 04, 2011, 11:29:08 AM
I love them!
I do too. They are simply gorgeous.
Irayo to both of you :)

@Puvomun: I'm working on the update for the announcements now...almost ready for testing.

I think you could probably use the alternate data source I PMd you about.  It seems to be pretty reliable at this point, and it will never be confused by other messages in the twitter feed.
Ftxey lu nga tokx ftxey lu nga tirea? Lu oe tìkeftxo.
Listen to my Na'vi Lessons podcast!

Swoka Ikran

Quote from: Puvomun on May 04, 2011, 12:56:16 PM
Quote from: Swoka Ikran on May 04, 2011, 12:46:36 PM
Irayo to both of you :)
@Puvomun: I'm working on the update for the announcements now...almost ready for testing.

Irayo lu ngaru, my friend. You really do an awesome job. And thank you for the 'fix'. Luckily the timing this day for the announcement went perfectly. :-)
The fix is finished. Installation is going to need downtime though (some DB work needs to be done for the caching). I'll install it late tonight.

Quote from: omängum fra'uti on May 04, 2011, 01:07:02 PM
I think you could probably use the alternate data source I PMd you about.  It seems to be pretty reliable at this point, and it will never be confused by other messages in the twitter feed.
I need to fix a feed timeout issue (skxawng.lu fails to read your feed on occasion). The version being used right now also suffers from feed timeouts reading Twitter, but caching makes them unnoticeable. If I can fix the timeouts by tonight, I can just make the switch during the maintenance.

@Everybody: There may be some downtime tonight (sometime after 11pm EDT) for the above fixes/changes. You'll see "Down for maintenance" in place of your sigbars if this is the case.
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

Puvomun

Quote from: Swoka Ikran on May 04, 2011, 01:48:20 PM
@Everybody: There may be some downtime tonight (sometime after 11pm EDT) for the above fixes/changes. You'll see "Down for maintenance" in place of your sigbars if this is the case.

Thanks for the notice and all the work everyone is putting into @navi_wotd! :D
Krr a lì'fya lam sraw, may' frivìp utralit.

Ngopyu ayvurä.

Swoka Ikran

#38
Quote from: Puvomun on May 04, 2011, 01:53:55 PM
Quote from: Swoka Ikran on May 04, 2011, 01:48:20 PM
@Everybody: There may be some downtime tonight (sometime after 11pm EDT) for the above fixes/changes. You'll see "Down for maintenance" in place of your sigbars if this is the case.

Thanks for the notice and all the work everyone is putting into @navi_wotd! :D
You're welcome.

The reason for this maintenance downtime is the database needs a few changes. I have to empty the cache table, and without downtime, the script will repopulate it as soon as someone visits Puvomun's website or an LN post with one of the bars in it.

EDIT: Implemented a 5-minute cache to fix timeout issue with omängum fra'uti's feed.
2010 was the year of the Na'vi.Vivar 'ivong Na'vi!


 
Avatray | NWOTD Sigbars | Sacred's Sigbar Tool | My collection of Avatar merchandise

omängum fra'uti

The timeout has to be somewhere on your end.  The longest I see a request taking on my end is 700ms.  (On appspot, if the app instance is idle it offloads it to save resources, and it takes an extra half second to start it again next request that comes in.)
Ftxey lu nga tokx ftxey lu nga tirea? Lu oe tìkeftxo.
Listen to my Na'vi Lessons podcast!