Bitcoin Forum
December 08, 2016, 06:17:25 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [IN-DEVLOPMENT] How about a site to guess the next difficulty?(for fun)  (Read 777 times)
Dayofswords
Member
**
Offline Offline

Activity: 98



View Profile
July 12, 2011, 07:14:08 PM
 #1

I'm trying to learn PHP by myself with help from my brother who is still learning too and I wanted to know if people would be interested in a site that lets you guess the next (or future?) difficulty for bitcoin generation.

What i was thinking is

  • A profile page to view your previous guesses
  • A page to view who got the closest(the difficulty goes right to the decimal, so that be interesting)
  • Guessing closes ~1 week before it changes
  • Guess at for any point in time, still closes 1 week before(guess waaaaay early and still was closest of all? you're a prediction god)
  • No BTC at stake, if you bet on the side, whatever, do that
  • Winner gets: Pride
  • a statistic page, has like page views, guesses, usercount, maybe browser stats(all this maybe)

What I'm looking to figure out on the server-side
  • A crude way of loging in and setting a cookie
  • sorting
  • file writing and reading, sorting, etc, etc.
  • user/password managing, figuring out how to use a salt and such and hashing them(I know nothing of security, so I will make that clear with giant text "USE A STUPID PASSWORD!!! I DON'T KNOW WHAT I'M DOING"
  • Maybe a way to change your password(still trying to think how i'll do user number
  • Database or SQL? ha, i'll figure that out some other time, for now TEXT FILE ALL THE THINGS
  • Other do-dads
  • no javascript, I don't know how to use JS...
  • EDIT: Maybe Who's line is it anyways? "point bets"  Cheesy "where the bets don't matter, that's right, the bets are as real as Joan River's face.


All you need is to make a username and pass. No address, no email, nothing. Patience too, this will be buggier than timon and pumbaa.

I may host it on the server godaddy gave me for free with the domain purchase(it has ads that i can't remove) OR on this tiny little server I have here at home(no ads).




How's that sound for any idea?

142u3uafy7bvxJXArDF9mo9e6LEFSef5Hr
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481221045
Hero Member
*
Offline Offline

Posts: 1481221045

View Profile Personal Message (Offline)

Ignore
1481221045
Reply with quote  #2

1481221045
Report to moderator
1481221045
Hero Member
*
Offline Offline

Posts: 1481221045

View Profile Personal Message (Offline)

Ignore
1481221045
Reply with quote  #2

1481221045
Report to moderator
1481221045
Hero Member
*
Offline Offline

Posts: 1481221045

View Profile Personal Message (Offline)

Ignore
1481221045
Reply with quote  #2

1481221045
Report to moderator
graingert
Full Member
***
Offline Offline

Activity: 227


View Profile WWW
July 12, 2011, 09:26:28 PM
 #2

Django deals with most of your needs

user management (password SHA/cookies/CSRF/change password)
database abstraction
and Other do-dads (lots of modules)

get yourself an ubuntu server and sudo apt-get install python-django

 *Image Removed*
Dayofswords
Member
**
Offline Offline

Activity: 98



View Profile
July 12, 2011, 10:14:31 PM
 #3

Django deals with most of your needs

user management (password SHA/cookies/CSRF/change password)
database abstraction
and Other do-dads (lots of modules)

get yourself an ubuntu server and sudo apt-get install python-django
I'm actually just looking to learn how to do thing with PHP, it's nothing serious, just for fun. I'm also seeing what I can do completely from scratch. I also think I'd have no idea how to use that.

That and I have no access to a ubuntu server atm, just my windows server at home and my super limited access linux server i get free.


142u3uafy7bvxJXArDF9mo9e6LEFSef5Hr
Dayofswords
Member
**
Offline Offline

Activity: 98



View Profile
July 15, 2011, 10:01:30 PM
 #4

anyone like the idea?

I ask because I hate to waste my time and server doing something no one will use.

142u3uafy7bvxJXArDF9mo9e6LEFSef5Hr
Pages: [1]
  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!