davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/thumbup.gif) |
January 10, 2011, 05:25:28 PM |
|
Instead of opening the source up on Feb 1 as promised I'll open it up right now, grew bored of coding by myself and wanted to gather comments and pull requests too ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Have fun! https://github.com/davout/bitcoin-central
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 08:59:51 PM |
|
You are LEGEND!
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:11:57 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:23:11 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Says the guy generating ~block per day! ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif)
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:31:06 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Says the guy generating ~block per day! ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) What are you implying?
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:34:21 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Says the guy generating ~block per day! ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) But seriously man, I am going to go through that other thread and also examine your source-code. Then I will send you the 250, just give me a few days. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Too bad I have no previous experience with Ruby on Rails, but going to read the two books from the README file link. Keep in eye on your Bitcoin balance. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:39:58 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Says the guy generating ~block per day! ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) What are you implying? Nothing, it was a joke. A bad one, it seems. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif)
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 09:45:39 PM |
|
You are LEGEND!
And you pledged 250 BTC ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Says the guy generating ~block per day! ![Tongue](https://bitcointalk.org/Smileys/default/tongue.gif) What are you implying? Nothing, it was a joke. A bad one, it seems. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) I like jokes, it's a nice! ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 10:10:22 PM |
|
But seriously man, I am going to go through that other thread and also examine your source-code. Then I will send you the 250, just give me a few days. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Too bad I have no previous experience with Ruby on Rails, but going to read the two books from the README file link. Keep in eye on your Bitcoin balance. ![Wink](https://bitcointalk.org/Smileys/default/wink.gif) I would be really more than happy to answer your questions about the code or rails in general, even if you don't have any previous experience with it Feel free to ask, open issues on the tracker, experiment send pull requests ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 10:25:14 PM |
|
Feck it, just send you the 250BTC. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Thanks for the help, already studying an online tutorial. ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) 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.
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 10:44:42 PM |
|
Yay, I see it in gray in my account ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) 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](https://bitcointalk.org/Smileys/default/smiley.gif) 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
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 10:49:17 PM |
|
Yay, I see it in gray in my account ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) 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](https://bitcointalk.org/Smileys/default/smiley.gif) 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!
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 11:36:33 PM |
|
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.
|
|
|
|
fabianhjr
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 322
Merit: 250
Do The Evolution
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 10, 2011, 11:43:59 PM |
|
YEah! :-) ![Cool](https://bitcointalk.org/Smileys/default/cool.gif) 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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
jgarzik
Legendary
Offline
Activity: 1596
Merit: 1099
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 12:36:15 AM |
|
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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own. Visit bloq.com / metronome.io Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
|
|
|
Cryptoman
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 12:38:59 AM |
|
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.
|
"A small body of determined spirits fired by an unquenchable faith in their mission can alter the course of history." --Gandhi
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 08:14:15 AM |
|
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.
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 08:16:38 AM |
|
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.
|
|
|
|
davout (OP)
Legendary
Offline
Activity: 1372
Merit: 1007
1davout
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 12:04:19 PM |
|
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/e135135f3f7a1062104b7e59ae36701a94559123In 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](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
Mahkul
Sr. Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 434
Merit: 251
Every saint has a past. Every sinner has a future.
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
January 11, 2011, 11:11:23 PM |
|
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/e135135f3f7a1062104b7e59ae36701a94559123In 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](https://bitcointalk.org/Smileys/default/smiley.gif) You are Legend +1 ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
|