Bitcoin Forum
May 23, 2024, 05:54:04 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 137 »
1521  Other / Off-topic / Re: tar -cf Bank/* just fucked up my day. on: January 30, 2012, 08:36:37 AM
ended up with a tar that has over written, the main file... sucks to be me.

remember backup next time...

(banging my head against the wall)
So just rename the tar and untar it again...?
no cause the file that was overwritten is not in the tar ball.
1522  Other / Off-topic / tar -cf Bank/* just fucked up my day. on: January 29, 2012, 12:55:07 PM
ended up with a tar that has over written, the main file... sucks to be me.

remember backup next time...

(banging my head against the wall)
1523  Other / Meta / Re: Ban SolidCoin on: January 29, 2012, 11:18:02 AM
please bad coinhunter/solidcoin now.

include is not loose, its quite clear. include means that it needs to follow the stuff its gets included with.

why would you want to remove it anyway? its just stupid
1524  Other / CPU/GPU Bitcoin mining hardware / Re: Best router / router firmware to use with cgminer on: January 28, 2012, 04:44:40 PM
go solo?

pros:
does not generate a lot of (internet-)network traffic. only LAN traffic.

cons:
higher variance.
1525  Bitcoin / Bitcoin Technical Support / Re: Req: Python MtGox auth example on: January 28, 2012, 01:33:03 PM
args is a dict. args = {"someparameter": "value of the parameter"}, thats why it does not work.

Haha I really an a noob! :-)
Thank you, kokjo!

*flips a coin in your direction*

Ente
thank you.
1526  Bitcoin / Bitcoin Technical Support / Re: Req: Python MtGox auth example on: January 28, 2012, 12:44:58 PM
Code:
from urllib import urlencode
import urllib2
import time
from hashlib import sha512
from hmac import HMAC
import base64
import json
def get_nonce():
    return int(time.time()*100000)

def sign_data(secret, data):
    return base64.b64encode(str(HMAC(secret, data, sha512).digest()))
     
class requester:
    def __init__(self, auth_key, auth_secret):
        self.auth_key = auth_key
        self.auth_secret = base64.b64decode(auth_secret)
       
    def build_query(self, req={}):
        req["nonce"] = get_nonce()
        post_data = urlencode(req)
        headers = {}
        headers["User-Agent"] = "GoxApi"
        headers["Rest-Key"] = self.auth_key
        headers["Rest-Sign"] = sign_data(self.auth_secret, post_data)
        return (post_data, headers)
       
    def perform(self, path, args):
        data, headers = self.build_query(args)
        req = urllib2.Request("https://mtgox.com/api/0/"+path, data, headers)
        res = urllib2.urlopen(req, data)
        return json.load(res)

Thank you a lot for posting this!

Uh, python newbie question:
How to use that class?
I tried:

Quote
key = "12345"
secret = "1234567890"
path = "info.php"
args = "123"

tuer = requester(key,secret)
tuer.perform(path,args)
(key and secret replaced)

Dropped error:
Quote
Traceback (most recent call last):
  File "./auth.py", line 48, in <module>
    tuer.perform(path,args)
  File "./auth.py", line 33, in perform
    data, headers = self.build_query(args)
  File "./auth.py", line 24, in build_query
    req["nonce"] = get_nonce()
TypeError: 'str' object does not support item assignment

By the way, what goes in the "args" when none are needed, like when fetching "info"?

Ah, success comes in tiny, bloody steps..

Ente
args is a dict. args = {"someparameter": "value of the parameter"}, thats why it does not work.
1527  Other / Politics & Society / Re: Why do people in USA fear socialism so much? on: January 28, 2012, 07:51:58 AM
I don't believe in systems. Systems sabotage culture. Culture prioritizes participation. Systems prioritize organization.
have you ever considered that there is system in culture? or culture in the system? seriously dude, YOU ARE WRONG!
Please elaborate. Give an example for these two statements (if they aren't really questions).
system in the culture: religion. many religions often have a huge deal organization behind it, think priest and pope. while still relying heavy on culture, and alot of participation from supporters of that religion.

culture in the system: in my country(denmark), we have democracy, its a system. but there is also a lot of culture build up around it, people say what they want, even politicans that most people don't wants to listen to, but we tolerate them. politics are also a great subject of discussion around the dinner table. Democracy is having a great cultural impact here, and people participation.
1528  Other / Beginners & Help / Re: Do you need to Bribe some one to get out of this Newbie Section It's Boring Real on: January 26, 2012, 11:26:29 AM
Sorry what did I do? I letting you know your sig should say Month not Mouth thats all.
is was the misspelling of my name, while you was correcting me. it felt rather attacking.
1529  Other / Beginners & Help / Re: Do you need to Bribe some one to get out of this Newbie Section It's Boring Real on: January 26, 2012, 11:03:56 AM
cockjo,

you need to fix your sig it says: sig is for rent! 2-3btc/mouth

Sould be 2-3/Month
why are you attacking me?
this is the reason why newbie are in the newbie jail, you are right now only confirming that newbies should be in jail.
this is not helping you!
1530  Other / Beginners & Help / Re: Do you need to Bribe some one to get out of this Newbie Section It's Boring Real on: January 26, 2012, 10:43:31 AM
lol I was joking about Bribe. what can you walk away and just leave it logged in?
yes you could. but don't leave, study all the newbie questions you may have, so we doesn't need to answer them again and again.
1531  Other / Beginners & Help / Re: Do you need to Bribe some one to get out of this Newbie Section It's Boring Real on: January 26, 2012, 10:14:12 AM
So, sit here and look at the screen for 4 hours literally before you can get into the real conversations.
You don't have to literally stare at the screen - the forum doesn't yet interface with your webcam. .... afaik.
yet...
1532  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 12:46:04 PM
Why don't you use your time and skills to debug BIP16/17  instead of calling everybody else stupid
why should i debug something that im not a fan of?
to prove its broken
backward compatibility is by default broken, no need to debug.

(yes it is trolling)
1533  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 12:38:49 PM
Why don't you use your time and skills to debug BIP16/17  instead of calling everybody else stupid
why should i debug something that im not a fan of?
1534  Economy / Speculation / Re: Bitcoin Technical Analysis & other financial markets (bitcoinbullbear.com) on: January 21, 2012, 11:49:06 AM
We just issued a short term update to subscribers.

How to subscribe:

http://www.bitcoinbullbear.com/bitcoin-subscriptions.html
...and now we know that something is about to happen!
1535  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 08:06:55 AM
from what i can tell, OP is either seriously ignorant or a troll. Undecided
Kokjo has been trolling for a while if you weren't aware of it.

This or he's never thinking twice before spewing a post.
Both!
1536  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 08:05:47 AM
If you don't want to change you can just ignore the new feature(s). There is zero risk with the proposed changes for anybody running old, un-hacked versions of bitcoin.

(if you are solo mining and hacked your version of bitcoin to accept 'non-standard' transactions then you could shoot yourself in your foot, but even that is unlikely).

okey, a have read the proposals again. i still don't like it, but it's acceptable.
but why the rush? February 15, 2012? are you crazy? try 2013.

i still don't like how OP_EQUAL i working as an opcode with two different meanings depending on the version of bitcoin.
how will this be implemented to avoid a endless loop? isn't there a risk of this?
1537  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 07:51:04 AM
mine bank does not. i have keep my computer free from virus. like any other person should do.
oh boy, more of "I NEVER SAW THIS THEREFORE IT NEVER HAPPENS". Roll Eyes there's a lot of things people should do. but do everyone do it? no. not everyone is a pro when it comes to computers, and people are especially vulnerable to social engineering attacks. what's so bad about adding an extra layer of security? This isn't your project. if you don't like this change, you're free to start your own fork. the source code in on github.
im trying to get you to spoon feed me, because this stuff is just sooo stupid, that you have to realise what you are doing.
not sure if serious. then i read the text below your avatar. now you're on my ignore list
evolution will eliminate week species. computer retards -> week species.

<nazi type="grammar">You sir are a rather WEAK speller.</nazi>
true, but as long as the message gets through, i don't care.
1538  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 21, 2012, 07:47:58 AM
I can imagine the reaction of kokjo when BIND8 arrived, he was using BIND4 his entire life... Now all is different! Oh my!!

How to setup my domain.com?!?! I need to learn all again! CRAP!

Pleeease... Grow up... Evolution is part of this Universe, gets used to it! Even if all is good, the evolution come and try to make things better today than yesterday.
no dude. BIND8 does not change the dns protocol, and any old client would work fine. its just the config file on some server i need to mess around with.
1539  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 20, 2012, 09:21:42 PM
mine bank does not. i have keep my computer free from virus. like any other person should do.
oh boy, more of "I NEVER SAW THIS THEREFORE IT NEVER HAPPENS". Roll Eyes there's a lot of things people should do. but do everyone do it? no. not everyone is a pro when it comes to computers, and people are especially vulnerable to social engineering attacks. what's so bad about adding an extra layer of security? This isn't your project. if you don't like this change, you're free to start your own fork. the source code in on github.
im trying to get you to spoon feed me, because this stuff is just sooo stupid, that you have to realise what you are doing.
not sure if serious. then i read the text below your avatar. now you're on my ignore list
evolution will eliminate week species. computer retards -> week species.

Dude. Can you change a transmission? Can you build a house? Can you perform open heart surgery? Some people are better at some shit than other shit. You are being ridiculous.
no but i don't have to. if people can't handle it themselves, they should pay for it. but if they can't handle money securely they should starve to dead.
EDIT: or pay for insurance
1540  Bitcoin / Development & Technical Discussion / Re: WHY CHANGE(aka BIP hell)? on: January 20, 2012, 09:20:02 PM
What do you think it's going to break exactly? What is your concern?
protocol upgrade, any old client would do funky stuff, which is not good.

You are afraid of change? What if a bug is found tomorrow in the old client and we need a change. Maybe our ability to change it what will save the block chain in the future. Practice makes perfect.

I'm nervous about change too, but we shouldn't be afraid of it. Test it well, and be prepared for the worst case scenario.
im not afraid of change. if it was to fix a bug, it would be understandable.
but to introduce more flaws and bugs, to fix a problem that does not exists, is not acceptable
Pages: « 1 ... 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 [77] 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 ... 137 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!