Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - 麥可貓

Pages: [1] 2
1
1. When the BTS gui wallet is in English, all trading pairs show correctly
2. When the BTS gui wallet is in Chinese, selecting trading pairs including any OPEN.xxx results in blank screen

I made a demonstration video here:
https://drive.google.com/file/d/1v5GxV85YruofyJTYKZATbhHIiaoDRIGI/view?usp=sharing

2
As many of you may have known, that recently bitcrab lost a significant (to me) amount of assets, and similar events happened once in a while.  In wechat group, we discussed a lot of potential solutions (e.g., buy a mac, install Linux in a virtual machine or not, use and change strong passwords regularly). But even as a Linux user, I realize that we need a simple, feasible solution for all platforms including Windows to make bts popular.

Then it comes to me to realize that even telegram is currently more secure than bts wallet; to log in, telegram ask confirmation from a second device, but once your desktop is compromised your balance in bts wallet could return to zero in late midnight.

I think we urgently need some way to secure our bts wallet.  At least, we can imply just what telegram, as a non-profit service, do to introduce confirmation from a second device for login and transaction.  If a decentralized solution is not yet possible, I think it is fine for me to use a centralized service to do this to secure my wallet (but not google's 2FA since it is not accessible from China) for now.

3
Cover letter:
The following article is translated from the Chinese board (https://bitsharestalk.org/index.php/topic,24626.0.html). The original author, jieshuren, is a founder of his company 'the book borrower'. He is issuing 2 assets on bitshares: LZKJF as a rewarding point and LZKGF as a share. For his business model, he wants to limit LZKGF (the share) to be only buyable with LZKJF (the rewarding point), while LZKJF is not limited so and pegged to 1 CNY. He does not know how to set rules to LZKGF (the share) to be only buyable with LZKJF (the rewarding point) (neither do I), so he is asking for help.

I doubt if the current bitshares system can do that, but I think this could be a good chance to make bitshares great for broader business models via helping him out.


Title: I issued 2 assets for my company. How do I make one of them to be only buyable with the other one?

One project of my company called 'The book borrower' is a platform for sharing books.I issued 2 assets for it, namely LZKJF as a rewarding point and LZKGF as a share.

The book borrower is a internet library, currently with 30k+ users. You can subscribe to the public wechat account 'the book borrower' and make a borrow or query informations.  The book borrower has redefined library, let every family can easily have a bookshelf with more than 300 books, and users can share with each others effortlessly.

The rewarding point LZKJF should only be used inside our platform to pay fees in the same rate of CNY. The rewarding point LZKJF can also be traded with any assets or used to buy the share LZKGF inside bitshares. But I don't know how to make this happen, since the bitshares would allow trade between any two assets. I wonder if I can set such rules.

The generation of the rewarding point LZKJF could be anyone of the following three:
1. The balance of a user deposited in our platform (1 per 100 per day)
2. To pay the employee as salary
3. Participating our future activities

4
General Discussion / Some opinion about 'Winter Storm Warning #1'
« on: December 26, 2015, 06:03:32 pm »
1. great aims, makes you imagine if someday stores can include such POS and people can buy goods using cell phone wallet.
2. but think twice, what they actually offer is just the software to do so, and does not include any plans to persuade stores to use it.
3. Are softwares the key to realize this goal? No, just like carts using bts has been written for a long time, still almost no one is using it.
4. To sum up, the keys to enable people purchasing goods using cryptos at stores in your neighborhood are a) find the correct target that would like to try this with minimal efforts and costs and b) a correct strategy to avoid potential legal issue in some countries
5. Is what I am talking about possible? Yes, check this out if you have not read this:
https://medium.com/@digital654321/familymart-now-accpets-bitoex-s-bitcoin-wallet-to-buy-goods-b85c9bac78f2#.j0w9fw1na

In brief, a small Taiwan bitcoin exchange BitoEX has cooperated with Familymart convinience store to buy goods at every Familymart in your neighborhood in Taiwan. And the way they doing it, using bitcoin to buy coupons that you use to exchange into goods, avoids potential legal problems. All BitoEX has to do is to write is a small software for the small computer (aka Famiport) used in every Familymart. Simple enough for the developer team and the store. Once again, the key thing is the business strategy, not any fancy program.

5
Technical Support / How to build light_client from source?
« on: November 23, 2015, 09:13:38 am »
I tried the following steps:

Code: [Select]
git clone https://github.com/bitshares/bitshares-2
cd bitshares-2
VER=`git tag | tail -n1` && git checkout $VER
git submodule update --init --recursive
cmake  -DCMAKE_BUILD_TYPE=Debug -DBUILD_QT_GUI=ON  ./CMakeLists.txt
make

which succesfully finished ($? = 0)
but did not give me light_client

and i found that "add_subdirectory(light_client)" in CMakeLists.txt under programs folder was commented out
so I added it back, compiled again,
but it failed with the following message:
Code: [Select]
/data2/local/src/bitshares-2/programs/light_client/ChainDataModel.cpp:50:17: error: no member named 'subscribe_to_objects' in 'fc::vtable<graphene::app::database_api, fc::identity_member>'
      m_db_api->subscribe_to_objects([this](const variant& v) {
      ~~~~~~~~  ^
/data2/local/src/bitshares-2/programs/light_client/ChainDataModel.cpp:55:17: error: no member named 'subscribe_to_objects' in 'fc::vtable<graphene::app::database_api, fc::identity_member>'
      m_db_api->subscribe_to_objects([this](const variant& d) {
      ~~~~~~~~  ^
/data2/local/src/bitshares-2/programs/light_client/ChainDataModel.cpp:195:21: error: no matching function for call to object of type 'decltype(identity_member::functor((graphene::app::database_api *)nullptr,
      &graphene::app::database_api::get_full_accounts))' (aka 'function<std::map<std::basic_string<char>, graphene::app::full_account, std::less<std::basic_string<char> >, std::allocator<std::pair<const
      std::basic_string<char>, graphene::app::full_account> > > (const std::vector<std::basic_string<char>, std::allocator<std::basic_string<char> > > &, bool)>')
      auto result = m_db_api->get_full_accounts([this](const fc::variant& v) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~


any help please?

6
Muse/SoundDAC / A TEDxHollywood talk by Michael Terpin
« on: May 28, 2015, 02:10:31 pm »
I found this video and think it is very related to PeerTracks and BitShares:
https://www.youtube.com/watch?v=lM8AF2sKPT4

In this video he talked about how blockchain technoloy will 'disrupt Hollywood'. For example:
~7:11 He predicted there will be `artist coins`
~8:30 he predicted there will be digital media platforms by 'blockchain companies'. And he also metiontioned bitshares.

Besides, I noticed that the 'TEDxHollywood' event would be a very good chance for PeerTracks to broadcast your ideals. In its official site:
Quote
TEDxHollywood is an independently organized event licensed by TED and will focus on entertainment themes.

7
[curreny situation] if i want to sell 1 bitUSD for bts that equals to 1 usd,  i have to calculate by myself,  and if the price changed later,  i have to retract my sell and re-calculate.
[proposal] add the option for dummies like me to sell bitUSD (and other BTA) in just the usd feed price of bts,  and the exact number would change accordingly to the bts/usd price

8
Currently, there are many chances that I have to re-download the whole blockchain, and I found it becoming more and more painful as the blockchain grows. For instances, when my client report that I am not on the main chain, or when I restart the client after it crashed. I mean, in most cases I think my chain folder is 99% correct right? Just a small part of it is incorrect but I have to re-download x Gb files? There should be a method to do this. Please tell me if there is already one, or please provide such capability. Thanks a lot.

9
Technical Support / npm get stuck under archlinux
« on: May 06, 2015, 01:16:12 pm »
while doing "npm -g install lineman", I got:

Quote
> js2coffee@0.3.3 preinstall /usr/lib/node_modules/lineman/node_modules/js2coffee
> node ./cyclic.js
npm WARN engine coffee-script-redux@2.0.0-beta8: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"0.12.2","npm":"2.8.3"})


and it got stuck forever. Any suggestions? Thanks

10
Technical Support / unable to run bitshares_client under Fedora 21
« on: May 05, 2015, 08:53:51 am »
I build 0.9.1 successfully ($? = 0) on Fedora 21.
However, when I ran the client, it returns:


Quote
Loading blockchain from: ./data/chain
Creating default config file at: ./data/config.json
Logging to file: ./data/logs/default/default.log
Logging RPC to file: ./data/logs/rpc/rpc.log
Logging blockchain to file: ./data/logs/blockchain/blockchain.log
Logging P2P to file: ./data/logs/p2p/p2p.log
Using built-in blockchain checkpoints
Initializing state from built-in genesis file
Please be patient, this will take several minutes...
Successfully replayed 0 blocks in 2 seconds.                         
Blockchain size changed from 0MiB to 0MiB.
------------ error --------------
0 exception: unspecified
Unable to generate EC key
    {}
    p2p  elliptic.cpp:353 generate


How to fix this? Thanks

11
I have 2 accounts in 2 different wallet folders (as BTS Wallet Best Practices and Danger Areas suggested). Because I have to frequently switch between these 2 wallets (because one of them is owned by my girlfriend), I find it easy to switch between them in command line, but I cannnot switch in web wallet/qt wallet. I think it is worthwhile to add these abilities to enable switching between wallets conviniently:
1. in lock screen, add a box to enter the "wallet name", and you can enter its password to unlock corresponding wallet
2. in lock screen, add a button to "create new wallet"
(actually, 1 and 2 together makes 'lock screen' become 'welcome screen')
3. while using two tabs of web browser to connect to wallet, I would like to open 2 different wallet folders in each of them and operately simultaneously.


Since that most users would prefer GUI, I think this ability would be worthwhile to be implemented if many people have the need to switch between wallet folders, especially when only one acocunt is recommended for each wallet folder.

12
As the download speed of github could be extremely slow in china, please provide alternative links in other hosts like btsx wallets. Also, please provide SHA checksum of these binaries, so that we can download and share them safely.

Thank you

13
General Discussion / the name of 'bitGLD' should be reconsidered
« on: September 29, 2014, 01:14:36 am »
according to zhao150, who has practical experiences in foreign market, the name of gold market should be XAU or GOLD:



maybe we should keep bitGLD, which is easier to understand for us, but implement a synonym to have bitXAU market, which is actually the same of bitGLD market

14
General Discussion / no sourceforge link for 0.4.4
« on: August 20, 2014, 02:45:25 am »
please provide link for windows and osx version of 0.4.4 wallet in sourceforge too.
in some places the links in github are unavailable, so the sourceforge link is kind of important for every new release.

15
General Discussion / "Go Back" in lock screen
« on: August 19, 2014, 09:27:21 am »
In lock screen of qt_wallet, I just found that I can do the following things (now I am using 0.4.2 in ubuntu):
1. right click mouse, press "Go Back"
2. the wallet will really go back to the tab before screen locked, and there are a couple seconds before re-lock (this interval may vary depending on the final tab you are while pressing lock).
3. I can prepare a command in my clipboard, paste it, and hit ENTER. This step may require performing step 1-2 for multiple times.

I think basically the information of your account can be obtained using step 1-2 (account names in wallet, transaction histry, etc), and can do something more using step 3

Pages: [1] 2