Bitcoin Forum
December 02, 2016, 06:11:36 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 »  All
  Print  
Author Topic: I changed my mind about bitcoin-central.net ...  (Read 3664 times)
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 05:25:28 PM
 #1

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

Have fun!

https://github.com/davout/bitcoin-central

1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
1480702296
Hero Member
*
Offline Offline

Posts: 1480702296

View Profile Personal Message (Offline)

Ignore
1480702296
Reply with quote  #2

1480702296
Report to moderator
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 08:59:51 PM
 #2

You are LEGEND!

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 09:11:57 PM
 #3

You are LEGEND!
And you pledged 250 BTC Cheesy

Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 09:23:11 PM
 #4

You are LEGEND!
And you pledged 250 BTC Cheesy

Says the guy generating ~block per day! Tongue

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 09:31:06 PM
 #5

You are LEGEND!
And you pledged 250 BTC Cheesy

Says the guy generating ~block per day! Tongue

What are you implying?

Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 09:34:21 PM
 #6

You are LEGEND!
And you pledged 250 BTC Cheesy

Says the guy generating ~block per day! Tongue

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

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

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 09:39:58 PM
 #7


Nothing, it was a joke. A bad one, it seems. Wink

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 09:45:39 PM
 #8


Nothing, it was a joke. A bad one, it seems. Wink
I like jokes, it's a nice! Smiley

davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 10:10:22 PM
 #9

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

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
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

Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 10:25:14 PM
 #10

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.

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
davout
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 10, 2011, 10:44:42 PM
 #11

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

Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 10:49:17 PM
 #12

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!

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 10, 2011, 11:36:33 PM
 #13

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.

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
fabianhjr
Sr. Member
****
Offline Offline

Activity: 322


Do The Evolution


View Profile
January 10, 2011, 11:43:59 PM
 #14

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

jgarzik
Legendary
*
Offline Offline

Activity: 1470


View Profile
January 11, 2011, 12:36:15 AM
 #15

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

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Cryptoman
Hero Member
*****
Offline Offline

Activity: 728



View Profile
January 11, 2011, 12:38:59 AM
 #16

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
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 11, 2011, 08:14:15 AM
 #17

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
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 11, 2011, 08:16:38 AM
 #18

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
Legendary
*
Offline Offline

Activity: 1358


1davout


View Profile WWW
January 11, 2011, 12:04:19 PM
 #19

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

Mahkul
Sr. Member
****
Offline Offline

Activity: 420


Be silent, or be silenced.


View Profile WWW
January 11, 2011, 11:11:23 PM
 #20

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

Bitalo.com coming soon!

1MAHKULzqZb4evFFg9157LvnJhJQQbeYo7
Pages: [1] 2 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!