Live data from Hacker News

X0.at: upload files from cURL

x0.at

41–50 of 93 posts

Re: X0.at: upload files from cURL

#42
post #36

I like the simplicity of it. One PHP file, throw it on a server with Apache and rock and roll. Other comments are right to point out that this site is setting itself up to be abused. My feeling is that this is intended to be a demo. I doubt the creator is trying to provide a real service here. And they might be in for a rude awakening if it gains traction. But, it looks like they intend this to be open source. Anyone…

>the repo does not have a license file, which makes me a little uneasy.

Surely the author is bearing the liability of getting burned by not specifying a licence.

Re: X0.at: upload files from cURL

#43
If you like the convenience of transferring a file temporarily into the cloud to download it elsewhere (great for getting stuff out of a rancher environment), check out patchbay[0]. It uses what it calls 'HTTP channels' so if you start a POST request to a patchbay URL, it will block until a corresponding GET is made to the same endpoint which will receive the data from your POST. The operation can be done in reverse as well, with the GET blocking until the POST begins.

[0] https://patchbay.pub/

Re: X0.at: upload files from cURL

#45
post #42
post #36

I like the simplicity of it. One PHP file, throw it on a server with Apache and rock and roll. Other comments are right to point out that this site is setting itself up to be abused. My feeling is that this is intended to be a demo. I doubt the creator is trying to provide a real service here. And they might be in for a rude awakening if it gains traction. But, it looks like they intend this to be open source. Anyone…

>the repo does not have a license file, which makes me a little uneasy. Surely the author is bearing the liability of getting burned by not specifying a licence.

Why? I thought this type of situation would default non-permissive licensing in-lieu of an explicitly permissive one.

Re: X0.at: upload files from cURL

#46
post #42
post #36

I like the simplicity of it. One PHP file, throw it on a server with Apache and rock and roll. Other comments are right to point out that this site is setting itself up to be abused. My feeling is that this is intended to be a demo. I doubt the creator is trying to provide a real service here. And they might be in for a rude awakening if it gains traction. But, it looks like they intend this to be open source. Anyone…

>the repo does not have a license file, which makes me a little uneasy. Surely the author is bearing the liability of getting burned by not specifying a licence.

I don't think you have much responsibility in not specifying a license, since it defaults to "all rights reserved", thus preventing anyone else from using that code.

Re: X0.at: upload files from cURL

#47
post #42
post #36

I like the simplicity of it. One PHP file, throw it on a server with Apache and rock and roll. Other comments are right to point out that this site is setting itself up to be abused. My feeling is that this is intended to be a demo. I doubt the creator is trying to provide a real service here. And they might be in for a rude awakening if it gains traction. But, it looks like they intend this to be open source. Anyone…

>the repo does not have a license file, which makes me a little uneasy. Surely the author is bearing the liability of getting burned by not specifying a licence.

No. If you find some code online, or on a thumb drive on the sidewalk, and it is unlicensed, it's incorrect to assume that it's equivalent to being permissively licensed for you to do whatever you want with it.

Re: X0.at: upload files from cURL

#48
post #42
post #36

I like the simplicity of it. One PHP file, throw it on a server with Apache and rock and roll. Other comments are right to point out that this site is setting itself up to be abused. My feeling is that this is intended to be a demo. I doubt the creator is trying to provide a real service here. And they might be in for a rude awakening if it gains traction. But, it looks like they intend this to be open source. Anyone…

>the repo does not have a license file, which makes me a little uneasy. Surely the author is bearing the liability of getting burned by not specifying a licence.

How do they "get burned" by that? Not having a license means you don't get to use it and are violating their copyright if you do so (possibly except the things specified in Github ToS: look at the code on github)

Re: X0.at: upload files from cURL

#49

Yeah this is asking for trouble. We only had a small demo on our homepage where users could upload media files and they were deleted after 24 hours and still some people managed to abuse it and nearly got our site killed, domain blacklisted in Google with a big red screen of death. I don't want to spam any links here but if you are interested please do look at my last post about the dangers of doing this and lessons…

I once had a location-based file sharing service that also got blacklisted by Google with no recourse. I hate Google trying to police the internet with no timely appeals process.

I wonder though if you could simply just block the Google crawler and bypass it. Or use a JavaScript to auto-POST something before the file gets sent for download. The Google crawler doesn't issue POST requests as far as I know.

Re: X0.at: upload files from cURL

#50
post #49

Yeah this is asking for trouble. We only had a small demo on our homepage where users could upload media files and they were deleted after 24 hours and still some people managed to abuse it and nearly got our site killed, domain blacklisted in Google with a big red screen of death. I don't want to spam any links here but if you are interested please do look at my last post about the dangers of doing this and lessons…

I once had a location-based file sharing service that also got blacklisted by Google with no recourse. I hate Google trying to police the internet with no timely appeals process. I wonder though if you could simply just block the Google crawler and bypass it. Or use a JavaScript to auto-POST something before the file gets sent for download. The Google crawler doesn't issue POST requests as far as I know.

By "police", do you mean "warn people about dangers" ?
Post reply on HN