Bitcoin Forum
March 29, 2024, 03:08:08 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: base64 images  (Read 1544 times)
worhiper_-_ (OP)
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
December 30, 2015, 10:54:30 PM
 #1

Several issues with how the forum handles images right now: Image hosts come and go, bitcointalk's image proxy isn't the very reliable, popular image hosts tend to delete controversial images.

I think that allowing base64 images to be posted could help solve those problems, at least for those willing to use the em.
1711724888
Hero Member
*
Offline Offline

Posts: 1711724888

View Profile Personal Message (Offline)

Ignore
1711724888
Reply with quote  #2

1711724888
Report to moderator
1711724888
Hero Member
*
Offline Offline

Posts: 1711724888

View Profile Personal Message (Offline)

Ignore
1711724888
Reply with quote  #2

1711724888
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1711724888
Hero Member
*
Offline Offline

Posts: 1711724888

View Profile Personal Message (Offline)

Ignore
1711724888
Reply with quote  #2

1711724888
Report to moderator
1711724888
Hero Member
*
Offline Offline

Posts: 1711724888

View Profile Personal Message (Offline)

Ignore
1711724888
Reply with quote  #2

1711724888
Report to moderator
1711724888
Hero Member
*
Offline Offline

Posts: 1711724888

View Profile Personal Message (Offline)

Ignore
1711724888
Reply with quote  #2

1711724888
Report to moderator
worhiper_-_ (OP)
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
January 12, 2016, 04:28:51 PM
 #2

bump, I guess.
dogie
Legendary
*
Offline Offline

Activity: 1666
Merit: 1183


dogiecoin.com


View Profile WWW
January 12, 2016, 05:28:01 PM
 #3

What specifically would base64 images help?

minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
January 12, 2016, 06:08:11 PM
 #4

What specifically would base64 images help?
If the image is hosted onto a website and the website goes down, the image would likely be removed from the post. If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.

I think the problem comes in that it would take more effort to implement than it would be worth; very few users would use the base64 system. Perhaps suggest it in the New Forum Software board, but don't get your hopes up.
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
January 12, 2016, 07:26:41 PM
 #5

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
January 12, 2016, 07:51:30 PM
 #6

Wouldn't that take up more resources (i.e. storage) for the forum?
Yes; base64 images are just huge blocks of code.

For example, the base64 for Grin is:
Code:
data:image/gif;base64,R0lGODlhDwAPANUAAAAAAMyZAH9yAMzMzFFIAIaGhjEoAFxcXP/MAGZmZv///5mZmbiUAOLIABwaAEY9AK2KAP/wAGlUADs7Ow4LAODg4NywAL+/v+7hAP/cAL+mAIB4AGBOAMezAHNcACkiADozAOy9ALCrAPbFAJ1+AK6uru3t7b+6AGJaAP/mADMzAIqKimZmZnlhAOzRAP/4AH94AFlHAFJCABEQAMyjAKKiorydAOfn50U9AP/WACMcACsoAG1XAPDnANC0AJmZmSH5BAUUAD8ALAAAAAAPAA8AAAaowJ/wd5DNADPCYTgsGBwCn+vU+qgKzZkEkUulIhEMaob9GTzcjDfyahNUxM/IZgAIIgKA6tSbFVsIHAwZAikbPSIoESgEMzQIaWpgkx1HIQAUVg8gIDs7DjMNSDQUNyYAA6kAFQM4GjMyHhIrCgAKt7Y1HhwyBx8WIBe2uAMTNn5mEgy9CxclCQY2MQZCBbAjELIeJBZGZT9OWgEhATwOBt9DRUewS0NBADs=
As you can imagine, the bigger the image the more base64 needed and the more needed to store.
worhiper_-_ (OP)
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
January 12, 2016, 08:04:54 PM
 #7

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
ABitNut
Hero Member
*****
Offline Offline

Activity: 764
Merit: 500


I'm a cynic, I'm a quaint


View Profile
January 13, 2016, 12:38:52 AM
 #8

In the spirit of decentralization I have to suggest that you host your own images. That will bypass the "image host come and go" and "image hosts tend to delete controversial images". I am not familiar with details around the image proxy, so that may still be a problem Tongue
samuel999
Sr. Member
****
Offline Offline

Activity: 256
Merit: 250

CSGOBetGuide.com - Esports Gambling List


View Profile
January 13, 2016, 02:09:06 AM
 #9

If base64 was used it wouldn't matter if any website went down due to the image being hosted on here.
Wouldn't that take up more resources (i.e. storage) for the forum?

That's true. Base64 increases the size of images nearly 30%, and if we wanted to cut off middlemen to take advantage of the pros I mention it should be hosted on the forum as text. Thing is, the forum is already storing quite a lot of text, base64 would likely end up being used by advanced users which imo wouldn't be a big percentage. The main advantage would be that images using base64 would stay up as long as the forum does, plus there's not going to be any need for proxying (which has proven to be unreliable).
Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
January 13, 2016, 03:14:48 AM
 #10

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Would there be a way that we could encode those images as text but not have to take up so much space? Something that makes it at least the size of the image, if not smaller, but definitely not bigger.
Images are big to begin with and jpg/png images are already compressed, so it's not like you can make it smaller. You can use more exotic encoding schemes to squeeze more bytes into a singe character, but that doesn't help much.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
worhiper_-_ (OP)
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile
January 13, 2016, 02:42:52 PM
 #11

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?

Tor hidden services aren't ideal for hosting and sharing content. I'm not sure about what you have in mind for image hosting, but from personal experience I'd say that .onion sites have a hard time competing with clearnet ones in terms of uptime and general reliability. Wouldn't it also require a "hack" to display images hosted using "hidden services" here?

As of magnet links, I could think of some issues but first of all, has a way to host and embed images using magnet links been developed yet?
minifrij
Legendary
*
Offline Offline

Activity: 2324
Merit: 1267


In Memory of Zepher


View Profile WWW
January 13, 2016, 03:18:05 PM
 #12

There are better ways to solve the problem than getting the forum to host the image for you via a hack. How about tor hidden services? Magnet links?
I think the problem with both of those is that they would put more strain on the server than base64 would as they would require other software to work.
Using a tor hidden service would require some sort of mirror from darknet to clearnet (which is also unreliable; the majority of tor2web mirrors currently only work on certain browsers) and using a magnet link would require a torrent client to be not only getting the images available to view but seeding them to be sure that they do not die.
Zeroxal
Hero Member
*****
Offline Offline

Activity: 896
Merit: 508



View Profile
January 13, 2016, 08:49:15 PM
 #13

If we were allowed to host images directly on the forum there would already be a feature integrated within the forum. That's the exact same reason why the forum only accepts pictures from third party hosters. Mainly because of security reasons though...
"A picture says more than a thousand words" - that's true. Pictures can even take more space than millions of words to store on the server. And bitcointalk already needs to handle the "text" traffic and storage.
If we would start using base64 images all over the forum and let the forum store all the images, these images will get banned in no time.

And I really don't understand why people would want to let an image stay on a thread/post forever...

However, the forum could integrate an automatic system that uploads the image directly to imgur, etc and get the link instantly. (Like the browser extention I saw some time ago. I think it was Bitcointalk+ or something like that :/)
HITTI2
Hero Member
*****
Offline Offline

Activity: 563
Merit: 500



View Profile
January 13, 2016, 10:53:39 PM
Last edit: January 14, 2016, 06:58:33 AM by HITTI2
 #14

Might help with image hosting.

4TB. $8k$14k large.
http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-dc-p3608-series.html

http://www.intel.com/buy/us/en/product/components/intel-ssd-dc-p3608-series-40tb-12-height-pcie-30-x8-20nm-mlc-485298

Win7x64 Pro, Acer XB240H, Corsair Obsidian 750D Black,DEMCifilter Corsair Obsidian 750D Dust Filter Kit,Delidded i7-3770K OC'd@4.5GHz, F3-12800CL8D-8GBXM, MSI GeForce GTX 960 2GD5, ASUS Xonar D1, Vantec UGT-ST644R, ASRock Z75 Pro3, EVGA SuperNOVA 750 G2 PSU, EK-KIT L240, 2 x NF-A14-FLX Fans, 2 x Samsung 840 Pro 128GB RAID 0 32KB strip, WD Re WD1003FBYZ 1TB,2TB HGST/Hitachi (HUA723020ALA641),2 x HGST A7K3000 HUA723030ALA640 3 TB, Vertex II 60GB,Samsung SH-S223L.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!