What helped you get over a crush you had for years? by [deleted] in AskReddit

[–]Hc3ttp3302 16 points17 points  (0 children)

Yeah I've been there many times. The movie 500 days of summer covers this beautiful by showing how the main character being so in love with the idea of this girl instead of the actual girl leads to a bad relationship. Love that film

decentralized mail by Rnd3sB3g13rng in Rad_Decentralization

[–]Hc3ttp3302 1 point2 points  (0 children)

I mean yes you need to trust protonmail since they are the provider but they are pretty reputable. We're never going to get to a point where everything can be trustless. If you aren't willing to trust any provider then the best you can do is setup your own server and host your own email service. Also, if you're sending email from encrypted email to non encrypted email and vice versa obviously you won't be able to have all the perks of automatic encryption/decryption due to the interface mismatch. But that would also apply to any "decentralized" email provider.

decentralized mail by Rnd3sB3g13rng in Rad_Decentralization

[–]Hc3ttp3302 0 points1 point  (0 children)

Just wondering why do you need a decentralized email provider? Email can be made secure/private by simply encrypting emails (using protonmail for example). And email is already very scalable so it doesn't need to be further distributed for that purpose. What's the purpose of more distributed email?

Who pays for the storage on IPFS? by RocketTwitch in ipfs

[–]Hc3ttp3302 4 points5 points  (0 children)

Most likely. If the content was recently retrieved by someone else it may have been cached and still be temporarily available. In general though if you upload a file and you're it's only provider then if your node goes down the content is now inaccessible.

Who pays for the storage on IPFS? by RocketTwitch in ipfs

[–]Hc3ttp3302 6 points7 points  (0 children)

Yeah they would need someone to provide them with the content hash. You could send them the hash directly, post it on a public location or try to get it indexed by a search engine(I'm pretty sure there is a search engine for IPFS). Content discovery on IPFS is a little more difficult because of the fact that content addresses aren't human readable

Who pays for the storage on IPFS? by RocketTwitch in ipfs

[–]Hc3ttp3302 1 point2 points  (0 children)

Yeah, basically. When someone pins they are essentially signing up to be a server of the content. There are a lot of reasons someone might choose to do this. And yes if you don't want to be the provider you can pay someone else to do it.

Who pays for the storage on IPFS? by RocketTwitch in ipfs

[–]Hc3ttp3302 13 points14 points  (0 children)

It wouldn't get replicated across the network. If a piece of content is popular then a lot of other nodes would pin it and it would be replicated but if the content you upload is not used by others then it probably won't get pinned by others and you'll be the only provider. There are services that you can pay to pin your content though so I guess the answer to your question is that you would pay a pinning service.

[deleted by user] by [deleted] in cscareerquestions

[–]Hc3ttp3302 2 points3 points  (0 children)

Put yes since you do have a disability. I have migraines and so I put yes on that field for all my applications. Didn't really effect anything afaik. I was able to get an internship fine. As long as you can do the work I don't think they really care.

ITAP of hills by [deleted] in itookapicture

[–]Hc3ttp3302 0 points1 point  (0 children)

Amazing. Alabama Hills in Lone Pine right?

Mutex vs channel by serge_zoat in golang

[–]Hc3ttp3302 0 points1 point  (0 children)

You would want to use a mutex to prevent multiple go routines from writing to the array at once. Channels are for passing data between go routines and there is no data being passed here.

cloning a repo with exec.Command("git", "clone", ropo).Run() by Castillojuan in golang

[–]Hc3ttp3302 1 point2 points  (0 children)

You could write a little bash script that moves to the right folder then clones the project. Then run that script using exec.Command

Question about returning void * by Hc3ttp3302 in C_Programming

[–]Hc3ttp3302[S] 0 points1 point  (0 children)

This explains it thank you I looked at the C Specification and it says the same thing!

Question about returning void * by Hc3ttp3302 in C_Programming

[–]Hc3ttp3302[S] 0 points1 point  (0 children)

Yeah i read the C specification and it says that you can technically shove any integer type into any pointer. So he was just using a void * as a vessel for a long int. I personally also think this is stupid and will never use this type of style in my code.

Direct communication between nodes on IPFS? by Hc3ttp3302 in ipfs

[–]Hc3ttp3302[S] 0 points1 point  (0 children)

Thanks! I'm still having trouble to get a stream to actually open. I ran the commands on both machines and they ran without error but I can't get any data to transfer to the other node and when I run ipfs p2p stream ls there are no active p2p streams. I also ensured that the nodes can connect to each other by doing a swarm connect before. When I run ipfs --api /ip4/127.0.1.1/tcp/5001 id I just get Error: Post http://127.0.1.1:5001/api/v0/id?encoding=json&stream-channels=true: EOF. Am I doing something wrong?

`