log☇︎
775800+ entries in 0.463s
pankkake: I remember once when I had to do a replace of '[]' by '{}', to fix the php json export
kakobrekla: dafuq you comparing a string then for
davout: mircea_popescu there you go, PHP is the perfect randomness generator
r3wt: yea i know the difference lol
mircea_popescu: pankkake THAT'S OK MAKE EVERYTHING IN JSON A STRING
mike_c: i like how it is "optimized" for all those things
pankkake: and thus, if you export to json, empty "arrays" can end up as lists when you wanted dicts
r3wt: the adults are talking
mod6: things can be other things
mircea_popescu: should be a php operator this.
Apocalyptic: cause you know, it's tedious to call things right
mircea_popescu: i like the "probably more" part.
Apocalyptic: "An array in PHP is actually an ordered map. A map is a type that associates values to keys. This type is optimized for several different uses; it can be treated as an array, list (vector), hash table (an implementation of a map), dictionary, collection, stack, queue, and probably more"
davout: Apocalyptic: lol, why don't they call things by their names
Apocalyptic: that's one of the beauties
r3wt: depending on if the address is valid or not
r3wt: yes, the row in the array will say "true" or "false"
kakobrekla: is the array containing string "false" ??
r3wt: mircea_popescu: if anything its a good place to learn
mircea_popescu: r3wt so i guess now you have the answer : wot is the church of bitcoin miracles.
kakobrekla: i guess that makes it true
mircea_popescu: <r3wt> ah, now i see what i did wrong. i'm asking if a function is a boolean when it already returns one << pretty good this.
r3wt: was the string false**
r3wt: i was asking if a string in an array was false within the original function, then i was asking if the function was a boolean
pankkake: mircea_popescu: it does. but it's just a module, there's no quick access operator
davout: pankkake: i don't think you can
pankkake: and I suppose you can use it for replacements too. that's one of the things I miss in Python, direct regexp access
davout: mircea_popescu: the infamous "figure-it-out-yourself" operator
mircea_popescu: i like the >=< operator.
Apocalyptic: now that would be a challenge
kakobrekla: benkay php is like real world, some are more equal than others.
mike_c: and the ever famous !==
davout: Apocalyptic: maybe it has the NOT_EXACTLY_SURE_WHAT_I_M_DOING operator
Apocalyptic: does LUA have the === operator ?
kakobrekla: yeah but you got the crow now
r3wt: HINT HINT: We rewrote the exchange in something special
mike_c: i held my tongue for like a whole page
davout: dear god, please let this not degenerate into a language fight
mike_c: sorry, just had to get a php crack in there
kakobrekla: he pasted that line here
davout: r3wt: test it out i guess
davout: r3wt: if it parses the json it returns a hash, or a dictionary, whatever you call it in PHP, with the "isvalid" key pointing to a bool
benkay: pankkake: the same craaaaaazy equality operations?
r3wt: you could be right and i'm just a dumbass overcomplicating things. i'll try your way and see.
r3wt: no it just returns the array.
mike_c: so you don't all think JD is just crapping money: ROI from july -> november = 0% all the gains have been since then.
davout: r3wt: looks to me like the JSON is simply parsed so you should end up with a bool from validateaddress, no.
r3wt: the files are out of date, but thats basically the class/wrapper
r3wt: lol, no you seem to misunderstand
pankkake: php has the same
benkay: i love the javascript "no, really: are these things equal or not?" ===
mircea_popescu: they see me sayin', they ignorin'.
davout: so drop the whole equality test and i assume it should work
davout: just tried it, it returns a bool
mircea_popescu: r3wt is this thing you're using documented anywhere ?
r3wt: because it will return the trow anyway?
davout: if it's a boolean that should be enough
r3wt: i tried == to i believe.
davout: r3wt: i know nothing of your code, but aren't you trying to test strict equality with a string when the value is a boolean?
r3wt: anything i change now will be temporary
r3wt: so probably something i just need to go back to the drawing board on, but i'm not really interested in working on the php version anymore. there is literally no point in doing so
r3wt: @dav, yeah probably something i overlooked. when i print the returned info its fine,b ut when i try to use if($row["isvalid"]) === "false") it fails
mod6: r3wt: thanks for sending. all is good now!
mircea_popescu: you mean the checksum ?
jurov: i think now i know everything i need about you
davout: r3wt: you have trouble validating bitcoin addresses?
r3wt: for whatever reason, i haven't been able to get validate address to work correctly.
r3wt: @jurov: yes its logged, but only from the queue. if people wanna be clowns then they can pay the price
davout: some trust is also required for business, at least that the other the party will hold up to their part
r3wt: Apocalyptic: are they foreighn? alot of times foreign people put their username or wrong addresses on withdrawals and they just bounce back into their account
jurov: r3wt to put *coins into your thing some rudimentary trust is necessary
r3wt: jurov: you should never trust me in the first place.
mircea_popescu: yes. this would be the contracts part.
r3wt: there is no trust in business. only money and contracts
r3wt: only one withdrawals sitting on the books, and it can't be processed yet. waiting on doge.
mircea_popescu: its a tool to allow you (and us) to evaluate the credibility of agents.
jurov: and maybe some day someone whom i trust will rate you too, so i'll know we can do business
mircea_popescu: r3wt https://bitcointalk.org/index.php?topic=110861.msg1227871#msg1227871 < there, it's explained.
jurov: r3wt ask your users to rate you
gribble: Currently authenticated from hostmask r3wt!add82c3d@gateway/web/freenode/ip.173.216.44.61. Trust relationship from user jurov to user r3wt: Level 1: 0, Level 2: 0 via 0 connections. Graph: http://b-otc.com/stg?source=jurov&dest=r3wt | WoT data: http://b-otc.com/vrd?nick=r3wt | Rated since: never
r3wt: what is the WOT exactly? some type of bitcoin cult?
mod6: weird, no keyid or fp though?
mircea_popescu: TomServo is that the maria ?
r3wt: i'm in the WOT now yes?
TomServo: WillTablet: it was a paste from the keybase.io page
WillTablet: TomServo: how's that working for you?
mircea_popescu: perhaps a benign novelty of no use at the best.
r3wt: they've always been a thing for superfags
mircea_popescu: davout when did firstbits become a thing ?
r3wt: i'm already ident though
TomServo: r3wt: register and then ident, iirc
mircea_popescu: something like that.
davout: pankkake: the address is not really impressive, having the firstbits would be
r3wt: hmm, i think i forgot the irc commands
gribble: (bcregister <nick> <bitcoinaddress>) -- Register your identity, associating bitcoin address key <bitcoinaddress> with <nick>. <bitcoinaddress> should be a standard-type bitcoin address, starting with 1. You will be given a random passphrase to sign with your address key, and submit to the bot with the 'bcverify' command. Your passphrase will expire in 10 minutes.
mircea_popescu: r3wt another thing you may consider is registering with nickserv. if your name is important to you.
pankkake: anyway, this gpg identity thing allows me to do what I've always wanted to do, a secure way to link profile together
punkman: I have nothing to do with it
punkman: but we can fix that
punkman: pankkake: I don't like that part either