zabirauf has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sharky has joined #ipfs
<slothbag>
hey all, my IPFS (latest master) is throwing 403 - Forbidden in the webgui for all the api calls.. is this the same as the http get bug from a few days ago?
<slothbag>
nah cant be.. because I was getting "Upgrade available" messages last time
tilgovi has joined #ipfs
cdata4 has quit [Ping timeout: 244 seconds]
Tv` has quit [Quit: Connection closed for inactivity]
cdata4 has joined #ipfs
zabirauf has joined #ipfs
zabirauf has quit [Max SendQ exceeded]
<cryptix>
hell0w
<zignig>
cryptix: greetings your cypheriness.
pfraze has quit [Remote host closed the connection]
<cryptix>
:)) hey zignig
slothbag has quit [Remote host closed the connection]
<zignig>
been busy ?
<cryptix>
way too busy
<cryptix>
way way too busy today and tomorrow - hopefully starting less-busy cycle next week
<zignig>
sleep++
<zignig>
:)
<zignig>
with a full time job and two small children, busy is the norm for me.
<zignig>
cryptix: interesting busy or crazy busy ?
<cryptix>
well...
<cryptix>
'im too young for a burn out'-busy
besenwesen has quit [Quit: ☠]
<cryptix>
two obligations that both expect full time attention leading to trouble in family life leading to more stress.. i have a circuitbreaker (music festival) coming up in two weeks.. i hope that will normalize things a bit
besenwesen has joined #ipfs
besenwesen has joined #ipfs
<cryptix>
its all 'interesting' but way to much
<zignig>
I know that feeling ( a few years ago ).
<zignig>
My advice to you .... Family must _always_ come first.
cdata4 has quit [Ping timeout: 250 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<cryptix>
zignig: yea, i thought that goes without saying.. its frightning how you can hurt people you love without noticing
besenwesen has quit [Quit: ☠]
besenwesen has joined #ipfs
besenwesen has quit [Changing host]
besenwesen has joined #ipfs
<zignig>
it is weird , but yes I have done that before too.
<rschulman>
yeah, if all you want is the ipfs binary, I would suggest downloading one of the precompiled versions from ipfs.io
<freedaemon>
and the OSX 10.8 pkg
<cryptix>
freedaemon: what rschulman just said
<freedaemon>
nah, I'd prefer to compile from source
<freedaemon>
just giving some feedback on the installation process :-)
therealplato has joined #ipfs
<cryptix>
i never used the .pkg install on osx, just got it through homebrew or installed go from source itself
<freedaemon>
it was non-intuitive that
<rschulman>
if you’re the kind of person who likes to compile from source, you should be able to figure out how to set up the tool chain. :)
<freedaemon>
go get -u github.com/ipfs/go-ipfs/cmd/ipfs
<freedaemon>
worked
<freedaemon>
but then ipfs was not working
<rschulman>
freedaemon: I think the problem you have is with go, not ipfs, is what I guess I’m saying.
<cryptix>
$GOPATH/bin isn't in $PATH by default because it depends on where you choose to put your $GOPATH
<rschulman>
though I do agree with you that this aspect of go isn’t all that intuitive.
<freedaemon>
yes
<freedaemon>
so imagine a scenario that there is a user
<freedaemon>
that cares about IPFS
<freedaemon>
but not about Go
<freedaemon>
they'd be confused about what happened and why is IPFS not working
<rschulman>
I would tell them to use the precompiled binaries.
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<freedaemon>
and you don't want to put a FAQ question up?
<cryptix>
or use homebrow (brew install ipfs) which also takes care of installing go properly
<cryptix>
freedaemon: it is in the 'install go' documentation
<freedaemon>
after you install go
<freedaemon>
'go' from command line works
<freedaemon>
given the illusion that go was installed properly
<rschulman>
freedaemon: Again, your problem is with the go install process/documentation
<rschulman>
not every go project that doesn’t disclaim the go documentation
<freedaemon>
ah forget it
<cryptix>
a hint about adding $GOPATH/bin to $PATH might be in order
<freedaemon>
I'm just trying to give you some feedback
<rschulman>
I mean, cryptix is right
<rschulman>
it won’t hurt us to do
<rschulman>
so sure
<rschulman>
but if you got caught up on installing go, please talk to the go folks too
<rschulman>
sorry, I don’t mean to push you away
<freedaemon>
here is my point
<freedaemon>
when I installed go
<freedaemon>
and tried testing if go was installed properly
<freedaemon>
I concluded that yes it was
<rschulman>
right
<freedaemon>
then the next step is
<freedaemon>
go get -u github.com/ipfs/go-ipfs/cmd/ipfs
<freedaemon>
which also completes with out giving any errors
www has quit [Ping timeout: 246 seconds]
<freedaemon>
and then 'ipfs' doens't work
<freedaemon>
which makes me think that ipfs (a project that is much less stable than go) didn't install properly and there is some bug/error
<freedaemon>
with absolutely no hints about what the error can possibly be
<freedaemon>
I had to waste 5 mins to figure out what happened
<cryptix>
freedaemon: you are right, that steps is weird if you are unfamiliar with go
<cryptix>
'go get' wouldnt run if you havnt set GOPATH.. so.. the ipfs binary ending up in $GOPATH/bin isnt that straight forward espc than needing to add $GOPATH/bin to $PATH
<whyrusleeping>
did i misunderstand what ethereum was? i thought it was a platform for decentralized computation
<whyrusleeping>
it looks like its just another orgy of hashing for money
<cryptix>
whyrusleeping: looks like that bug is unfolding quite interestingly
<whyrusleeping>
cryptix: oooh, interesting
rubiojr has quit [Remote host closed the connection]
ogd has quit [Remote host closed the connection]
feross has quit [Remote host closed the connection]
caseorganic has quit [Remote host closed the connection]
ladekjaer has quit [Remote host closed the connection]
nrw has quit [Remote host closed the connection]
therealplato has joined #ipfs
<pjz>
whyrusleeping: it's both; the intention is to provide computational contracts
<ipfsbot>
[go-ipfs] jbenet created release from v0.3.6 (+0 new commits): http://git.io/vOvqZ
<whyrusleeping>
jbenet: ++
thelinuxkid has joined #ipfs
dignifiedquire has quit [Quit: dignifiedquire]
<pjz>
whyrusleeping: like: watch github, and for every day that whyrusleeping commits at least X new lines to ipfs, send him .1 BTC
<whyrusleeping>
pjz: hrm... okay
<pjz>
whyrusleeping: or: if the money in account X gets to be over $Y, send it to person Z; if that doesn't happen before time T, send it all back to its originators
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ipfsbot>
[go-ipfs] jbenet pushed 1 new commit to master: http://git.io/vOvYB
<ipfsbot>
go-ipfs/master 244c957 Juan Batiz-Benet: updated install instructions...
<pjz>
whyrusleeping: the base idea being that the system can be a trustworthy intermediary
<whyrusleeping>
jbenet: also need to mention actually setting GOPATH
rubiojr has joined #ipfs
bret has joined #ipfs
kumavis has joined #ipfs
zrl has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<pjz>
is there a way to set up ipns aliases?
otherchas__ has joined #ipfs
<pjz>
or is via DNS the only way ?
<whyrusleeping>
pjz: aliases locally?
<pjz>
whyrusleeping: yes
<whyrusleeping>
not yet, i want them though
<pjz>
whyrusleeping: like a kind of /etc/hosts file for ipns :)
<whyrusleeping>
but it doesnt make a lot of sense to do that before we finish the ipns implementation
<whyrusleeping>
so i've held off
<pjz>
I thought /ipns/ was workingish?
mikolalysenko has joined #ipfs
ogd has joined #ipfs
<whyrusleeping>
pjz: yeah, it works
<whyrusleeping>
so if you build things that use it, the interface is very unlikely to change much
henriquev has joined #ipfs
<whyrusleeping>
but its not super reliable because we need to work out validity of records
<whyrusleeping>
and repropogation
<whyrusleeping>
all of this should be happening quite soon
<pjz>
aliases seem like they'd be easy: if /ipns/<x>, look up x in a flat file somewhere and turn it into Qm...
ladekjaer has joined #ipfs
<whyrusleeping>
pjz: yeah, could just have them in the config file
feross has joined #ipfs
<pjz>
depends on how you're doing update/reread of the config file
nrw has joined #ipfs
<pjz>
~/.ipfs/names could be simple key:value
<pjz>
or even key<whitespace>value
<pjz>
ala /etc/hosts
jonl has joined #ipfs
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
richardlitt has joined #ipfs
gordonb has joined #ipfs
<pjz>
whyrusleeping: geez, you even already have the mechanism in your test code
thelinuxkid has quit [Quit: Leaving.]
<whyrusleeping>
pjz: lol, we have 'local'
<rschulman>
pjz: Or you could keep it in your own ipns already
<rschulman>
ipns/local/.config/names
<rschulman>
:)
<rschulman>
course then anyone could read them
<pjz>
rschulman: right, which is why not to do that ;)
<rschulman>
pjz: Well, encrypt them with your node’s private key and you’re ok.
<rschulman>
whyrusleeping ^ that would be a nice feature to think about doing soon too. ;)
<pjz>
whyrusleeping: what's 'local' exactly?
<rschulman>
pjz: Its just an alias for your own ipns space
<whyrusleeping>
pjz: local redirects to your own key
<whyrusleeping>
and right now its kinda special cased
kyledrake has joined #ipfs
daviddias has joined #ipfs
<pjz>
hm, I'd try a proquint but it seems difficult to go from my hash to the right proquint string
dandroid has joined #ipfs
<whyrusleeping>
pjz: there needs to be a tool
notduncansmith has joined #ipfs
<pjz>
whyrusleeping: it should go from base64(that's what the hashes are in now, yes?) to proquint
notduncansmith has quit [Read error: Connection reset by peer]
headbite has quit [Remote host closed the connection]
<whyrusleeping>
pjz: theyre currently in base58
caseorganic has joined #ipfs
headbite has joined #ipfs
<ipfsbot>
[go-ipfs] ebuchman opened pull request #1543: core/corehttp: add support for posting directories to gateway (master...post_dir_gateway) http://git.io/vOvd5
headbite has quit [Remote host closed the connection]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
Leer10 has joined #ipfs
voxelot has quit []
voxelot has joined #ipfs
voxelot has quit [Client Quit]
voxelot has joined #ipfs
voxelot has quit [Changing host]
voxelot has joined #ipfs
atrapado has joined #ipfs
cdata4 has joined #ipfs
<pjz>
whyrusleeping: ...ew
<cryptix>
whyrusleeping: the escape analysis bug i found is nearly fixed :] fix CL already reviewed
notduncansmith has quit [Read error: Connection reset by peer]
dignifiedquire has quit [Quit: dignifiedquire]
voxelot has quit [Ping timeout: 244 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
JasonWoof has quit [Ping timeout: 260 seconds]
JasonWoof has joined #ipfs
<freedaemon>
design question: looks like mostly focuses on immutable storage and for mutable storage there is basically some variant of a SFS-style self-certifying naming
<freedaemon>
how are the SFS-style names then mapped/bound to the "virtual root"
<freedaemon>
I guess what I'm really looking for is the different between immutable storage naming and mutable storage naming
tilgovi has quit [Remote host closed the connection]
<pjz>
ipns maps a hash of your public key to an immutable name that's been encrypted with the private key.
tilgovi has joined #ipfs
<whyrusleeping>
sprintbot: landed 0.3.6, got rabin fingerprinting implemented, and debugging the webui not behaving
gordonb has joined #ipfs
<Luzifer>
hmm does anyone know about the existence of a method to reliable checksum a struct?
<whyrusleeping>
Luzifer: you mean just a generic struct?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<Luzifer>
so not only to check whether the image changed but to check whether a single piece of data changed in it
<ipfsbot>
[go-ipfs] whyrusleeping created fix/allowed-origins (+1 new commit): http://git.io/vOJf6
<ipfsbot>
go-ipfs/fix/allowed-origins 2b520b0 Jeromy: fix allowed origins to make webui work again...
<Luzifer>
I thought about checksumming a json export but afaik the json may change the order of the elements randomly which would change the hash
<ipfsbot>
[go-ipfs] whyrusleeping opened pull request #1544: fix allowed origins to make webui work again (master...fix/allowed-origins) http://git.io/vOJJm
<whyrusleeping>
Luzifer: you can use reflection and sort the order of hashing things alphabetically by field name
<whyrusleeping>
it probably works
<whyrusleeping>
or
<whyrusleeping>
marshal to a json thing and then back to map[string]interface{}
<whyrusleeping>
enumerate the strings, and hash things in alphabetical order of the strings (same thing as reflection option, minus actually touching reflection)
<Luzifer>
hmm :( had the hope there was something ready-to-use
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
pinbot has quit [Ping timeout: 250 seconds]
cblgh has quit [Ping timeout: 250 seconds]
cblgh has joined #ipfs
pinbot has joined #ipfs
ruby32 has quit [Ping timeout: 255 seconds]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ReactorScram>
The IPFS daemon has commands like "pin" and "unpin" right? And if something is unpinned, it will eventually be garbage-collected?
<voxelot>
it's supposed to be, i have seen posts about the level db not getting reduced thoough, not sure if they have fixed that
<ReactorScram>
I'm kind of beating around the bush. What I'm wondering is, with one IPFS daemon / node per computer, but multiple client apps, is there a way to only unpin when all client apps no longer want something
<whyrusleeping>
ReactorScram: yeah, the commands are 'ipfs pin add' and 'ipfs pin rm'
<whyrusleeping>
and once its unpinned, you can run 'ipfs repo gc' to garbage collect the unused data
<ReactorScram>
Sicne it may be that two apps have similar kinds of data, if they're both music players or something
<ReactorScram>
Also if that memory leak was fixed, I'll start running my node again
www has joined #ipfs
<voxelot>
anyone here been able to get the json api to run with eclipse tomcat server?
<voxelot>
getting tons of errors like it cant find the node mobules from browserify
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<ipfsbot>
[go-ipfs] whyrusleeping created feat/real-rabin (+2 new commits): http://git.io/vOJhO
<ipfsbot>
go-ipfs/feat/real-rabin 408550e Jeromy: use rabin fingerprinting for a chunker...
<ipfsbot>
go-ipfs/feat/real-rabin 18d60c7 Jeromy: implement rabin fingerprinting as a chunker for ipfs...
notduncansmith has quit [Read error: Connection reset by peer]
<voxelot>
anyone had problems with fs getting lost when browserify bundles? what is fs?
<voxelot>
node.js file system?
notduncansmith has joined #ipfs
notduncansmith has quit [Read error: Connection reset by peer]
<whyrusleeping>
voxelot: i just learned what browserify actually does
domanic has joined #ipfs
<voxelot>
yeah it's giving me a headache
<whyrusleeping>
me too
<voxelot>
whats the easiest setup on node to get your test code working?
<whyrusleeping>
'sudo pacman -S npm' is as far as ive gotten
* whyrusleeping
writes a lot of go, but not much of that scripty java stuff
<voxelot>
or what local web server shoyuld i run
<whyrusleeping>
which test code?
<voxelot>
your node-api example
<voxelot>
which is what npm pull and then browserify tries to bundle
<whyrusleeping>
i honestly have no idea, mappum or daviddias or krl are going to be the people to ask
therealplato1 has quit [Ping timeout: 265 seconds]
www has quit [Ping timeout: 246 seconds]
<voxelot>
rschulman also got it to work with browserify too if you get to chat with him
atrapado has quit [Quit: Leaving]
<daviddias>
voxelot: I'm not sure if I understood the question
<daviddias>
JSON API on a tomcat server?
<daviddias>
You can bundle your client side code with Node.js
<daviddias>
and serve it from your tomcat server
therealplato has joined #ipfs
<voxelot>
right and it seems to work
<voxelot>
just when i got to bundle with browserify, i lose things like fs and get a ton of errors
<voxelot>
here's what i did, created a directory on my tomcat web platform. created an index.js that holds the same code as the example for the node-api on the github
<daviddias>
you have to apply brfs transform to enable fs
<voxelot>
ohh whats that :D
<voxelot>
transform?
<daviddias>
voxelot: doesn't work like
<voxelot>
i install npm install brfs
notduncansmith has joined #ipfs
<daviddias>
tomcat will not do browserify for you
<daviddias>
(or that I know of )
notduncansmith has quit [Read error: Connection reset by peer]
<voxelot>
no im using browserify to bundle
<voxelot>
just putting the files on tomcat
<daviddias>
does browserify give you an error?
<voxelot>
nope
<daviddias>
so it is not being bundled :)
<voxelot>
just the consol debug in chrome saying fs cant be founf
<daviddias>
here is an example how to browserify with brfs