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.


Messages - jernau

Pages: 1 [2] 3 4 5 6
16
Technical Support / Re: BitsharesX 0.4.12 - Build error on Archlinux
« on: September 09, 2014, 11:26:50 am »
Are you compiling with multiple threads? I mean are you using `make -j $(nprocs)`? I had issues with that. If you're not already, try compiling without the -j flag. Also, is your Arch completely up to date?

17
Technical Support / Re: BitsharesX 0.4.12 - Build error on Archlinux
« on: September 09, 2014, 05:26:47 am »
Just a bit of help. Try the plain bitsharesx package: https://aur.archlinux.org/packages/bitsharesx/

I managed to make that one compile and can maybe help you with any errors. Post the full error log here.

18
General Discussion / Re: Assert Exception
« on: September 08, 2014, 07:07:35 pm »
Is this documented anywhere? Tripped me up too.

19
General Discussion / Re: Error Messages in the GUI
« on: September 08, 2014, 07:06:54 pm »
Thanks. I think I have the answer here: https://bitsharestalk.org/index.php?topic=8584.0

20
General Discussion / Error Messages in the GUI
« on: September 08, 2014, 04:03:10 pm »
Hey,

I'm trying to short on the GUI, but every time I try to confirm, a message pops up in the top right hand corner in red. It says something about an exception. But it's truncated and vanishes after a few seconds. Want to post a bug report but I can't even get a meaningful debug message. Is there a console command I can't find to dump this message?

Thanks.

21
General Discussion / Re: BTSX portfolio manegment
« on: September 08, 2014, 07:26:40 am »
Just to be crystal clear, before I do something I regret:

1. I use the 'Short BitUSD' option to purchase x BitUSD at a price that is higher than the 'current highest bid' (that is listed immediately below the 'price' box.

2. I use the 'Buy BitUSD' option (this is the going long option) to purchase x BitUSD at a price that is higher than the the 'Median Price' (that is listed below the BitUSD : BTSX in the top right of the GUI)

This way, I am effectively borrowing from myself so that I am my own broker?

22

In this scheme, the interest computation doesn't do compounding.  So users will have an incentive to spam the network with transactions compounding manually.

For example, suppose Alice has 1000 BitUSD, the current yield is 10% and Alice expects rate of network income to remain the same.

Then Alice can wait to the end of the year and get 100 BitUSD in one interest-claiming transaction.  Or Alice can claim interest in six months, increasing her balance to 1050 BitUSD, then in six more months, claim interest on that 1050 BitUSD balance which brings her to 1102.50.  The extra 2.50 BitUSD Alice extracts far exceeds the transaction fee.  Finding the optimum timing of interest claims is left as an exercise to the reader.

We can fix this relatively easily.  Let r = TOTAL_ACCUMULATED_FEES / (BIT_ASSET_SUPPLY - TOTAL_ACCUMULATED_FEES), then the interest should be ACCOUNT_BALANCE * pow(r, PERCENT_OF_YEAR_HELD).

My formula takes compounding into account, so Alice can no longer extract a risk-free profit with the above strategy (the result of claiming interest twice in a year is a balance approximately one tx fee less than the result of claiming interest once in a year.)

If you have an easy way to implement that with 128 bit integer math....

For most people making regular transactions anyway it won't matter. Those that are using cold storage will have to balance the effort with the rewards.

Why 128 bit integer math? Just for speed?

23
Technical Support / Re: BitsharesX 0.4.12 - Build error on Archlinux
« on: September 08, 2014, 05:14:26 am »
There's a few of us around. Modprobe is another one :D

24
General Discussion / Re: How to show our appreciation to Bytemaster
« on: September 07, 2014, 07:04:53 pm »
Yeah. Don't forget to go for a walk once an hour and take some extended exercise. Eat lots of fruit and vegetables and cut out any of that Mountain Dew crap. A nice cup of green tea is much better. (I have a desk job too. Really important to keep our bodies in ship shape or it will reflect on our minds)

25
Technical Support / Re: BitsharesX 0.4.12 - Build error on Archlinux
« on: September 07, 2014, 06:03:11 pm »
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
There's quite a few packages on aur.archlinux.org. I've been having lots of compilation issues on Arch Linux.

26
BTSX7mE5goyTzhn9dScQR8kgqjrL2rsPqnHu9D3GXcJnaU8jDxNcuf

Thanks :)

27
General Discussion / Re: CLI wallet howto?
« on: September 06, 2014, 06:28:55 am »
Now a basic CLI how to could be done, but you'd sort of need to define what you are attempting to do ?  Most people who use the CLI are going to be delegates, and those who aren't delegates will use the GUI.  So I would be at a loss as to where to start up such a how-to.

It's basically, how to import your PTS wallet, and how to vote. I'm asking for this because I can't get the linux GUI to compile, and no precompiled binaries are provided (yet).

28
I'd be interested to know how to compile with clang myself .. can you give a quick howto?

It's really simple on Arch (but what isn't, really? :D). Just `pacman -Sy clang` and then `export CC=clang;export CXX=clang++` before running `make`.
Thanks modprobe and xeroc. Compiling now with clang :)

29
Nice .. I found some fixes too from 2012 :)
Good to know i dont need to downgrade gcc ..
thx
Yeah, I just wonder when it'll make it into stable release...

30
Hu ... on ArchLinux I am getting this internal compiler error:
Code: [Select]
/home/delegate/bitsharesx/libraries/blockchain/chain_database.cpp: In member function 'void bts::blockchain::cha
in_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)':
/home/delegate/bitsharesx/libraries/blockchain/chain_database.cpp:1145:63: internal compiler error: in calc_dfs_
tree, at dominance.c:401
    } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
                                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failed
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
CMakeFiles/Makefile2:847: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failed
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

Upgrade GCC and make sure you have plenty of ram.
gcc 4.9.1 ... 6 GB RAM .. seems to be a distribution-related issue :(
Downgrade GCC... 4.8 seems to work.  4.9 seems like it may be too new/buggy.
Just to say I confirm this bug as well. Running the latest Arch too.

EDIT: Pretty sure that there is a fix for this, just waiting upstream somewhere: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62079

Pages: 1 [2] 3 4 5 6