Gallery 2.0 footer

February 28th, 2006Category: My Life2 Comments

Преди време исках да си сложа copyright (или copyleft) в галерията, но не открих лесен начин…
Сега като тръгнах да си обновявам линковете до българските преводи на CC 2.5, за които писах преди малко, пак се позабавих доста, докато разбера къде се пипа. Реших да си го документирам:

В директорията на темата, която ползвате в Gallery 2.0 отворете “templates” и си направете папка “local”. В нея копирайте “templates/template.tpl” Отворете копирания “local/template.tpl” и някъде около 60ти ред има “<div id=”gsFooter”>”. Там просто си вмъкнете вашата информация. При мен е това:
Copyright © 2003-2006 Georgi Todorov <a rel=”license” href=”http://creativecommons.org/licenses/by-nc-sa/2.5/bg/deed.bg”>Some Rights Reserved</a>
Според моя професор Herbert J. Bernstein за да е валиден един copyright notice той трябва да съдържа думата “copyright” , знака ©(&copy;), година (или няколко години), име (на човек или организация). Не мога да гарантирам, че това е вярно, но аз гледам да го спазвам :)

Creative Commons 2.5 на .бг

February 28th, 2006Category: My LifeNo Comments

Току що научих от блоговете на Пейо и Йовко, че Creative Commons 2.5 са локализирани и на роден език. Браво на преводачите.
От блога на Пейо можете да разберете, как да си смените връзките към българския текст и да получите пълните преводи.

Браво още веднъж!

Малко нови снимки

February 27th, 2006Category: My LifeNo Comments

Преди около седмица поснимах из училището и днес реших да кача някои от хубавите снимки. Беше доста слънчево, но бая студено. Поразходих се малко в “задния двор” на училището и пощраках. Това е първият път, в който снимам повечко с новия апарат извън къщата и на светло.

Към Галерията ми

Геодариа 1.5

February 24th, 2006Category: My Life2 Comments

С новата добавка за писане на коментари на кирилица ( и с една малка поправка в адреса до един вътрешен файл) излиза и 1.5 версия на Геодариа
Адресът е същия:

http://joro.geodar.com/diary/Geodaria.tar.bz2

Кирилица и др.

February 24th, 2006Category: My Life4 Comments

Днеска, докато си четях коментарите, ми направи впечатление, че почти всички са на латиница (т.нар. 6lyokavitza). Причината, на почти всички е , че нямат инсталирана клавиатурна подредба за кирилица на компютрите си. Реших да преместя решението от техните компютри на моя блог. Инсталирах си motranslator, който позволява, с помощта на JavaScript, да се пише във форма на кирилица, без тя да е инсталирана на компютъра. Следвах упътването и в крайна сметка успях да инсталирам скрипта. Не беше трудно. Обаче не проработи под Сафари. Това го очаквах, защото Сафари блокира доста голяма част от JavaScript-a и реших да пробвам с Firefox. Ударих на камък. Версията на ФФ, която имам е 1.5.0.1. При превключване на една от двете подредби за кирилица (фонетична и БДС), при натискането на клавиш ми излизаше прозорче, изписващо версията на браузъра. Първоначално помислих, че новият ФФ не поддържа начина, по който се пренаписват бутоните, но после реших да поразгледам кода. На едно място намерих
if( bw.ns5 && bw.mozVersion >= 1.7 && bw.firefoxVersion != '1.0.5' && bw.firefoxVersion != '1.0.6' ){
alert(bw.firefoxVersion)
...

Реших да добавя още две версии на FF : 1.5 и 1.5.0.1 и всичко си тръгна както трябваше.
Разбира се, работи и под Интернет Експлорер.
Сега би трябвало повечето хора да могат да коментират на кирилица.

ACA Meeting in Hawaii

February 23rd, 2006Category: My Life3 Comments

Май ще ходя на Хавайските острови (Хонолулу) това лято…
Дето се вика ме навиха да се разходя до другия край на света.

Срещата ще е от 21ви до 27ми Юли. За сега идеята е да отлетим на 21ви рано сутринта, да сме до обяд там (понеже летим с времето), вечерта да се регистрираме и т.н. После на 28ми или 29ти следобед (в зависимост колко ще ни оставят да стоим в хотела).

Ще сме отседнали в Sheraton Waikiki Beach Complex (звучи яко, ако не друго). В същия комплекс ще се състои и събирането.

Тази година няма да правя презентация (за сега), само плакатна сесия на тема “Валидация на СИФ”. Ще ходим заедно с Васил.

Първоначално нямаше да ходя, защото имах идея да направя някой интерншип, но после като пообсъдихме, решихме, че няма да е проблем да си взема 5 дена (толкова работни се падат) почивка от интерншипа и се навих да отида.

Сега ще трябва да посвърша още малко работа за Юли, за да имам малко повече да показвам.

Общо взето стана така, че професора не ме остави намира, докато не се навих да отида с тях. Няма лошо. Щом той плаща… (не че той плаща, той така или иначе трябва да похарчи парите, за да мога да му дадат още - така работят грантовете - но все пак…)

Ъпдейтс

February 20th, 2006Category: My LifeNo Comments

Днес е денят на президента в САЩ! Почти всички почиват (щото са се изтрепали да работят…). Аз, понеже не съм почти всички, си работя и сега съм в почивка.
През уйкенда обнових My Gadgets. Добавих малко информация за iBook-а и добавих Canon-а. Също така се занимавах с прехвърляне на уеб страници и домейни и още не съм приключил. Надявам се скоро прехода да е ОК. От LunarPages са добавили още 2ГБ към основните си акаунти(което включва и мен), за което мога да съм им благодарен.

Computer Networks - Chapter 1 Q&A

February 12th, 2006Category: My Life2 Comments

Here are my answers to the first chapter of Computer Networks by Andrew Tanenbaum 4th edition with ISBN 0130661023.

Problem №1:
Imagine that you have trained your St. Bernard, Bernie, to carry a box of three 8mm tapes instead of a flask of brandy. (When your disk fills up, you consider that an emergency.) These tapes each contain 7 gigabytes. The dog can travel to your side, wherever you may be, at 18 km/hour. For what range of distances does Bernie have a higher data rate than a transmission line whose data rate (excluding overhead) is 150 Mbps?

Answer:
Bernie carries 3*7 = 21GB’s total. The idea is to calculate how long it will take 21GB data to be transfered over 150Mbps line. Here we go:
21GB = 21*8*1024Mb = 172032Mb Divide by 150 to get the needed time to transfer the data and we get approx. 1147 seconds needed. So we divide by 60 to get number of minutes and that is approx. 19 minutes. So about 19 minutes are needed (theoretically) to transfer 21GB data over 150Mbps data line. With 18km/s Bernie will travel 5.7 kilometers. So Bernie will have higher data rate for distance smaller than 5.7 kilometers (in one direction).

Problem №2:
An alternative to a LAN is simply a big timesharing system with terminals for all users. Give two advantages of a client-server system using a LAN.

Answer:
First advantage is that in client-server system using a LAN the clients can be far apart from the server where in a big timesharing system terminals can be in the range of the same building.
Second advantage is the client is not limited to using the big timesharing system. It can use different servers (eg. the VPN server for remote workigna and the WWW server for web).

Problem №3:
The performance of a client-server system is influenced by two network factors: the bandwidth of the network (how many bits/sec it can transport) and the latency (how many seconds it takes for the first bit to get from the client to the server). Give an example of a network that exhibits high bandwidth and high latency. Then give an example of one with low bandwidth and low latency.

Answer:
High bandwidth and high latency networks are the WAN networks.(Like satelittte)(Altough newer WAN networks are not that high latency)
low bandwith and low lattency networks would be the older lan netwoks(as all new networks are with prety high bandwith).

Problem №4:
Besides bandwidth and latency, what other parameter is needed to give a good characterization of the quality of service offered by a network used for digitized voice traffic?

Answer:
What is the type of the service. Byte streams or message sequences. With the second there could be possible delays caused by acknowledgements.

Problem №5:
A factor in the delay of a store-and-forward packet-switching system is how long it takes to store and forward a packet through a switch. If switching time is 10 μsec, is this likely to be a major factor in the response of a client-server system where the client is in New York and the server is in California? Assume the propagation speed in copper and fiber to be 2/3 the speed of light in vacuum.

Answer:
A packet will need about 15msec to go from California to New York(about 2900 miles). If switching time for the entire path is 10μsec that is 1/1500 delay, which is nothing.

Problem №6:
A client-server system uses a satellite network, with the satellite at a height of 40,000 km. What is the best-case delay in response to a request?

Answer:
A satellite at a height of 40,000km is considered GEO satellite. The speed of the signal from and to the sitellite travels at the speed of light (approx 300,000km/s) and in the best case there will be about 133ms delay, but in reality GEO satellites have between 250-300ms delay.
tching time for the entire path is 10μsec that is 1/1500 delay, which is nothing.

Problem №7:
In the future, when everyone has a home terminal connected to a computer network, instant public referendums on important pending legislation will become possible. Ultimately, existing legislatures could be eliminated, to let the will of the people be expressed directly. The positive aspects of such a direct democracy are fairly obvious; discuss some of the negative aspects

Answer:
I’m not going into politics…

Problem №8:
A collection of five routers is to be connected in a point-to-point subnet. Between each pair of routers, he designers may put a high-speed line, a medium-speed line, a low-speed line, or no line. If it takes 100 ms of computer time to generate and inspect each topology, how long will it take to inspect all of them?

Answer:
Each router will need to generate and inspect data for two technologies so that is 10 lines total which is 1000ms second (aka 1 second).

Problem №9:
A group of 2^n - 1 routers are interconnected in a centralized binary tree, with a router at each tree node. Router i communicates with router j by sending a message to the root of the tree. The root then sends the message back down to j. Derive an approximate expression for the mean number of hops per message for large n, assuming that all router pairs are equally likely.

Answer:
The answer is too long, it envolves sums… Here is the final part:
the mean number of hops is 2n-4

There are too many questions in this chapter and the last one got me tired so I’m moving to the next one!

Вали сняг!

February 12th, 2006Category: My Life8 Comments


От вчера вали яко сняг. Най накрая да се разбере, че е зима. Това е първият сняг за годината и мисля, че пърият ден, в който е под 0 през деня. Типично за в щатите всичко е затворено (включително и ресторантите) и цял ден ще съм си в нас. Сега ще хапнем нещо и ще седнем да поучим. После може да гледаме и някой филм за разнообразие, но за това има време. На първо четене е храната :)

Practical BGP - Chapter 1 Q&A

February 6th, 2006Category: NetworkingNo Comments

I just finished reading the first chapter of Practical BGP ISBN 0321127005 and here are my answers of the questions at the end of the chapter:

Question №1:
What is a routing domain from BGP’s perspective? How is this different from a routing domain within IS-IS?

Answer:
A routing domain from BGP’s perspective is the set of routes under the same administrative control, usualy referred as an Autonomus System. The difference is that in IS-IS a routing domain is the area in which topology information is spread.
——————

Question №2:
What are the two primary differences between an interior gateway protocol and an exterior gateway protocol?

Answer:
The Interior gateway protocol is used within an AS. Exterior gateway protocol is used for routing between AS. Also IGP don’t cary policy information.
——————

Question №3:
What types of policies would you normally see implemented through BGP?

Answer:
Two possible policies are to mark routes so they cannot be advertised beyond the adjacent routing domain and to prevent leakking of information that would provide a better route to internal networks that internal routing information provides. Also policy to take the closest exit point, one to take the cheapest exit point, one that should not allow traversing of certain networks.
——————

Question №4:
For what does BGP use the path information it carries through the network?

Answer:
To determine loop-free paths between AS.
——————

Question №5:
Why does BGP threat each autonomus system as a point on the connectivity graph?

Answer:
The main reason is to hide topological details of the AS.
——————

Question №6:
What transport does BGP use to build a session to another BGP speaker? What local port number and remote port number does BGP use when initiating a connection?

Answer:
It uses TCP for sessions between speakers. The local port number is a random number above 1024 and the remote port number is 179.
——————

Question №7:
How is a collision resolved between two BGP speakers attempting to open a connection at the same time?

Answer:
Whe a collision occurs (two routers try to initiate a session) only the session by the router with the largest router ID value is preserved. The other one is dropped.
——————

Question №8:
Define prefix, NLRI, and attribute.

Answer:
A prefix is a network address. NLRI stands for Network Layer Reachability Information and consists of set of destinations. An attribute is an array of informatino that holds various pieces of informationt such as path preference and others.
——————

Question №9:
How many sets of attributes can a single BGP update contain? How many prefixes?

Answer:
One set of attributes with many prefixes, to which the attributes apply.
——————

Question №10:
What are the four primary difference between eBGP peering relationships and iBGP peering relationships?

Answer:
* Routes learned from an iBGP peer are not advertised to other iBGP peers. (Prevents routing loops within the AS)
* The attributes of paths learned from iBGP peers are not changed to impact the path selection to reach some outside network.
* The AS Path is not manipulated when advertising a route to an iBGP peer; the local AS is added to the AS Path only when advertising a route to an eBGP peer.
* The BGP next hop is normally not changed when advertising a route to an iBGP; it is always changed to the local peer termination IP address when a route is being advertised to an eBGP peer.

Next Entries »

Georgi’s Blog is proudly powered by WordPress
Постове (RSS) and Коментари (RSS).
Get Firefox! Creative Commons License
20 queries. 0.534 seconds.