Famous equations

Library of images to use as OFFIMG screens on the DM42
Forum rules
Do you have a creative streak? Post your OFFIMG photos here.

Please avoid using this forum to host them. Wherever possible, please use third-party hosting for your images, place them in a publicly accessible location and link to them on this forum. This third-party hosting can be your own server if you have one or a service such as PhotoBucket, DropBox or others.

Images MUST be in Windows-NT .bmp format at a resolution of 400x240 pixels and 1-bit colour depth or they will not be displayed by the DM42. Images that do not meet this requirement will be removed from the forum :)
rprosperi
Posts: 338
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Famous equations

Post by rprosperi » Sat Apr 28, 2018 6:07 pm

Thomas Okken wrote:
Sat Apr 28, 2018 2:29 pm
So far Bob is the only one who said he can't see them. Tom L and I both can, so assuming the problem is network-related, it's pretty localized, since neither Tom L nor I are very far from where Bob is.
I see them OK in Chrome, but they don't show up in IE11, which is strange.

Embedded images are still viewable in other posts, e.g. viewtopic.php?f=14&t=166, however those are hosted on amazon, so maybe it's an issue with how drobox generates images (after manually changing the url, as was done here). I'll try do some testing to see; it's been ages since I've put stuff on dropbox, I usually use OneDrive.
--bob p

DM42: β00071 & 00282

Thomas Okken
Posts: 451
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: Famous equations

Post by Thomas Okken » Sat Apr 28, 2018 8:20 pm

rprosperi wrote:
Sat Apr 28, 2018 6:07 pm
I see them OK in Chrome, but they don't show up in IE11, which is strange.
The URLs return a redirect, which apparently IE doesn't like. (They do work in Edge.)

Code: Select all

/Users/thomas $ wget --server-response 'https://www.dropbox.com/s/2q6cjy2ekw6gnif/Emc2.bmp?raw=1'
--2018-04-28 16:03:16--  https://www.dropbox.com/s/2q6cjy2ekw6gnif/Emc2.bmp?raw=1
Resolving www.dropbox.com... 162.125.4.1
Connecting to www.dropbox.com|162.125.4.1|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 302 Found
  Server: nginx
  Date: Sat, 28 Apr 2018 20:03:16 GMT
  Content-Type: text/html; charset=utf-8
  Content-Length: 0
  Connection: keep-alive
  Cache-Control: no-cache
  Content-Security-Policy: sandbox
  Location: https://dl.dropboxusercontent.com/content_link/cfSxVF4kNeawyZkSFbiLkj3MIpuxTS8T2H0peryRysBb1f9jml2KvNpd38gxjTIu/file
  Pragma: no-cache
  Referrer-Policy: origin-when-cross-origin
  Set-Cookie: locale=en; Domain=dropbox.com; expires=Thu, 27 Apr 2023 20:03:16 GMT; Path=/; secure
  Set-Cookie: gvc=MTI5MTQxNDUzMDk3NjU0OTQzOTczMTU4NjcyMjEwMzIwNjA5ODgz; expires=Thu, 27 Apr 2023 20:03:16 GMT; httponly; Path=/; secure
  Set-Cookie: flash=; Domain=dropbox.com; expires=Sat, 28 Apr 2018 20:03:16 GMT; Path=/; secure
  Set-Cookie: puc=; expires=Sat, 28 Apr 2018 20:03:16 GMT; httponly; Path=/; secure
  Set-Cookie: bang=; Domain=dropbox.com; expires=Sat, 28 Apr 2018 20:03:16 GMT; Path=/; secure
  Set-Cookie: t=jC-K-F2NK9D8lmeAaafaSuKt; Domain=dropbox.com; expires=Tue, 27 Apr 2021 20:03:16 GMT; httponly; Path=/; secure
  Set-Cookie: __Host-js_csrf=jC-K-F2NK9D8lmeAaafaSuKt; expires=Tue, 27 Apr 2021 20:03:16 GMT; Path=/; secure
  X-Content-Type-Options: nosniff
  X-Dropbox-Request-Id: defc18d3d2fc26117db7a37ad52f2741
  X-Frame-Options: DENY
  X-Robots-Tag: noindex, nofollow, noimageindex
  X-Xss-Protection: 1; mode=block
  Strict-Transport-Security: max-age=15552000; includeSubDomains
Location: https://dl.dropboxusercontent.com/content_link/cfSxVF4kNeawyZkSFbiLkj3MIpuxTS8T2H0peryRysBb1f9jml2KvNpd38gxjTIu/file [following]
--2018-04-28 16:03:16--  https://dl.dropboxusercontent.com/content_link/cfSxVF4kNeawyZkSFbiLkj3MIpuxTS8T2H0peryRysBb1f9jml2KvNpd38gxjTIu/file
Resolving dl.dropboxusercontent.com... 162.125.4.6
Connecting to dl.dropboxusercontent.com|162.125.4.6|:443... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Server: nginx
  Date: Sat, 28 Apr 2018 20:03:17 GMT
  Content-Type: image/x-ms-bmp
  Content-Length: 12610
  Connection: keep-alive
  referrer-policy: no-referrer
  content-disposition: inline; filename="Emc2.bmp"; filename*=UTF-8''Emc2.bmp
  x-content-type-options: nosniff
  set-cookie: uc_session=Jd5u1tSn1xXq1J8BQ0X0lg75GxHqAwOdyOcPrI75yMBny2RIWqAjvJDmTf6rEfHS; Domain=dropboxusercontent.com; httponly; Path=/; secure
  accept-ranges: bytes
  content-security-policy: referrer no-referrer
  etag: 1919n
  x-dropbox-request-id: 45862f17be01326267ea5b727e647beb
  pragma: public
  cache-control: max-age=60
  x-content-security-policy: referrer no-referrer
  x-webkit-csp: referrer no-referrer
  x-robots-tag: noindex, nofollow, noimageindex
  X-Server-Response-Time: 349
  Strict-Transport-Security: max-age=15552000; includeSubDomains
Length: 12610 (12K) [image/x-ms-bmp]
Saving to: ‘Emc2.bmp?raw=1’

100%[==========================================================================================>] 12,610      --.-K/s   in 0s      

2018-04-28 16:03:17 (96.2 MB/s) - ‘Emc2.bmp?raw=1’ saved [12610/12610]

/Users/thomas $ 
I don't know if it's the redirect itself that's causing the problem, or the fact that the second URL only works once. IE does have a habit of fetching stuff multiple times, at least I've seen it do this with <audio> tags, and if it does that for <img> tags as well, that would break here.

User avatar
pica
Posts: 16
Joined: Fri Mar 30, 2018 9:36 am
Location: Swaziland

Re: Famous equations

Post by pica » Sun Apr 29, 2018 6:53 am

If I may ask, why don't you (whoever the admin is) like these images on your server? They are not very big.

rprosperi
Posts: 338
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Famous equations

Post by rprosperi » Sun Apr 29, 2018 1:04 pm

pica wrote:
Sun Apr 29, 2018 6:53 am
If I may ask, why don't you (whoever the admin is) like these images on your server? They are not very big.
When the OFFIMG forum was added after a suggestion, it was explained that there is somewhat limited server space available, however folks could upload image links hosted elsewhere, as it was not clear how many images would be shared. Looking back, it's not too large after all, and it would ease a few minor problems like discussed above, but it's hard to judge if worthwhile without knowing the actual space available.
--bob p

DM42: β00071 & 00282

grsbanks
Posts: 652
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: Famous equations

Post by grsbanks » Sun Apr 29, 2018 1:09 pm

pica wrote:
Sun Apr 29, 2018 6:53 am
If I may ask, why don't you (whoever the admin is) like these images on your server? They are not very big.
It's not so much to do with the size of the attachments as it is to do with their potential number.

Each file on a Linux server uses one inode regardless of the size of the file. The forum is not the only "site" served up by the SwissMicros server and, although the number of inodes available on the filesystem is going to be pretty big, it is finite and I don't want to get anywhere near exhausting it. Also, the chances are (I admit I've not looked at this closely) that all the attachments are dumped into the same directory and the performance of any filesystem (even ext2 and its descendants) suffers when there are large numbers of files in the same directory.

Depending on how things go I might reverse this decision later on but please don't assume that I definitely will.
Not SwissMicros staff, just an enthusiast.

Thomas Okken
Posts: 451
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: Famous equations

Post by Thomas Okken » Sun Apr 29, 2018 1:52 pm

grsbanks wrote:
Sun Apr 29, 2018 1:09 pm
pica wrote:
Sun Apr 29, 2018 6:53 am
If I may ask, why don't you (whoever the admin is) like these images on your server? They are not very big.
It's not so much to do with the size of the attachments as it is to do with their potential number.

Each file on a Linux server uses one inode regardless of the size of the file. The forum is not the only "site" served up by the SwissMicros server and, although the number of inodes available on the filesystem is going to be pretty big, it is finite and I don't want to get anywhere near exhausting it. Also, the chances are (I admit I've not looked at this closely) that all the attachments are dumped into the same directory and the performance of any filesystem (even ext2 and its descendants) suffers when there are large numbers of files in the same directory.

Depending on how things go I might reverse this decision later on but please don't assume that I definitely will.
Maybe 200 images so far. That's 2.4 megabytes.
What limit do you think you need to worry about?

Yes, the filesystem is limited, and so is the number of inodes, but both of those numbers are massively larger than what's needed for hundreds, even thousands or tens of thousands, of skins to be stored on the forum server.

Thomas Okken
Posts: 451
Joined: Tue May 02, 2017 3:48 pm
Contact:

Re: Famous equations

Post by Thomas Okken » Sun Apr 29, 2018 2:18 pm

rprosperi wrote:
Sun Apr 29, 2018 1:04 pm
pica wrote:
Sun Apr 29, 2018 6:53 am
If I may ask, why don't you (whoever the admin is) like these images on your server? They are not very big.
When the OFFIMG forum was added after a suggestion, it was explained that there is somewhat limited server space available, however folks could upload image links hosted elsewhere, as it was not clear how many images would be shared. Looking back, it's not too large after all, and it would ease a few minor problems like discussed above, but it's hard to judge if worthwhile without knowing the actual space available.
The tiny amount of space consumed by offimg images, and their small number, isn't the only reason to store them on the forum server instead of elsewhere. There's also the issue of link rot. When an image is hosted on the forum server, it will remain as long as the forum remains; images hosted on dropbox or imgur or wherever will disappear whenever whoever posted them cancels their account or moves things around.

We've been here before...

rprosperi
Posts: 338
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Famous equations

Post by rprosperi » Sun Apr 29, 2018 2:49 pm

Thomas Okken wrote:
Sun Apr 29, 2018 2:18 pm
The tiny amount of space consumed by offimg images, and their small number, isn't the only reason to store them on the forum server instead of elsewhere. There's also the issue of link rot. When an image is hosted on the forum server, it will remain as long as the forum remains; images hosted on dropbox or imgur or wherever will disappear whenever whoever posted them cancels their account or moves things around.

We've been here before...
Yeah, it would seem that if there were enough files posted to threaten any kind of real-world limits, that would mean the SM traffic was so busy that it would be a very good problem to have, but since it is on a shared server with no insights into what else happens there, it's impossible to say how much is too much.

A little exploring with IE11, Chrome, Edge, etc. have confirmed the issue viewing links shared from dropbox is indeed simply limited to IE11. It may be an issue unique to the synergy of the forum software and the redirect Thomas described, but bottom line is they just aren't viewable inline.
--bob p

DM42: β00071 & 00282

User avatar
Walter
Posts: 726
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: Famous equations

Post by Walter » Sun Apr 29, 2018 3:03 pm

Works very well with Firefox -- IE11 isn't recommended anyway. ;)
DM42 SN: 00041 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

rprosperi
Posts: 338
Joined: Mon Apr 24, 2017 5:48 pm
Location: New York

Re: Famous equations

Post by rprosperi » Sun Apr 29, 2018 9:48 pm

Walter wrote:
Sun Apr 29, 2018 3:03 pm
...IE11 isn't recommended anyway.
Not recommended by whom?

It's still supported/updated by MS and is the 2nd or 3rd most-used browser in the world, despite it's age. It will not remain so for too much longer (a year max?) but at the moment it's hanging in there. I'll be bummed when it's displaced as it's my favorite browser to use in terms of features, even if not for performance or compatibility.
--bob p

DM42: β00071 & 00282

Post Reply