775800+ entries in 0.463s

pankkake: I remember once when I had
to do a replace of '[]' by '{}',
to fix
the php json export
davout: mircea_popescu
there you go, PHP is
the perfect randomness generator
r3wt: yea i know
the difference lol
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
Apocalyptic: cause you know, it's
tedious
to call
things right
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
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.
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
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
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
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
benkay: i love
the javascript "no, really: are
these
things equal or not?" ===
davout: so drop
the whole equality
test and i assume it should work
davout: just
tried it, it returns a bool
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!
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.
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
jurov: r3wt ask your users
to rate you
r3wt: what is
the WOT exactly? some
type of bitcoin cult?
mod6: weird, no keyid or fp
though?
r3wt: i'm in
the WOT now yes?
TomServo: WillTablet: it was a paste from
the keybase.io page
r3wt: they've always been a
thing for superfags
r3wt: i'm already ident
though
TomServo: r3wt: register and
then ident, iirc
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: pankkake: I don't like
that part either