piggymouse: (Default)
[personal profile] piggymouse

Summary

History of changes in friends & friend-of lists automatically updated on a daily basis.

Feature specification

Terminology used in this specification:

  • Friend state: F, contents of friends and friend-of lists for a specific LJ user.
  • Friend state delta: ΔF, information about differences between two friend states (added and removed users from both friends and friend-of lists).

Friend state history tracking

If the friend history tracking is enabled for currently logged on LJ user and one of the following events occurs:

  • The application has just logged on to LJ.
  • The system date has just changed.
  • "Edit Friends" dialog box is being opened.

Execute the following procedure:

  • Load the actual friend state Fcurr. Save it as the friend state for the current date Dcurr. If a friend state was already saved for Dcurr, overwrite it.
  • Find the latest date Dprev before Dcurr for which a friend state Fprev was stored.
  • If Fprev was found, calculate the friend state delta ΔFcurr = Fcurr – Fprev.
  • If Fprev was not found (i.e. this is the first day of the friend history tracking), set ΔFcurr = Fcurr – Ø, where Ø represents a friend state with empty friends and friend-of lists.
  • Save ΔFcurr as the friend state delta for Dcurr. If a friend state delta was already saved for Dcurr, overwrite it.

Friend state history reporting

If friend history data are stored for currently logged on LJ user, the application shall provide the possibility to view and save the friend history report.

It shall be possible to specify the beginning and end date for the report.

It shall be possible to save the report in HTML and XML-based formats. The XML-based format should be specified elsewhere (in a form of a DTD or an XML Schema).

Date: 2002-12-02 05:09 am (UTC)
From: [identity profile] sema.livejournal.com
Хороший подход к запросу фичи. Уважаю. Снимаю шляпу.
(про XML - я надеюсь ты просто издеваешься? :)

Мне как-то даже стыдно теперь это все не реализовать.. Но тааак лень :((

Date: 2002-12-02 05:15 am (UTC)
From: [identity profile] piggymouse.livejournal.com
Вспомним Искандера: необязательно пить – пусть стоит!

Date: 2002-12-02 05:43 am (UTC)
From: [identity profile] 109.livejournal.com
а что, семаджик уже научился по-русски писать?

Date: 2002-12-02 05:46 am (UTC)
From: [identity profile] sema.livejournal.com
Я прям не знаю что и ответить на Ваш вопрос.
Он это делал с рождения и не переставал ни на день.

Re:

Date: 2002-12-02 08:43 am (UTC)
From: [identity profile] 109.livejournal.com
и что для этого нужно сделать?
я запускаю - а у меня крокозябры.

Date: 2002-12-02 11:38 pm (UTC)
From: [identity profile] sema.livejournal.com
Смотря где кракозябры.
Если в интерфейсе - надо взять версию с английским интерфейсом, версия с русским будет работать только при русских региональных установках.
Если в окне редактирования - надо поменять шрифт, View->Font...

Date: 2002-12-02 08:52 am (UTC)
From: [identity profile] 109.livejournal.com
справедливости ради должен добавить, что такое происходит только на домашней XP Pro, на w2k всё в порядке.

Date: 2002-12-02 05:41 am (UTC)
From: [identity profile] 109.livejournal.com
It shall be possible to

это кто так говорит?

Date: 2002-12-02 05:46 am (UTC)
From: [identity profile] piggymouse.livejournal.com
Информбюро.

Date: 2002-12-02 11:43 pm (UTC)
From: [identity profile] piggymouse.livejournal.com
Слушай, а ты не мог бы объяснить коротенько, почему так говорить некузяво. Заранее спасибо!

Re:

Date: 2002-12-03 06:11 am (UTC)
From: [identity profile] 109.livejournal.com
нет, это наоборот, очень стильно. я только хотел узнать, что это за стиль, а ты не колешься.

а по скучным правилам - "it will be possible" или "it should be possible", или "it must be possible", в зависимости от того, что именно ты хочешь сказать.

Date: 2002-12-03 06:19 am (UTC)
From: [identity profile] piggymouse.livejournal.com

Стиль взят из RFC2119 ("Key words for use in RFCs to Indicate Requirement Levels"), ёлы-палы.

MUST. This word, or the terms "REQUIRED" or "SHALL", mean that the definition is an absolute requirement of the specification.

Т.е. вообще-то ты прав и надо бы было говорить "it must be possible". Где-то у Аввы, кстати, было про shall/will, не помню только где.

Re:

Date: 2002-12-03 08:43 am (UTC)
From: [identity profile] 109.livejournal.com
хмм... а пример rfc с выражением "it shall" или "it shall not" можешь привести?

Date: 2002-12-04 03:46 am (UTC)
From: [identity profile] piggymouse.livejournal.com
Ляниво.

Profile

piggymouse: (Default)
איש אי הכלבים

April 2011

S M T W T F S
     1 2
34 56 789
10 1112 13141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 07:53 pm
Powered by Dreamwidth Studios