Bitcoin Forum
June 24, 2024, 10:04:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 [562] 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 »
11221  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: November 24, 2011, 03:07:21 PM
Quote
   S.ws.send('1::/mtgox')

*headdesk*
* slush bashing all developers writing incomplete documentations and expecting that some things are so obvious they don't need to be in doc.

molecular, you're my savior. What's your donation address?

cool to have been of help, especiall to you, slush.

almost didn't post, but so many complained so I did... instant karma Wink

1JX3YkScnu2RBHjUBZTLB6qBgmGeUWxANL

EDIT: slush, are you coming to Prague? I'm there on saturday and maybe sunday, maybe I recognize you Wink
11222  Economy / Marketplace / Re: [BETA] MTGox websocket API, testers wanted on: November 24, 2011, 02:58:37 PM
Same status here, lack of any documentation is pretty irritating.

magicaltux has some php sample code that was helpfull for me to code socket.io handshake in python.

(it's still got some debugging output and heartbeat lost detection is not implemented, so on connection drop it doesn't auto-reconnect). oh, and it only does websocket, no other transport.

Quote from: socketio.py
from threading import *
import urllib2, urllib
import simplejson as json
import ssl, socket
import time
from websocket import WebSocket


class SocketIO:
  def __init__(S, url, callback):
    S.url = url
    S.callback = callback
    
  def connect(S):
    data = urllib.urlencode({})
    req = urllib2.Request('https://' + S.url + "/1", data)
    response = urllib2.urlopen(req)
    r = response.read().split(':')
    S.heartbeat_interval = int(r[1])
    print 'heartbeat: ', S.heartbeat_interval
    if 'websocket' in r[3].split(','):
      print "good: transport 'websocket' supported by socket.io server ", S.url
      S.id = r[0]
      print "id: ", S.id

    S.thread = Thread(target = S.thread_func)
    S.thread.setDaemon(True)
    S.thread.start()

  def stop(S):
    S.run = False
    S.thread.join(timeout=1)
    S.keepalive_thread.join(timeout=1)


  def thread_func(S):
    print 'SocketIO: websocket thread started'
    
    my_url = 'wss://' + S.url + "/1/websocket/" + S.id
    
    S.ws = WebSocket(my_url, version=0)
    S.run = True
    S.ws.send('1::/mtgox')

    # start keepalive thread
    S.keepalive_thread = Thread(target = S.keepalive_func)
    S.keepalive_thread.setDaemon(True)
    S.keepalive_thread.start()
    
    msg = S.ws.recv()
    while msg is not None and S.run:
      #print 'SocketIO msg: ', msg
      if msg[:10] == "4::/mtgox:":
        S.callback(msg[10:])
      #elif msg[:3] == "2::":
      #  True
      #else:
      #  print "SocketIO: dont know how to handle msg: ", msg
      msg = S.ws.recv()
      
  def keepalive_func(S):
    while S.run:
      time.sleep(S.heartbeat_interval)
      S.ws.send('2::');
      
def test_callback(msg):
  print 'msg: ', msg

# testcase
if True:
  sio = SocketIO('socketio.mtgox.com/socket.io', test_callback)
  sio.connect()
  time.sleep(100)


I got that websocket implementation from giel (on irc) ("from websocket import WebSocket"), here it is (put in file websocket/__init__.py):

  http://pastebin.com/jrxachSF

You can start using

  #> python socketio.py

it should dump the messages to stdout
11223  Bitcoin / Project Development / Re: MAXKEISER.bitcoinfilm - Max Keisers Film "European Bitcoin - Prague" on: November 24, 2011, 02:10:00 PM
So I will meet Richard Bluestein (the producer) and hopefully also Max and Stacy in Prague.

Will hopefully be able to answer all questions about the project after Prague.

Keep donating if glbse permits Wink
11224  Bitcoin / Bitcoin Discussion / Re: OKPAY accepting bitcoin as a deposit method on: November 24, 2011, 01:58:32 PM
TradeHill will take OKPAY transfers directly.
yup!
molecular TradeHill should have the information on their website https://www.tradehill.com/DepositOverview/USD/

cool. I initiated the transfer on tradehill and sent to tradehill's okpay account, hopefully with all the correct numbers in the comment. Tradehill says "up to 24 hours" to get through, so I'm guessing it's some manual work involved.

thanks for pointing out and/or making this possible in the first place Wink

hmm, so nothing has been credited yet on tradehill side, okpay payment to tradehill account OK856634147 went through instantly, will mail tradehill.

EDIT: 20 minutes after writing email to tradehill, the transfer got through. Thanks to okpay again and tradehill also Wink
11225  Bitcoin / Press / Re: Bitcoin press hits, notable sources on: November 23, 2011, 07:56:22 PM
Quote
The Pros And Cons Of Biting on Bitcoins

2011-11-23
Constance Gustke

http://www.cnbc.com/id/45030812/

"If you love edgy bets, the Bitcoin may be for you."

someone made a thread: https://bitcointalk.org/index.php?topic=52677.0;topicseen
11226  Bitcoin / Bitcoin Discussion / Re: BITCOIN ON CNBC!!! on: November 23, 2011, 07:30:36 PM
Quote
"Bitcoins have been known to go from $17 a coin to pennies in the blink of an eye."

This is not serious. The statement is a misinformation like this one:

Bitcoin raised from U$13.00 to 1.3 million dollars a coin at the end of july/2011. In the blink of an eye.

https://bitcointalk.org/index.php?topic=33185.0


ha, I totally forgot about that one, even though I had some millions of dollars myself back then.

Awesome counter!
11227  Bitcoin / Bitcoin Discussion / Re: OKPAY accepting bitcoin as a deposit method on: November 23, 2011, 07:16:47 PM
TradeHill will take OKPAY transfers directly.
yup!
molecular TradeHill should have the information on their website https://www.tradehill.com/DepositOverview/USD/

cool. I initiated the transfer on tradehill and sent to tradehill's okpay account, hopefully with all the correct numbers in the comment. Tradehill says "up to 24 hours" to get through, so I'm guessing it's some manual work involved.

thanks for pointing out and/or making this possible in the first place Wink

11228  Bitcoin / Meetups / Re: EUROPEAN BITCOIN CONFERENCE 2011, PRAGUE NOV 25-27 on: November 22, 2011, 10:58:44 PM
Ok, so I'm bringing my cam and I have a tripod from a friend.

Do you guys have sound recording solution? will the PA be used?
11229  Bitcoin / Bitcoin Discussion / Re: OKPAY accepting bitcoin as a deposit method on: November 22, 2011, 05:19:28 PM
So now how can I get my funds out to a bitcoin exchange most elegantly? Would I have to use paxum or something? It'd probably be bad to use paypal, because who in his right mind accepts paypal payments for bitcoin?

TradeHill will take OKPAY transfers directly.

Cool. I have an account there already. How can I initiate a transfer?
11230  Bitcoin / Bitcoin Discussion / Re: Bitcoin: TRIPLE ENTRY CROWD ACCOUNTING on: November 22, 2011, 02:34:16 PM
"Accounting period", as used in the finance industry and in business, means a month, a quarter, a fiscal year.
Accounting period can be any period. Accounting periods are not only those periods that are defined in IRS manuals... Every organization is free to define their own accounting periods to suit their internal needs. If you need reliable data for all financial transactions every minute then 1 minute can be the accounting period.

If you are familiar with the algorithm that miners run though, you'll know that's not the case.
Hmm... Well, I thought you have started this thread trying to abstractly describe Bitcoin in as few words as possible with terms that would make sense to those who are familiar with banking but not with technology? So, my short answer to your initial question is miners are like auditors and what they do is like reconciling data sets of financial transactions for 10 minute accounting periods.

I'm not sure the block finding duration is equal to any "accounting period". A transaction has a timestamp, that's when it should be considered to have been taken place. It can only be decided at a later point (with enough confirmations by miners) wether or not it took place.

On the transaction list my bank gives me, for example, there are two timestamps. One designating the point in time when the money flow was considered to be happening (relevant for calculating interest, for example) and the point in time the transaction was validated by or inserted into the system. The two can be different.
11231  Bitcoin / Bitcoin Discussion / Re: MtGox daily withdrawal $250 in BTC but $1000 in cash - RIDICULOUS! on: November 22, 2011, 11:39:35 AM
It says quite a lot about the amateurism of Bitcoin that the largest (and essentially only real) exchange has such tiny withdrawal limits.  Any business that does more than $1000/day in gross sales has yet another disincentive to try out Bitcoin, since their money will be essentially held hostage by the exchange for fear of crashing the price.  And if another 30% dip in value occurs while you're trying to cash out, well, tough titties.



You can exchange as much as you like, just not withdraw. So your objection of the price taking a dip is BS.

You can surely talk to MagicalTux about raising your individual limits.
11232  Bitcoin / Bitcoin Discussion / Re: OKPAY accepting bitcoin as a deposit method on: November 22, 2011, 11:35:56 AM
molecular if you were talking about OKPAY Debit Card then the process of obtaining it is fairly easy: verify your profile and phone # and then request it. Bitcoin deposit option is basically an automatic exchange operation to USD with the help of our exchange partners. At this point we do not offer vice-versa transaction.
There was a technical issue with your deposit, it was credited twice. By the way we are giving rewards to our clients who help us to improve by reporting bugs because some people would prefer to contact the support service instead of trying to withdraw other people's money next second on one of our partners exchanger. Cheesy
p.s. our company is not positioning itself as an e-currency-to-debit card service, this is only one of the many options.

Yeah, I know that was quite an ass-move on my part trying to exchange the erroneously credited money. I was pissed at that point that I couldn't get a credit card quickly. I can see that you need to verify me for that, of course, and this can't be done in the matter of hours or days even. I was naive.

So now how can I get my funds out to a bitcoin exchange most elegantly? Would I have to use paxum or something? It'd probably be bad to use paypal, because who in his right mind accepts paypal payments for bitcoin?



11233  Bitcoin / Project Development / Re: LAST CALL: MAXKEISER.bitcoinfilm - Max Keisers Film "European Bitcoin - Prague" on: November 22, 2011, 11:03:20 AM
So I'm leaving for Stuttgart tomorrow and from there I'll go to prague with a friend to visit the Bitcoin Conference.

Hopefully I can talk to Max there, he's been hard to reach via email.

Unfortunately GLBSE is frequently down so I'm having a hard time calling for the last round of donations.

I still don't know the deadline for funding the film.

We still have a chance to fund it. The needed sum might be lowered for a reason I cannot currently disclose, but I'm no sure it'll happen.

So, if you want this film made, see the first post on how to contribute some BTC (even without using GLBSE)


11234  Economy / Marketplace / Re: GLBSE down? on: November 22, 2011, 10:50:18 AM
i would be very open to moving.

I'm not sore sure I would be. GLBSE has a good security model. They (he?) just seem to need some help keeping bitcoind up or whatever the issue is.

I'd prefer seeing the GLBSE "managment issues" fixed and someone (or more than one) make a better web interface or improve the existing one (it's not bad, just needs a few improvements in my mind)
11235  Bitcoin / Bitcoin Discussion / Re: Bitcoin: TRIPLE ENTRY CROWD ACCOUNTING on: November 21, 2011, 05:43:05 PM
I suppose we need some way of saying they are writing the ledger then… Nothing catchy springs to mind just yet though.

I would almost like "blocks" to be called "pages".

Miners are competing to create the next block in the chain.  They must solve a complex mathematical problem to solve a block.

Transaction confirmers are competing to record the next page in the public ledger.  To be accepted into the ledger, their page must include the solution to a difficult mathematical problem.  The mathematical problem is specific to each page and is based on all of the transaction entries they are trying to record on that page.

The second one makes more sense to the uninitiated, I hope.

I like "page".

Let's use "block chain" as a technical term concerning the implementation. The bitcoin "block chain" is a type of (or: implements a) "public ledger" with certain properties.
11236  Bitcoin / Bitcoin Discussion / my OKPAY stupidity on: November 21, 2011, 05:21:52 PM
Hey guys, here's my okpay story:

I needed a credit card to make some EUR payment to get a train ticket. My debit card wasn't working because I apparently had entered the wrong PIN 3 times. This was reset by my bank and I make the purchase with my "classic visa debit card".

Now checking on my payment to okpay I discovered that,
  • I couldn't get my credit card without some tedious process that takes weeks
  • by 20 bitcoins where automatically exchanged to USD 41.51
  • I could not withdraw bitcoins

Now, I would've expected okpay would keep my bitcoins as BTC, not exchange them automagically to some stupid FIAT currency. (looking at the bitcoin deposit page again, it clearly states a BTC/USD exchange rate and gives the "value" of the BTC you want to transfer as USD. I probably didn't care at that point, because I wanted to make a EUR payment with my shiny new credit card anyways)

Well, it was my fault for not reading enough before sending BTC.

Okpay also credited my bitcoin deposit twice to my account, so I had 2 x 41.52 = 83.02 USD at one point. I shamelessly tried to transfer these USD to my paypal account using an offered exchanger, ok-change.com. That failed and the double-deposit error was discovered and corrected, paypal transfer aborted. Notably, this all went pretty quickly (within 30 minutes or so).

I asked okpay support for my Bitcoins back. Let's see what happens. They're probably not obligated to do this, but maybe they are nice enough. Told them I would accept up to 5% loss (1 BTC) on this.

I could've been clear to me that okpay would exchange my precious BTC to USD, but the fact that you can't change these back to BTC and withdraw them, is a little disturbing, to be honest.
11237  Economy / Speculation / Re: NEWS! Bitcoin Technical Analysis on: November 21, 2011, 03:07:02 PM
The irony about it is: The daily non-speculative demand for bitcoins is probably below (!) 7200 coins a day (right now)
So the answer to the problems caused by excessive hoarding is more hoarding?

Are you guys going to stand on mainstreet handing out bitcoin flyers to create demand? What else you gonna do? 'Oh btw, you want this, I have some but I'm not gonna give it to you..'

I would feel very much trolled...

Of course I would give people my bitcoin. I traded a lot for cash locally already and I will do it again, even at this low price. I'll just buy them again, what's the problem?

Are you the last troll left on these forums? Maybe it's time to jump ship?
11238  Bitcoin / Meetups / Re: EUROPEAN BITCOIN CONFERENCE 2011, PRAGUE NOV 25-27 on: November 21, 2011, 02:56:33 PM

The guy editing the vids, however we don't have a spare cameraman or video so we will just do a good job with one.

I can bring my cam. it's consumer grade, a canon hf 100, records 720p to avchd sdcard.

I don't have a tripod, though. I'll look around for a tripod...
11239  Bitcoin / Bitcoin Discussion / Re: Casascius coins pledge for European Bitcoin Conference on: November 20, 2011, 06:07:11 PM
I briefly talked to genjix on IRC and sent a mail to casascius with the estimated demand (partly with the information from this thread) and asked for a price.

Unfortunately I didn't get a response from him yet so I really hope somebody else has made a deal with him and bring some coins so that we can buy them at the conference.

It doesn't seem reasonable to expect they would arrive on time even with casascius' prompt shipping.

So someone would _have_ to bring them, right?

It'd really be nice to have coins at the conference, especially many 1 BTC coins. I'm sure everyone will want at least one!

11240  Economy / Marketplace / Re: GLBSE down? on: November 20, 2011, 06:02:12 PM
Yes down again....  I will sell shares at the current price over the counter if that is what you are after. Just send me a PM telling me how many you want to buy and I will lock the current price for you. If you can get them on GLBSE for that then cool. If not I will sell them to you directly and send them to your GLBSE account.

Thanks.


Pages: « 1 ... 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 [562] 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!