Random slow connections on vpn

Some times when using loforo (e.g. scrolling) it suddently stops connecting. Mostly happen when using VPN server hosted in same country (Lithuania) that I'm connecting from. Images and next page loads slower than usual and some times it does not connect at all. Very anoying. Happens multiple times for at least a few days. Not sure what is the cause. Speed test on vpn shows it's ~100 on both up and down Mbps

Edit: It does not appear to be a big slowdown compared to direct connection, as I've tested on a new browser profile, though page load speed decreases on later pages, probably due to browser lag. Read More »

Some posts on loforo appear incorrect

Some posts on loforo appears incorrect. There are styles makes them appear incorrect and loforo does not strip such styles. This makes the ui potentially unusable and/or very annoying to the users who might see those posts. For example there posts that anchor to the top of the page and also take all screen space where it might be impossible to interact with other posts nearby when they are present. Using latest version of Mozilla Firefox on Linux.

Workaround for Firefox users: Add a css to override some styles to userContent.css (located in chrome folder of your Firefox profile), e.g. add something similar to one shown below, also make sure firefox preference Read More »

Upload random image to loforo from any folder using the loforo API

To upload random file from current working directory on Linux use a command similar to shown below, also do not forget to quote html as not doing so might cause bugs and this is just an example:

mkdir -p uploaded
FILE=$(find *.* -type f | shuf -n 1); curl -F 'key=<your api key>' -F "media=@$FILE" -F 'content="<p>some html here</p>"' https://loforo.com/api/post/create; mv -v $FILE uploaded

You can copy files you want to upload to a temporary directory by using a command below as example and run above command from there:

for arg in {1..10}; do FILE="$(find -type f|shuf -n 1|cut -d\/ -f2-)"; cp -v --backup=numbered "$FILE" /path/to/tmp/dir/; done Read More »

Reposted from juozaspo

Curl syntax for uploading images in the API page is incorrect

The image upload example shown below (w/o space added before MyTestPicture so it would not be auto-linked),

curl -d 'key=<your key>' -F 'media=@ MyTestPicture.jpg' -d 'content=<p>A picture is attached to this post</p>' https://loforo.com/api/post/create

also included in api description page does not work, curl fails with messages shown below and no request is sent.

Warning: You can only select one HTTP request method! You asked for both POST 
Warning: (-d, --data) and multipart formpost (-F, --form).

Use this instead (change -d to -F where needed, remove space before MyTestPicture, don't forget to quote html): Read More »

A Year of Loforo

Loforo went live a little over a year ago and we've had some pretty explosive growth thanks to you all.

 

Some Numbers

  • Over 2 million posts in the past year
  • ~800K posts imported from Soup users
  • Thousands of sites created
  • 940,000+ unique photos & videos uploaded
  • 600+ GB of media hosted

We've rolled out a bunch of features over the past year based on your input and have many others in the works (archive view, mobile app, etc).

If you have any features/improvements you would like please let us know in the comments or through the Contact link at the bottom of every page. We read all comments/emails! Read More »


Reposted from blog via irmelin

Linux group page is set to private

A blog page of a group I'm in is set to private. This group is visible in group list and has not disappeared from there. The group is for content that is popular on the internet everywhere but the owner set it to private. This is annoying and should never be done for such groups. At least the page should disappear from the group list and the members should to be removed from it in such cases.

Spam on loforo

A new trend on loforo. Blogs posting spam that looks like adverts and nothing else, with the blog url some times referring to that. I don't like such blogs, so I'll be blocking anything like that as soon as I spot them. Such accounts are recently registered and don't have many posts, and the captcha should be improved, now bots can easily solve that.


Reposted from juozaspo via thriceuponatime