Food Force/Meeting Logs4: Difference between revisions

From OLPC
Jump to navigation Jump to search
(New page: <MurielGodoi>hi deepank <Ankur> Hi <deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village <deepank> Muriel : only one v...)
 
No edit summary
Line 1: Line 1:
deepank> Hi all
<MurielGodoi>hi deepank

<MurielGodoi> hi deepank

<Ankur> Hi
<Ankur> Hi

<deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village
<deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village

<deepank> Muriel : only one village is there in the market
<deepank> Muriel : only one village is there in the market

<deepank> about the statsu update,written 70-80% of code of model.py
<deepank> about the statsu update,written 70-80% of code of model.py

<deepank> still learning python
<deepank> still learning python

<MurielGodoi> by market I meant, available to purchase.
<MurielGodoi> by market I meant, available to purchase.

<Ankur> The Market resources are not exclusively the village resources.
<Ankur> The Market resources are not exclusively the village resources.

<deepank> you said that a market and a village will have different buying and selling prices
<deepank> you said that a market and a village will have different buying and selling prices

* MurielGodoi is facing problems on open gmail mailbox using a linux live cd...
* MurielGodoi is facing problems on open gmail mailbox using a linux live cd...

<deepank> but that is not possible
<deepank> but that is not possible

=== murielgodoi, ankur, and anubhav are online.
=== murielgodoi, ankur, and anubhav are online.

=== muriel is offline.
=== muriel is offline.

<Ankur> Village's selling and buying depends upon the market.
<Ankur> Village's selling and buying depends upon the market.

<MurielGodoi> Have you played dopwars?
<MurielGodoi> Have you played dopwars?

<deepank> no
<deepank> no

<MurielGodoi> that is a classic trade game
<MurielGodoi> that is a classic trade game

<Ankur> We have to take care about selling and purchasing for market only. The resources which are bought/sold from Market will have a direct effect on Village resources. Meaning to say, that we are only trading with market's resources. Muriel, Am I right?
<Ankur> We have to take care about selling and purchasing for market only. The resources which are bought/sold from Market will have a direct effect on Village resources. Meaning to say, that we are only trading with market's resources. Muriel, Am I right?

<deepank> muriel : i will send u the code
<deepank> muriel : i will send u the code

<deepank> it is still incomplete and am stuck at modeling reources due to this
<deepank> it is still incomplete and am stuck at modeling reources due to this

[INFO] Channel view for “#olpc-foodforce” opened.
-->| YOU (Anubhav) have joined #olpc-foodforce
-->| Anubhav (n=chatzill@59.180.96.179) has joined #olpc-foodforce

<Anubhav> Hello everyone
<Anubhav> Hello everyone
<MurielGodoi> hello Anubhav

<deepank> hello
<MurielGodoi> hello Anubhav
<MurielGodoi> consider the market as a external entity... the village will trade resources with i

<MurielGodoi> it
<Ankur> hi
<deepank> hello

<MurielGodoi> each one has their own stock
<MurielGodoi> consider the market as a external entity... the village will trade resources with i
<deepank> yes ok ... i got all that

<deepank> but the thing is how can they have different buying and selling prices
<MurielGodoi> it
<deepank> who will decide when village wants to sell at lets say 20 rupees while market says i will only buy in 10 rupees or market is offereing 30

<MurielGodoi> deepank: yep.. I am facing some problems with my X system
<Ankur> hi
<deepank> Muriel: which distro; which does not allow you to open gmail?

<deepank> configuring xorg probs?
<MurielGodoi> deepank: kubuntu.. it has konqueror as default web browser
<MurielGodoi> each one has their own stock

<deepank> try mozilla & from the terminal if there are problems with konquerer
<deepank> I have never been a fan of KDE
<deepank> yes ok ... i got all that

<Anubhav_> i believe the price of resources will be mantd. by the game engine, which will increase gradually when the village keeps on selling goods of same type, so that the village wont get the same money in return. For ex: for 100 food initially we are getting 100 units in return , but the second time we sell the 100 food we will get only 90 units back. All this can be mantd. by game engine
<deepank> but the thing is how can they have different buying and selling prices
<Ankur> This is okay. We can take average price. or we can have same selling price of village and buying price of market to reduce some complexity of our code.

<deepank> who will decide when village wants to sell at lets say 20 rupees while market says i will only buy in 10 rupees or market is offereing 30

<MurielGodoi> If I am selling the market buys my rice to 15

<Ankur> Market can be treated as a black box with some limited resources. Whenever I want to buy food in return of mselling medicine, I have to call a market_sell function which accordingly depending upon the input parameter, increases the village's resources.

<MurielGodoi> but if I want to buy the market sells it to me to $20

<deepank> ok i take their average prices

<deepank> ok that will do

<deepank> sent the code

|<-- Ankur has left freenode (Excess Flood)

<deepank> u r using a live cd?

-->| Ankur (i=Ankur@59.89.5.45) has joined #olpc-foodforce

-->| Anubhav_ (n=chatzill@59.180.47.248) has joined #olpc-foodforce

<MurielGodoi> deepank: yep.. I am facing some problems with my X system

<deepank> Muriel: which distro; which does not allow you to open gmail?

<deepank> configuring xorg probs?

<MurielGodoi> deepank: kubuntu.. it has konqueror as default web browser

<deepank> try mozilla & from the terminal if there are problems with konquerer

<deepank> I have never been a fan of KDE

<Anubhav_> i believe the price of resources will be mantd. by the game engine, which will increase gradually when the village keeps on selling goods of same type, so that the village wont get the same money in return. For ex: for 100 food initially we are getting 100 units in return , but the second time we sell the 100 food we will get only 90 units back. All this can be mantd. by game engine

<Ankur> This is okay. We can take average price. or we can have same selling price of village and buying price of market to reduce some complexity of our code.

<deepank> Ankur: yes i will make those changes
<deepank> Ankur: yes i will make those changes

<MurielGodoi> Ankur: we can keep the same prices for this first step
<MurielGodoi> Ankur: we can keep the same prices for this first step
<Ankur> After designing the code for model.py, please tell us what should be ours next step.

<MurielGodoi> Ankur: link the model with the gui
<Ankur> After designing the code for model.py, please tell us what should be ours next step.
<Ankur> Yes, then we can proceed further. The best way is to design a basic model first and then proceed complexity.

<MurielGodoi> Ankur: link the model with the gui

<Ankur> Yes, then we can proceed further. The best way is to design a basic model first and then proceed complexity.

<MurielGodoi> Ankur: and a very basic game engine
<MurielGodoi> Ankur: and a very basic game engine

<deepank> Muriel : You did not send the links about the game model
<deepank> Muriel : You did not send the links about the game model

<Ankur> Yes
<Ankur> Yes
<deepank> Muriel:Are you able to open gmail thru Mozilla or is it not there in Kubuntu?

<MurielGodoi> outch... sorry guys
<deepank> Muriel:Are you able to open gmail thru Mozilla or is it not there in Kubuntu?
* MurielGodoi is installing firefox

<MurielGodoi> deepank: abo?ut differents quantities in market and village is okay
<MurielGodoi> deepank: about differents quantities in market and village. is it okay?
<MurielGodoi> outch... sorry guys

<deepank> yes, see the code, I will take an average of the two prices
* MurielGodoi is installing firefox
<deepank> oh, sorry, i haven't sent the latest one. I will once it is complete

<deepank> Muriel:What is the status of the repository and artwork
>Ankur< take a look at the code
<MurielGodoi> deepank: Ivan mailed me this weekend. He is not handling repository requests anymore. So he indicates me a new e-mail to request it.

>Anubhav< take a look at teh code

<MurielGodoi> deepank: abo?ut differents quantities in market and village is okay

<MurielGodoi> deepank: about differents quantities in market and village. is it okay?

<deepank> yes, see the code, I will take an average of the two prices

<deepank> oh, sorry, i haven't sent the latest one. I will once it is complete

<deepank> Muriel:What is the status of the repository and artwork

<MurielGodoi> deepank: Ivan mailed me this weekend. He is not handling repository requests anymore. So he indicates me a new e-mail to request it.

<MurielGodoi> so I re-sent the request to the new e-mail
<MurielGodoi> so I re-sent the request to the new e-mail

<Ankur> price = (self.buy_price + market.buy_price )/2 in get_buy_price...Right?
|<-- Anubhav has left freenode (Read error: 110 (Connection timed out))
<deepank> Muriel:ok

<Anubhav_> ok
<Ankur> price = (self.buy_price + market.buy_price )/2 in get_buy_price...Right?
<deepank> Ankur : yes

<Ankur> THis is the only change required
<deepank> Muriel:ok
<deepank> market_price = self.buy_price + (((MAX_RES_VAL/2 - self.market_quantity)/MAX_RES_VAL) * PRICE_VARIATION)

<deepank> village_price = self.buy_price + (((MAX_RES_VAL/2 - self.village_quantity)/MAX_RES_VAL) * PRICE_VARIATION)
<Anubhav_> ok

<deepank> Ankur : yes

<Ankur> THis is the only change required

<deepank> market_price = self.buy_price + (((MAX_RES_VAL/2 - self.market_quantity)/MAX_RES_VAL) * PRICE_VARIATION)

=== anubhav is offline.

<deepank> village_price = self.buy_price + (((MAX_RES_VAL/2 - self.village_quantity)/MAX_RES_VAL) * PRICE_VARIATION)

<deepank> and then
<deepank> and then

<deepank> price = (market_price + village_price)/2
<deepank> price = (market_price + village_price)/2

* MurielGodoi gots access to gmail
* MurielGodoi gots access to gmail

<Ankur> Or we can do like this: whenever a person calls sell function parameter with the parameter to be sold and the amount, then only sell_price is calculated using get_sell_price(self) function, the corresponding return price being deducted from the village resource and also, the correponding village money being increased by value returned from buy_price function
<Ankur> Or we can do like this: whenever a person calls sell function parameter with the parameter to be sold and the amount, then only sell_price is calculated using get_sell_price(self) function, the corresponding return price being deducted from the village resource and also, the correponding village money being increased by value returned from buy_price function

<deepank> Muriel:good
<deepank> Muriel:good

<Ankur> thats good.
<Ankur> This is what we we will aim at.
<Ankur> thats good.

<MurielGodoi> MurielGodoi: I need a time to take a better look into the code
<Ankur> This is what we we will aim at.
<MurielGodoi> and think about that formulas

<Ankur> Sure, we can discuss this later then, if you wish.
<MurielGodoi> can we meet again tommorow?
<MurielGodoi> MurielGodoi: I need a time to take a better look into the code

<Ankur> For linking with GUI, we have to code foodforce.py right?
<MurielGodoi> and think about that formulas
<deepank> yes same time.

<MurielGodoi> yep
<Ankur> Sure, we can discuss this later then, if you wish.
<Anubhav_> ya

<deepank> ok bbye and lets meet tomorrow. can u upload a log of meeting on wiki, ankur
<MurielGodoi> a last issue I wanna apologise for the last week
<MurielGodoi> can we meet again tommorow?

<Ankur> My Internet at home is very slow. So, if you could this , it would be very helpful
<Ankur> For linking with GUI, we have to code foodforce.py right?
<Anubhav_> i willl do it

<Anubhav_> no problems
<deepank> thanks anubhav
<deepank> yes same time.

<MurielGodoi> just after the meeting I realize that I was at wrong time zone
<MurielGodoi> yep
<Ankur> thanks

<MurielGodoi> the Brasilian summer time finished two weeks ago
<Anubhav_> ya
<Ankur> Muriel. Thats okay. :).

<MurielGodoi> see you tomorrow guys. thanks for all your ahr work
<deepank> ok bbye and lets meet tomorrow. can u upload a log of meeting on wiki, ankur
<Ankur> Bye..thanks all!

<MurielGodoi> a last issue I wanna apologise for the last week

<Ankur> My Internet at home is very slow. So, if you could this , it would be very helpful

<Anubhav_> i willl do it

<Anubhav_> no problems

<deepank> thanks anubhav

<MurielGodoi> just after the meeting I realize that I was at wrong time zone

<Ankur> thanks

<MurielGodoi> the Brasilian summer time finished two weeks ago

<Ankur> Muriel. Thats okay. :).

<MurielGodoi> see you tomorrow guys. thanks for all your ahr work

<Ankur> Bye..thanks all!

<--| Ankur has left #olpc-foodforce
<--| Ankur has left #olpc-foodforce

|<-- MurielGodoi has left freenode (Remote closed the connection)
|<-- MurielGodoi has left freenode (Remote closed the connection)

Revision as of 17:51, 25 February 2008

deepank> Hi all

<MurielGodoi> hi deepank

<Ankur> Hi

<deepank> Muriel: I do not understand why we need two quantities of resources : one for market and another for village

<deepank> Muriel : only one village is there in the market

<deepank> about the statsu update,written 70-80% of code of model.py

<deepank> still learning python

<MurielGodoi> by market I meant, available to purchase.

<Ankur> The Market resources are not exclusively the village resources.

<deepank> you said that a market and a village will have different buying and selling prices

* MurielGodoi is facing problems on open gmail mailbox using a linux live cd...

<deepank> but that is not possible

=== murielgodoi, ankur, and anubhav are online.

=== muriel is offline.

<Ankur> Village's selling and buying depends upon the market.

<MurielGodoi> Have you played dopwars?

<deepank> no

<MurielGodoi> that is a classic trade game

<Ankur> We have to take care about selling and purchasing for market only. The resources which are bought/sold from Market will have a direct effect on Village resources. Meaning to say, that we are only trading with market's resources. Muriel, Am I right?

<deepank> muriel : i will send u the code

<deepank> it is still incomplete and am stuck at modeling reources due to this

-->| Anubhav (n=chatzill@59.180.96.179) has joined #olpc-foodforce

<Anubhav> Hello everyone

<MurielGodoi> hello Anubhav

<deepank> hello

<MurielGodoi> consider the market as a external entity... the village will trade resources with i

<MurielGodoi> it

<Ankur> hi

<MurielGodoi> each one has their own stock

<deepank> yes ok ... i got all that

<deepank> but the thing is how can they have different buying and selling prices

<deepank> who will decide when village wants to sell at lets say 20 rupees while market says i will only buy in 10 rupees or market is offereing 30

<MurielGodoi> If I am selling the market buys my rice to 15

<Ankur> Market can be treated as a black box with some limited resources. Whenever I want to buy food in return of mselling medicine, I have to call a market_sell function which accordingly depending upon the input parameter, increases the village's resources.

<MurielGodoi> but if I want to buy the market sells it to me to $20

<deepank> ok i take their average prices

<deepank> ok that will do

<deepank> sent the code

|<-- Ankur has left freenode (Excess Flood)

<deepank> u r using a live cd?

-->| Ankur (i=Ankur@59.89.5.45) has joined #olpc-foodforce

-->| Anubhav_ (n=chatzill@59.180.47.248) has joined #olpc-foodforce

<MurielGodoi> deepank: yep.. I am facing some problems with my X system

<deepank> Muriel: which distro; which does not allow you to open gmail?

<deepank> configuring xorg probs?

<MurielGodoi> deepank: kubuntu.. it has konqueror as default web browser

<deepank> try mozilla & from the terminal if there are problems with konquerer

<deepank> I have never been a fan of KDE

<Anubhav_> i believe the price of resources will be mantd. by the game engine, which will increase gradually when the village keeps on selling goods of same type, so that the village wont get the same money in return. For ex: for 100 food initially we are getting 100 units in return , but the second time we sell the 100 food we will get only 90 units back. All this can be mantd. by game engine

<Ankur> This is okay. We can take average price. or we can have same selling price of village and buying price of market to reduce some complexity of our code.

<deepank> Ankur: yes i will make those changes

<MurielGodoi> Ankur: we can keep the same prices for this first step

<Ankur> After designing the code for model.py, please tell us what should be ours next step.

<MurielGodoi> Ankur: link the model with the gui

<Ankur> Yes, then we can proceed further. The best way is to design a basic model first and then proceed complexity.

<MurielGodoi> Ankur: and a very basic game engine

<deepank> Muriel : You did not send the links about the game model

<Ankur> Yes

<deepank> Muriel:Are you able to open gmail thru Mozilla or is it not there in Kubuntu?

<MurielGodoi> outch... sorry guys

* MurielGodoi is installing firefox

>Ankur< take a look at the code

>Anubhav< take a look at teh code

<MurielGodoi> deepank: abo?ut differents quantities in market and village is okay

<MurielGodoi> deepank: about differents quantities in market and village. is it okay?

<deepank> yes, see the code, I will take an average of the two prices

<deepank> oh, sorry, i haven't sent the latest one. I will once it is complete

<deepank> Muriel:What is the status of the repository and artwork

<MurielGodoi> deepank: Ivan mailed me this weekend. He is not handling repository requests anymore. So he indicates me a new e-mail to request it.

<MurielGodoi> so I re-sent the request to the new e-mail

|<-- Anubhav has left freenode (Read error: 110 (Connection timed out))

<Ankur> price = (self.buy_price + market.buy_price )/2 in get_buy_price...Right?

<deepank> Muriel:ok

<Anubhav_> ok

<deepank> Ankur : yes

<Ankur> THis is the only change required

<deepank> market_price = self.buy_price + (((MAX_RES_VAL/2 - self.market_quantity)/MAX_RES_VAL) * PRICE_VARIATION)

=== anubhav is offline.

<deepank> village_price = self.buy_price + (((MAX_RES_VAL/2 - self.village_quantity)/MAX_RES_VAL) * PRICE_VARIATION)

<deepank> and then

<deepank> price = (market_price + village_price)/2

* MurielGodoi gots access to gmail

<Ankur> Or we can do like this: whenever a person calls sell function parameter with the parameter to be sold and the amount, then only sell_price is calculated using get_sell_price(self) function, the corresponding return price being deducted from the village resource and also, the correponding village money being increased by value returned from buy_price function

<deepank> Muriel:good

<Ankur> thats good.

<Ankur> This is what we we will aim at.

<MurielGodoi> MurielGodoi: I need a time to take a better look into the code

<MurielGodoi> and think about that formulas

<Ankur> Sure, we can discuss this later then, if you wish.

<MurielGodoi> can we meet again tommorow?

<Ankur> For linking with GUI, we have to code foodforce.py right?

<deepank> yes same time.

<MurielGodoi> yep

<Anubhav_> ya

<deepank> ok bbye and lets meet tomorrow. can u upload a log of meeting on wiki, ankur

<MurielGodoi> a last issue I wanna apologise for the last week

<Ankur> My Internet at home is very slow. So, if you could this , it would be very helpful

<Anubhav_> i willl do it

<Anubhav_> no problems

<deepank> thanks anubhav

<MurielGodoi> just after the meeting I realize that I was at wrong time zone

<Ankur> thanks

<MurielGodoi> the Brasilian summer time finished two weeks ago

<Ankur> Muriel. Thats okay. :).

<MurielGodoi> see you tomorrow guys. thanks for all your ahr work

<Ankur> Bye..thanks all!

<--| Ankur has left #olpc-foodforce

|<-- MurielGodoi has left freenode (Remote closed the connection)