Pages:
Author

Topic: I changed my mind about bitcoin-central.net ... (Read 4174 times)

legendary
Activity: 1372
Merit: 1007
1davout
February 18, 2011, 04:48:16 PM
#29
Will this work with ruby version 1.8.7 and rubygems ver 1.8?

Yes sir.

david@bankbox:~$ ruby -v
ruby 1.8.7 (2010-06-23 patchlevel 299) [x86_64-linux]
david@bankbox:~$ gem -v
1.3.7



sr. member
Activity: 434
Merit: 250
Every saint has a past. Every sinner has a future.
Will this work with ruby version 1.8.7 and rubygems ver 1.8?
legendary
Activity: 1372
Merit: 1007
1davout
Captcha problems are now fixed.

A more general update can be found here http://bitcointalk.org/index.php?topic=2519.60
legendary
Activity: 1246
Merit: 1014
Strength in numbers
i can't sing up to your site...
it keeps saying i got the captcha wrong

I haven't had that much trouble, but they are a pain. Why not limit failed attempts/time instead of captcha?
newbie
Activity: 6
Merit: 0
i can't sing up to your site...
it keeps saying i got the captcha wrong
legendary
Activity: 1372
Merit: 1007
1davout
Yo. I am using your code to create my own(As yours is under GPL, and mine was under MIT as I thought I couldn't license any more liberally than that).

https://github.com/kiba/bitpredict/tree/master/lib/bitcoin

It does things a little differently. I hope I didn't violate copyright law in older version of my code or as it is now. If it is, I will either remove the offending code or we could work out something. Or we could remove uncertainty of this matters by coming up with an agreement?
I'm glad someone uses it, do whatever you want with it, and re-license it the way you like Smiley
legendary
Activity: 980
Merit: 1014
Yo. I am using your code to create my own(As yours is under GPL, and mine was under MIT as I thought I couldn't license any more liberally than that).

https://github.com/kiba/bitpredict/tree/master/lib/bitcoin

It does things a little differently. I hope I didn't violate copyright law in older version of my code or as it is now. If it is, I will either remove the offending code or we could work out something. Or we could remove uncertainty of this matters by coming up with an agreement?
newbie
Activity: 26
Merit: 0
I will figure out RoR and how to make it work with my host(Installed the gems, tried to update everything, chenged the de[endencies to match my versions such as adding >=3.0.0 to the rails verions and still nothing.) ):
I recommend compiling the latest Ruby 1.9 from source and then using gem to install Rails.  This way you'll pull in the latest of everything.  You'll also need openssl, sqlite3, zlib and probably some other dependencies.

RVM is your friend.
legendary
Activity: 1372
Merit: 1007
1davout
Bitcoin Central now completely switched to jQuery and jqPlot instead Prototype and Protocharts.
Charting code a little cleaned up, still some work to do, but tweaking should be much easier now.
sr. member
Activity: 434
Merit: 250
Every saint has a past. Every sinner has a future.
Here we go, for those who would like to localize the code for their particular language I've commited an example at https://github.com/davout/bitcoin-central/commit/e135135f3f7a1062104b7e59ae36701a94559123

In this example I've localized a template into french, so you can see that it basically involved removing strings from the template and putting them into a translations dictionary.

I've also added some locale switching code, so if you want to change locale at run-time, instead of modifying the core config file you can just pass a ?locale=pl GET parameter in the request and your session will start using the locale you passed.

If you want to translate large chunks of text dictionaries are cumbersome, see http://guides.rubyonrails.org/i18n.html#localized-views to see how Rails elegantly manages this one too.

As a final word, would you want to start translating into a language that doesn't yet have a locale file in config/locales you'll want to get the base translations from here https://github.com/svenfuchs/rails-i18n and add them into config/locales before starting the actual extraction/translation work.

Have fun and request pulls (on the integration branch) Smiley

You are Legend +1 Smiley
legendary
Activity: 1372
Merit: 1007
1davout
Here we go, for those who would like to localize the code for their particular language I've commited an example at https://github.com/davout/bitcoin-central/commit/e135135f3f7a1062104b7e59ae36701a94559123

In this example I've localized a template into french, so you can see that it basically involved removing strings from the template and putting them into a translations dictionary.

I've also added some locale switching code, so if you want to change locale at run-time, instead of modifying the core config file you can just pass a ?locale=pl GET parameter in the request and your session will start using the locale you passed.

If you want to translate large chunks of text dictionaries are cumbersome, see http://guides.rubyonrails.org/i18n.html#localized-views to see how Rails elegantly manages this one too.

As a final word, would you want to start translating into a language that doesn't yet have a locale file in config/locales you'll want to get the base translations from here https://github.com/svenfuchs/rails-i18n and add them into config/locales before starting the actual extraction/translation work.

Have fun and request pulls (on the integration branch) Smiley
legendary
Activity: 1372
Merit: 1007
1davout
Lots of forks coming in! I will figure out RoR and how to make it work with my host(Installed the gems, tried to update everything, chenged the de[endencies to match my versions such as adding >=3.0.0 to the rails verions and still nothing.) ):
What are you talking about exactly?
You just need to issue the "bundle" command for it to automatically fetch/install everything that's needed, you might need to install the bundler gem first but that's all.
legendary
Activity: 1372
Merit: 1007
1davout
I recommend compiling the latest Ruby 1.9 from source and then using gem to install Rails.  This way you'll pull in the latest of everything.  You'll also need openssl, sqlite3, zlib and probably some other dependencies.
I wouldn't recommend that.
hero member
Activity: 726
Merit: 500
I will figure out RoR and how to make it work with my host(Installed the gems, tried to update everything, chenged the de[endencies to match my versions such as adding >=3.0.0 to the rails verions and still nothing.) ):
I recommend compiling the latest Ruby 1.9 from source and then using gem to install Rails.  This way you'll pull in the latest of everything.  You'll also need openssl, sqlite3, zlib and probably some other dependencies.
legendary
Activity: 1596
Merit: 1091
What I meant was I was expecting some kind of appreciation for davout since he decided to release the source code nearly a month earlier. Anyway, it made ME happy.

A 5678.00 BTC incentive helps, too.  Smiley
sr. member
Activity: 322
Merit: 250
Do The Evolution
YEah! :-) Cheesy  Cool

Lots of forks coming in! I will figure out RoR and how to make it work with my host(Installed the gems, tried to update everything, chenged the de[endencies to match my versions such as adding >=3.0.0 to the rails verions and still nothing.) ):

I will follow hellow world guides and then figure out how your implementation works. Smiley
sr. member
Activity: 434
Merit: 250
Every saint has a past. Every sinner has a future.
Amazing this thread is getting so little response; an open source bitcoin exchange is probably one of the most important things right now.

don't worry, this thread (and the other one about bitcoin-central) are watched.
maybe ppl have nothing to say/contribute to discussion?


What I meant was I was expecting some kind of appreciation for davout since he decided to release the source code nearly a month earlier. Anyway, it made ME happy.
sr. member
Activity: 434
Merit: 250
Every saint has a past. Every sinner has a future.
Yay, I see it in gray in my account Cheesy

Ok, so if you want to localize the code, Rails makes it pretty easy, also it would really be an incredibly useful thing to do to pull out hardcoded strings and put them in localized files.

The locale files reside in :
config/locales/*.yml

http://guides.rubyonrails.org/i18n.html this is a must read if you want to start localizing it properly Smiley

I suggest, that if you want to see a quick result you fork the projet, create a polish locale and start easy by translating the model attributes names

Hah, this is going to be fun!
legendary
Activity: 1372
Merit: 1007
1davout
Yay, I see it in gray in my account Cheesy

Ok, so if you want to localize the code, Rails makes it pretty easy, also it would really be an incredibly useful thing to do to pull out hardcoded strings and put them in localized files.

The locale files reside in :
config/locales/*.yml

http://guides.rubyonrails.org/i18n.html this is a must read if you want to start localizing it properly Smiley

I suggest, that if you want to see a quick result you fork the projet, create a polish locale and start easy by translating the model attributes names
sr. member
Activity: 434
Merit: 250
Every saint has a past. Every sinner has a future.
Feck it, just send you the 250BTC. Smiley

Thanks for the help, already studying an online tutorial.  Cool

Amazing this thread is getting so little response; an open source bitcoin exchange is probably one of the most important things right now.

Once I get to know Ruby, I will convert this to a Polish exchange.
Pages:
Jump to: