<jfmherokiller[m]>
also the stdin pipe on windows is con
Milijus has joined #ipfs
mackz has joined #ipfs
<mackz>
hi,anybody here?
<Magik6k>
mackz, yep
<mackz>
nice to see you, Magik6k
<Noxarivis[m]>
> hi,anybody here?
<Noxarivis[m]>
Meep
<mackz>
i have some problems with using libp2p, could you help me
<Noxarivis[m]>
mackz: ask your question
<Magik6k>
It's irc, just ask
<Noxarivis[m]>
^
<Noxarivis[m]>
Magik6k: (IRC/Matrix)
<Noxarivis[m]>
To be exact
<mackz>
for example, when i use libp2p to transport files, i only can use in internal network
<mackz>
ok
<mackz>
it's my first time using irc, 0.0
<Noxarivis[m]>
mackz: dont worry
<mackz>
like this: 127.0.0.1 10.20.35.216 172.20.0.1 172.17.0.1 172.19.0.1 172.18.0.1
<mackz>
func get_external() { //resp, err := http.Get("http://myexternalip.com/raw") urls := []string{"http://myexternalip.com/raw"} var resp *http.Response var err error for _, url := range urls { resp, err = http.Get(url) if err != nil { os.Stderr.WriteString(err.Error()) os.Stderr.WriteString("\n") os.Exit(1) } io.Copy(os.Stdout, resp.Body) } resp.Body.Close() //os.Exit(0) }
<mackz>
i use this way to get the external ip but it's little different with the ip showed in the ipfs webui
jonnycrunch has quit [Ping timeout: 240 seconds]
<mackz>
but also another question, why ipfs can get several similar external ip ???
jonnycrunch has joined #ipfs
<jfmherokiller[m]>
well it can get external ips because by default it runs on 0.0.0.0
vivus has quit [Quit: Leaving]
<mackz>
hi jfmherokiller, so which way i can get the right external ip
<kode54>
stdin on windows
<kode54>
exists, but you'll probably have to turn off "text" mode
KDDLB has joined #ipfs
ygrek has joined #ipfs
<kode54>
otherwise, I think you may find your newlines getting turned into CRLF sequences
<jfmherokiller[m]>
mackz: just google "what is my ip?"
<kode54>
wait, no
<kode54>
reverse of that
<kode54>
it'll detect CRLF and compact them to just LF
<mackz>
jfmherokiller: my ip is dynamic ip
<jfmherokiller[m]>
well as long as your connection is online your ip should be the same
<jfmherokiller[m]>
im basing this info on the fact that if it changes ips the data wont know where to go
<mackz>
jfmherokiller: i need use golang to get it, but even i have the external i still cann't binding the port with the route
<jfmherokiller[m]>
oh if you need to use golang im not sure i can help there because im still reading my golang for dummies book
<mackz>
jfmherokiller: but i still can find my files saved on ipfs by using gateway.ipfs.io,but sometimes it doesn't work normaly, i don't know why
<mackz>
jfmherokiller: anyway, thanks very much
<jfmherokiller[m]>
oh thats because it must talk to the swarm which will then eventually find your pc and request the data
<jfmherokiller[m]>
as far as i can tell ipfs is not directly dependent on the ip address
<mackz>
jfmherokiller: it isn't save file in pieces in different ipfs peer??? i always think it's that
<mackz>
jfmherokiller: even i stop running ipfs daemon, i still can download my file
<jfmherokiller[m]>
mackz: if you stop the daemon and you asked ipfs.io to load your file then yes for a short while you can still download your file
<mackz>
jfmherokiller: it's that? let me take a try now
<jfmherokiller[m]>
also as far as my own expirences have shown the file hashes are not dependent on your peer id they are wholely based upon the contents of the file
<jfmherokiller[m]>
so if somone in a diffrent country added the same file to ipfs as you both hashes would be the same
<mackz>
jfmherokiller: it's right
<mackz>
jfmherokiller: i can still can download the file i uploaded several days ago
<jfmherokiller[m]>
yep then it works however im suprised it lasts that long i thought the garbage collector ran every hour
<mackz>
jfmherokiller: are you also connecting to about 300 peers every time when running ipfs ?
<jfmherokiller[m]>
mackz: yes from 200-600
<jfmherokiller[m]>
on my end
<mackz>
jfmherokiller: it's never more than 350 on my end 0.0, i am so sad, orz
<jfmherokiller[m]>
well i run ipfs on a thin shell account as well as on my main pc so my numbers are kind of doubled
anewuser has quit [Quit: anewuser]
charley has quit [Remote host closed the connection]
jaboja has quit [Remote host closed the connection]
upperdeck has quit [Ping timeout: 255 seconds]
charley has joined #ipfs
chmanie has joined #ipfs
risingsun2100[m] has joined #ipfs
upperdeck has joined #ipfs
fredthomsen has quit [Ping timeout: 255 seconds]
chmanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charley has quit [Remote host closed the connection]
charley has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
DerZauberberg[m] has joined #ipfs
charley has joined #ipfs
charley has quit [Remote host closed the connection]
charley has joined #ipfs
charley has quit [Remote host closed the connection]
charley has joined #ipfs
charley has quit [Remote host closed the connection]
}ls{ has quit [Quit: real life interrupt]
charley has joined #ipfs
charley has quit [Remote host closed the connection]
charley has joined #ipfs
ShalokShalom has joined #ipfs
echoSMILE has quit [Ping timeout: 255 seconds]
ulrichard has joined #ipfs
charley has quit [Remote host closed the connection]
<mackz>
hey,guys, how can i delete the file i upload to the ipfs network ?
<lemmi>
mackz: you can't delete a file. you only can stop having it in your own repo. if someone else already copied it, you have no influence
<mackz>
lemmi: all right, i see it know, thanks, another question, if i am uploading a large file but the ipfs canceled suddenly, can i continued to upload next time? and how can i know the upload progress
<lemmi>
there's uploading and there is hashing your content and putting it in your repo
<lemmi>
in the first case: only missing blocks are transferred, in the second case: the whole file needs to be rehashed, but blocks already in the repo won't be added again
<lemmi>
mackz: ^
espadrine has joined #ipfs
Foxcool has joined #ipfs
ygrek has quit [Ping timeout: 240 seconds]
chmanie has joined #ipfs
Dark_Shroud[m] has joined #ipfs
mackz has quit [Ping timeout: 260 seconds]
chmanie has quit [Ping timeout: 255 seconds]
lemmi has quit [Remote host closed the connection]
lemmi has joined #ipfs
ShalokShalom has quit [Remote host closed the connection]
charley has joined #ipfs
mackz has joined #ipfs
charley has quit [Ping timeout: 247 seconds]
<mackz>
hello everyone, how can i remove the file from the local storage cache after uploading the file? i can't use the `ipfs block rm` command
<mackz>
lemmi: i tried ipfs pin and ipfs block, it only can delete all files in one time upload? such as i upload a folder, but i only want to delete one file from the folder
<mackz>
lemmi: can i do that?
<lemmi>
mackz: you mean you want to have a new folder with a file missing?
<mackz>
lemmi: yes, i want to delete some files of that folder in local ipfs blocks
m0ns00n has joined #ipfs
<lemmi>
mackz: the easiest way it to use ipfs files for that i think
<mackz>
lemmi: it maybe need a new dag of that folder
<lemmi>
if the folder is small, just re-add it
<lemmi>
mackz: exactly
<mackz>
lemmi: but for example, i have delete the folder from my normal path, it only exist in the local ipfs blocks, i can't re-add it
<lemmi>
then use ipfs files
<mackz>
lemmi: let me take a look
<lemmi>
you "copy" (read: make available) your folder in there, manipulate the folder, get the new hash with ipfs files stat --hash
<cwahlers>
Hi all, I put together a step-by-step tutorial, from zero, for hosting your website under your domain on IPFS on a DigitalOcean Ubuntu 16.04.3 x64 Droplet. Maybe it's useful for someone: https://gist.github.com/claus/1287f47b5fbaaea338ac8a04d02bf258 - It's put together from various sources to have it in one place.
<lgierth>
oh awesme \o/
<cwahlers>
And here's my super awesome website, running on IPFS, hahah: https://wa.hle.rs/
SOO7 has joined #ipfs
Jesin has joined #ipfs
<lgierth>
i wanted to get la.rs but they didn't let me buy it :(
<lgierth>
a different lars already got it
ygrek has joined #ipfs
<cyberwolf[m]>
cwahlers: Great
m0ns00n has joined #ipfs
<cwahlers>
lgierth a l@rs email address would have been quite neat ;)
<cwahlers>
oh no that wouldn't work, lol
<cwahlers>
i have w@hle.rs, which is quite a brainf*** to type
Xiti` has joined #ipfs
<cyberwolf[m]>
cwahlers: exactly what is needed guide
charley has quit [Remote host closed the connection]
<cwahlers>
btw the memory usage on that 1gb ram box hovers around 80% rn. only ipfs (0.11-pre) and nginx running. i hope it stays there and everything is gonna be alright :S
Xiti has quit [Ping timeout: 248 seconds]
charley has joined #ipfs
dimitarvp` is now known as dimitarvp
<axx[m]>
yeah you don't "upload" into ipfs, you make your data available to network
<axx[m]>
Has someone made an app to use IPFS to simply send files to other people on the internet? a WeTransfer type thing
dgrisham has joined #ipfs
charley has quit [Remote host closed the connection]
Calinou has quit [Ping timeout: 264 seconds]
charley has joined #ipfs
O47m341 has joined #ipfs
Oatmeal has quit [Ping timeout: 240 seconds]
HostFat_ has joined #ipfs
mildred1 has joined #ipfs
mildred2 has joined #ipfs
Calinou has joined #ipfs
ilyaigpetrov has quit [Quit: Connection closed for inactivity]
whenisnever has quit [Ping timeout: 240 seconds]
HostFat has quit [Ping timeout: 248 seconds]
mildred4 has quit [Ping timeout: 240 seconds]
mildred has quit [Ping timeout: 240 seconds]
charley has quit [Ping timeout: 276 seconds]
erictapen has joined #ipfs
HostFat_ has quit [Ping timeout: 255 seconds]
HostFat has joined #ipfs
Milijus has quit [Ping timeout: 246 seconds]
obensource has quit [Ping timeout: 240 seconds]
GomJabbar has quit [Changing host]
GomJabbar has joined #ipfs
cblgh has quit [Quit: Lost terminal]
cblgh has joined #ipfs
cblgh has joined #ipfs
cblgh has quit [Changing host]
obensource has joined #ipfs
isawan has joined #ipfs
erictapen has quit [Ping timeout: 255 seconds]
charley has joined #ipfs
Jesin has quit [Quit: Leaving]
Jesin has joined #ipfs
Guest17088 has quit [Ping timeout: 240 seconds]
mildred2 has quit [Ping timeout: 248 seconds]
Lymkwi has joined #ipfs
Lymkwi is now known as Guest63590
skeuomorf has quit [Ping timeout: 255 seconds]
erictapen has joined #ipfs
mildred2 has joined #ipfs
ashark has quit [Ping timeout: 255 seconds]
TheKysek[m] has joined #ipfs
m0ns00n has quit [Quit: quit]
erictapen has quit [Ping timeout: 240 seconds]
maxlath has joined #ipfs
richardlitt has joined #ipfs
richardlitt is now known as Guest62022
<Guest62022>
lgierth: You around?
Guest62022 is now known as richlitt
HostFat_ has joined #ipfs
HostFat has quit [Ping timeout: 240 seconds]
ianseyer has joined #ipfs
galois_d_ has joined #ipfs
galois_dmz has quit [Ping timeout: 246 seconds]
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
<richlitt>
whyrusleeping: Any chance you've seen harlantwood on here recently?
maxlath has quit [Quit: maxlath]
espadrine has joined #ipfs
ianseyer has quit [Ping timeout: 255 seconds]
upperdeck has quit [Ping timeout: 248 seconds]
richlitt has quit [Ping timeout: 260 seconds]
upperdeck has joined #ipfs
galois_d_ has quit [Remote host closed the connection]
galois_dmz has joined #ipfs
ccii1 has joined #ipfs
ccii has quit [Ping timeout: 276 seconds]
whenisnever has joined #ipfs
ashark has joined #ipfs
Encrypt has joined #ipfs
jryans has quit [Ping timeout: 240 seconds]
yoshuawuyts has quit [Ping timeout: 240 seconds]
AphelionZ__ has quit [Ping timeout: 255 seconds]
ianseyer has joined #ipfs
ajbouh has joined #ipfs
bret has quit [Ping timeout: 255 seconds]
wa7son has quit [Ping timeout: 255 seconds]
jryans has joined #ipfs
yoshuawuyts has joined #ipfs
AphelionZ__ has joined #ipfs
wa7son has joined #ipfs
nicolagreco has quit [Ping timeout: 255 seconds]
bret has joined #ipfs
nicolagreco has joined #ipfs
Jesin has quit [Quit: Leaving]
chriscool has joined #ipfs
charley has quit [Remote host closed the connection]
charley has joined #ipfs
skeuomorf has joined #ipfs
toXel has quit [Quit: Ping timeout (120 seconds)]
charley has quit [Ping timeout: 246 seconds]
toXel has joined #ipfs
chriscool has quit [Ping timeout: 240 seconds]
corby has quit [Ping timeout: 255 seconds]
Mateon3 has joined #ipfs
Mateon1 has quit [Ping timeout: 240 seconds]
Mateon3 is now known as Mateon1
jkilpatr has quit [Ping timeout: 246 seconds]
toXel has quit [Quit: Ping timeout (120 seconds)]
charley has joined #ipfs
toXel has joined #ipfs
charley has quit [Ping timeout: 246 seconds]
Milijus has joined #ipfs
m0ns00n has joined #ipfs
corby has joined #ipfs
charley has joined #ipfs
hamersaw has joined #ipfs
m0ns00n has quit [Quit: quit]
m0ns00n has joined #ipfs
clownpriest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rodolf0 has joined #ipfs
erictapen has joined #ipfs
echoSMILE has joined #ipfs
infinity0_ has joined #ipfs
infinity0 has quit [Killed (barjavel.freenode.net (Nickname regained by services))]
infinity0 has joined #ipfs
infinity0_ is now known as infinity0
infinity0 has quit [Changing host]
chmanie has quit [Ping timeout: 240 seconds]
HostFat_ has quit [Ping timeout: 240 seconds]
chriscool has joined #ipfs
erictapen has quit [Ping timeout: 248 seconds]
kaotisk has joined #ipfs
HostFat has joined #ipfs
mildred2 has quit [Ping timeout: 246 seconds]
Encrypt has quit [Quit: Quit]
Foxcool has quit [Ping timeout: 255 seconds]
matiasnomad[m] has joined #ipfs
isawan has quit [Quit: WeeChat 1.9]
girlhood has quit [Ping timeout: 240 seconds]
mildred2 has joined #ipfs
m0ns00n has quit [Quit: quit]
Bhootrk_ has joined #ipfs
Bhootrk_ has quit [Max SendQ exceeded]
jkilpatr has joined #ipfs
espadrine has quit [Ping timeout: 240 seconds]
whenisnever has quit [Ping timeout: 248 seconds]
covassal has joined #ipfs
upperdeck has quit [Ping timeout: 240 seconds]
rodolf0 has quit [Ping timeout: 255 seconds]
ashark has quit [Ping timeout: 240 seconds]
clownpriest has joined #ipfs
upperdeck has joined #ipfs
echoSMILE has quit [Ping timeout: 248 seconds]
upperdeck has quit [Ping timeout: 240 seconds]
<ajbouh>
is it normal for `ipfs id` to show a different ID than /webui?
upperdeck has joined #ipfs
<ntninja>
I don‘t think so
<ajbouh>
@ntninja i did an `ipfs add -r` with a large directory and i’m having trouble finding it
<ajbouh>
so i booted up the webui
<ajbouh>
and it only loads with a different key
<ntninja>
So the Peer ID under Node Information is different than the ID field of ‘ipfs id‘
<ajbouh>
actually the Peer ID under Node Information is empty
dgrisham has quit [Quit: WeeChat 1.9]
<ajbouh>
when I go to /webui it redirects me to a different address than the output of ‘ipfs id'
<ajbouh>
this is not the same behavior as ipfs on my laptop (darwin ipfs 0.4.6)
<ajbouh>
the weird behavior is on ubuntu 16.04 ipfs 0.4.10
<ntninja>
That‘s weird
<ajbouh>
any suggestions of what to do?
<lgierth>
ajbouh: does `ipfs id` actually refer to the node that you are running locally?
<lgierth>
also, when accessing the webui, check the browser console to see what it's requesting (should be :5001/ipfs/ stuff)
chriscool has quit [Ping timeout: 240 seconds]
<ajbouh>
yes, it’s 5001/ipfs/Qm…ZRQ
<ajbouh>
`ipfs id` prints Qm…1Tw
<lgierth>
ah, yeah
<lgierth>
the stuff in `ipfs id` is your PeerID
<lgierth>
the stuff the webui redirects too is the CID of the the current version of the webui
<ajbouh>
i see
<lgierth>
we'll eventually have the PeerID be prefixed with /p2p/ instead of /ipfs/ to avoid this confusion
<ajbouh>
how can i find the files i added?
<lgierth>
ipfs pin ls --type=recursive
<lgierth>
i think it might also be listed somewhere in the webui
<lgierth>
(the webui badly needs some love...)
<ajbouh>
i think there’s something wrong with the webui
<ajbouh>
on my machine
<ajbouh>
however
<ajbouh>
i can find the objects using the webui on another computer
<ajbouh>
that `ipfs pin ls --type=recursive` command worked great!
<ajbouh>
i can at least see the files
ashark has joined #ipfs
<ajbouh>
thanks @lgierth and @ntninja for the support
<ajbouh>
and a subsequent `ipfs cat /ipfs/…` dumps the contents i expect
<lgierth>
awesome
<lgierth>
if you feel like there's a bug you can open an issue in github.com/ipfs/webui
<lgierth>
as i said, the webui has been a bit neglected recently
erictapen has joined #ipfs
<ajbouh>
is there another ui that’s less neglected?
shizy has quit [Ping timeout: 240 seconds]
<lgierth>
:>
ashark has quit [Ping timeout: 240 seconds]
<lgierth>
station maybe
<ajbouh>
i’m trying to embed go-ipfs in another application
jaboja has quit [Remote host closed the connection]
Caterpillar has quit [Ping timeout: 240 seconds]
<ajbouh>
if possible i’d like to provide a pointer to a solid browsing ui
<ajbouh>
hmm station doesn’t even launch on my machine :)
<kaotisk>
any idea how can i configure a closed group in ipfs either by networking or something else? I have no clue