Pages:
Author

Topic: [ANN] BTC Cake - It's a piece of cake. - page 3. (Read 18657 times)

full member
Activity: 126
Merit: 100
September 19, 2014, 03:27:07 AM
#87
Its still confusing me. Could we have someone explain to me like I am a 5 year old?
Could you put this explanation in the OP, or the 2nd post if it is reserved?
I think they're asking about the game, not the site error you have been having recently Smiley
sr. member
Activity: 310
Merit: 250
September 18, 2014, 02:27:19 PM
#86
Its still confusing me. Could we have someone explain to me like I am a 5 year old?
Could you put this explanation in the OP, or the 2nd post if it is reserved?
Basically how it worked was that in the background the web browser made a connection to the btccake.com for about a minute. If something happened, a message would have been send through that connection. If not, the connection would timeout, and the web browser would reconnect again. And this would go on forever, just so if there were something happening at btccake.com, you would have been notified about it without having to reload the page. However, a misstake at btccake.com kept this connection open (or really didn't release it), even though you had disconnected.

Now, there is a limit on how many of these that can be open, so, as you can imagine, if a new connection was made from you every minute, it adds up. Especially because this is exactly the same for every new users too. And thus, when these open connections are too many, btccake.com (the server) can't handle any more and thus you can't access the site.

Makes more sense now?
hero member
Activity: 588
Merit: 500
Get ready for PrimeDice Sig Campaign!
September 18, 2014, 01:08:42 PM
#85
Its still confusing me. Could we have someone explain to me like I am a 5 year old?
Could you put this explanation in the OP, or the 2nd post if it is reserved?
sr. member
Activity: 310
Merit: 250
September 18, 2014, 12:48:29 PM
#84
Thanks for the update! Working for me again Smiley
Again, I'm sorry about that.

As I mention in my note on the dashboard, I disabled what I think was causing the problem. Live feedback and realtime chat won't work now, but that is also in the works using socket.io instead.
full member
Activity: 126
Merit: 100
September 18, 2014, 11:45:20 AM
#83
Thanks for the update! Working for me again Smiley
sr. member
Activity: 310
Merit: 250
September 18, 2014, 11:06:34 AM
#82
Alright! It's back up again!
sr. member
Activity: 310
Merit: 250
September 18, 2014, 08:26:24 AM
#81
Do you have any other team members or developers? Maybe it's time to expand your team :-D
Nah, it's only me atm actually. All done by me. From scratch even. But expanding will be fun. When/If this site is big enough with enough volume, I'm sure I will hire some that can help me out. The volume isn't large enough yet though. Which is good in a way, because I can deal with issues like this without too many angry people. Smiley
full member
Activity: 126
Merit: 100
September 18, 2014, 08:21:52 AM
#80
Do you have any other team members or developers? Maybe it's time to expand your team :-D
sr. member
Activity: 310
Merit: 250
September 18, 2014, 08:18:39 AM
#79
It's down for me too Sad
Getting a 520 error, something about the server responding an unknown error message?!?
Yea, I'm really sorry about it guys. I wish I didn't have to be at this day job, and I could have fixed it by now... I will be back in about 3-4 hours so it should be back up then! Don't worry about your bitcoins or cakes though. It's there. It's just the server having too many connections open, and can't accept more. Some stupid bug somewhere...
full member
Activity: 126
Merit: 100
September 18, 2014, 08:14:19 AM
#78
It's down for me too Sad
Getting a 520 error, something about the server responding an unknown error message?!?
sr. member
Activity: 310
Merit: 250
September 18, 2014, 08:00:45 AM
#77
Yea I cant even access the site at the moment... Bummer! I hope you get it sorted out soon bud!
Yea, I will! As soon as I get home!

I can enable SSH or whatever, but in a way I like it so closed down because that also means hackers will also have it difficult... Smiley

Also, you might get a page there and notice it's kinda old. It's because it's a cached page from cloudflare. So, basically just ignore that.
sr. member
Activity: 350
Merit: 250
September 18, 2014, 07:40:56 AM
#76
Yea I cant even access the site at the moment... Bummer! I hope you get it sorted out soon bud!
sr. member
Activity: 310
Merit: 250
September 18, 2014, 05:19:54 AM
#75
Meh, site is experiencing some issues, and I can't do anything about it for a few hours... I think there might be a bug with not closing connections properly, which is why when enough connect it adds up and it doesn't have more "file handles" left. I'm working on replacing the long-poll I have now with socket.io. Hopefully will this get rid of the bug AND make chatting a great reliable experience!

Sorry about that guys!
sr. member
Activity: 310
Merit: 250
September 14, 2014, 12:08:54 PM
#74
Yet another update.

I updated the result information:



Note the "Times of initial bet". I might rephrase that later, but anyway. It shows how many times your bet you get if you win.

Also note that this value is the same for everybody on the same wedge. Why? Because this is how fair this game is.

You can now also create private cakes. More on that later...
sr. member
Activity: 310
Merit: 250
September 11, 2014, 12:35:33 AM
#73
Alright, yet some more minor updates done. I added http://www.btccake.com/security that explains some precautions and security measures I do. Feel free to give me feedback on it.

Also, this one is funny: http://www.btccake.com/cake/192dbc8d5103c86fbdd29fc39dfa8df507a409520aaf51dac672f0b9e39fd6c7 and shows how things can change and how fair it is. One bet was made on wedge 1 at 0.00000643. Then I did a bet on wedge 2 at 0.00100000 which gave me 99% chance of winning. Then, gordoh comes in and puts a bet on wedge 1 at 0.00100000 giving wedge 1 the lead. Now, what is fun here is that this bet basically helps the user that had basically very low chance of winning now a larger chance of winning. gordoh will take the most, but it will be shared equally:

Currently wedge 1 has a 50.2% chance of winning. Wedge 2 49.8%. And, if wedge 1 wins it will be a fair split:

Quote
GordoH      2014-09-10 08:59:47    0.00100000 rnO6tsm1   99.36%    0.00098367  0.00198367
User.V2GJ7 2014-09-09 07:45:37    0.00000643 WXyoJiIG    0.64%     0.00000633  0.00001276

Cool huh? Smiley

Edit: Maybe I should post these updates on twitter instead... although this is more than 140 characters... Smiley
sr. member
Activity: 310
Merit: 250
September 09, 2014, 10:31:31 PM
#72
Since I'm back at my regular day job, development will be slowing down somewhat during the weekdays. Don't worry though, its quite robust as is so far, and I continue work on this whenever I can. I just wanted to notify you guys. This is something I really want to take off and be something I can work on more but I'm not there yet where this supports me.
sr. member
Activity: 310
Merit: 250
September 07, 2014, 09:20:53 PM
#71
Alright, I just put the account lockdown live!

If you have set a password for your account, and go to your profile you will be greeted by this now:




I love it because this really locks down your account even further. And, when time is up for that cookie you set there, you have to login again. Even if you happen to have that profile page open and try to do stuff, if time is up, I've put checks in place on server side, so you can't do anything before you login again!

(Note that "Forgot Password" doesn't work at the moment, so if you do have problems, message me and I can help you out. For this to work later on though, you would need an email set too)
sr. member
Activity: 310
Merit: 250
September 07, 2014, 05:58:53 PM
#70
Yet another cake that went well: http://www.btccake.com/cake/09a7ff8b77934d05dccabf972f175472233285882ba918e6e2095003402948b7

The amount in the tables there doesn't take into account that if the total to give to winners is less than 0.001, no fee is taken! In this case the total ended up to 0.00029000. I might increase that to 0.01 or so later actually. But anyway, that is why the winners got it all and the amount in the tables under the Wedges and "All bets" tabs are a bit less than what you actually got.
sr. member
Activity: 310
Merit: 250
September 07, 2014, 12:44:19 AM
#69
Alright, gotta love linux. Smiley Automatic backups are now in place! Both for the wallet and database! And, I've setup so it automatically sends the backup to my email. This way, I also have a backup "in the cloud".

Also, not only is the wallet encrypted, the zipped backup is also locked with a password. Hey, can't be paranoid enough eh? Smiley

And yes, I've tested to unpack it, and it works.

Backups are done and are send to my email every day! This is how serious I am about this. Smiley I sure as hell don't want to loose anyone’s data. And, because zipped data is password protected, it will not be easy to access even if someone got the backups.
sr. member
Activity: 310
Merit: 250
September 06, 2014, 07:15:33 PM
#68
Here is an interesting cake: http://www.btccake.com/cake/52ce07f4d18b0e5a71a02e80af8c2a9fc5e3fd3732551431d7976825cd5263fc

If you calculate and ignore the last bet, wedge 2 (gordoh) would have won. But, because there was a new user betting at the end, wedge 1 won... Sorry gordoh. Bad luck. I wish everybody could win. Sad

But it shows how things can change. And more importantly, that so far everything works very well. I double checked and payments and all is fine.
Pages:
Jump to: