Bitcoin Forum
August 10, 2025, 06:47:56 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Poll
Question: none
. - 0 (0%)
. - 0 (0%)
Total Voters: 0

Pages: « 1 ... 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 [100] 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
Author Topic: 🌱[ANN] SOIL | Environmental | Agriculture | Smart Contracts | Sustainable  (Read 237665 times)
Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
July 24, 2016, 03:44:18 PM
 #1981

...
What to do?
  • Post the contract answer for the weather forecast of a city of your choice, for one day later.
  • Write a sentence or two what you think about it, or suggest an improvement in the manual.
Hi Andreas,

here we go:
Code:
statusmessage => ForecastWeatherAtLocationAtTime:
forecasted time => Mon, 25 Jul 2016 17:00:00 CEST
temperature => 302.96 Kelvin
pressure => 1016.79 Hectopascal
humidity => 45 Percent
cloudcover => 64 Percent
windspeed => 3.37 Meter/Second
rain => 0.01 Millimeter in 3 hours

Just tested this on a spare Windows PC. Checked your manual02-preparations.md to get an overview, downloaded the repo using Firefox and followed the manual03-console-quickstart.md step by step without any issues. Well documented project. Smiley

Had to mine some SOIL for topping up the location, this took some time. Might be an idea to lower the 'fee' from five to one SOIL during the testing period maybe? Anyway, I could have bought the SOIL on an exchange... Wink

What else? Yes, the addpeers.js is very usefull indeed. This saved some time as I usually have to copy&paste a list of nodes to get the client running...

Great stuff, have played around with the first smart contract this weekend. Thank you! Smiley

@altsheets
Sent my remaining SOIL for the ABEESOIL, great project as well! Smiley

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 24, 2016, 11:10:41 PM
 #1982

Thanks a lot!

here we go:
Code:
statusmessage => ForecastWeatherAtLocationAtTime:
forecasted time => Mon, 25 Jul 2016 17:00:00 CEST
temperature => 302.96 Kelvin
pressure => 1016.79 Hectopascal
humidity => 45 Percent
cloudcover => 64 Percent
windspeed => 3.37 Meter/Second
rain => 0.01 Millimeter in 3 hours
Very good, well done.

We have a 1st prize winner:
Testers wanted, for new Smart Contract
1500 SOIL total for the first 3 people to fully try out the quickstart:
                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish me
                  300 SOIL for the 3rd to finish
I have sent you the 700 SOIL to your address.


Just tested this on a spare Windows PC. Checked your manual02-preparations.md to get an overview, downloaded the repo using Firefox and followed the manual03-console-quickstart.md step by step without any issues.
Good to read that there were no issues at all in Windows.
I had also tested it myself, on a clean droplet in Linux.

Well documented project. Smiley
Thanks.

Would you recommend it to others? Then perhaps tweet about it.

Had to mine some SOIL for topping up the location, this took some time.
You even mined the money you used. Cool.

Might be an idea to lower the 'fee' from five to one SOIL during the testing period maybe? Anyway, I could have bought the SOIL on an exchange... Wink
Yes.
And whether you buy or mine - if you get 1 SOIL somehow, you'll also be able get 5 SOIL. Or 50. Or 500.

What else? Yes, the addpeers.js is very usefull indeed. This saved some time as I usually have to copy&paste a list of nodes to get the client running...
True. Saves a whole step.

Everyone: If you only include this one aspect into your system, you are already better off.


Great stuff, have played around with the first smart contract this weekend. Thank you! Smiley
That is great. Let us all become makers. Tell us when your the first ideas for novel smart contracts come up in you.

So, who is next, to try out this smart contract? Two rewards are still left.



new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 25, 2016, 10:24:14 PM
 #1983

post 6

Smart Contract: WeatherForecastAtLocation
WebView on Oracle Database



The oracle is now checking (every 15 minutes) if there is an > 24 hours not updated location
(with money balance left) - and auto-updates those locations with fresh weather data.

go to:   weathercontract.hopto.org/oracle

new http://btc.hopto.org BTCrates + nearby numbers
Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
July 25, 2016, 11:45:37 PM
 #1984

The Oracle was close with 302.96 Kelvin, I think we have had ~ 304 today. Cool

I have sent you the 700 SOIL to your address.
My wallet received the reward, thank you very much!

Would you recommend it to others? Then perhaps tweet about it.
Unfortunately, I'm a bit old school in this regard. Guess this forum is my main 'social media'. However, if someone will ask me about smart contracts IRL, I will share my first experices with your Oracle. Smiley

That is great. Let us all become makers. Tell us when your the first ideas for novel smart contracts come up in you.
Will for sure tinker with SOIL in case something comes to mind that could utilize a smart contract.

Btw. how can I check the balance for my location?
Code:
W.user_getLocationBalance()
Shows 0, but there should be a balance since I've topped up the location.

@all
Try Andreas' project, it's educational and fun. Smiley

And useful, 'just' 297.607 Kelvin tomorrow, looking forward to cooling down.

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 26, 2016, 07:04:00 AM
 #1985

Btw. how can I check the balance for my location?
Code:
W.user_getLocationBalance()
Shows 0, but there should be a balance since I've topped up the location.

    city="q=Nanjing,China"
    WEATHER.user_getLocationBalance(city)
        5000000000000000000
    fromWei(WEATHER.user_getLocationBalance(city))
        5

@all
Try Andreas' project, it's educational and fun. Smiley
Yes, go for it!


new http://btc.hopto.org BTCrates + nearby numbers
AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 26, 2016, 04:23:55 PM
Last edit: July 26, 2016, 04:59:27 PM by AndreasKrueger
 #1986

post 7

Smart Contract: WeatherForecastAtLocation
New contract v0.5.9 deployed

There was the need to deploy a new contract because:

The oracle is now checking (every 15 minutes) if there is an > 24 hours not updated location
(with money balance left) - and auto-updates those locations with fresh weather data.

BUT locations with weather error would have been queried every day, and never stopping,
because the oracle was not rewarded for updating with "weather error" message, and so
the balance was not decreased, and never depleted.

The new contract is fixing that, by rewarding the oracle for the "weather error" message,
so after some days, the location with "weather error" will be on balance zero - and be forgotten.

The good news:
                         The oracle is now auto-updating each location with positive balance.
                         About 24 hours after the last update, all its forecasts are updated with
                         new forecasts, until the balance of that location is depleted.


New contract deployed: Transaction in block 915500  with 43.573% of gas limit.

New contract is at address 0x0c5c4bc449808eee712b1d0858e2b12e71410c8e


Update your contract.js by downloading zip again, overwriting the old one, or:
Code:
cd weathercontract_user
git pull

Please keep on testing!

new http://btc.hopto.org BTCrates + nearby numbers
Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
July 26, 2016, 06:31:05 PM
 #1987

Btw. how can I check the balance for my location?
Code:
W.user_getLocationBalance()
Shows 0, but there should be a balance since I've topped up the location.

    city="q=Nanjing,China"
    WEATHER.user_getLocationBalance(city)
        5000000000000000000
    fromWei(WEATHER.user_getLocationBalance(city))
        5

Thank you, this did the trick. Just tested with your new contract v0.5.9, working as expected. Smiley

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
ralfs
Newbie
*
Offline Offline

Activity: 57
Merit: 0


View Profile
July 27, 2016, 08:50:22 AM
 #1988

293.11 Kelvin minus 272.15 = 20,96 degrees Celsius in Amsterdam, that's correct.

Nice contract Andreas!
frostminer
Hero Member
*****
Offline Offline

Activity: 742
Merit: 505


View Profile WWW
July 27, 2016, 01:34:14 PM
 #1989


Can i just shoot in how much i enjoy this thread.

Of the tons of threads im watching, this one is a gazillion times more tech heavy and geeky.
Also seemingly a kid-free zone.



While most threads are basicly:

 "%mycoin% TO THE MOON!!11 +silly image + 5 smileys"



SOIL thread is like :
var _remindernote = "Hello!";
var reminderContract = web3.eth.contract([{"constant":true,"inputs":[],"name":"remindme","outputs":[{"name":"","type":"string"}],"type":"function"},{"inputs":[{"name":"_remindernote","type":"string"}],"type":"constructor"}]);

AndreasKrueger
Member
**
Offline Offline

Activity: 95
Merit: 11


View Profile
July 27, 2016, 04:25:52 PM
 #1990

Thank you very much, ralfs.

293.11 Kelvin minus 272.15 = 20,96 degrees Celsius in Amsterdam, that's correct.
Very good. It is actually -273.15 Kelvin --> Celsius.

All depends on openweathermap's forecast quality. And weather might always turn out differently.


Nice contract Andreas!
Thanks.

Let us see if the new oracle autoupdate is going to refresh your location ~24hours after the last update. Should be ~tomorrow morning.


For my first test location, it has actually just done it, very nice. You can see that here: http://weathercontract.hopto.org/oracle/
Quote
location 24h autoupdates   1



And we have a 2nd winner:

Testers wanted, for new Smart Contract
1500 SOIL total for the first 3 people to fully try out the quickstart:
                  700 SOIL for the 1st to finish
                  500 SOIL for the 2nd to finish
                  300 SOIL for the 3rd to finish

So ... who is next?

new http://btc.hopto.org BTCrates + nearby numbers
sussex
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500



View Profile
July 27, 2016, 04:51:51 PM
 #1991

Does anyone have a way to get in touch with abvhiael ?

I sent a pm a week ago and cannot find an email address... I need to speak to him pretty quickly.

Cheers.
abvhiael
Hero Member
*****
Offline Offline

Activity: 722
Merit: 501


View Profile
July 27, 2016, 07:49:16 PM
 #1992

I'll have internet hooked up again. Finally! On Friday, and will be back hard at work on SOIL this weekend. Than you all for your patience. Can't wait to get stuff done again. It's been a lonnnnng month.
Shkembe
Legendary
*
Offline Offline

Activity: 1560
Merit: 1001

Epic Private Internet Cash


View Profile
July 28, 2016, 03:59:40 PM
 #1993

I'll have internet hooked up again. Finally! On Friday, and will be back hard at work on SOIL this weekend. Than you all for your patience. Can't wait to get stuff done again. It's been a lonnnnng month.


LoL, Great! Looking forward to hear from you soon! Smiley
skidog
Legendary
*
Offline Offline

Activity: 1393
Merit: 1001


View Profile
July 29, 2016, 12:57:55 PM
 #1994

I'll have internet hooked up again. Finally! On Friday, and will be back hard at work on SOIL this weekend. Than you all for your patience. Can't wait to get stuff done again. It's been a lonnnnng month.


LoL, Great! Looking forward to hear from you soon! Smiley
sounds good....Thanks..
markus124
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
July 29, 2016, 03:49:30 PM
 #1995

welcome back. Wonder if u can fix the pool and the explorer Tongue
Dale Hackbart
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
July 29, 2016, 06:14:19 PM
 #1996

welcome back. Wonder if u can fix the pool and the explorer Tongue

markus124
Hero Member
*****
Offline Offline

Activity: 574
Merit: 500



View Profile
July 29, 2016, 08:54:58 PM
 #1997

thanks dale  Smiley

frostminer
Hero Member
*****
Offline Offline

Activity: 742
Merit: 505


View Profile WWW
July 31, 2016, 09:55:30 AM
 #1998


Im having problems getting nodes.

Any updated list? (already tried the ones in OP)

Dunkelheit667
Legendary
*
Offline Offline

Activity: 1045
Merit: 1157


no degradation


View Profile
July 31, 2016, 11:44:50 AM
 #1999


Im having problems getting nodes.

Any updated list? (already tried the ones in OP)

You can try this one or Andreas' script.

"And the machine keeps pushing time through the cogs, like paste into strings into paste again, and only the machine keeps using time to make time to make time.
And when the machine stops, time is an illusion that we created free will.
" - an unnamed Hybrid
frostminer
Hero Member
*****
Offline Offline

Activity: 742
Merit: 505


View Profile WWW
July 31, 2016, 12:11:49 PM
Last edit: July 31, 2016, 12:26:45 PM by frostminer
 #2000


Im having problems getting nodes.

Any updated list? (already tried the ones in OP)

You can try this one or Andreas' script.

Thanks. Andreas script had 2 new ones.. synching now Cheesy


edit:
Wow, this synched fast..already got 600 000 blocks Shocked

Also, possible to get invite to slack?

Pages: « 1 ... 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 [100] 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!